Skip to content

Commit

Permalink
chore: update to the last version of dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tglman committed Nov 1, 2023
1 parent 79cfaed commit f6aefda
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 29 deletions.
6 changes: 3 additions & 3 deletions driver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<gremlin.version>3.6.2</gremlin.version>
<gremlin.version>3.7.0</gremlin.version>
<project.rootdir>${project.basedir}/../</project.rootdir>
</properties>

Expand Down Expand Up @@ -79,7 +79,7 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>31.1-jre</version>
<version>32.1.3-jre</version>
</dependency>

<!-- tests -->
Expand All @@ -92,7 +92,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import org.apache.tinkerpop.gremlin.structure.FeatureSupportTest.GraphFunctionalityTest;
import org.apache.tinkerpop.gremlin.structure.Graph;
import org.apache.tinkerpop.gremlin.structure.GraphTest;
import org.apache.tinkerpop.gremlin.structure.SerializationTest;
import org.apache.tinkerpop.gremlin.structure.io.IoCustomTest;
import org.junit.AssumptionViolatedException;

Expand Down Expand Up @@ -45,14 +44,6 @@ public class OrientGraphProvider extends AbstractGraphProvider {
IGNORED_TESTS.put(
GraphFunctionalityTest.class, asList("shouldSupportTransactionsIfAGraphConstructsATx"));

// This tests become broken after gremlin 3.2.4
IGNORED_TESTS.put(
SerializationTest.GraphSONV3d0Test.class, asList("shouldSerializeTraversalMetrics"));

// This tests become broken after gremlin 3.2.0
IGNORED_TESTS.put(SerializationTest.GryoV1d0Test.class, asList("shouldSerializeTree"));
IGNORED_TESTS.put(SerializationTest.GryoV3d0Test.class, asList("shouldSerializeTree"));

IGNORED_TESTS.put(IoCustomTest.class, asList("shouldSerializeTree"));
}

Expand Down
6 changes: 3 additions & 3 deletions server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<artifactId>orientdb-gremlin-server</artifactId>

<properties>
<tinkerpop.version>3.5.2</tinkerpop.version>
<slf4j.version>1.7.21</slf4j.version>
<tinkerpop.version>3.7.0</tinkerpop.version>
<slf4j.version>2.0.9</slf4j.version>
<project.rootdir>${project.basedir}/../</project.rootdir>
</properties>

Expand Down Expand Up @@ -100,7 +100,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<version>4.13.2</version>
<scope>test</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,9 @@
import org.apache.commons.configuration2.BaseConfiguration;
import org.apache.tinkerpop.gremlin.driver.Client;
import org.apache.tinkerpop.gremlin.driver.Cluster;
import org.apache.tinkerpop.gremlin.driver.MessageSerializer;
import org.apache.tinkerpop.gremlin.driver.exception.ResponseException;
import org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV3d0;
import org.apache.tinkerpop.gremlin.orientdb.OrientGraph;
import org.apache.tinkerpop.gremlin.orientdb.io.OrientIoRegistry;
import org.apache.tinkerpop.gremlin.structure.Vertex;
import org.apache.tinkerpop.gremlin.structure.io.gryo.GryoMapper;
import org.junit.Assert;
import org.junit.Test;

Expand All @@ -33,11 +29,7 @@ public void setup() throws Exception {
@Test
public void shouldAuthenticateWithPlainText() throws Exception {

MessageSerializer serializer =
new GryoMessageSerializerV3d0(
GryoMapper.build().addRegistry(OrientIoRegistry.getInstance()));
final Cluster cluster =
Cluster.build().credentials("root", "root").serializer(serializer).create();
final Cluster cluster = Cluster.build().credentials("root", "root").create();
final Client client = cluster.connect();

try {
Expand Down Expand Up @@ -85,11 +77,7 @@ public void shouldUseReaderAndGiveExceptionOnWrite() throws Exception {

@Test
public void shouldCreateAVertexPerson() throws Exception {
MessageSerializer serializer =
new GryoMessageSerializerV3d0(
GryoMapper.build().addRegistry(OrientIoRegistry.getInstance()));
final Cluster cluster =
Cluster.build().credentials("root", "root").serializer(serializer).create();
final Cluster cluster = Cluster.build().credentials("root", "root").create();
final Client client = cluster.connect();
try {
Vertex vertex =
Expand Down

0 comments on commit f6aefda

Please sign in to comment.