Skip to content

Commit c14d1d7

Browse files
committed
Merge branch 'rc/2.0.1'
2 parents 95e5859 + 00f7ae8 commit c14d1d7

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

README.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ An implementation of the [Apache TinkerPop OLTP Provider](https://tinkerpop.apac
88

99
This Provider supports:
1010
* Apache TinkerPop 3.3
11-
* ArangoDB 3.3 (via ArangoDB Java Driver 5.0.0).
11+
* ArangoDB 3.3+ (via ArangoDB Java Driver 5.0.0).
1212

1313
## ArangoDB
1414

@@ -24,7 +24,7 @@ To add the provider to your project via maven you need to add the following depe
2424
<dependency>
2525
<groupId>org.arangodb</groupId>
2626
<artifactId>arangodb-tinkerpop-provider</artifactId>
27-
<version>2.0.0</version>
27+
<version>2.0.1</version>
2828
</dependency>
2929
....
3030
</dependencies>
@@ -53,8 +53,6 @@ builder.graph("modern")
5353

5454
// create a ArangoDB graph
5555
BaseConfiguration conf = builder.build();
56-
// The Graph.GRAPH ("gremlin.graph") configuration must point to the Graph implementation class
57-
conf.addProperty(Graph.GRAPH, ArangoDBGraph.class.getName());
5856
Graph graph = GraphFactory.open(conf);
5957
GraphTraversalSource gts = new GraphTraversalSource(graph);
6058

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>org.arangodb</groupId>
88
<artifactId>arangodb-tinkerpop-provider</artifactId>
9-
<version>2.0.0</version>
9+
<version>2.0.1</version>
1010
<packaging>jar</packaging>
1111

1212
<name>ArangoDB-TinkerPop-Provider</name>

src/main/java/com/arangodb/tinkerpop/gremlin/utils/ArangoDBConfigurationBuilder.java

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import org.apache.commons.configuration.BaseConfiguration;
1919
import org.apache.commons.lang3.tuple.ImmutableTriple;
2020
import org.apache.commons.lang3.tuple.Triple;
21+
import org.apache.tinkerpop.gremlin.structure.Graph;
2122
import org.slf4j.Logger;
2223
import org.slf4j.LoggerFactory;
2324

@@ -189,6 +190,7 @@ public BaseConfiguration build() {
189190
if (!hosts.isEmpty()) {
190191
config.addProperty(fullPropertyKey(PROPERTY_KEY_HOSTS), hosts.stream().collect(Collectors.joining(",")));
191192
}
193+
config.addProperty(Graph.GRAPH, ArangoDBGraph.class.getName());
192194
return config;
193195
}
194196

src/test/java/com/arangodb/tinkerpop/gremlin/ArangoDBGraphProvider.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,7 @@ else if(testMethodName.startsWith("shouldReadWriteDetachedVertexNoEdges")) {
205205
}
206206
}
207207
}
208-
Configuration conf = builder.build();
209-
conf.addProperty(Graph.GRAPH, ArangoDBGraph.class.getName());
210-
return conf;
208+
return builder.build();
211209
}
212210

213211
@Override

0 commit comments

Comments
 (0)