Skip to content

Full Upgrade of First Party Library Dependencies for Release 0.20

David Diederich requested to merge dependency-upgrade into main

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: main
SHA:    f4c2ac2a4283a978d5dd0e2e634330cbc22cb6d5
Maven:  0.21.0-SNAPSHOT
Maven Dependencies Root testing/
core-lib-azure 0.17.0
core-lib-gcp 0.19.0 0.17.0, 0.19.0
os-core-lib-aws 0.19.0 0.19.0
obm 0.19.0 0.17.0, 0.19.0
oqm 0.19.0 0.17.0, 0.19.0
os-core-common 0.17.0-rc5, 0.19.0 0.14.0-rc8
osm 0.19.0 0.17.0, 0.19.0
(3rd Party) com.fasterxml.jackson.core.jackson-databind 2.13.3 2.11.4, 2.13.2.2
(3rd Party) net.minidev.json-smart 2.4.8 2.3
(3rd Party) org.apache.logging.log4j.log4j-api 2.17.2 2.13.3
(3rd Party) org.apache.logging.log4j.log4j-to-slf4j 2.17.2 2.13.3
(3rd Party) org.springframework.spring-webmvc 5.3.22 5.3.6, 5.3.24
(3rd Party) org.yaml.snakeyaml 1.30 1.27
Critical: Found Vulnerable Snake YAML dependency (<2.0)
├─ _Root_
│  ├─ org.opengroup.osdu.secret-core == 0.21.0-SNAPSHOT
│  │  └─ org.springframework.boot.spring-boot-starter-security == 2.7.2
│  │     └─ org.springframework.boot.spring-boot-starter == 2.7.2
│  │        └─ org.yaml.snakeyaml == 1.30
│  ├─ org.opengroup.osdu.secret-aws == 0.21.0-SNAPSHOT
│  │  └─ org.springframework.boot.spring-boot-starter-web == 2.7.2
│  │     └─ org.springframework.boot.spring-boot-starter == 2.7.2
│  │        └─ org.yaml.snakeyaml == 1.30
│  ├─ org.opengroup.osdu.secret-azure == 0.21.0-SNAPSHOT
│  │  └─ org.opengroup.osdu.core-lib-azure == 0.17.0
│  │     └─ org.redisson.redisson == 3.15.3
│  │        └─ org.yaml.snakeyaml == 1.30
│  └─ org.opengroup.osdu.secret-gc == 0.21.0-SNAPSHOT
│     └─ io.kubernetes.client-java == 16.0.1
│        └─ org.yaml.snakeyaml == 1.30
└─ testing/
├─ org.opengroup.osdu.secret-test-core == 0.21.0-SNAPSHOT
│  └─ org.springframework.boot.spring-boot-starter-web == 2.4.5
│     └─ org.springframework.boot.spring-boot-starter == 2.4.5
│        └─ org.yaml.snakeyaml == 1.27
├─ org.opengroup.osdu.secret.secret-test-aws == 0.21.0-SNAPSHOT
│  └─ org.opengroup.osdu.secret-test-core == 0.21.0-SNAPSHOT
│     └─ org.springframework.boot.spring-boot-starter-web == 2.4.5
│        └─ org.springframework.boot.spring-boot-starter == 2.4.5
│           └─ org.yaml.snakeyaml == 1.27
├─ org.opengroup.osdu.secret-test-azure == 0.21.0-SNAPSHOT
│  └─ org.opengroup.osdu.secret-test-core == 0.21.0-SNAPSHOT
│     └─ org.springframework.boot.spring-boot-starter-web == 2.4.5
│        └─ org.springframework.boot.spring-boot-starter == 2.4.5
│           └─ org.yaml.snakeyaml == 1.27
├─ org.opengroup.osdu.secret-test-gc == 0.21.0-SNAPSHOT
│  └─ org.opengroup.osdu.secret-test-core == 0.21.0-SNAPSHOT
│     └─ org.springframework.boot.spring-boot-starter-web == 2.4.5
│        └─ org.springframework.boot.spring-boot-starter == 2.4.5
│           └─ org.yaml.snakeyaml == 1.27
└─ org.opengroup.osdu.secret-test-anthos == 0.21.0-SNAPSHOT
└─ org.opengroup.osdu.secret-test-core == 0.21.0-SNAPSHOT
└─ org.springframework.boot.spring-boot-starter-web == 2.4.5
└─ org.springframework.boot.spring-boot-starter == 2.4.5
└─ org.yaml.snakeyaml == 1.27

