Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit 084b564

Browse files
committed
Release 2.0.3
1 parent 49cd296 commit 084b564

File tree

8 files changed

+31
-34
lines changed

8 files changed

+31
-34
lines changed

.travis.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [2.0.3] - 2020-11-16
10+
11+
### Fixed
12+
- #68 Create Graph Variables collection if not present
13+
- Bump junit from 4.12 to 4.13.1
14+
915
## [2.0.2] - 2019-03-22
1016

1117
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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.2</version>
27+
<version>2.0.3</version>
2828
</dependency>
2929
....
3030
</dependencies>

pom.xml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
<groupId>org.arangodb</groupId>
88
<artifactId>arangodb-tinkerpop-provider</artifactId>
9-
<version>2.0.2</version>
10-
<packaging>jar</packaging>
9+
<version>2.0.3</version>
10+
<packaging>jar</packaging>
1111

1212
<name>ArangoDB-TinkerPop-Provider</name>
1313
<description>An implementation of the Tinkerpop Provider OLTP for ArangoDB</description>
@@ -24,7 +24,7 @@
2424
<properties>
2525
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2626
<arangodb-java-driver.version>5.0.0</arangodb-java-driver.version>
27-
<tinkerpop.version>3.3.3</tinkerpop.version>
27+
<tinkerpop.version>3.3.11</tinkerpop.version>
2828
<junit.version>4.13.1</junit.version>
2929
<logback-classic.version>1.1.3</logback-classic.version>
3030
<commons-lang3.version>3.4</commons-lang3.version>
@@ -132,7 +132,7 @@
132132
<plugin>
133133
<groupId>org.apache.maven.plugins</groupId>
134134
<artifactId>maven-source-plugin</artifactId>
135-
<version>2.4</version>
135+
<version>3.2.1</version>
136136
<executions>
137137
<execution>
138138
<goals>
@@ -145,7 +145,7 @@
145145
<plugin>
146146
<groupId>org.apache.maven.plugins</groupId>
147147
<artifactId>maven-javadoc-plugin</artifactId>
148-
<version>3.0.1</version>
148+
<version>3.2.0</version>
149149
<executions>
150150
<execution>
151151
<id>attach-javadocs</id>
@@ -154,6 +154,7 @@
154154
</goals>
155155
<configuration>
156156
<additionalparam>${javadoc.opts}</additionalparam>
157+
<source>8</source>
157158
</configuration>
158159
</execution>
159160
</executions>
@@ -162,7 +163,7 @@
162163
<plugin>
163164
<groupId>org.apache.maven.plugins</groupId>
164165
<artifactId>maven-gpg-plugin</artifactId>
165-
<version>1.5</version>
166+
<version>1.6</version>
166167
<executions>
167168
<execution>
168169
<id>sign-artifacts</id>
@@ -206,7 +207,7 @@
206207
<version>3.0.0-M3</version>
207208
<configuration>
208209
<environmentVariables>
209-
<!-- Needs to be provided in a single line -->
210+
<!-- Needs to be provided in a single line -->
210211
<GREMLIN_TESTS>org.apache.tinkerpop.gremlin.algorithm.generator.CommunityGeneratorTest,org.apache.tinkerpop.gremlin.algorithm.generator.DistributionGeneratorTest,org.apache.tinkerpop.gremlin.structure.EdgeTest,org.apache.tinkerpop.gremlin.structure.FeatureSupportTest,org.apache.tinkerpop.gremlin.structure.GraphConstructionTest,org.apache.tinkerpop.gremlin.structure.GraphTest,org.apache.tinkerpop.gremlin.structure.io.IoCustomTest,org.apache.tinkerpop.gremlin.structure.io.IoGraphTest,org.apache.tinkerpop.gremlin.structure.io.IoPropertyTest,org.apache.tinkerpop.gremlin.structure.io.IoTest,org.apache.tinkerpop.gremlin.structure.io.IoVertexTest,org.apache.tinkerpop.gremlin.structure.PropertyTest,org.apache.tinkerpop.gremlin.structure.VariablesTest,org.apache.tinkerpop.gremlin.structure.VertexPropertyTest</GREMLIN_TESTS>
211212
</environmentVariables>
212213
</configuration>
@@ -215,7 +216,7 @@
215216
<plugin>
216217
<groupId>org.sonatype.plugins</groupId>
217218
<artifactId>nexus-staging-maven-plugin</artifactId>
218-
<version>1.6.7</version>
219+
<version>1.6.8</version>
219220
<extensions>true</extensions>
220221
<configuration>
221222
<serverId>ossrh</serverId>
@@ -234,8 +235,8 @@
234235
</scm>
235236

