Skip to content

Commit 3584011

Browse files
committed
Introduce profiles for configuration sets
1 parent 281233e commit 3584011

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

scripts/profiles/neo4jv4.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/env bash
2+
3+
# Sets all environment variables for an analysis with Neo4j v4.4.x (long term support (LTS) version as of may 2023).
4+
# The chosen settings are tested to be compatible and working.
5+
6+
export NEO4J_VERSION="4.4.20" # Version 4.4.x is the current long term support (LTS) version (may 2023)
7+
export NEO4J_HTTP_TRANSACTION_ENDPOINT="db/data/transaction/commit" # Since Neo4j v5 it is "db/<name>/tx/commit"
8+
9+
export NEO4J_APOC_PLUGIN_VERSION="5.9.0" # Version number matches Neo4j version
10+
export NEO4J_APOC_PLUGIN_EDITION="all" # Since Neo4j v5 only the core edition is maintained
11+
export NEO4J_APOC_PLUGIN_GITHUB="neo4j-contrib/neo4j-apoc-procedures" # Location for the old plugins compatible to Neo4j v4
12+
13+
export NEO4J_GDS_PLUGIN_VERSION="2.3.4" # Graph Data Science Plugin Version 2.3.x is compatible with Neo4j 4.4.x
14+
15+
export JQASSISTANT_CLI_VERSION="1.12.2" # Version 1.12.2 is the newest version (may 2023) compatible with Neo4j v4
16+
export JQASSISTANT_CLI_ARTIFACT="jqassistant-commandline-distribution" # Since jQAssistant CLI v2: "jqassistant-commandline-distribution"
17+
export JQASSISTANT_CLI_DISTRIBUTION="bin.zip" # Since jQAssistant CLI v2: "bin.zip"
18+
export JQASSISTANT_CONFIG_TEMPLATE="template-neo4jv4-jqassistant.yaml"

scripts/profiles/neo4jv5.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/env bash
2+
3+
# Sets all environment variables for an analysis with Neo4j v5.x (newest version as of june 2023).
4+
# The chosen settings are tested to be compatible and working.
5+
6+
export NEO4J_VERSION="5.9.0" # Version 5.9.0 is the current version of june 2023
7+
export NEO4J_HTTP_TRANSACTION_ENDPOINT="db/neo4j/tx/commit" # Since Neo4j v5 it is "db/<name>/tx/commit"
8+
9+
export NEO4J_APOC_PLUGIN_VERSION="5.9.0" # Version number matches Neo4j version
10+
export NEO4J_APOC_PLUGIN_EDITION="core" # Since Neo4j v5 only the core edition is maintained
11+
export NEO4J_APOC_PLUGIN_GITHUB="neo4j/apoc" # Core edition was moved to "neo4j/apoc" for Neo4j v5
12+
13+
export NEO4J_GDS_PLUGIN_VERSION="2.4.0" # Version 2.4.0 is the newest version of june 2023 and compatible with Neo4j v5
14+
15+
export JQASSISTANT_CLI_VERSION="2.0.3" # Version 2.0.3 is the newest version (june 2023) compatible with Neo4j v5
16+
export JQASSISTANT_CLI_ARTIFACT="jqassistant-commandline-distribution" # Since jQAssistant CLI v2: "jqassistant-commandline-distribution"
17+
export JQASSISTANT_CLI_DISTRIBUTION="bin.zip" # Since jQAssistant CLI v2: "bin.zip"
18+
export JQASSISTANT_CONFIG_TEMPLATE="template-neo4jv5-jqassistant.yaml"

0 commit comments

Comments
 (0)