Skip to content

Commit 474ff93

Browse files
authored
Neo4j update (helidon-io#3817)
* Neo4j update * Copyright, Neo4j harness update
1 parent 8003509 commit 474ff93

5 files changed

Lines changed: 13 additions & 9 deletions

File tree

dependencies/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
<version.lib.mockito>2.23.4</version.lib.mockito>
122122
<version.lib.mongodb.reactivestreams>1.11.0</version.lib.mongodb.reactivestreams>
123123
<version.lib.mssql-jdbc>8.4.1.jre8</version.lib.mssql-jdbc>
124-
<version.lib.neo4j>4.2.4</version.lib.neo4j>
124+
<version.lib.neo4j>4.4.2</version.lib.neo4j>
125125
<version.lib.mysql-connector-java>8.0.22</version.lib.mysql-connector-java>
126126
<version.lib.narayana>5.12.0.Final</version.lib.narayana>
127127
<version.lib.netty>4.1.72.Final</version.lib.netty>

examples/integrations/neo4j/neo4j-mp/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright (c) 2021 Oracle and/or its affiliates.
4+
Copyright (c) 2021, 2022 Oracle and/or its affiliates.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -32,7 +32,7 @@
3232
<name>Helidon Neo4j MP integration Example</name>
3333

3434
<properties>
35-
<neo4j-harness.version>4.2.1</neo4j-harness.version>
35+
<neo4j-harness.version>4.4.3</neo4j-harness.version>
3636
</properties>
3737

3838
<dependencies>

examples/integrations/neo4j/neo4j-se/pom.xml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright (c) 2021 Oracle and/or its affiliates.
4+
Copyright (c) 2021, 2022 Oracle and/or its affiliates.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -33,8 +33,7 @@
3333

3434
<properties>
3535
<mainClass>io.helidon.examples.integrations.neo4j.se.Main</mainClass>
36-
<neo4j.version>1.15.0</neo4j.version>
37-
<neo4j-harness.version>4.2.1</neo4j-harness.version>
36+
<neo4j-harness.version>4.4.3</neo4j-harness.version>
3837
</properties>
3938

4039
<dependencies>
@@ -124,7 +123,12 @@
124123
as the database process is separate from the application
125124
-->
126125
<argLine>
126+
--add-exports=java.base/sun.nio.ch=ALL-UNNAMED
127127
--add-opens=java.base/java.lang=ALL-UNNAMED
128+
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
129+
--add-opens=java.base/java.io=ALL-UNNAMED
130+
--add-opens=java.base/java.nio=ALL-UNNAMED
131+
--add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED
128132
</argLine>
129133
</configuration>
130134
</plugin>

examples/integrations/neo4j/neo4j-se/src/test/java/io/helidon/examples/quickstart/se/MainTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021 Oracle and/or its affiliates.
2+
* Copyright (c) 2021, 2022 Oracle and/or its affiliates.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -81,7 +81,7 @@ void testMovies() {
8181
.request(JsonArray.class)
8282
.await();
8383

84-
assertEquals("The Matrix", result.getJsonObject(0).getString("title"));
84+
assertEquals("The Matrix Reloaded", result.getJsonObject(0).getString("title"));
8585
}
8686

8787
@Test

examples/microprofile/lra/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright (c) 2021 Oracle and/or its affiliates.
4+
Copyright (c) 2021, 2022 Oracle and/or its affiliates.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)