From: Sandeep J Date: Thu, 13 Sep 2018 19:57:13 +0000 (+0530) Subject: fixed major sonar issue in WebConfig.java X-Git-Tag: 0.4.2~160^2~111^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=867b03324be00b70f60c7f25af4aa729e5705537;p=ccsdk%2Fcds.git fixed major sonar issue in WebConfig.java fixed sonar issue as detailed in CCSDK-564 Issue-ID: CCSDK-564 Change-Id: I694bc8d5abe130016ba7ac9d7786895fe1d5010d Signed-off-by: Sandeep J --- diff --git a/ms/controllerblueprints/application/src/main/java/org/onap/ccsdk/apps/controllerblueprints/WebConfig.java b/ms/controllerblueprints/application/src/main/java/org/onap/ccsdk/apps/controllerblueprints/WebConfig.java index c5cdee625..83f5f19ee 100644 --- a/ms/controllerblueprints/application/src/main/java/org/onap/ccsdk/apps/controllerblueprints/WebConfig.java +++ b/ms/controllerblueprints/application/src/main/java/org/onap/ccsdk/apps/controllerblueprints/WebConfig.java @@ -1,6 +1,6 @@ /* * Copyright © 2017-2018 AT&T Intellectual Property. - * + * Modifications Copyright © 2018 IBM. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -28,6 +28,7 @@ import org.springframework.web.reactive.config.WebFluxConfigurationSupport; @Configuration @SuppressWarnings("unused") public class WebConfig extends WebFluxConfigurationSupport { + @Override public void addResourceHandlers(ResourceHandlerRegistry registry) { registry.addResourceHandler("swagger-ui.html") .addResourceLocations("classpath:/META-INF/resources/");