From c9abcdb52610466e0939ba6758e358949e0a38b5 Mon Sep 17 00:00:00 2001 From: JakobKrieg Date: Thu, 26 Nov 2020 16:26:51 +0100 Subject: CDS migrate to springfox 3.0.0 Old dependencies and Annotations removed. Refer official documentation: https://springfox.github.io/springfox/docs/snapshot/#migrating-from-existing-2-x-version Issue-ID: CCSDK-3004 Change-Id: I3f4ce138dc83d74ea1b1e64b0ff4cf5badd3873b Signed-off-by: JakobKrieg --- .../ccsdk/cds/blueprintsprocessor/SwaggerConfig.kt | 1 - ms/blueprintsprocessor/parent/pom.xml | 47 ++-------------------- 2 files changed, 3 insertions(+), 45 deletions(-) (limited to 'ms/blueprintsprocessor') diff --git a/ms/blueprintsprocessor/application/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/SwaggerConfig.kt b/ms/blueprintsprocessor/application/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/SwaggerConfig.kt index 243533b66..10c8db417 100644 --- a/ms/blueprintsprocessor/application/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/SwaggerConfig.kt +++ b/ms/blueprintsprocessor/application/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/SwaggerConfig.kt @@ -33,7 +33,6 @@ import springfox.documentation.spring.web.plugins.Docket * @author Brinda Santh */ @Configuration -// @EnableSwagger2WebFlux open class SwaggerConfig { @Bean diff --git a/ms/blueprintsprocessor/parent/pom.xml b/ms/blueprintsprocessor/parent/pom.xml index 038e9337a..8e407a3e5 100755 --- a/ms/blueprintsprocessor/parent/pom.xml +++ b/ms/blueprintsprocessor/parent/pom.xml @@ -34,9 +34,7 @@ ${project.version} 1.1.5 - - - 2.10.5 + 3.0.0 1.0.0 1.2.2 4.0 @@ -81,7 +79,7 @@ io.springfox - springfox-swagger2 + springfox-boot-starter ${springfox.swagger2.version} @@ -90,31 +88,6 @@ - - io.springfox - springfox-swagger-ui - ${springfox.swagger2.version} - - - org.slf4j - slf4j-api - - - - - @@ -613,21 +586,7 @@ io.springfox - springfox-swagger2 - - - org.slf4j - slf4j-api - - - - - - - - - io.springfox - springfox-swagger-ui + springfox-boot-starter org.jetbrains.kotlin -- cgit 1.2.3-korg