Skip to content

Commit

Permalink
Fix environment variables (#154)
Browse files Browse the repository at this point in the history
* add env for docker

* update doc

* add qprov
  • Loading branch information
LaviniaStiliadou authored May 7, 2024
1 parent 1512b61 commit 6f306f1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/bpmn-q/public/env.js.template
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@ window.env = {
"GITHUB_TOKEN": "${GITHUB_TOKEN}" !== "" ? "${GITHUB_TOKEN}" : undefined,
"OPENTOSCA_ENDPOINT": "${OPENTOSCA_ENDPOINT}" !== "" ? "${OPENTOSCA_ENDPOINT}" : undefined,
"NISQ_ANALYZER_ENDPOINT": "${NISQ_ANALYZER_ENDPOINT}" !== "" ? "${NISQ_ANALYZER_ENDPOINT}" : undefined,
"NISQ_ANALYZER_UI_ENDPOINT": "${NISQ_ANALYZER_UI_ENDPOINT}" !== "" ? "${NISQ_ANALYZER_UI_ENDPOINT}" : undefined,
"PATTERN_ATLAS_ENDPOINT": "${PATTERN_ATLAS_ENDPOINT}" !== "" ? "${PATTERN_ATLAS_ENDPOINT}" : undefined,
"PROVENANCE_COLLECTION": "${PROVENANCE_COLLECTION}" !== "" ? "${PROVENANCE_COLLECTION}" : undefined,
"PATTERN_ATLAS_UI_ENDPOINT": "${PATTERN_ATLAS_UI_ENDPOINT}" !== "" ? "${PATTERN_ATLAS_UI_ENDPOINT}" : undefined,
"PROVENANCE_COLLECTION": "${PROVENANCE_COLLECTION}" !== "" ? "${PROVENANCE_COLLECTION}" : undefined,
"QC_ATLAS_ENDPOINT": "${QC_ATLAS_ENDPOINT}" !== "" ? "${QC_ATLAS_ENDPOINT}" : undefined,
"QHANA_GET_PLUGIN_URL": "${QHANA_GET_PLUGIN_URL}" !== "" ? "${QHANA_GET_PLUGIN_URL}" : undefined,
"QHANA_LIST_PLUGINS_URL": "${QHANA_LIST_PLUGINS_URL}" !== "" ? "${QHANA_LIST_PLUGINS_URL}" : undefined,
"QISKIT_RUNTIME_HANDLER_ENDPOINT": "${QISKIT_RUNTIME_HANDLER_ENDPOINT}" !== "" ? "${QISKIT_RUNTIME_HANDLER_ENDPOINT}" : undefined,
"QPROV_ENDPOINT": "${QPROV_ENDPOINT}" !== "" ? "${QPROV_ENDPOINT}" : undefined,
"QRM_USERNAME": "${QRM_USERNAME}" !== "" ? "${QRM_USERNAME}" : undefined,
"QRM_REPONAME": "${QRM_REPONAME}" !== "" ? "${QRM_REPONAME}" : undefined,
"QRM_REPOPATH": "${QRM_REPOPATH}" !== "" ? "${QRM_REPOPATH}" : undefined,
Expand Down
8 changes: 8 additions & 0 deletions doc/quantum-workflow-modeler/modeler-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ In the following, all environment variables that can be used to customize the wo

* ```ENABLE_DATA_FLOW_PLUGIN``` (default: 'true'): Defines if the Data Flow plugin is enabled.

* ```ENABLE_PATTERN_PLUGIN``` (default: 'true'): Defines if the Pattern plugin is enabled.

* ```ENABLE_PLANQK_PLUGIN``` (default: 'true'): Defines if the PlanQK plugin is enabled.

* ```ENABLE_QHANA_PLUGIN``` (default: 'true'): Defines if the QHAna plugin is enabled.
Expand All @@ -28,6 +30,12 @@ In the following, all environment variables that can be used to customize the wo

* ```OPENTOSCA_ENDPOINT``` (default: 'http://localhost:1337/csars'): Defines the endpoint of the OpenTOSCA container to deploy services with.

* ```PATTERN_ATLAS_ENDPOINT``` (default: 'http://localhost:1977/patternatlas/patternLanguages/af7780d5-1f97-4536-8da7-4194b093ab1d'): Defines the endpoint of the Pattern Atlas.

* ```PATTERN_ATLAS_UI_ENDPOINT``` (default: 'http://localhost:1978'): Defines the endpoint of the Pattern Atlas UI.

* ```QC_ATLAS_ENDPOINT``` (default: 'http://localhost:6626'): Defines the endpoint of the QC Atlas.

* ```QISKIT_RUNTIME_HANDLER_ENDPOINT``` (default: 'http://localhost:8889'): Defines the endpoint of the [Qiskit Runtime Handler](https://github.com/UST-QuAntiL/qiskit-runtime-handler) which enables the automatic generation of hybrid programs from Qiskit programs.

* ```QHANA_GET_PLUGIN_URL``` (default: 'http://localhost:5006/api/plugins/'): Defines the plugin url for QHAna.
Expand Down

0 comments on commit 6f306f1

Please sign in to comment.