use of org.apache.jackrabbit.core.RepositoryContext in project jackrabbit-oak by apache.
the class MigrationFactory method createUpgrade.
public RepositoryUpgrade createUpgrade() throws IOException, RepositoryException, CliArgumentException {
RepositoryContext src = stores.getSrcStore().create(closer);
BlobStore srcBlobStore = new DataStoreBlobStore(src.getDataStore());
NodeStore dstStore = createTarget(closer, srcBlobStore);
return createUpgrade(src, dstStore);
}
Aggregations