From 34f07d097c4db9c0610552a76f825c54d726d085 Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Fri, 14 Sep 2018 01:27:13 +0530 Subject: 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 --- .../main/java/org/onap/ccsdk/apps/controllerblueprints/WebConfig.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ms/controllerblueprints/application/src') 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 c5cdee62..83f5f19e 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/"); -- cgit 1.2.3-korg