Migrate JCR nodes from 0.7 schema to 0.8 schema

Description

This work needs to be done in the "Kylo-198-entity-access" feature branch

In 0.8 the modeshape cnd file changes the schema.
A migration needs to happen to create the correct Modeshape schema node structure for the 0.8 schema and move the data in the 0.7.x nodes to the new structure.

Sean is creating a framework to handle modeshape migration (). This task is about doing the actual migration.

The code needs to:
1) load in the old .cnd file for 0.7
2) migrate the nodes (create new nodes, remove old nodes) reference the old and new .cnd files for what needs to happen. This code needs to reference all Modeshape JCR objects (not using any Kylo wrapped objects)

Activity

Show:
Jagrut Sharma
April 4, 2017, 8:11 PM

The code to migrate the schema from v0.7 to v0.8 spec is in place. During testing, an error is being thrown during migrating feed schema.
[tba:feed] [tba:sources] move to [tba:feed] [tba:feedSummary] [tba:feedDetails] [tba:sources] is throwing a 'javax.jcr.PathNotFoundException: No node exists at path' exception.

Committed the current code to feature branch. Comments in code indicate the error generating line.

Done

Assignee

Jagrut Sharma

Reporter

Scott Reisdorf

Labels

None

Reviewer

None

Epic Link

Sprint

None

Fix versions

Priority

Medium