import org.onap.portalapp.controller.EPUnRestrictedBaseController;
import org.onap.portalapp.portal.domain.WidgetServiceHeaders;
import org.onap.portalapp.portal.logging.aop.EPAuditLog;
-import org.onap.portalapp.portal.service.ConsulHealthService;
+import org.onap.portalapp.portal.service.WidgetMService;
import org.onap.portalapp.portal.utils.EcompPortalUtils;
import org.onap.portalsdk.core.logging.logic.EELFLoggerDelegate;
import org.onap.portalsdk.core.util.SystemProperties;
private final String whatService = "widgets-service";
@Autowired
- private ConsulHealthService consulHealthService;
+ private WidgetMService widgetMService;
@Bean
public CommonsMultipartResolver multipartResolver() {
return template
.getForObject(
EcompPortalUtils.widgetMsProtocol() + "://"
- + consulHealthService.getServiceLocation(whatService,
+ + widgetMService.getServiceLocation(whatService,
SystemProperties.getProperty("microservices.widget.local.port"))
+ "/widget/microservices/markup/" + widgetId,
String.class, WidgetServiceHeaders.getInstance());