Robert Munteanu created OAK-6638:
------------------------------------
Summary: Add a convert-to-composite command in oak-run
Key: OAK-6638
URL: https://issues.apache.org/jira/browse/OAK-6638
Project: Jackrabbit Oak
Issue Type: Improvement
Components: run
Reporter: Robert Munteanu
Fix For: 1.8, 1.7.7
With OAK-6505 we know guard against referenceable nodes placed in mounts. These
are still allowed with a WARN for certain node types, and currently we need to
solve the situation of nt:resource nodes placed underneath nt:file nodes.
One way out of this is to use oak:Resource nodes instead of nt:resource, and
the most contained way of solving this is an oak-run command that can be used
to convert certain paths from an existing NodeStore to use this pattern.
The invocation should be something like
{noformat}java -jar oak-run-1.8-SNAPSHOT.jar composite-prepare
{<path-to-repository> | <mongodb-uri>} | <rdb-uri>} --paths
/libs,/apps{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)