Search in sources :

Example 1 with DefaultGraphManager

use of org.apache.tinkerpop.gremlin.server.util.DefaultGraphManager in project janusgraph by JanusGraph.

the class JanusGraphGrpcServerBaseTest method getGraphManager.

protected static GraphManager getGraphManager() {
    Settings settings = new Settings();
    HashMap<String, String> map = new HashMap<>();
    map.put("graph", "src/test/resources/janusgraph-inmemory.properties");
    map.put("graph2", "src/test/resources/janusgraph-inmemory.properties");
    map.put("tinkergraph", "src/test/resources/tinkergraph.properties");
    settings.graphs = map;
    return new DefaultGraphManager(settings);
}
Also used : HashMap(java.util.HashMap) DefaultGraphManager(org.apache.tinkerpop.gremlin.server.util.DefaultGraphManager) Settings(org.apache.tinkerpop.gremlin.server.Settings)

Aggregations

HashMap (java.util.HashMap)1 Settings (org.apache.tinkerpop.gremlin.server.Settings)1 DefaultGraphManager (org.apache.tinkerpop.gremlin.server.util.DefaultGraphManager)1