Package org.locationtech.geogig.storage.mongo

Examples of org.locationtech.geogig.storage.mongo.MongoConnectionManager


        final String database = properties.get("mongodb.database", String.class).or("geogig");
        MongoClient client = new MongoClient(new MongoClientURI(uri));
        DB db = client.getDB(database);
        db.dropDatabase();

        MongoConnectionManager manager = new MongoConnectionManager();
        ConfigDatabase config = new TestConfigDatabase(platform);
        MongoGraphDatabase mongoGraphDatabase = new MongoGraphDatabase(manager, config);
        return mongoGraphDatabase;
    }
View Full Code Here

TOP

Related Classes of org.locationtech.geogig.storage.mongo.MongoConnectionManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.