JanusGraphJ
JanusGraph14mo ago
smp

ConfigurationManagementGraph fails with Must provide vertex id

I am new to the JanusGraph. Trying to create dynamic graphs.
I couldn't create configuration template. Am I missing anything. Thanks
My config:
graphManager: org.janusgraph.graphdb.management.JanusGraphManager graphs: { ConfigurationManagementGraph: /etc/opt/janusgraph/janusgraph-cql-configuration.server.properties, graph: /etc/opt/janusgraph/janusgraph-cql-server.properties }

janusgraph-cql-configuration.server.properties: | gremlin.graph = org.janusgraph.core.ConfiguredGraphFactory storage.backend = cql graph.graphname = ConfigurationManagementGraph


gremlin> map = new HashMap(); gremlin> map.put('storage.backend', 'cql'); ==>null gremlin> map.put('storage.hostname', 'scylla-scylladb'); ==>null gremlin> ConfiguredGraphFactory.createTemplateConfiguration(new MapConfiguration(map)); Must provide vertex id
Was this page helpful?