+
+ public ResponseEntity<List<WidgetCatalog>> getWidgets(long serviceId,
+ ParameterizedTypeReference<List<WidgetCatalog>> typeRef)
+ throws Exception {
+ return template.exchange(
+ EcompPortalUtils.widgetMsProtocol() + "://" + widgetMService
+ .getServiceLocation("widgets-service", SystemProperties.getProperty("microservices.widget.local.port"))
+ + "/widget/microservices/widgetCatalog/service/" + serviceId,
+ HttpMethod.GET, new HttpEntity(WidgetServiceHeaders.getInstance()), typeRef);
+ }