You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: COMMANDS.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,9 +71,11 @@ The [analyze.sh](./scripts/analysis/analyze.sh) command comes with these command
71
71
-`--report Csv` only generates CSV reports. This speeds up the report generation and doesn't depend on Python, Jupyter Notebook or any other related dependencies. The default value os `All` to generate all reports. `Jupiter` will only generate Jupyter Notebook reports. `DatabaseCsvExport` exports the whole graph database as a CSV file (performance intense, check if there are security concerns first).
72
72
73
73
-`--profile Neo4jv4` uses the older long term support (june 2023) version v4.4.x of Neo4j and suitable compatible versions of plugins and JQAssistant. `Neo4jv5` will explicitly select the newest (june 2023) version 5.x of Neo4j. Without setting
74
-
a profile, the newest versions will be used. Profiles can be found in the directory [scripts/profiles](./scripts/profiles/).
74
+
a profile, the newest versions will be used. Other profiles can be found in the directory [scripts/profiles](./scripts/profiles/).
75
75
76
-
-`--profile Neo4jv5-continue-on-scan-errors` is based on the default profile (`Neo4jv5`) but uses the jQAssistant configuration template [template-neo4jv5-jqassistant-continue-on-error.yaml](./scripts/configuration/template-neo4jv5-jqassistant-continue-on-error.yaml) to continue on scan error instead of failing fast. This is temporarily useful when there is a known error that needs to be ignored. It is still recommended to use the default profile and fail fast if there is something wrong. Profiles can be found in the directory [scripts/profiles](./scripts/profiles/).
76
+
-`--profile Neo4jv5-continue-on-scan-errors` is based on the default profile (`Neo4jv5`) but uses the jQAssistant configuration template [template-neo4jv5-jqassistant-continue-on-error.yaml](./scripts/configuration/template-neo4jv5-jqassistant-continue-on-error.yaml) to continue on scan error instead of failing fast. This is temporarily useful when there is a known error that needs to be ignored. It is still recommended to use the default profile and fail fast if there is something wrong. Other profiles can be found in the directory [scripts/profiles](./scripts/profiles/).
77
+
78
+
-`--profile Neo4jv5-low-memory` is based on the default profile (`Neo4jv5`) but uses only half of the memory (RAM) as configured in [template-neo4j-low-memory.conf](./scripts/configuration/template-neo4j-low-memory.conf). This is useful for the analysis of smaller codebases with less resources. Other profiles can be found in the directory [scripts/profiles](./scripts/profiles/).
77
79
78
80
-`--explore` activates the "explore" mode where no reports are generated. Furthermore, Neo4j won't be stopped at the end of the script and will therefore continue running. This makes it easy to just set everything up but then use the running Neo4j server to explore the data manually.
# Sets all settings 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
+
NEO4J_VERSION=${NEO4J_VERSION:-"4.4.20"}# Version 4.4.x is the current long term support (LTS) version (may 2023)
7
+
NEO4J_HTTP_TRANSACTION_ENDPOINT=${NEO4J_HTTP_TRANSACTION_ENDPOINT:-"db/data/transaction/commit"}# Since Neo4j v5 it is "db/<name>/tx/commit"
8
+
NEO4J_CONFIG_TEMPLATE=${NEO4J_CONFIG_TEMPLATE:-"template-neo4j-v4-low-memory.conf"}# Name of the template file ("configuration" folder) for the Neo4j configuration
9
+
10
+
# Overrideable settings variables for ports (optional, defaults also defined in sub scripts where needed)
11
+
# Override them if you need to run multiple neo4j database servers in parallel.
12
+
NEO4J_HTTP_PORT=${NEO4J_HTTP_PORT:-"7474"}# Neo4j HTTP API port for executing queries
13
+
NEO4J_HTTPS_PORT=${NEO4J_HTTPS_PORT:-"7473"}# Neo4j HTTPS port for encrypted querying
14
+
NEO4J_BOLT_PORT=${NEO4J_BOLT_PORT:-"7687"}# Neo4j's own "Bolt Protocol" port
15
+
16
+
# Awesome Procedures (APOC) Plugin for Neo4j
17
+
NEO4J_APOC_PLUGIN_VERSION=${NEO4J_APOC_PLUGIN_VERSION:-"4.4.0.15"}# Version number matches Neo4j version
18
+
NEO4J_APOC_PLUGIN_EDITION=${NEO4J_APOC_PLUGIN_EDITION:-"all"}# Since Neo4j v5 only the core edition is maintained
19
+
NEO4J_APOC_PLUGIN_GITHUB=${NEO4J_APOC_PLUGIN_GITHUB:-"neo4j-contrib/neo4j-apoc-procedures"}# Location for the old plugins compatible to Neo4j v4
20
+
21
+
NEO4J_GDS_PLUGIN_VERSION=${NEO4J_GDS_PLUGIN_VERSION:-"2.3.4"}# Graph Data Science Plugin Version 2.3.x is compatible with Neo4j 4.4.x
22
+
NEO4J_OPEN_GDS_PLUGIN_VERSION=${NEO4J_OPEN_GDS_PLUGIN_VERSION:-"2.6.8"}# Open package variant of the graph-data-science plugin for Neo4j (https://github.com/JohT/open-graph-data-science-packaging). Since version 2.4. compatible with Neo4j 5.x.
23
+
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
24
+
25
+
JQASSISTANT_CLI_VERSION=${JQASSISTANT_CLI_VERSION:-"1.12.2"}# Version number of the jQAssistant command line interface. Version 1.12.2 is compatible with Neo4j v4
JQASSISTANT_CONFIG_TEMPLATE=${JQASSISTANT_CONFIG_TEMPLATE:-"template-neo4jv4-jqassistant.yaml"}# Name of the template file for the jqassistant configuration
Copy file name to clipboardExpand all lines: scripts/profiles/Neo4jv4.sh
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
6
6
NEO4J_VERSION=${NEO4J_VERSION:-"4.4.20"}# Version 4.4.x is the current long term support (LTS) version (may 2023)
7
7
NEO4J_HTTP_TRANSACTION_ENDPOINT=${NEO4J_HTTP_TRANSACTION_ENDPOINT:-"db/data/transaction/commit"}# Since Neo4j v5 it is "db/<name>/tx/commit"
8
+
NEO4J_CONFIG_TEMPLATE=${NEO4J_CONFIG_TEMPLATE:-"template-neo4j-v4.conf"}# Name of the template file ("configuration" folder) for the Neo4j configuration
8
9
9
10
# Overrideable settings variables for ports (optional, defaults also defined in sub scripts where needed)
10
11
# Override them if you need to run multiple neo4j database servers in parallel.
# Sets all settings 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
+
NEO4J_VERSION=${NEO4J_VERSION:-"5.23.0"}# Version 5.9.0 is the current version of june 2023
7
+
NEO4J_HTTP_TRANSACTION_ENDPOINT=${NEO4J_HTTP_TRANSACTION_ENDPOINT:-"db/neo4j/tx/commit"}# Since Neo4j v5 it is "db/<name>/tx/commit"
8
+
NEO4J_CONFIG_TEMPLATE=${NEO4J_CONFIG_TEMPLATE:-"template-neo4j-low-memory.conf"}# Name of the template file ("configuration" folder) for the Neo4j configuration
9
+
10
+
# Overrideable settings variables for ports (optional, defaults also defined in sub scripts where needed)
11
+
# Override them if you need to run multiple neo4j database servers in parallel.
12
+
NEO4J_HTTP_PORT=${NEO4J_HTTP_PORT:-"7474"}# Neo4j HTTP API port for executing queries
13
+
NEO4J_HTTPS_PORT=${NEO4J_HTTPS_PORT:-"7473"}# Neo4j HTTPS port for encrypted querying
14
+
NEO4J_BOLT_PORT=${NEO4J_BOLT_PORT:-"7687"}# Neo4j's own "Bolt Protocol" port
15
+
16
+
# Awesome Procedures (APOC) Plugin for Neo4j
17
+
NEO4J_APOC_PLUGIN_VERSION=${NEO4J_APOC_PLUGIN_VERSION:-"5.25.1"}# Version number matches Neo4j version since 5.x
18
+
NEO4J_APOC_PLUGIN_EDITION=${NEO4J_APOC_PLUGIN_EDITION:-"core"}# Since Neo4j v5 the core edition is updated with Neo4j
19
+
NEO4J_APOC_PLUGIN_GITHUB=${NEO4J_APOC_PLUGIN_GITHUB:-"neo4j/apoc"}# Core edition was moved to "neo4j/apoc" for Neo4j v5
20
+
21
+
NEO4J_GDS_PLUGIN_VERSION=${NEO4J_GDS_PLUGIN_VERSION:-"2.13.2"}# Version 2.4.0 is the newest version of june 2023 and compatible with Neo4j v5
22
+
NEO4J_OPEN_GDS_PLUGIN_VERSION=${NEO4J_OPEN_GDS_PLUGIN_VERSION:-"2.13.2"}# Open package variant of the graph-data-science plugin for Neo4j (https://github.com/JohT/open-graph-data-science-packaging). Since version 2.4. compatible with Neo4j 5.x.
23
+
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
24
+
25
+
JQASSISTANT_CLI_VERSION=${JQASSISTANT_CLI_VERSION:-"2.6.0-M2"}# Version number of the jQAssistant command line interface. Version 1.12.2 is compatible with Neo4j v4
JQASSISTANT_CONFIG_TEMPLATE=${JQASSISTANT_CONFIG_TEMPLATE:-"template-neo4jv5-jqassistant.yaml"}# Name of the template file for the jqassistant configuration
0 commit comments