Skip to content

Full Upgrade of First Party Library Dependencies for Release 0.20

David Diederich requested to merge dependency-upgrade 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:    c798bd4d5991e1a6efada46b09f35ad3fee1b42a
Maven:  0.21.0-SNAPSHOT
Maven Dependencies Root testing/indexer-queue-azure-enqueue/ indexer-queue-gc-cloudrun/ indexer-queue-gcp/
core-lib-azure 0.19.0 0.16.0
core-lib-gcp 0.17.0-rc5 0.16.0
os-core-lib-aws 0.16.1
obm 0.17.0-rc2 0.16.0
oqm 0.17.0-rc1 0.16.0
os-core-common 0.16.0, 0.19.0 0.16.0 0.16.0 0.16.0
os-core-lib-ibm 0.16.0
osm 0.17.0-rc1 0.16.0
(3rd Party) org.apache.logging.log4j.log4j-api 2.17.1 2.13.3 2.17.1 2.17.1
(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-webmvc 5.3.22, 5.1.19.RELEASE 5.3.22 5.3.12 5.3.12
(3rd Party) org.yaml.snakeyaml 1.30, 1.33 1.27 1.27 1.27
Critical: Found Vulnerable Snake YAML dependency (<2.0)
├─ _Root_
│  ├─ org.opengroup.osdu.indexerqueue.aws.indexer-queue-aws == 0.21.0-SNAPSHOT
│  │  └─ org.opengroup.osdu.core.aws.os-core-lib-aws == 0.16.1
│  │     └─ 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.indexerqueue.ibm.indexer-queue-ibm == 0.21.0-SNAPSHOT
│  │  └─ org.yaml.snakeyaml == 1.33
│  ├─ org.opengroup.osdu.indexerqueue.EnqueueFunction == 0.21.0-SNAPSHOT
│  │  └─ org.opengroup.osdu.core-lib-azure == 0.19.0
│  │     └─ org.redisson.redisson == 3.15.3
│  │        └─ org.yaml.snakeyaml == 1.33
│  └─ org.opengroup.osdu.indexerqueue.RequeueFunction == 0.21.0-SNAPSHOT
│     └─ org.opengroup.osdu.os-core-common == 0.19.0
│        └─ org.springframework.boot.spring-boot-starter-web == 2.7.7
│           └─ org.springframework.boot.spring-boot-starter == 2.7.7
│              └─ org.yaml.snakeyaml == 1.33
├─ indexer-queue-gc-cloudrun/
│  └─ org.opengroup.osdu.indexerqueue.cloudrun.indexer-queue-gc-cloudrun == 0.21.0-SNAPSHOT
│     └─ org.springframework.boot.spring-boot-starter-web == 2.7.3
│        └─ org.springframework.boot.spring-boot-starter == 2.4.12
│           └─ org.yaml.snakeyaml == 1.27
├─ indexer-queue-gcp/
│  └─ org.opengroup.osdu.os-core-common == 0.16.0
│     └─ org.springframework.boot.spring-boot-starter-actuator == 2.4.5
│        └─ org.springframework.boot.spring-boot-starter == 2.4.5
│           └─ org.yaml.snakeyaml == 1.27
└─ testing/indexer-queue-azure-enqueue/
└─ org.opengroup.osdu.indexer-queue-azure-test == 0.21.0-SNAPSHOT
└─ org.opengroup.osdu.core-lib-azure == 0.16.0
└─ org.redisson.redisson == 3.15.3
└─ org.yaml.snakeyaml == 1.27
Critical: Found Vulnerable Spring MVC dependency (<5.2.20 || >=5.3.0 <5.3.18)
├─ _Root_
│  └─ org.opengroup.osdu.indexerqueue.ibm.indexer-queue-ibm == 0.21.0-SNAPSHOT
│     └─ org.opengroup.osdu.os-core-common == 0.16.0
│        └─ org.springframework.spring-webmvc == 5.1.19.RELEASE
├─ indexer-queue-gc-cloudrun/
│  └─ org.opengroup.osdu.indexerqueue.cloudrun.indexer-queue-gc-cloudrun == 0.21.0-SNAPSHOT
│     └─ org.springframework.boot.spring-boot-starter-web == 2.7.3
│        └─ org.springframework.spring-webmvc == 5.3.12
└─ indexer-queue-gcp/
└─ org.opengroup.osdu.os-core-common == 0.16.0
└─ org.springframework.boot.spring-boot-starter-validation == 2.5.14
└─ org.springframework.spring-webmvc == 5.3.12

Dependency Information After the Upgrade

Branch: dependency-upgrade
SHA:    38ccfd1c2757ede9cee920c9e1a4aa9697f7e993
Maven:  0.21.0-SNAPSHOT
Maven Dependencies Root testing/indexer-queue-azure-enqueue/ indexer-queue-gc-cloudrun/ indexer-queue-gcp/
core-lib-azure 0.20.0 0.20.0
core-lib-gc 0.20.0 0.20.0
os-core-lib-aws 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 0.20.1 0.20.1
os-core-lib-ibm 0.20.0
osm 0.20.0 0.20.0
(3rd Party) org.apache.logging.log4j.log4j-api 2.17.1 2.13.3 2.17.1 2.17.1
(3rd Party) org.springframework.spring-webmvc 5.3.22, 5.1.19.RELEASE 5.3.22 5.3.12 5.3.24
(3rd Party) org.yaml.snakeyaml 1.30, 1.33, 2.0 1.27 1.27 1.27
Critical: Found Vulnerable Snake YAML dependency (<2.0)
├─ _Root_
│  ├─ org.opengroup.osdu.indexerqueue.aws.indexer-queue-aws == 0.21.0-SNAPSHOT
│  │  └─ org.opengroup.osdu.core.aws.os-core-lib-aws == 0.20.0
│  │     └─ org.springframework.boot.spring-boot-starter-web == 2.7.7
│  │        └─ org.springframework.boot.spring-boot-starter == 2.7.7
│  │           └─ org.yaml.snakeyaml == 1.30
│  └─ org.opengroup.osdu.indexerqueue.ibm.indexer-queue-ibm == 0.21.0-SNAPSHOT
│     └─ org.yaml.snakeyaml == 1.33
├─ indexer-queue-gc-cloudrun/
│  └─ org.opengroup.osdu.indexerqueue.cloudrun.indexer-queue-gc-cloudrun == 0.21.0-SNAPSHOT
│     └─ org.springframework.boot.spring-boot-starter-web == 2.7.3
│        └─ org.springframework.boot.spring-boot-starter == 2.4.12
│           └─ org.yaml.snakeyaml == 1.27
├─ indexer-queue-gcp/
│  └─ org.opengroup.osdu.os-core-common == 0.20.1
│     └─ org.springframework.boot.spring-boot-starter-actuator == 2.4.5
│        └─ org.springframework.boot.spring-boot-starter == 2.4.5
│           └─ org.yaml.snakeyaml == 1.27
└─ testing/indexer-queue-azure-enqueue/
   └─ org.opengroup.osdu.indexer-queue-azure-test == 0.21.0-SNAPSHOT
      └─ org.opengroup.osdu.core-lib-azure == 0.20.0
         └─ org.redisson.redisson == 3.15.3
            └─ org.yaml.snakeyaml == 1.27
Critical: Found Vulnerable Spring MVC dependency (<5.2.20 || >=5.3.0 <5.3.18)
├─ _Root_
│  └─ org.opengroup.osdu.indexerqueue.ibm.indexer-queue-ibm == 0.21.0-SNAPSHOT
│     └─ org.opengroup.osdu.os-core-common == 0.20.1
│        └─ org.springframework.spring-webmvc == 5.1.19.RELEASE
└─ indexer-queue-gc-cloudrun/
   └─ org.opengroup.osdu.indexerqueue.cloudrun.indexer-queue-gc-cloudrun == 0.21.0-SNAPSHOT
      └─ org.springframework.boot.spring-boot-starter-web == 2.7.3
         └─ org.springframework.spring-webmvc == 5.3.12
Edited by David Diederich

Merge request reports