-
Notifications
You must be signed in to change notification settings - Fork 3
upgraded neo4j db and driver #331
Changes from 7 commits
70538ac
f551b28
aa9bf3c
5b81e33
b3e101b
af65c81
d12f3af
b9b191a
8983ad2
5e741bd
6cee7bd
63e1505
0d5e249
ecea9b1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| version: '3' | ||
| services: | ||
| neo4j: | ||
| image: neo4j:3.5.0 | ||
| image: neo4j:4.1.5 | ||
| environment: | ||
| - NEO4J_dbms_logs_query_enabled=true | ||
| - NEO4J_dbms_logs_query_enabled=VERBOSE | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Slightly confused now with these settings as this v4.1 database can now be accessed by a v4 driver without the need for me to be explicit about the use of a certificate!!
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You're using
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, I've now realised that at well, silly me. However, this PR will now focus on the functionality delivered by the neo4j driver (e.g. CYPHER) not the security. The security will be tested via a similar PR for Biz Ops API |
||
| - NEO4J_AUTH=none | ||
| - NEO4J_ACCEPT_LICENSE_AGREEMENT=yes | ||
| - NEO4J_db_temporal_timezone=Z | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,15 +23,13 @@ const initConstraints = async () => { | |
| const retrieveConstraints = async () => { | ||
| const constraints = await executeQuery('CALL db.constraints'); | ||
| return constraints.records.map(constraint => | ||
| constraint.get('description'), | ||
| constraint.get('name'), | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This, and the similar line below, seem to be the solution to the original failure of the db to start. The reasons being that: |
||
| ); | ||
| }; | ||
|
|
||
| const retrieveIndexes = async () => { | ||
| const indexes = await executeQuery('CALL db.indexes'); | ||
| return indexes.records.map(constraint => | ||
| constraint.get('description'), | ||
| ); | ||
| return indexes.records.map(constraint => constraint.get('name')); | ||
| }; | ||
|
|
||
| const existingConstraints = await retrieveConstraints(); | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| mkdir -p neo4j/{plugins,logs,data} | ||
| wget -O neo4j/plugins/apoc-3.5.0.1-all.jar https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/3.5.0.1/apoc-3.5.0.1-all.jar | ||
| wget -O neo4j/plugins/apoc-4.1.0.4-all.jar https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/4.1.0.4/apoc-4.1.0.4-all.jar | ||
| chmod 0644 neo4j/plugins/*.jar | ||
| ls -la neo4j/plugins |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is now 4.1.6 - released yesterday
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upgraded to 4.1.6 (all three places) - thanks