Skip to content

Full Upgrade of First Party Library Dependencies for Release 0.20

David Diederich requested to merge dependency-upgrade-3 into master

This generated MR upgrades the first party libraries (other OSDU libraries) to utilize the latest release. The intent is to try to fully upgrade all dependent libraries to see if the latest code will work. It is expected that these will often fail, since the upgrades were previously rejected for failing pipelines and have not been directly addressed yet. This upgrade should only be merged in the CI pipeline reports success.

If this MR has failed, we can spend a little time investigating to see if a trivial upgrade could achieve compatiblity to the new library. But significant upgrade efforts should not occur on this MR, as part of the release tagging process. Instead, significant work should be scheduled for a subsequent milestone.

This MR may co-exist with a separate, smaller upgrade MR. If both pass, this one should be used instead.

Dependency Information Before the Upgrade

Branch: master
SHA:    c6bc65a3773a3d009e7e9e2d7e3ac72cc663ad49
Maven:  0.21.0-SNAPSHOT
Maven Dependencies Root testing/
core-lib-azure 0.14.0-rc2 0.6.1
core-lib-gcp 0.19.0-rc3
os-core-lib-aws 0.21.0-rc1 0.13.0
obm 0.18.0
oqm 0.18.0
os-core-common 0.19.0-rc6 0.19.0-rc6
os-core-lib-ibm 0.16.0-rc1 0.15.2
osm 0.18.0
(3rd Party) net.minidev.json-smart 2.4.7 2.3
(3rd Party) org.apache.logging.log4j.log4j-api 2.17.1 2.13.3
(3rd Party) org.apache.logging.log4j.log4j-core 2.17.1 2.13.3
(3rd Party) org.apache.logging.log4j.log4j-jul 2.17.1 2.13.3
(3rd Party) org.apache.logging.log4j.log4j-slf4j-impl 2.17.1 2.13.3
(3rd Party) org.springframework.spring-webflux 5.3.12
(3rd Party) org.yaml.snakeyaml 1.30, 1.33, 1.26 1.30
Critical: Found Vulnerable Snake YAML dependency (<2.0)
├─ _Root_
│  ├─ org.springdoc.springdoc-openapi-ui == 1.6.14
│  │  └─ org.springdoc.springdoc-openapi-webmvc-core == 1.6.14
│  │     └─ org.springdoc.springdoc-openapi-common == 1.6.14
│  │        └─ org.springframework.boot.spring-boot-autoconfigure == 2.7.7
│  │           └─ io.swagger.core.v3.swagger-core == 2.2.7
│  │              └─ org.yaml.snakeyaml == 1.30
│  ├─ org.opengroup.osdu.os-schema-core == 0.21.0-SNAPSHOT
│  │  └─ org.springframework.boot.spring-boot-starter-web == 2.7.7
│  │     └─ org.springframework.boot.spring-boot-starter == 2.7.7
│  │        └─ org.yaml.snakeyaml == 1.33
│  ├─ org.opengroup.osdu.os-schema-aws == 0.21.0-SNAPSHOT
│  │  └─ org.springframework.boot.spring-boot-starter-test == 2.7.7
│  │     └─ org.springframework.boot.spring-boot-starter == 2.7.7
│  │        └─ org.yaml.snakeyaml == 1.33
│  ├─ org.opengroup.osdu.os-schema-gc == 0.21.0-SNAPSHOT
│  │  └─ org.springframework.boot.spring-boot-starter-test == 2.7.7
│  │     └─ org.springframework.boot.spring-boot-starter == 2.7.7
│  │        └─ org.yaml.snakeyaml == 1.33
│  ├─ org.opengroup.osdu.os-schema-ibm == 0.21.0-SNAPSHOT
│  │  └─ org.springframework.boot.spring-boot-starter-web == 2.7.7
│  │     └─ org.springframework.boot.spring-boot-starter == 2.7.7
│  │        └─ org.yaml.snakeyaml == 1.33
│  └─ org.opengroup.osdu.os-schema-azure == 0.21.0-SNAPSHOT
│     └─ org.springframework.boot.spring-boot-starter-test == 2.4.12
│        └─ org.springframework.boot.spring-boot-starter == 2.4.12
│           └─ org.yaml.snakeyaml == 1.26
└─ testing/
└─ org.opengroup.osdu.schema-test-core == 0.21.0-SNAPSHOT
└─ org.opengroup.osdu.os-schema-core == 0.21.0-SNAPSHOT
└─ org.springframework.boot.spring-boot-starter-web == 2.7.7
└─ org.springframework.boot.spring-boot-starter == 2.7.7
└─ org.yaml.snakeyaml == 1.30
Critical: Found Vulnerable Spring WebFlux dependency (<5.2.20 || >=5.3.0 <5.3.18)
└─ _Root_
└─ org.opengroup.osdu.os-schema-azure == 0.21.0-SNAPSHOT
└─ org.springframework.boot.spring-boot-starter-webflux == 2.6.6
└─ org.springframework.spring-webflux == 5.3.12

Dependency Information After the Upgrade

Branch: dependency-upgrade-3
SHA:    79045808c04ca813e2d4e8374cb8514c5358821f
Maven:  0.21.0-SNAPSHOT
Maven Dependencies Root testing/
core-lib-azure 0.20.0 0.20.0
core-lib-gc 0.20.0
os-core-lib-aws 0.21.0-rc2 0.21.0-rc2
obm 0.20.0
oqm 0.20.0
os-core-common 0.20.1 0.20.1
os-core-lib-ibm 0.20.0 0.20.0
osm 0.20.0
(3rd Party) org.yaml.snakeyaml 1.30, 2.0 2.0
Critical: Found Vulnerable Snake YAML dependency (<2.0)
└─ _Root_
   └─ org.springdoc.springdoc-openapi-ui == 1.6.14
      └─ org.springdoc.springdoc-openapi-webmvc-core == 1.6.14
         └─ org.springdoc.springdoc-openapi-common == 1.6.14
            └─ org.springframework.boot.spring-boot-autoconfigure == 2.7.7
               └─ io.swagger.core.v3.swagger-core == 2.2.7
                  └─ org.yaml.snakeyaml == 1.30
Edited by David Diederich

Merge request reports