Skip to content

Commit

Permalink
Upgrade Neo4j to v.5 (#7635)
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Aleksandrov <[email protected]>
  • Loading branch information
dalexandrov authored Sep 20, 2023
1 parent adf477b commit 0bd4809
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
<version.lib.mssql-jdbc>8.4.1.jre8</version.lib.mssql-jdbc>
<version.lib.mysql-connector-java>8.0.28</version.lib.mysql-connector-java>
<version.lib.narayana>5.12.0.Final</version.lib.narayana>
<version.lib.neo4j>4.4.11</version.lib.neo4j>
<version.lib.neo4j>5.12.0</version.lib.neo4j>
<version.lib.netty>4.1.94.Final</version.lib.netty>
<version.lib.netty-io_uring>0.0.19.Final</version.lib.netty-io_uring>
<version.lib.oci>3.21.0</version.lib.oci>
Expand Down Expand Up @@ -1040,7 +1040,7 @@
<!-- Neo4j -->
<dependency>
<groupId>org.neo4j.driver</groupId>
<artifactId>neo4j-java-driver-slim</artifactId>
<artifactId>neo4j-java-driver</artifactId>
<version>${version.lib.neo4j}</version>
</dependency>
<!-- Cron utils -->
Expand Down
2 changes: 1 addition & 1 deletion examples/integrations/neo4j/neo4j-mp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<name>Helidon Neo4j MP integration Example</name>

<properties>
<neo4j-harness.version>4.4.3</neo4j-harness.version>
<neo4j-harness.version>5.12.0</neo4j-harness.version>
</properties>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion examples/integrations/neo4j/neo4j-se/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<properties>
<mainClass>io.helidon.examples.integrations.neo4j.se.Main</mainClass>
<neo4j-harness.version>4.4.3</neo4j-harness.version>
<neo4j-harness.version>5.12.0</neo4j-harness.version>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void testMovies() {
.request(JsonArray.class)
.await();

assertThat(result.getJsonObject(0).getString("title"), is("The Matrix Reloaded"));
assertThat(result.getJsonObject(0).getString("title"), is("The Matrix"));
}

@Test
Expand Down
2 changes: 1 addition & 1 deletion integrations/neo4j/health/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<dependencies>
<dependency>
<groupId>org.neo4j.driver</groupId>
<artifactId>neo4j-java-driver-slim</artifactId>
<artifactId>neo4j-java-driver</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 Oracle and/or its affiliates.
* Copyright (c) 2021, 2023 Oracle and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -75,7 +75,7 @@ private HealthCheckResponse runHealthCheckQuery(HealthCheckResponseBuilder build
var serverInfo = resultSummary.server();

var responseBuilder = builder
.withData("server", serverInfo.version() + "@" + serverInfo.address())
.withData("server", serverInfo.protocolVersion() + "@" + serverInfo.address())
.withData("edition", edition);

var databaseInfo = resultSummary.database();
Expand Down
2 changes: 1 addition & 1 deletion integrations/neo4j/metrics/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</dependency>
<dependency>
<groupId>org.neo4j.driver</groupId>
<artifactId>neo4j-java-driver-slim</artifactId>
<artifactId>neo4j-java-driver</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion integrations/neo4j/neo4j/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<dependencies>
<dependency>
<groupId>org.neo4j.driver</groupId>
<artifactId>neo4j-java-driver-slim</artifactId>
<artifactId>neo4j-java-driver</artifactId>
</dependency>
<dependency>
<groupId>io.helidon.common</groupId>
Expand Down

0 comments on commit 0bd4809

Please sign in to comment.