summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjz385p <jegadeesh.babu@att.com>2020-08-03 19:13:01 +0530
committerjz385p <jegadeesh.babu@att.com>2020-08-03 19:14:51 +0530
commit1e6757ca212e16cdec3ea4bbfc0866a87a58e8ff (patch)
tree0b47c21b0e38f0dcfd19d5140a406d9dd6a85549
parent7e7fa70c7485f2c302585c0443f3023c13b984d5 (diff)
Fix for broken widget-ms build
Fix for broken widget-ms build Issue-ID: PORTAL-962 Change-Id: Ie6731308493d3ac56d11aba0b313293a771dec1c Signed-off-by: jz385p <jegadeesh.babu@att.com>
-rw-r--r--ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/WidgetsCatalogController.java11
1 files changed, 1 insertions, 10 deletions
diff --git a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/WidgetsCatalogController.java b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/WidgetsCatalogController.java
index 4b68a01e..e2cd13c8 100644
--- a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/WidgetsCatalogController.java
+++ b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/WidgetsCatalogController.java
@@ -282,16 +282,7 @@ public class WidgetsCatalogController extends EPRestrictedBaseController {
+ MS_WIDGET_URL + widgetId + "/framework.js", String.class,
WidgetServiceHeaders.getInstance());
}
-
- @GetMapping(value = "/portalApi/microservices/{widgetId}/controller.js")
- public String getWidgetController(@PathVariable("widgetId") long widgetId) throws Exception {
- return template.getForObject(EcompPortalUtils.widgetMsProtocol() + "://"
- + widgetMService.getServiceLocation(whatService,
- SystemProperties.getProperty(MS_WIDGET_LOCAL_PORT))
- + MS_WIDGET_URL + widgetId + "/controller.js", String.class,
- WidgetServiceHeaders.getInstance());
- }
-
+
@GetMapping(value = "/portalApi/microservices/{widgetId}/style.css")
public String getWidgetCSS(@PathVariable("widgetId") long widgetId) throws Exception {
return template.getForObject(EcompPortalUtils.widgetMsProtocol() + "://"