Skip to content

Commit

Permalink
Upgrade TinkerPop version to 3.5.7 [cql-tests][tp-tests]
Browse files Browse the repository at this point in the history
Signed-off-by: Boxuan Li <liboxuan@connect.hku.hk>
  • Loading branch information
li-boxuan committed Oct 2, 2023
1 parent d9cb889 commit 59ceef3
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ compile "org.janusgraph:janusgraph-core:0.6.4"
* Elasticsearch 6.0.1, 6.6.0, 7.14.0
* Apache Lucene 8.9.0
* Apache Solr 7.7.2, 8.11.0
* Apache TinkerPop 3.5.5
* Apache TinkerPop 3.5.7
* Java 1.8

#### Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,7 @@ public void testPageRank() throws ExecutionException, InterruptedException {
final JanusGraphComputer computer = graph.compute();
computer.resultMode(JanusGraphComputer.ResultMode.NONE);
computer.workers(4);
computer.vertexProperties(__.properties("dummy"));
computer.program(PageRankVertexProgram.build().iterations(10).vertexCount(numV).dampingFactor(alpha).create(graph));
computer.mapReduce(PageRankMapReduce.build().create());
ComputerResult result = computer.submit().get();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
import org.apache.tinkerpop.gremlin.process.traversal.traverser.util.TraverserSet;
import org.apache.tinkerpop.gremlin.structure.Edge;
import org.apache.tinkerpop.gremlin.structure.Graph;
import org.apache.tinkerpop.gremlin.structure.Property;
import org.apache.tinkerpop.gremlin.structure.Vertex;
import org.apache.tinkerpop.gremlin.structure.VertexProperty;
import org.apache.tinkerpop.gremlin.structure.util.StringFactory;
Expand Down Expand Up @@ -115,6 +116,12 @@ public GraphComputer edges(final Traversal<Vertex, Edge> edgeFilter) {
return this;
}

@Override
public GraphComputer vertexProperties(final Traversal<Vertex, ? extends Property<?>> vertexPropertyFilter) {
this.graphFilter.setVertexPropertyFilter(vertexPropertyFilter);
return this;
}

@Override
public GraphComputer result(ResultGraph resultGraph) {
Preconditions.checkNotNull(resultGraph, "Need to specify mode");
Expand Down
11 changes: 11 additions & 0 deletions janusgraph-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,17 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.jcabi</groupId>
<artifactId>jcabi-manifests</artifactId>
<version>${jcabi.version}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</distributionManagement>
<properties>
<titan.compatible-versions>1.0.0,1.1.0-SNAPSHOT</titan.compatible-versions>
<tinkerpop.version>3.5.5</tinkerpop.version>
<tinkerpop.version>3.5.7</tinkerpop.version>
<junit-platform.version>1.10.0</junit-platform.version>
<junit.version>5.10.0</junit.version>
<mockito.version>4.11.0</mockito.version>
Expand Down Expand Up @@ -116,6 +116,7 @@
<grpc.version>1.57.2</grpc.version>
<protoc.version>3.15.3</protoc.version>
<gson.version>2.10.1</gson.version>
<jcabi.version>1.2.1</jcabi.version>
<jmh.version>1.21</jmh.version>
<graalvm-nativeimage.version>22.3.2</graalvm-nativeimage.version>
</properties>
Expand Down Expand Up @@ -712,7 +713,7 @@
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>1.32</version>
<version>2.0</version>
</dependency>
<dependency>
<groupId>net.oneandone.reflections8</groupId>
Expand Down

0 comments on commit 59ceef3

Please sign in to comment.