summaryrefslogtreecommitdiffstats
path: root/catalog-fe/src/main/java
diff options
context:
space:
mode:
authorshrikantawachar <shrikant.awachar@amdocs.com>2019-02-14 19:47:30 +0530
committershrikantawachar <shrikant.awachar@amdocs.com>2019-02-14 19:47:30 +0530
commitce5ca16ff831ab4ccfbdd5ab00731073bbeafe01 (patch)
treea4419312fa423cbbd31b8120f1090e9c6c4a98e9 /catalog-fe/src/main/java
parentc2ce914541e694c7d1c8853b88936095e8b9ede4 (diff)
Update workflow context
Update workflow context Change-Id: I068b5dd66383cfef52e966abee5958f326df042c Issue-ID: SDC-2121 Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
Diffstat (limited to 'catalog-fe/src/main/java')
-rw-r--r--catalog-fe/src/main/java/org/openecomp/sdc/fe/servlets/FeProxyServlet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-fe/src/main/java/org/openecomp/sdc/fe/servlets/FeProxyServlet.java b/catalog-fe/src/main/java/org/openecomp/sdc/fe/servlets/FeProxyServlet.java
index 78d9fe7893..a79397b8b2 100644
--- a/catalog-fe/src/main/java/org/openecomp/sdc/fe/servlets/FeProxyServlet.java
+++ b/catalog-fe/src/main/java/org/openecomp/sdc/fe/servlets/FeProxyServlet.java
@@ -181,7 +181,6 @@ public class FeProxyServlet extends SSLProxyServlet {
}
}
else if (uri.contains(WORKFLOW_CONTEXT)){
- uri = uri.replace(SDC1_FE_PROXY +WORKFLOW_CONTEXT,WORKFLOW_CONTEXT);
String workflowPluginURL = getPluginConfiguration(request).getPluginsList()
.stream()
.filter(plugin -> plugin.getPluginId().equalsIgnoreCase(PLUGIN_ID_WORKFLOW))
@@ -192,6 +191,7 @@ public class FeProxyServlet extends SSLProxyServlet {
protocol = workflowURL.getProtocol();
host = workflowURL.getHost();
port = String.valueOf(workflowURL.getPort());
+ uri = uri.replace(SDC1_FE_PROXY + WORKFLOW_CONTEXT, workflowURL.getPath() + WORKFLOW_CONTEXT);
}
else{
uri = uri.replace(SDC1_FE_PROXY,"/sdc2");