|
| 1 | +# Environment Variables Reference |
| 2 | + |
| 3 | +This document serves as a reference for all environment variables that are supported by the script files. |
| 4 | +It provides a table listing each environment variable, its default value and its corresponding description provided as a inline comment. |
| 5 | + |
| 6 | +| Environment Variable Name | Default | Description | |
| 7 | +| ----------------------------------- | ----------------------------------- | ------------------------------------------------------ | |
| 8 | +REPORTS_SCRIPTS_DIRECTORY | reports | Working directory containing the generated reports | |
| 9 | +REPORT_COMPILATIONS_SCRIPTS_DIRECTORY | compilations | Repository directory that contains scripts that execute selected report generation scripts | |
| 10 | +SETTINGS_PROFILE_SCRIPTS_DIRECTORY | profiles | Repository directory that contains scripts containing settings | |
| 11 | +ARTIFACTS_DIRECTORY | artifacts | Working directory containing the artifacts to be analyzed | |
| 12 | +RESULTS_DIRECTORY | results | Repository directory containing the final analysis report results | |
| 13 | +REPORTS_DIRECTORY | reports | Working directory where the analysis reports are written to | |
| 14 | +ARTIFACTS_CHANGE_DETECTION_HASH_FILE | artifactsChangeDetectionHash.txt | Name of the file that contains the hash code of the file list for change detection | |
| 15 | +SKIP_JUPYTER_NOTEBOOK_PDF_GENERATION | | Skip PDF generation for Jupyter Notebooks if set to a non empty value e.g. "true" | |
| 16 | +JUPYTER_OUTPUT_FILE_POSTFIX | | e.g. "" (no postfix), ".nbconvert" or ".output" | |
| 17 | +CODEGRAPH_CONDA_ENVIRONMENT | codegraph | Name of the conda environment to use for code graph analysis | |
| 18 | +NEO4J_HTTP_PORT | 7474 | Neo4j HTTP API port for executing queries | |
| 19 | +NEO4J_HTTP_TRANSACTION_ENDPOINT | db/neo4j/tx/commit | Neo4j v5: "db/<name>/tx/commit", Neo4j v4: "db/data/transaction/commit" | |
| 20 | +CYPHER_DIR | ${SCRIPTS_DIR}/../cypher | Repository directory containing the cypher queries | |
| 21 | +NEO4J_VERSION | 4.4.20 | Version 4.4.x is the current long term support (LTS) version (may 2023) | |
| 22 | +NEO4J_HTTPS_PORT | 7473 | Neo4j HTTPS port for encrypted querying | |
| 23 | +NEO4J_BOLT_PORT | 7687 | Neo4j's own "Bolt Protocol" port | |
| 24 | +NEO4J_APOC_PLUGIN_VERSION | 4.4.0.15 | Version number matches Neo4j version | |
| 25 | +NEO4J_APOC_PLUGIN_EDITION | all | Since Neo4j v5 only the core edition is maintained | |
| 26 | +NEO4J_APOC_PLUGIN_GITHUB | neo4j-contrib/neo4j-apoc-procedures | Location for the old plugins compatible to Neo4j v4 | |
| 27 | +NEO4J_GDS_PLUGIN_VERSION | 2.3.4 | Graph Data Science Plugin Version 2.3.x is compatible with Neo4j 4.4.x | |
| 28 | +NEO4J_GDS_PLUGIN_EDITION | full | Graph Data Science Plugin Edition: "open" for OpenGDS, "full" for the full version with Neo4j license | |
| 29 | +JQASSISTANT_CLI_VERSION | 1.12.2 | Version 1.12.2 is the newest version (may 2023) compatible with Neo4j v4 | |
| 30 | +JQASSISTANT_CLI_ARTIFACT | jqassistant-commandline-neo4jv3 | For Neo4j v3 & 4: "jqassistant-commandline-neo4jv3" | |
| 31 | +JQASSISTANT_CLI_DISTRIBUTION | distribution.zip | Neo4j v3 & 4: "distribution.zip" | |
| 32 | +JQASSISTANT_CONFIG_TEMPLATE | template-neo4jv4-jqassistant.yaml | Name of the template file for the jqassistant configuration | |
| 33 | +NEO4J_OPEN_GDS_PLUGIN_VERSION | 2.4.3 | Graph Data Science Plugin Version 2.4.x of is compatible with Neo4j 5.x | |
| 34 | +SCRIPTS_DIR | ${REPORTS_SCRIPT_DIR}/.. | Repository directory containing the shell scripts | |
| 35 | +JUPYTER_NOTEBOOK_DIRECTORY | ${SCRIPTS_DIR}/../jupyter | Repository directory containing the Jupyter Notebooks | |
| 36 | +NEO4J_EDITION | community | Choose "community" or "enterprise" | |
| 37 | +NEO4J_BOLT_URI | bolt://localhost:${NEO4J_BOLT_PORT} | Neo4j's own "Bolt Protocol" address | |
| 38 | +NEO4J_USER | neo4j | Neo4j login user | |
| 39 | +NEO4J_INITIAL_PASSWORD | | Neo4j login password that was set to replace the temporary initial password | |
| 40 | +TOOLS_DIRECTORY | tools | Get the tools directory (defaults to "tools") | |
| 41 | +JQASSISTANT_CLI_DOWNLOAD_URL | https://repo1.maven.org/maven2/com/buschmais/jqassistant/cli | Download URL for the jQAssistant CLI | |
| 42 | +NEO4J_DATA_PATH | $( pwd -P )/data | Path where Neo4j writes its data to (outside tools dir) | |
| 43 | +NEO4J_RUNTIME_PATH | $( pwd -P )/runtime | Path where Neo4j puts runtime data to (e.g. logs) (outside tools dir) | |
0 commit comments