236237
<organization>
237-
<name>The University of York - Department of Computer Science</name>
238-
<url>https://www.cs.york.ac.uk</url>
238+
<name>Kinori Tech</name>
239+
<url>http://kinori.tech</url>
239240
</organization>
240241

241242
</project>

src/main/java/com/arangodb/tinkerpop/gremlin/client/ArangoDBBaseDocument.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public ArangoDBBaseDocument() {
6767
* Instantiates a new Arango DB base document. The document's collection is assigned by requesting the graph to
6868
* prefix the collection.
6969
*
70-
* @param key the key to assign to the docuement
70+
* @param key the key to assign to the document
7171
* @param label the document label
7272
* @param graph the graph that contains the document
7373
*/

src/main/java/com/arangodb/tinkerpop/gremlin/structure/ArangoDBGraph.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
* </pre>
6969
* <p>
7070
* To define the schema, (EdgeCollections in ArangoDB world) three properties can be used:
71-
* <tt>graph.vertex</tt>, <tt>graph.edge</tt> and <tt>graph.relation</tt>. The graph.vertex and
71+
* <code>graph.vertex</code>, <code>graph.edge</code> and <code>graph.relation</code>. The graph.vertex and
7272
* graph.edge properties allow definition of the ArangoDB collections used to store nodes and edges
7373
* respectively. The relations property is used to describe the allowed edge-node relations. For
7474
* simple graphs, only one graph.vertex and graph.edge properties need to be provided. In this case
@@ -851,8 +851,8 @@ public Iterator<Vertex> vertices(Object... vertexIds) {
851851

852852
/**
853853
* Return the collection name correctly prefixed according to the shouldPrefixCollectionNames flag
854-
* @param collectionName
855-
* @return
854+
* @param collectionName the collection name
855+
* @return the Collection name prefixed
856856
*/
857857
public String getPrefixedCollectioName(String collectionName) {
858858
if (GRAPH_VARIABLES_COLLECTION.equals(collectionName)) {

src/main/java/com/arangodb/tinkerpop/gremlin/structure/ArangoDBGraphVariables.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ public ArangoDBGraphVariables() {
5252
/**
5353
* Instantiates a new Arango DB graph variables.
5454
*
55-
* @param graph the graph
55+
* @param key the key to assign to the document
56+
* @param label the document label
57+
* @param graph the graph that contains the document
5658
*/
57-
5859
public ArangoDBGraphVariables(String key, String label, ArangoDBGraph graph) {
5960
super(key, label, graph);
6061
}

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ public static List<EdgeDefinition> createDefaultEdgeDefinitions(
259259
*
260260
* @param graphName the graph name
261261
* @param collectionName the collection name
262+
* @param shouldPrefixWithGraphName flag to indicate if the name should be prefixed
262263
* @return the unique collection name
263264
*/
264265
@Deprecated
@@ -450,9 +451,10 @@ public static <U> ArangoDBPropertyProperty<U> createArangoDBPropertyProperty(Str
450451
/**
451452
* Gets the correct primitive.
452453
*
453-
* @param <V> the value type
454454
* @param value the value
455-
* @return the correct Java primitive
455+
* @param valueClass the exoected class of the value
456+
* @param <V> the value type
457+
* @return the correct Java primitive
456458
*/
457459

458460
@SuppressWarnings("unchecked")
@@ -581,8 +583,8 @@ else if (value instanceof Double) {
581583

582584
/**
583585
* Translate a Gremlin direction to Arango direction
584-
* @param direction
585-
* @return
586+
* @param direction the direction to translate
587+
* @return the ArangoDBQueryBuilder.Direction that represents the gremlin direction
586588
*/
587589
public static ArangoDBQueryBuilder.Direction getArangoDirectionFromGremlinDirection(final Direction direction) {
588590
switch (direction) {

0 commit comments

Comments
 (0)