Skip to content

Spring-6, Spring-Boot-3 Upgrade

Deepa Kumari requested to merge az/MS-39869-spring-migration into master

Please provide link to gitlab issue or ADR(Architecture Decision Record)
osdu/platform&30

Does this introduce a change in the core logic?

  • No

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • Google Cloud
  • IBM

After upgrade, below is the output of mvn dependency:tree -Dincludes="org.springframework.*"

[INFO] --------------------< org.opengroup.osdu:os-search >--------------------
[INFO] Building os-search 0.27.0-SNAPSHOT                                 [1/8]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ os-search ---
[INFO] org.opengroup.osdu:os-search:pom:0.27.0-SNAPSHOT
[INFO] +- org.springdoc:springdoc-openapi-starter-webmvc-ui:jar:2.5.0:compile
[INFO] |  \- org.springdoc:springdoc-openapi-starter-webmvc-api:jar:2.5.0:compile
[INFO] |     \- org.springdoc:springdoc-openapi-starter-common:jar:2.5.0:compile
[INFO] |        \- org.springframework.boot:spring-boot-autoconfigure:jar:3.2.5:compile
[INFO] |           \- org.springframework.boot:spring-boot:jar:3.2.5:compile
[INFO] +- org.springframework.plugin:spring-plugin-core:jar:3.0.0:compile
[INFO] \- org.springframework.plugin:spring-plugin-metadata:jar:3.0.0:compile
[INFO] 
[INFO] -------------------< org.opengroup.osdu:search-core >-------------------
[INFO] Building search-core 0.27.0-SNAPSHOT                               [2/8]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ search-core ---
[INFO] org.opengroup.osdu:search-core:jar:0.27.0-SNAPSHOT
[INFO] +- org.springframework.boot:spring-boot-starter-security:jar:3.2.5:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter:jar:3.2.5:compile
[INFO] |  |  +- org.springframework.boot:spring-boot:jar:3.2.5:compile
[INFO] |  |  +- org.springframework.boot:spring-boot-autoconfigure:jar:3.2.5:compile
[INFO] |  |  \- org.springframework.boot:spring-boot-starter-logging:jar:3.2.5:compile
[INFO] |  \- org.springframework.security:spring-security-config:jar:6.2.4:compile
[INFO] +- org.springframework.security:spring-security-web:jar:6.3.0:compile
[INFO] |  \- org.springframework.security:spring-security-core:jar:6.2.4:compile
[INFO] |     \- org.springframework.security:spring-security-crypto:jar:6.2.4:compile
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:3.2.5:test
[INFO] |  +- org.springframework.boot:spring-boot-test:jar:3.2.5:test
[INFO] |  \- org.springframework.boot:spring-boot-test-autoconfigure:jar:3.2.5:test
[INFO] +- org.springframework.boot:spring-boot-starter-actuator:jar:3.2.5:compile
[INFO] |  \- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:3.2.5:compile
[INFO] |     \- org.springframework.boot:spring-boot-actuator:jar:3.2.5:compile
[INFO] +- org.springframework.boot:spring-boot-starter-jersey:jar:3.2.5:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-json:jar:3.2.5:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-tomcat:jar:3.2.5:compile
[INFO] |  \- org.springframework.boot:spring-boot-starter-validation:jar:3.2.5:compile
[INFO] +- org.springframework.plugin:spring-plugin-core:jar:3.0.0:compile
[INFO] \- org.springframework.plugin:spring-plugin-metadata:jar:3.0.0:compile
[INFO] 
[INFO] ----------------< org.opengroup.osdu:search-core-plus >-----------------
[INFO] Building search-core-plus 0.27.0-SNAPSHOT                          [3/8]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ search-core-plus ---
[INFO] org.opengroup.osdu:search-core-plus:jar:0.27.0-SNAPSHOT
[INFO] +- org.opengroup.osdu:apd-core:jar:0.27.0-rc1:compile
[INFO] |  \- org.opengroup.osdu:os-core-common:jar:0.23.0:compile
[INFO] |     +- org.springframework.boot:spring-boot-starter-web:jar:3.2.5:compile
[INFO] |     \- org.springframework.boot:spring-boot-starter-validation:jar:3.2.5:compile
[INFO] +- org.opengroup.osdu:search-core:jar:0.27.0-SNAPSHOT:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-security:jar:3.2.5:compile
[INFO] |  |  \- org.springframework.security:spring-security-config:jar:6.2.4:compile
[INFO] |  +- org.springframework.security:spring-security-web:jar:6.2.4:compile
[INFO] |  |  \- org.springframework.security:spring-security-core:jar:6.2.4:compile
[INFO] |  |     \- org.springframework.security:spring-security-crypto:jar:6.2.4:compile
[INFO] |  \- org.springframework.boot:spring-boot-starter-jersey:jar:3.2.5:compile
[INFO] |     +- org.springframework.boot:spring-boot-starter-json:jar:3.2.5:compile
[INFO] |     \- org.springframework.boot:spring-boot-starter-tomcat:jar:3.2.5:compile
[INFO] +- org.springframework.boot:spring-boot-loader:jar:3.2.5:compile
[INFO] +- org.springframework.boot:spring-boot-starter-actuator:jar:3.2.5:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter:jar:3.2.5:compile
[INFO] |  |  +- org.springframework.boot:spring-boot:jar:3.2.5:compile
[INFO] |  |  +- org.springframework.boot:spring-boot-autoconfigure:jar:3.2.5:compile
[INFO] |  |  \- org.springframework.boot:spring-boot-starter-logging:jar:3.2.5:compile
[INFO] |  \- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:3.2.5:compile
[INFO] |     \- org.springframework.boot:spring-boot-actuator:jar:3.2.5:compile
[INFO] +- org.springframework.plugin:spring-plugin-core:jar:3.0.0:compile
[INFO] \- org.springframework.plugin:spring-plugin-metadata:jar:3.0.0:compile
[INFO] 
[INFO] -------------------< org.opengroup.osdu:search-byoc >-------------------
[INFO] Building search-byoc 0.27.0-SNAPSHOT                               [4/8]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ search-byoc ---
[INFO] org.opengroup.osdu:search-byoc:jar:0.27.0-SNAPSHOT
[INFO] +- org.opengroup.osdu:search-core:jar:0.27.0-SNAPSHOT:compile
[INFO] |  +- org.springframework.security:spring-security-web:jar:6.2.4:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-actuator:jar:3.2.5:compile
[INFO] |  |  \- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:3.2.5:compile
[INFO] |  |     \- org.springframework.boot:spring-boot-actuator:jar:3.2.5:compile
[INFO] |  \- org.springframework.boot:spring-boot-starter-jersey:jar:3.2.5:compile
[INFO] |     +- org.springframework.boot:spring-boot-starter-json:jar:3.2.5:compile
[INFO] |     +- org.springframework.boot:spring-boot-starter-tomcat:jar:3.2.5:compile
[INFO] |     \- org.springframework.boot:spring-boot-starter-validation:jar:3.2.5:compile
[INFO] +- org.springframework.boot:spring-boot-starter-security:jar:3.2.5:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter:jar:3.2.5:compile
[INFO] |  |  +- org.springframework.boot:spring-boot:jar:3.2.5:compile
[INFO] |  |  +- org.springframework.boot:spring-boot-autoconfigure:jar:3.2.5:compile
[INFO] |  |  \- org.springframework.boot:spring-boot-starter-logging:jar:3.2.5:compile
[INFO] |  \- org.springframework.security:spring-security-config:jar:6.2.4:compile
[INFO] +- org.springframework.boot:spring-boot-starter-data-redis:jar:3.2.5:compile
[INFO] |  \- org.springframework.data:spring-data-redis:jar:3.2.5:compile
[INFO] |     \- org.springframework.data:spring-data-keyvalue:jar:3.2.5:compile
[INFO] |        \- org.springframework.data:spring-data-commons:jar:3.2.5:compile
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:3.2.5:test
[INFO] |  +- org.springframework.boot:spring-boot-test:jar:3.2.5:test
[INFO] |  \- org.springframework.boot:spring-boot-test-autoconfigure:jar:3.2.5:test
[INFO] +- org.springframework.security:spring-security-test:jar:6.2.4:test
[INFO] |  \- org.springframework.security:spring-security-core:jar:6.2.4:compile
[INFO] |     \- org.springframework.security:spring-security-crypto:jar:6.2.4:compile
[INFO] +- org.springframework.plugin:spring-plugin-core:jar:3.0.0:compile
[INFO] \- org.springframework.plugin:spring-plugin-metadata:jar:3.0.0:compile
[INFO] 
[INFO] --------------------< org.opengroup.osdu:search-gc >--------------------
[INFO] Building search-gc 0.27.0-SNAPSHOT                                 [5/8]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ search-gc ---
[INFO] org.opengroup.osdu:search-gc:jar:0.27.0-SNAPSHOT
[INFO] +- org.opengroup.osdu:search-core:jar:0.27.0-SNAPSHOT:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-security:jar:3.2.5:compile
[INFO] |  |  \- org.springframework.security:spring-security-config:jar:6.2.4:compile
[INFO] |  +- org.springframework.security:spring-security-web:jar:6.2.4:compile
[INFO] |  |  \- org.springframework.security:spring-security-core:jar:6.2.4:compile
[INFO] |  |     \- org.springframework.security:spring-security-crypto:jar:6.2.4:compile
[INFO] |  \- org.springframework.boot:spring-boot-starter-jersey:jar:3.2.5:compile
[INFO] |     +- org.springframework.boot:spring-boot-starter-json:jar:3.2.5:compile
[INFO] |     +- org.springframework.boot:spring-boot-starter-tomcat:jar:3.2.5:compile
[INFO] |     \- org.springframework.boot:spring-boot-starter-validation:jar:3.2.5:compile
[INFO] +- org.springframework.boot:spring-boot-starter-actuator:jar:3.2.5:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter:jar:3.2.5:compile
[INFO] |  |  +- org.springframework.boot:spring-boot:jar:3.2.5:compile
[INFO] |  |  +- org.springframework.boot:spring-boot-autoconfigure:jar:3.2.5:compile
[INFO] |  |  \- org.springframework.boot:spring-boot-starter-logging:jar:3.2.5:compile
[INFO] |  \- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:3.2.5:compile
[INFO] |     \- org.springframework.boot:spring-boot-actuator:jar:3.2.5:compile
[INFO] +- org.springframework.plugin:spring-plugin-core:jar:3.0.0:compile
[INFO] \- org.springframework.plugin:spring-plugin-metadata:jar:3.0.0:compile
[INFO] 
[INFO] -------------------< org.opengroup.osdu:search-aws >--------------------
[INFO] Building search-aws 0.27.0-SNAPSHOT                                [6/8]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ search-aws ---
[INFO] org.opengroup.osdu:search-aws:jar:0.27.0-SNAPSHOT
[INFO] +- org.opengroup.osdu:search-core:jar:0.27.0-SNAPSHOT:compile
[INFO] |  +- org.springframework.security:spring-security-web:jar:6.2.4:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-actuator:jar:3.2.5:compile
[INFO] |  |  \- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:3.2.5:compile
[INFO] |  |     \- org.springframework.boot:spring-boot-actuator:jar:3.2.5:compile
[INFO] |  \- org.springframework.boot:spring-boot-starter-jersey:jar:3.2.5:compile
[INFO] |     +- org.springframework.boot:spring-boot-starter-json:jar:3.2.5:compile
[INFO] |     +- org.springframework.boot:spring-boot-starter-tomcat:jar:3.2.5:compile
[INFO] |     \- org.springframework.boot:spring-boot-starter-validation:jar:3.2.5:compile
[INFO] +- org.opengroup.osdu.core.aws:os-core-lib-aws:jar:0.26.0-spring6-rc2:compile
[INFO] |  +- org.springframework.boot:spring-boot-autoconfigure:jar:3.2.5:compile
[INFO] |  |  \- org.springframework.boot:spring-boot:jar:3.2.5:compile
[INFO] |  \- org.springframework.data:spring-data-mongodb:jar:4.0.3:compile
[INFO] +- org.springframework.boot:spring-boot-starter-security:jar:3.2.5:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter:jar:3.2.5:compile
[INFO] |  |  \- org.springframework.boot:spring-boot-starter-logging:jar:3.2.5:compile
[INFO] |  \- org.springframework.security:spring-security-config:jar:6.2.4:compile
[INFO] +- org.springframework.data:spring-data-commons:jar:3.2.5:compile
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:3.2.5:test
[INFO] |  +- org.springframework.boot:spring-boot-test:jar:3.2.5:test
[INFO] |  \- org.springframework.boot:spring-boot-test-autoconfigure:jar:3.2.5:test
[INFO] +- org.springframework.security:spring-security-test:jar:6.2.4:test
[INFO] |  \- org.springframework.security:spring-security-core:jar:6.2.4:compile
[INFO] |     \- org.springframework.security:spring-security-crypto:jar:6.2.4:compile
[INFO] +- org.springframework.plugin:spring-plugin-core:jar:3.0.0:compile
[INFO] \- org.springframework.plugin:spring-plugin-metadata:jar:3.0.0:compile
[INFO] 
[INFO] ------------------< org.opengroup.osdu:search-azure >-------------------
[INFO] Building search-azure 0.27.0-SNAPSHOT                              [7/8]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ search-azure ---
[INFO] org.opengroup.osdu:search-azure:jar:0.27.0-SNAPSHOT
[INFO] +- org.opengroup.osdu:search-core:jar:0.27.0-SNAPSHOT:compile
[INFO] |  +- org.springframework.security:spring-security-web:jar:6.2.1:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-actuator:jar:3.2.2:compile
[INFO] |  |  \- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:3.2.2:compile
[INFO] |  |     \- org.springframework.boot:spring-boot-actuator:jar:3.2.2:compile
[INFO] |  \- org.springframework.boot:spring-boot-starter-jersey:jar:3.2.2:compile
[INFO] |     +- org.springframework.boot:spring-boot-starter-json:jar:3.2.2:compile
[INFO] |     +- org.springframework.boot:spring-boot-starter-tomcat:jar:3.2.2:compile
[INFO] |     \- org.springframework.boot:spring-boot-starter-validation:jar:3.2.2:compile
[INFO] +- org.opengroup.osdu:core-lib-azure-spring6:jar:0.27.0-rc2:compile
[INFO] |  +- com.azure:azure-spring-data-cosmos:jar:5.9.1:compile
[INFO] |  |  \- org.springframework.data:spring-data-commons:jar:3.2.2:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-log4j2:jar:3.2.2:compile
[INFO] |  \- org.springframework.boot:spring-boot-starter-aop:jar:3.2.2:compile
[INFO] +- org.springframework.boot:spring-boot-starter-security:jar:3.2.2:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter:jar:3.2.2:compile
[INFO] |  |  \- org.springframework.boot:spring-boot:jar:3.2.2:compile
[INFO] |  \- org.springframework.security:spring-security-config:jar:6.2.1:compile
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:3.2.2:test
[INFO] |  +- org.springframework.boot:spring-boot-test:jar:3.2.2:test
[INFO] |  \- org.springframework.boot:spring-boot-test-autoconfigure:jar:3.2.2:test
[INFO] +- org.springframework.security:spring-security-test:jar:6.2.1:test
[INFO] |  \- org.springframework.security:spring-security-core:jar:6.2.1:compile
[INFO] |     \- org.springframework.security:spring-security-crypto:jar:6.2.1:compile
[INFO] +- com.azure.spring:spring-cloud-azure-autoconfigure:jar:5.13.0:compile
[INFO] |  \- org.springframework.boot:spring-boot-autoconfigure:jar:3.2.2:compile
[INFO] +- org.springframework.boot:spring-boot-starter-data-redis:jar:3.2.2:compile
[INFO] |  \- org.springframework.data:spring-data-redis:jar:3.2.2:compile
[INFO] |     \- org.springframework.data:spring-data-keyvalue:jar:3.2.2:compile
[INFO] +- org.springframework.boot:spring-boot-configuration-processor:jar:3.2.2:compile
[INFO] +- org.springframework.plugin:spring-plugin-core:jar:3.0.0:compile
[INFO] \- org.springframework.plugin:spring-plugin-metadata:jar:3.0.0:compile
[INFO] 
[INFO] -------------------< org.opengroup.osdu:search-ibm >--------------------
[INFO] Building search-ibm 0.27.0-SNAPSHOT                                [8/8]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ search-ibm ---
[INFO] org.opengroup.osdu:search-ibm:jar:0.27.0-SNAPSHOT
[INFO] +- org.opengroup.osdu:search-core:jar:0.27.0-SNAPSHOT:compile
[INFO] |  +- org.springframework.security:spring-security-web:jar:6.2.4:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-actuator:jar:3.2.5:compile
[INFO] |  |  \- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:3.2.5:compile
[INFO] |  |     \- org.springframework.boot:spring-boot-actuator:jar:3.2.5:compile
[INFO] |  \- org.springframework.boot:spring-boot-starter-jersey:jar:3.2.5:compile
[INFO] |     +- org.springframework.boot:spring-boot-starter-tomcat:jar:3.2.5:compile
[INFO] |     \- org.springframework.boot:spring-boot-starter-validation:jar:3.2.5:compile
[INFO] +- org.springframework.boot:spring-boot-starter-web:jar:3.2.5:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter:jar:3.2.5:compile
[INFO] |  |  +- org.springframework.boot:spring-boot:jar:3.2.5:compile
[INFO] |  |  +- org.springframework.boot:spring-boot-autoconfigure:jar:3.2.5:compile
[INFO] |  |  \- org.springframework.boot:spring-boot-starter-logging:jar:3.2.5:compile
[INFO] |  \- org.springframework.boot:spring-boot-starter-json:jar:3.2.5:compile
[INFO] +- org.springframework.boot:spring-boot-starter-security:jar:3.2.5:compile
[INFO] |  \- org.springframework.security:spring-security-config:jar:6.2.4:compile
[INFO] +- org.springframework.security.oauth:spring-security-oauth2:jar:2.3.6.RELEASE:compile
[INFO] |  \- org.springframework.security:spring-security-core:jar:6.2.4:compile
[INFO] |     \- org.springframework.security:spring-security-crypto:jar:6.2.4:compile
[INFO] +- org.springframework.security:spring-security-jwt:jar:1.0.10.RELEASE:compile
[INFO] +- org.springframework.security:spring-security-oauth2-client:jar:6.2.4:compile
[INFO] |  \- org.springframework.security:spring-security-oauth2-core:jar:6.2.4:compile
[INFO] +- org.springframework.data:spring-data-commons:jar:3.2.5:compile
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:3.2.5:test
[INFO] |  +- org.springframework.boot:spring-boot-test:jar:3.2.5:test
[INFO] |  \- org.springframework.boot:spring-boot-test-autoconfigure:jar:3.2.5:test
[INFO] +- org.springframework.security:spring-security-test:jar:6.2.4:test
[INFO] +- org.springframework.plugin:spring-plugin-core:jar:3.0.0:compile
[INFO] \- org.springframework.plugin:spring-plugin-metadata:jar:3.0.0:compile
[INFO] ------------------------------------------------------------------------
Edited by Deepa Kumari

Merge request reports