Dependency Information After the Upgrade

Branch: dependency-upgrade
SHA:    05cfb7e9ec508bfece3bfb175e0e87006231118e
Maven:  0.21.0-SNAPSHOT
Maven Dependencies Root testing/
core-lib-azure 0.20.0
core-lib-gc 0.20.0 0.20.0
os-core-lib-aws 0.20.0 0.20.0
obm 0.20.0 0.20.0
oqm 0.20.0 0.20.0
os-core-common 0.20.1 0.20.1
osm 0.20.0 0.20.0
(3rd Party) net.minidev.json-smart 2.4.8 2.3
(3rd Party) org.apache.logging.log4j.log4j-api 2.17.2 2.13.3
(3rd Party) org.apache.logging.log4j.log4j-to-slf4j 2.17.2 2.13.3
(3rd Party) org.springframework.spring-webmvc 5.3.22 5.3.6, 5.3.24
(3rd Party) org.yaml.snakeyaml 1.30 1.27
Critical: Found Vulnerable Snake YAML dependency (<2.0)
├─ _Root_
│  ├─ org.opengroup.osdu.secret-core == 0.21.0-SNAPSHOT
│  │  └─ org.springframework.boot.spring-boot-starter-security == 2.7.2
│  │     └─ org.springframework.boot.spring-boot-starter == 2.7.2
│  │        └─ org.yaml.snakeyaml == 1.30
│  ├─ org.opengroup.osdu.secret-aws == 0.21.0-SNAPSHOT
│  │  └─ org.springframework.boot.spring-boot-starter-web == 2.7.2
│  │     └─ org.springframework.boot.spring-boot-starter == 2.7.2
│  │        └─ org.yaml.snakeyaml == 1.30
│  ├─ org.opengroup.osdu.secret-azure == 0.21.0-SNAPSHOT
│  │  └─ org.opengroup.osdu.core-lib-azure == 0.20.0
│  │     └─ org.redisson.redisson == 3.15.3
│  │        └─ org.yaml.snakeyaml == 1.30
│  └─ org.opengroup.osdu.secret-gc == 0.21.0-SNAPSHOT
│     └─ io.kubernetes.client-java == 16.0.1
│        └─ org.yaml.snakeyaml == 1.30
└─ testing/
   ├─ org.opengroup.osdu.secret-test-core == 0.21.0-SNAPSHOT
   │  └─ org.springframework.boot.spring-boot-starter-web == 2.4.5
   │     └─ org.springframework.boot.spring-boot-starter == 2.4.5
   │        └─ org.yaml.snakeyaml == 1.27
   ├─ org.opengroup.osdu.secret.secret-test-aws == 0.21.0-SNAPSHOT
   │  └─ org.opengroup.osdu.secret-test-core == 0.21.0-SNAPSHOT
   │     └─ org.springframework.boot.spring-boot-starter-web == 2.4.5
   │        └─ org.springframework.boot.spring-boot-starter == 2.4.5
   │           └─ org.yaml.snakeyaml == 1.27
   ├─ org.opengroup.osdu.secret-test-azure == 0.21.0-SNAPSHOT
   │  └─ org.opengroup.osdu.secret-test-core == 0.21.0-SNAPSHOT
   │     └─ org.springframework.boot.spring-boot-starter-web == 2.4.5
   │        └─ org.springframework.boot.spring-boot-starter == 2.4.5
   │           └─ org.yaml.snakeyaml == 1.27
   ├─ org.opengroup.osdu.secret-test-gc == 0.21.0-SNAPSHOT
   │  └─ org.opengroup.osdu.secret-test-core == 0.21.0-SNAPSHOT
   │     └─ org.springframework.boot.spring-boot-starter-web == 2.4.5
   │        └─ org.springframework.boot.spring-boot-starter == 2.4.5
   │           └─ org.yaml.snakeyaml == 1.27
   └─ org.opengroup.osdu.secret-test-anthos == 0.21.0-SNAPSHOT
      └─ org.opengroup.osdu.secret-test-core == 0.21.0-SNAPSHOT
         └─ org.springframework.boot.spring-boot-starter-web == 2.4.5
            └─ org.springframework.boot.spring-boot-starter == 2.4.5
               └─ org.yaml.snakeyaml == 1.27
Edited by David Diederich

Merge request reports

Loading