diff options
author | JakobKrieg <jakob.krieg@bcmsolutions.de> | 2020-11-26 16:26:51 +0100 |
---|---|---|
committer | KAPIL SINGAL <ks220y@att.com> | 2020-11-27 14:29:08 +0000 |
commit | c9abcdb52610466e0939ba6758e358949e0a38b5 (patch) | |
tree | 6474073e079d534196626a1181defc534371f7b0 | |
parent | 6ec780f4333f8b507d1a7e9382ba60cc29b57360 (diff) |
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 <jakob.krieg@bcmsolutions.de>
-rw-r--r-- | ms/blueprintsprocessor/application/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/SwaggerConfig.kt | 1 | ||||
-rwxr-xr-x | ms/blueprintsprocessor/parent/pom.xml | 47 |
2 files changed, 3 insertions, 45 deletions
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 @@ <!-- Override CDS version from parent to be project.version --> <error.catalog.version>${project.version}</error.catalog.version> <dmaap.client.version>1.1.5</dmaap.client.version> - <!-- Should be using released artifact as soon as available: --> - <!-- https://github.com/springfox/springfox/milestone/44 --> - <springfox.swagger2.version>2.10.5</springfox.swagger2.version> + <springfox.swagger2.version>3.0.0</springfox.swagger2.version> <eelf.version>1.0.0</eelf.version> <onap.logger.slf4j>1.2.2</onap.logger.slf4j> <hazelcast.version>4.0</hazelcast.version> @@ -81,7 +79,7 @@ <!--Swagger Dependencies --> <dependency> <groupId>io.springfox</groupId> - <artifactId>springfox-swagger2</artifactId> + <artifactId>springfox-boot-starter</artifactId> <version>${springfox.swagger2.version}</version> <exclusions> <exclusion> @@ -90,31 +88,6 @@ </exclusion> </exclusions> </dependency> - <dependency> - <groupId>io.springfox</groupId> - <artifactId>springfox-swagger-ui</artifactId> - <version>${springfox.swagger2.version}</version> - <exclusions> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - </exclusion> - </exclusions> - </dependency> - - <!-- - <dependency> - <groupId>io.springfox</groupId> - <artifactId>springfox-spring-webflux</artifactId> - <version>${springfox.swagger2.version}</version> - <exclusions> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - </exclusion> - </exclusions> - </dependency> - --> <!-- Common Utils Dependencies --> <dependency> @@ -613,21 +586,7 @@ </dependency> <dependency> <groupId>io.springfox</groupId> - <artifactId>springfox-swagger2</artifactId> - <exclusions> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - </exclusion> - </exclusions> - </dependency> - <!-- <dependency>--> - <!-- <groupId>io.springfox</groupId>--> - <!-- <artifactId>springfox-spring-webflux</artifactId>--> - <!-- </dependency>--> - <dependency> - <groupId>io.springfox</groupId> - <artifactId>springfox-swagger-ui</artifactId> + <artifactId>springfox-boot-starter</artifactId> </dependency> <dependency> <groupId>org.jetbrains.kotlin</groupId> |