...
Document Properties Marker | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
...
Section | ||||
---|---|---|---|---|
| ||||
The projectdoc Toolbox extracts information from Confluence pages to form projecdoc documents. These documents are stored in index structures to ensure a quick lookup of document property information. While the projectdoc Toolbox uses the Lucene Index to make lookupsrun searches, it also needs its own lookup tables to be up-to-dateas a cache to render pages with projectdoc documents quickly. This document provides information on the use cases of the rebuild and refresh maintenance processes. |
Section | ||
---|---|---|
| ||
...
Section | ||
---|---|---|
| ||
The rebuild maintenance processes are available by the Rebuild Service since version 5.0 of the projectdoc Toolbox. Prior to this version the projectdoc Toolbox provided indexing services that the Indexing Service to run on a different traversal strategy. The new processes of the Rebuild Service allow to usually perform more quickly. We will use the term 'updatemaintenance' to generally refer to either reindex upgrade, update, rebuild, refresh, revalidate, repair, and repair repopulate processes. We reserve the term reindex for the content indexing with Lucene. The term indexing refers to the update processes being available prior to version 5.0. The terms reindex, rebuild, refresh, revalidate, and repair are explained in this document. |
Section | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The projectdoc Toolbox knows seven kinds of maintenance processes to be performed for projectdoc documents. Two of them, update and repopulate, are currently not implemented and reserved for futher versions of this service. If everything works fine with the projectdoc Toolbox and no upgrade is required due to a version change then none of these services are required. Typically all lookup information is up-to-date. An update is made whenever a projectdoc document is updated by a userThe term 'upgrade' refers to an automated process that starts on installation of a new version of the projectdoc Toolbox that includes a special kind of rebuild. Guided by the tables of the last version the upgrade process will populate the new tables. This is different to a rebuild that starts on completely empty tables. If the tables are empty, the process needs to traverse all pages of all spaces in its search for projectdoc documents.
| Kinds of Updates |
The projectdoc Toolbox knows four kinds of updates to be performed for projectdoc documents. Update
| Revalidate |
|
Recalculates document properties for all projectdoc documents with a lower version number than their Confluence pages.
This should be rarely necessary because the document properties are updated on an update of the Confluence page. This process helps to find and correct information of pages where the update failed.
|
|
|
Section | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
Special cases that are rarely used. If an incident happend, the usual process to run would be refresh or a rebuild. The processes revalidate and repair may be useful if other maintenance processes take advantage of the invalid flag or the version number.
|
Section | |||||||
---|---|---|---|---|---|---|---|
| |||||||
The following use cases are not yet available. The are reserved for special use case the projectdoc Toolbox may support in the future.
All projectdoc document information is derived from the source code of the corresponding Confluence page. So if the lookup tables are cleared this information may be recalculated. Unfortunately this may be a very time consuming process. Not only does the process need to recalculate each projectdoc document, it may also need to recalculate a document multiple times. This is because a property value may depend one or more property values of other documents which in turn may depend on property values of orther documents and so forth. The more complex the web of information is, the longer the process will take. It is highly recommended to check this use case on a test installation with the production data in advance. This way the administrators may communicate the duration of the rebuild to the users
|
Section | ||
---|---|---|
| ||
The duration of an update process is also dependent on how the documents to process are found. As long as the projectdoc documents are all in the tables, the process may simply iterate over the document table and update each document accordingly. If projectdoc documents are missing, then the Confluence pages must be traversed, which will take more time. Administrators may decide to restrict the search for candidates to process by spaces. This is helpful for use cases where Administrators know in which spaces the projectdoc Toolbox is actually used. Services may also be instructed to search only in spaces with a projectdoc homepage. This is helpful if users will either use projectdoc documents in a space or not and if they use them, all Confluence pages are projectdoc documents. |
...
Section | ||||||
---|---|---|---|---|---|---|
| ||||||
Pending Box | The Rebuilder Service is available via REST services projectdoc-internal-1-rebuilder-migrate. All services are located under the following URL:
Administrator privileges are required to run these services.
|
Section | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||
Upgrade tasks apply changes to a projectdoc Toolbox installation, especially to the Active Objects (AO) database tables. These changes are necessary to improve the execution quality of projectdoc tools. The upgrade task is applied automatically.
|
...