Hi,
I have created jackrabbit oak repository with mongodb as nodestore.
MongoConnection connection = MongoUtils.getConnection();
database = connection.getDB();
documentNodeStore = new
DocumentMK.Builder().setMongoDB(database).getNodeStore();
Jcr jcr = new Jcr(new Oak(documentNodeStore)).with(getSecurityProvider());
Repository repository = getIndexConfig(jcr).createRepository();
But what api will provide me the existing repository, when I supply
connection of MongoDB?
Hardly finding a clue.
Appreciate your help on this.
Using Oak 1.4.1 and MongoDB 3.2
--
View this message in context:
http://jackrabbit.510166.n4.nabble.com/Get-Repository-from-OAK-tp4664045.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.