Skip to content

Commit eb08c1d

Browse files
authored
Merge pull request #107 from JohT/feature/update-open-graph-data-science-2-6-x
Update to open graph-data-science v2.6.0+51
2 parents a15568e + fa5b3fd commit eb08c1d

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

scripts/profiles/Neo4jv5.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ NEO4J_APOC_PLUGIN_EDITION=${NEO4J_APOC_PLUGIN_EDITION:-"core"} # Since Neo4j v5
1818
NEO4J_APOC_PLUGIN_GITHUB=${NEO4J_APOC_PLUGIN_GITHUB:-"neo4j/apoc"} # Core edition was moved to "neo4j/apoc" for Neo4j v5
1919

2020
NEO4J_GDS_PLUGIN_VERSION=${NEO4J_GDS_PLUGIN_VERSION:-"2.5.7"} # Version 2.4.0 is the newest version of june 2023 and compatible with Neo4j v5
21-
NEO4J_OPEN_GDS_PLUGIN_VERSION=${NEO4J_OPEN_GDS_PLUGIN_VERSION:-"2.6.0-alpha01"} # Graph Data Science Plugin Version 2.4.x of is compatible with Neo4j 5.x
21+
NEO4J_OPEN_GDS_PLUGIN_VERSION=${NEO4J_OPEN_GDS_PLUGIN_VERSION:-"2.6.0+51"} # Graph Data Science Plugin Version 2.4.x of is compatible with Neo4j 5.x
2222
NEO4J_GDS_PLUGIN_EDITION=${NEO4J_GDS_PLUGIN_EDITION:-"open"} # Graph Data Science Plugin Edition: "open" for OpenGDS, "full" for the full version with Neo4j license
2323

2424
JQASSISTANT_CLI_VERSION=${JQASSISTANT_CLI_VERSION:-"2.0.10"} # Version 2.0.3 is the newest version (june 2023) compatible with Neo4j v5

scripts/setupNeo4j.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ NEO4J_APOC_PLUGIN_VERSION=${NEO4J_APOC_PLUGIN_VERSION:-"5.15.0"} #Awesome Proced
1515
NEO4J_APOC_PLUGIN_EDITION=${NEO4J_APOC_PLUGIN_EDITION:-"core"} #Awesome Procedures for Neo4j Plugin Edition (Neo4j v4.4.x "all", Neo4j >= v5 "core")
1616
NEO4J_APOC_PLUGIN_GITHUB=${NEO4J_APOC_PLUGIN_GITHUB:-"neo4j/apoc"} #Awesome Procedures for Neo4j Plugin GitHub User/Repository (Neo4j v4.4.x "neo4j-contrib/neo4j-apoc-procedures", Neo4j >= v5 "neo4j/apoc")
1717
NEO4J_GDS_PLUGIN_VERSION=${NEO4J_GDS_PLUGIN_VERSION:-"2.5.7"} # Graph Data Science Plugin Version 2.4.x of is compatible with Neo4j 5.x
18-
NEO4J_OPEN_GDS_PLUGIN_VERSION=${NEO4J_OPEN_GDS_PLUGIN_VERSION:-"2.6.0-alpha01"} # Graph Data Science Plugin Version 2.4.x of is compatible with Neo4j 5.x
18+
NEO4J_OPEN_GDS_PLUGIN_VERSION=${NEO4J_OPEN_GDS_PLUGIN_VERSION:-"2.6.0+51"} # Graph Data Science Plugin Version 2.4.x of is compatible with Neo4j 5.x
1919
NEO4J_GDS_PLUGIN_EDITION=${NEO4J_GDS_PLUGIN_EDITION:-"open"} # Graph Data Science Plugin Edition: "open" for OpenGDS, "full" for the full version with Neo4j license
2020
NEO4J_DATA_PATH=${NEO4J_DATA_PATH:-"$( pwd -P )/data"} # Path where Neo4j writes its data to (outside tools dir)
2121
NEO4J_RUNTIME_PATH=${NEO4J_RUNTIME_PATH:-"$( pwd -P )/runtime"} # Path where Neo4j puts runtime data to (e.g. logs) (outside tools dir)
@@ -195,13 +195,7 @@ fi
195195
# Download and install the Neo4j plugin "Graph Data Science" (GDS)
196196
if [[ ${NEO4J_GDS_PLUGIN_EDITION} == "open" ]]; then
197197
neo4jGraphDataScienceDownloadUrl="https://github.com/JohT/open-graph-data-science-packaging/releases/download/v${NEO4J_OPEN_GDS_PLUGIN_VERSION}"
198-
# TODO Maybe it would be a better solution to release open graph data science packages just with the major release version
199-
if [[ "$NEO4J_MAJOR_VERSION_NUMBER" -ge 5 ]]; then
200-
neo4jGraphDataScienceNeo4jVersion="5.9.0"
201-
else
202-
neo4jGraphDataScienceNeo4jVersion="4.4.23"
203-
fi
204-
neo4jGraphDataScienceReleaseArtifact="open-graph-data-science-${NEO4J_OPEN_GDS_PLUGIN_VERSION}-for-neo4j-${neo4jGraphDataScienceNeo4jVersion}.jar"
198+
neo4jGraphDataScienceReleaseArtifact="open-graph-data-science-${NEO4J_OPEN_GDS_PLUGIN_VERSION}-for-neo4j-${NEO4J_MAJOR_VERSION_NUMBER}.jar"
205199
else
206200
neo4jGraphDataScienceDownloadUrl="https://github.com/neo4j/graph-data-science/releases/download/${NEO4J_GDS_PLUGIN_VERSION}"
207201
neo4jGraphDataScienceReleaseArtifact="neo4j-graph-data-science-${NEO4J_GDS_PLUGIN_VERSION}-${NEO4J_GDS_PLUGIN_EDITION}.jar"

0 commit comments

Comments
 (0)