From ee4c4d72ed2118ea44dd5d83e1cf1677b6ebb03c Mon Sep 17 00:00:00 2001 From: ilanap Date: Thu, 28 Nov 2019 11:13:24 +0200 Subject: Add Option to proxy to plugins Added option to proxy the plugins throught the catalog proxy. Remove hardcoded redirect to workflow and added to the plugin configuration. Issue-ID: SDC-2691 Signed-off-by: ilanap Change-Id: Ica479ff00e1a8c281b9280b5495ac022172775c4 Signed-off-by: ilanap --- sdc-os-chef/environments/plugins-configuration.yaml | 2 ++ .../sdc/templates/configmaps/sdc-environment-configmap.yaml | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'sdc-os-chef') diff --git a/sdc-os-chef/environments/plugins-configuration.yaml b/sdc-os-chef/environments/plugins-configuration.yaml index 21de74636f..1135cbb54e 100644 --- a/sdc-os-chef/environments/plugins-configuration.yaml +++ b/sdc-os-chef/environments/plugins-configuration.yaml @@ -19,6 +19,8 @@ pluginsList: - pluginId: WORKFLOW pluginDiscoveryUrl: <%= @workflow_discovery_url %> pluginSourceUrl: <%= @workflow_source_url %> + pluginFeProxyUrl: <%= @workflow_fe_proxy_url %> + pluginProxyRedirectPath: <%= @workflow_redirect_path %> pluginStateUrl: "workflowDesigner" pluginDisplayOptions: tab: diff --git a/sdc-os-chef/kubernetes/sdc/templates/configmaps/sdc-environment-configmap.yaml b/sdc-os-chef/kubernetes/sdc/templates/configmaps/sdc-environment-configmap.yaml index 0eb5289c64..e332729526 100644 --- a/sdc-os-chef/kubernetes/sdc/templates/configmaps/sdc-environment-configmap.yaml +++ b/sdc-os-chef/kubernetes/sdc/templates/configmaps/sdc-environment-configmap.yaml @@ -57,7 +57,9 @@ data: }, "WORKFLOW": { "workflow_discovery_url": "10.0.2.15", - "workflow_source_url": "10.0.2.15" + "workflow_source_url": "10.0.2.15", + "workflow_fe_proxy_url": "10.0.2.15", + "workflow_redirect_path": "/wf" } }, "VnfRepo": { -- cgit 1.2.3-korg