Support DCAE in new plugins integration
Updated the ui prod.js configuration file
Changed debug logging for plugin name not connected
Change-Id: I3f89c4325253aaecc86efb6d32758cd90acc0c36
Issue-ID: SDC-1008
Signed-off-by: Idan Amit <ia096e@intl.att.com>
diff --git a/catalog-fe/src/main/java/org/openecomp/sdc/fe/impl/PluginStatusBL.java b/catalog-fe/src/main/java/org/openecomp/sdc/fe/impl/PluginStatusBL.java
index 55e7790..a369d66 100644
--- a/catalog-fe/src/main/java/org/openecomp/sdc/fe/impl/PluginStatusBL.java
+++ b/catalog-fe/src/main/java/org/openecomp/sdc/fe/impl/PluginStatusBL.java
@@ -64,7 +64,7 @@
try (CloseableHttpResponse response = this.client.execute(head)) {
result = response != null && response.getStatusLine().getStatusCode() == 200;
} catch (IOException e) {
- log.debug("The plugin {} is offline", plugin);
+ log.debug("The plugin {} is offline", plugin.getPluginId());
}
return result;
diff --git a/catalog-ui/configurations/prod.js b/catalog-ui/configurations/prod.js
index 1868ada..f08bfa3 100644
--- a/catalog-ui/configurations/prod.js
+++ b/catalog-ui/configurations/prod.js
@@ -47,6 +47,7 @@
"GET_lifecycle_state_CERTIFICATIONREQUEST":"lifecycleState/CERTIFICATIONREQUEST",
"GET_lifecycle_state_UNDOCHECKOUT":"lifecycleState/UNDOCHECKOUT",
"root": "/sdc1/feProxy/rest",
+ "no_proxy_root": "/sdc1/rest",
"PUT_service": "/v1/catalog/services/:id/metadata",
"GET_download_artifact": "/v1/catalog/",
"GET_SDC_Version": "/version",