From dd8253f6c5c587735560982ca23cbfc320ae9d30 Mon Sep 17 00:00:00 2001 From: deen1985 Date: Wed, 5 Aug 2020 18:02:51 +0200 Subject: BBS-EP vulnerability fix Change-Id: I2319d14109cad54c524a8e4752aa124b098fedbd Signed-off-by: deen1985 Issue-ID: DCAEGEN2-2273 Signed-off-by: deen1985 --- components/bbs-event-processor/pom.xml | 44 +++++++++++++--------- .../processor/config/SwaggerConfiguration.java | 5 +-- 2 files changed, 29 insertions(+), 20 deletions(-) diff --git a/components/bbs-event-processor/pom.xml b/components/bbs-event-processor/pom.xml index 7d8c43f0..61403965 100644 --- a/components/bbs-event-processor/pom.xml +++ b/components/bbs-event-processor/pom.xml @@ -1,4 +1,23 @@ + @@ -31,10 +50,10 @@ 2.1.12.RELEASE 1.1.0 0.8.2 - 1.3.4 + 1.3.4 2.24.0 2.3.0 - 2.9.2 + 3.0.0 yyyyMMdd'T'HHmmss org.onap.bbs.event.processor.Application libs @@ -65,13 +84,8 @@ io.springfox - springfox-swagger2 - ${springfox-swagger.version} - - - io.springfox - springfox-swagger-ui - ${springfox-swagger.version} + springfox-boot-starter + ${springfox.version} org.immutables @@ -129,14 +143,10 @@ spring-boot-starter-test test - - io.springfox - springfox-swagger2 - - - io.springfox - springfox-swagger-ui - + + io.springfox + springfox-boot-starter + io.projectreactor reactor-core diff --git a/components/bbs-event-processor/src/main/java/org/onap/bbs/event/processor/config/SwaggerConfiguration.java b/components/bbs-event-processor/src/main/java/org/onap/bbs/event/processor/config/SwaggerConfiguration.java index c3c87da2..1dbf0f6c 100644 --- a/components/bbs-event-processor/src/main/java/org/onap/bbs/event/processor/config/SwaggerConfiguration.java +++ b/components/bbs-event-processor/src/main/java/org/onap/bbs/event/processor/config/SwaggerConfiguration.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * BBS-RELOCATION-CPE-AUTHENTICATION-HANDLER * ================================================================================ - * Copyright (C) 2019 NOKIA Intellectual Property. All rights reserved. + * Copyright (C) 2019-2020 NOKIA Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -34,7 +34,6 @@ import springfox.documentation.spi.DocumentationType; import springfox.documentation.spring.web.plugins.Docket; import springfox.documentation.swagger2.annotations.EnableSwagger2; -@EnableSwagger2 @Configuration @Profile("production") public class SwaggerConfiguration extends WebMvcConfigurationSupport { @@ -80,4 +79,4 @@ public class SwaggerConfiguration extends WebMvcConfigurationSupport { registry.addResourceHandler(WEBJARS) .addResourceLocations(WEBJARS_PATH); } -} \ No newline at end of file +} -- cgit 1.2.3-korg