From 6f306f1a3b20c648fbe3f49582ec859aa8ea4b8e Mon Sep 17 00:00:00 2001 From: LaviniaStiliadou Date: Tue, 7 May 2024 14:55:39 +0200 Subject: [PATCH] Fix environment variables (#154) * add env for docker * update doc * add qprov --- components/bpmn-q/public/env.js.template | 6 +++++- doc/quantum-workflow-modeler/modeler-configuration.md | 8 ++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/components/bpmn-q/public/env.js.template b/components/bpmn-q/public/env.js.template index e67f8232..f95c69ed 100644 --- a/components/bpmn-q/public/env.js.template +++ b/components/bpmn-q/public/env.js.template @@ -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, diff --git a/doc/quantum-workflow-modeler/modeler-configuration.md b/doc/quantum-workflow-modeler/modeler-configuration.md index b48f484c..996afbef 100644 --- a/doc/quantum-workflow-modeler/modeler-configuration.md +++ b/doc/quantum-workflow-modeler/modeler-configuration.md @@ -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. @@ -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.