-
Notifications
You must be signed in to change notification settings - Fork 0
Repository_Upgrade
The Repositoy Upgrade procedure is used for upgrading the Jackrabbit Oak repository to the repository structure of the second version of the application.
Configure the absolute path where the Jackrabbit Oak repository is located. Use the configuration file located in "Jackrabbit-Oak-repository-upgrade/repository-upgrade-second-version/src/main/resources/settings.properties"
Execute the following command.
mvn clean install
Execute the following commands.
cd repository-upgrade-second-version/target
java -jar repository-upgrade-second-version-1.0-SNAPSHOT.jar
The Repository Upgrade procedure will go through each Node inside the Jackrabbit Oak repository and will migrate the Node according to the Jackrabbit Oak repository configuration file located in "repository-second-version/src/main.resources/cnd.config".
The Repository Upgrade procedure consists of adding and removing mixin and properties on the Nodes. The changes will be applied also to the File Version Nodes.
In detail, the following is the Repository Update procedure:
- Remove the mixin "app:attributes" that contains the property "app:hidden".
- Add a new property "app:system" into an existent mixin "app:properties".
- Remove the property "app:deletable" from the mixin "app:properties".
- Add a new mixin "app:describable" with a property "app:description".