X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=aai-core%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Faai%2Fdbmap%2FInMemoryGraph.java;fp=aai-core%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Faai%2Fdbmap%2FInMemoryGraph.java;h=3f002ff5035faaf91be291e889d7eee621ec5f76;hb=ccd90cd0098e5546c2cefc389f1ff33419acc169;hp=45d0bbe4330be7a7a2d12274294b2c97167414bb;hpb=17fb185d934d1833c3960b44b18e0a6c125e2775;p=aai%2Faai-common.git diff --git a/aai-core/src/main/java/org/onap/aai/dbmap/InMemoryGraph.java b/aai-core/src/main/java/org/onap/aai/dbmap/InMemoryGraph.java index 45d0bbe4..3f002ff5 100644 --- a/aai-core/src/main/java/org/onap/aai/dbmap/InMemoryGraph.java +++ b/aai-core/src/main/java/org/onap/aai/dbmap/InMemoryGraph.java @@ -25,7 +25,6 @@ import java.io.InputStream; import java.util.Properties; -import org.apache.commons.lang.exception.ExceptionUtils; import org.apache.tinkerpop.gremlin.structure.io.IoCore; import org.onap.aai.dbgen.SchemaGenerator; import org.onap.aai.logging.LogFormatTools; @@ -57,7 +56,7 @@ public class InMemoryGraph { JanusGraphManagement graphMgt = graph.openManagement(); if(builder.isSchemaEnabled){ LOGGER.info("Schema Enabled"); - SchemaGenerator.loadSchemaIntoJanusGraph(graph, graphMgt); + SchemaGenerator.loadSchemaIntoJanusGraph(graphMgt); } JanusGraphTransaction transaction = graph.newTransaction(); LOGGER.info("Loading snapshot");