Skip to content

Commit

Permalink
ConfigurationBuilder sets gremlim.graph property
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanefoam committed Dec 25, 2018
1 parent 95e5859 commit 271ce8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -18,6 +18,7 @@
import org.apache.commons.configuration.BaseConfiguration;
import org.apache.commons.lang3.tuple.ImmutableTriple;
import org.apache.commons.lang3.tuple.Triple;
import org.apache.tinkerpop.gremlin.structure.Graph;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down Expand Up @@ -189,6 +190,7 @@ public BaseConfiguration build() {
if (!hosts.isEmpty()) {
config.addProperty(fullPropertyKey(PROPERTY_KEY_HOSTS), hosts.stream().collect(Collectors.joining(",")));
}
config.addProperty(Graph.GRAPH, ArangoDBGraph.class.getName());
return config;
}

Expand Down
Expand Up @@ -205,9 +205,7 @@ else if(testMethodName.startsWith("shouldReadWriteDetachedVertexNoEdges")) {
}
}
}
Configuration conf = builder.build();
conf.addProperty(Graph.GRAPH, ArangoDBGraph.class.getName());
return conf;
return builder.build();
}

@Override
Expand Down

0 comments on commit 271ce8b

Please sign in to comment.