Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge main to production #1220

Draft
wants to merge 344 commits into
base: production
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
344 commits
Select commit Hold shift + click to select a range
c43d1dc
Bump docker/login-action in /.github/actions/azure-login
dependabot[bot] Jul 23, 2024
eed4b65
Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.4.1 to 3.5.0
dependabot[bot] Jul 23, 2024
e9e87a8
Bump jackson.version from 2.17.1 to 2.17.2
dependabot[bot] Jul 23, 2024
23e81af
Bump org.eclipse.jetty:jetty-client from 12.0.8 to 12.0.11
dependabot[bot] Jul 23, 2024
ea4718f
Merge pull request #1093 from adoptium/dependabot/github_actions/dot-…
karianna Jul 23, 2024
3370b20
Merge pull request #1095 from adoptium/dependabot/maven/org.apache.ma…
karianna Jul 23, 2024
46c20e8
Merge pull request #1096 from adoptium/dependabot/maven/jackson.versi…
karianna Jul 23, 2024
a2aeff9
Merge pull request #1097 from adoptium/dependabot/maven/org.eclipse.j…
karianna Jul 23, 2024
23b4134
Merge pull request #1094 from adoptium/dependabot/github_actions/dot-…
karianna Jul 23, 2024
947c9b8
Fix ubuntu 24 Docker update
johnoliver Jul 23, 2024
0d8a248
Convert to multi stage build
johnoliver Jul 23, 2024
a563c37
Merge pull request #1099 from johnoliver/fix-docker
karianna Jul 23, 2024
408aa49
Bump io.quarkus:quarkus-maven-plugin from 3.11.2 to 3.12.3
dependabot[bot] Jul 24, 2024
afbda1b
Fix permisions in docker container
johnoliver Jul 24, 2024
8d809fa
Merge pull request #1103 from johnoliver/fix-docker
johnoliver Jul 24, 2024
f1e6513
Merge pull request #1100 from adoptium/dependabot/maven/io.quarkus-qu…
karianna Jul 24, 2024
1dc9414
Bump com.microsoft.azure:applicationinsights-runtime-attach
dependabot[bot] Jul 25, 2024
75f4dfe
Merge pull request #1104 from adoptium/dependabot/maven/com.microsoft…
karianna Jul 25, 2024
2529455
Simplify permissions and move to 21-jammy
johnoliver Jul 25, 2024
2ca4ec2
Bump maven.surefire-plugin.version from 3.3.0 to 3.3.1
dependabot[bot] Jul 26, 2024
630da2b
Bump github/codeql-action from 3.25.13 to 3.25.14
dependabot[bot] Jul 26, 2024
1626929
Merge pull request #1106 from adoptium/dependabot/maven/maven.surefir…
johnoliver Jul 26, 2024
8ec63d8
Merge pull request #1107 from adoptium/dependabot/github_actions/gith…
johnoliver Jul 26, 2024
b8cce0d
Merge pull request #1105 from johnoliver/fix-docker
karianna Jul 28, 2024
20d661e
Bump github/codeql-action from 3.25.14 to 3.25.15
dependabot[bot] Jul 29, 2024
5d9d956
Bump org.apache.maven.plugins:maven-help-plugin from 3.4.0 to 3.4.1
dependabot[bot] Jul 29, 2024
b55d535
Merge pull request #1109 from adoptium/dependabot/maven/org.apache.ma…
karianna Jul 29, 2024
99d6cbf
Merge pull request #1108 from adoptium/dependabot/github_actions/gith…
karianna Jul 29, 2024
4c758f3
Bump org.apache.maven.plugins:maven-project-info-reports-plugin
dependabot[bot] Jul 30, 2024
2a269db
Merge pull request #1110 from adoptium/dependabot/maven/org.apache.ma…
karianna Jul 30, 2024
e5ac79c
Bump org.openapitools:openapi-generator-maven-plugin from 7.5.0 to 7.7.0
dependabot[bot] Jul 31, 2024
40694e8
Merge pull request #1111 from adoptium/dependabot/maven/org.openapito…
karianna Jul 31, 2024
0a491e9
Bump org.apache.maven.plugins:maven-jar-plugin from 3.4.1 to 3.4.2
dependabot[bot] Aug 1, 2024
be41b2c
Merge pull request #1112 from adoptium/dependabot/maven/org.apache.ma…
karianna Aug 1, 2024
e57156d
Bump org.skyscreamer:jsonassert from 1.5.1 to 1.5.3
dependabot[bot] Aug 2, 2024
b2fffaf
Merge pull request #1113 from adoptium/dependabot/maven/org.skyscream…
karianna Aug 3, 2024
6777762
Bump org.kohsuke:github-api from 1.321 to 1.323
dependabot[bot] Aug 5, 2024
90115dc
Merge pull request #1114 from adoptium/dependabot/maven/org.kohsuke-g…
karianna Aug 5, 2024
902e311
Bump actions/setup-java from 4.2.1 to 4.2.2
dependabot[bot] Aug 6, 2024
b0901c3
Merge pull request #1116 from adoptium/dependabot/github_actions/acti…
gdams Aug 6, 2024
c27d2ec
Bump github/codeql-action from 3.25.15 to 3.26.0
dependabot[bot] Aug 7, 2024
9fe0e28
Merge pull request #1117 from adoptium/dependabot/github_actions/gith…
gdams Aug 7, 2024
3f690ea
Bump docker/build-push-action in /.github/actions/docker-build
dependabot[bot] Aug 8, 2024
f20dd16
Merge pull request #1118 from adoptium/dependabot/github_actions/dot-…
karianna Aug 8, 2024
b225761
Bump github/codeql-action from 3.26.0 to 3.26.1
dependabot[bot] Aug 14, 2024
88327e4
Bump docker/build-push-action in /.github/actions/docker-build
dependabot[bot] Aug 14, 2024
69d24d0
Merge pull request #1119 from adoptium/dependabot/github_actions/gith…
karianna Aug 14, 2024
de841b4
Merge pull request #1120 from adoptium/dependabot/github_actions/dot-…
karianna Aug 14, 2024
7606fe0
Bump github/codeql-action from 3.26.1 to 3.26.2
dependabot[bot] Aug 15, 2024
fa725fe
Merge pull request #1121 from adoptium/dependabot/github_actions/gith…
karianna Aug 15, 2024
06235b0
Bump quarkus.version from 3.11.2 to 3.13.0
xavierfacq Aug 19, 2024
7b99695
Merge branch 'main' into maven/quarkus.version-3.13.0
gdams Aug 19, 2024
cc1fc23
Merge pull request #1122 from xavierfacq/maven/quarkus.version-3.13.0
gdams Aug 19, 2024
b4b2c2b
Bump org.apache.maven.plugins:maven-pmd-plugin from 3.22.0 to 3.24.0
dependabot[bot] Aug 20, 2024
7fad7ba
Bump github/codeql-action from 3.26.2 to 3.26.3
dependabot[bot] Aug 20, 2024
fdfde01
Merge pull request #1123 from adoptium/dependabot/maven/org.apache.ma…
karianna Aug 20, 2024
94fc95b
Merge pull request #1124 from adoptium/dependabot/github_actions/gith…
karianna Aug 20, 2024
054509f
Bump com.expediagroup:graphql-kotlin-* from 7.1.1 to 7.1.4
xavierfacq Aug 20, 2024
4b1ff39
Merge pull request #1125 from xavierfacq/maven/com.expediagroup-graph…
gdams Aug 20, 2024
7c57def
Update quarkus and Kotlin versions. Migrate away from kmongo. Code cl…
johnoliver Aug 20, 2024
cad7b1e
Bump quarkus.version from 3.13.0 to 3.13.3
dependabot[bot] Aug 21, 2024
90f4236
Bump org.codehaus.mojo:versions-maven-plugin from 2.16.2 to 2.17.1
dependabot[bot] Aug 21, 2024
9cb0137
Merge pull request #1129 from adoptium/dependabot/maven/org.codehaus.…
karianna Aug 21, 2024
4b3fb9f
Merge pull request #1128 from adoptium/dependabot/maven/quarkus.versi…
karianna Aug 21, 2024
c9eef79
Merge branch 'main' into remove-kmongo
karianna Aug 21, 2024
95d334f
Merge pull request #1126 from johnoliver/remove-kmongo
johnoliver Aug 21, 2024
2141c96
Catch Collection creation issues
johnoliver Aug 21, 2024
8137102
Merge pull request #1130 from johnoliver/remove-kmongo
johnoliver Aug 21, 2024
a38cdb3
Bump github/codeql-action from 3.26.3 to 3.26.4
dependabot[bot] Aug 22, 2024
07d6729
Bump rest-assured.version from 5.4.0 to 5.5.0
dependabot[bot] Aug 22, 2024
8472aca
Bump org.slf4j:slf4j-api from 2.0.13 to 2.0.16
dependabot[bot] Aug 22, 2024
995ef8d
Bump org.eclipse.jetty:jetty-server from 12.0.8 to 12.0.12
dependabot[bot] Aug 22, 2024
fbf1dd2
Bump maven.surefire-plugin.version from 3.3.1 to 3.4.0
dependabot[bot] Aug 22, 2024
6e4629a
Merge pull request #1131 from adoptium/dependabot/github_actions/gith…
karianna Aug 22, 2024
b4406f6
Merge pull request #1133 from adoptium/dependabot/maven/rest-assured.…
karianna Aug 22, 2024
a3c9c0d
Merge pull request #1134 from adoptium/dependabot/maven/org.slf4j-slf…
karianna Aug 22, 2024
60ac9a0
Merge pull request #1136 from adoptium/dependabot/maven/maven.surefir…
karianna Aug 22, 2024
d516934
Merge pull request #1135 from adoptium/dependabot/maven/org.eclipse.j…
karianna Aug 22, 2024
5c64e33
Bump org.codehaus.mojo:tidy-maven-plugin from 1.2.0 to 1.3.0
dependabot[bot] Aug 23, 2024
5bed8da
Bump org.apache.maven.plugins:maven-help-plugin from 3.4.1 to 3.5.0
dependabot[bot] Aug 23, 2024
642f52c
Bump org.apache.maven.plugins:maven-dependency-plugin
dependabot[bot] Aug 23, 2024
d44d447
Bump org.kohsuke:github-api from 1.323 to 1.324
dependabot[bot] Aug 23, 2024
cc6f5fc
Merge pull request #1140 from adoptium/dependabot/maven/org.kohsuke-g…
karianna Aug 23, 2024
af5ed46
Merge pull request #1137 from adoptium/dependabot/maven/org.codehaus.…
karianna Aug 23, 2024
743b465
Merge pull request #1138 from adoptium/dependabot/maven/org.apache.ma…
karianna Aug 23, 2024
34fa6f9
Merge pull request #1139 from adoptium/dependabot/maven/org.apache.ma…
karianna Aug 23, 2024
3f83db0
Bump org.apache.maven.plugins:maven-deploy-plugin from 3.1.2 to 3.1.3
dependabot[bot] Aug 26, 2024
9f8456c
Bump kotlin.version from 2.0.10 to 2.0.20
dependabot[bot] Aug 26, 2024
7a75d20
Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.3 to 3.8.0
dependabot[bot] Aug 26, 2024
e5168a9
Bump io.quarkus:quarkus-maven-plugin from 3.13.2 to 3.14.0
dependabot[bot] Aug 26, 2024
5e1262b
Bump github/codeql-action from 3.26.4 to 3.26.5
dependabot[bot] Aug 26, 2024
0e7aef6
Merge pull request #1141 from adoptium/dependabot/maven/org.apache.ma…
karianna Aug 26, 2024
60ca61b
Merge pull request #1142 from adoptium/dependabot/maven/kotlin.versio…
karianna Aug 26, 2024
2ed6aed
Merge pull request #1143 from adoptium/dependabot/maven/org.apache.ma…
karianna Aug 26, 2024
0bcc4b7
Merge pull request #1144 from adoptium/dependabot/maven/io.quarkus-qu…
karianna Aug 26, 2024
416faa4
Merge pull request #1145 from adoptium/dependabot/github_actions/gith…
karianna Aug 26, 2024
472f405
Bump org.apache.maven.plugins:maven-install-plugin from 3.1.2 to 3.1.3
dependabot[bot] Aug 27, 2024
a0e0479
Bump com.microsoft.azure:applicationinsights-runtime-attach
dependabot[bot] Aug 27, 2024
4bfea6f
Bump logback.version from 1.5.6 to 1.5.7
dependabot[bot] Aug 27, 2024
2167027
Merge pull request #1146 from adoptium/dependabot/maven/org.apache.ma…
karianna Aug 27, 2024
42855f8
Merge pull request #1147 from adoptium/dependabot/maven/com.microsoft…
karianna Aug 27, 2024
fc1c878
Merge pull request #1149 from adoptium/dependabot/maven/logback.versi…
karianna Aug 27, 2024
13c6d13
Bump maven.surefire-plugin.version from 3.4.0 to 3.5.0
dependabot[bot] Aug 28, 2024
8bd9dd5
Bump org.codehaus.groovy:groovy from 3.0.21 to 3.0.22
dependabot[bot] Aug 28, 2024
5212461
Bump io.smallrye:smallrye-open-api-jaxrs from 3.11.0 to 3.12.0
dependabot[bot] Aug 28, 2024
2d98279
Merge pull request #1152 from adoptium/dependabot/maven/io.smallrye-s…
karianna Aug 28, 2024
6927afa
Merge pull request #1151 from adoptium/dependabot/maven/org.codehaus.…
karianna Aug 28, 2024
8b15653
Merge pull request #1150 from adoptium/dependabot/maven/maven.surefir…
karianna Aug 28, 2024
380588d
Bump org.codehaus.groovy:groovy-xml from 3.0.21 to 3.0.22
dependabot[bot] Aug 29, 2024
1faa59e
Bump org.jooq:jooq from 3.19.10 to 3.19.11
dependabot[bot] Aug 29, 2024
56decce
Bump io.quarkus:quarkus-maven-plugin from 3.14.0 to 3.14.1
dependabot[bot] Aug 29, 2024
416260e
Merge pull request #1154 from adoptium/dependabot/maven/org.codehaus.…
karianna Aug 29, 2024
7f72414
Merge pull request #1156 from adoptium/dependabot/maven/io.quarkus-qu…
karianna Aug 29, 2024
a497050
Merge pull request #1155 from adoptium/dependabot/maven/org.jooq-jooq…
karianna Aug 29, 2024
1253ee9
Bump github/codeql-action from 3.26.5 to 3.26.6
dependabot[bot] Aug 30, 2024
b84524b
Bump org.apache.maven.plugins:maven-jxr-plugin from 3.4.0 to 3.5.0
dependabot[bot] Aug 30, 2024
599ac9f
Bump org.apache.maven.plugins:maven-release-plugin from 3.0.1 to 3.1.1
dependabot[bot] Aug 30, 2024
7f516d5
Bump org.openapitools:openapi-generator-maven-plugin from 7.7.0 to 7.8.0
dependabot[bot] Aug 30, 2024
22ff35d
Merge pull request #1159 from adoptium/dependabot/maven/org.apache.ma…
karianna Aug 30, 2024
a28e567
Merge pull request #1160 from adoptium/dependabot/maven/org.apache.ma…
karianna Aug 30, 2024
6c937a2
Merge pull request #1161 from adoptium/dependabot/maven/org.openapito…
karianna Aug 30, 2024
9e44a1b
Merge pull request #1157 from adoptium/dependabot/github_actions/gith…
karianna Aug 30, 2024
97f0e97
Bump org.apache.maven.plugins:maven-site-plugin
dependabot[bot] Sep 2, 2024
15e67f2
Bump org.apache.maven.plugins:maven-pmd-plugin from 3.24.0 to 3.25.0
dependabot[bot] Sep 2, 2024
17f6a66
Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.5.0 to 4.8.6.2
dependabot[bot] Sep 2, 2024
53f5391
Merge pull request #1162 from adoptium/dependabot/maven/org.apache.ma…
karianna Sep 2, 2024
bce2f90
Merge pull request #1163 from adoptium/dependabot/maven/org.apache.ma…
karianna Sep 2, 2024
1c8723b
Merge pull request #1164 from adoptium/dependabot/maven/com.github.sp…
karianna Sep 2, 2024
f3cbd6f
Bump org.awaitility:awaitility from 4.2.1 to 4.2.2
dependabot[bot] Sep 3, 2024
bb5bf7d
Bump org.codehaus.mojo:exec-maven-plugin from 3.2.0 to 3.4.1
dependabot[bot] Sep 3, 2024
42116fc
Bump org.jboss.weld.se:weld-se-core from 5.1.2.Final to 5.1.3.Final
dependabot[bot] Sep 3, 2024
dd93ed5
Merge pull request #1165 from adoptium/dependabot/maven/org.awaitilit…
karianna Sep 3, 2024
0e77695
Merge pull request #1167 from adoptium/dependabot/maven/org.jboss.wel…
karianna Sep 3, 2024
80b9f96
Merge pull request #1166 from adoptium/dependabot/maven/org.codehaus.…
karianna Sep 3, 2024
ca695aa
Bump org.eclipse.jetty:jetty-client from 12.0.11 to 12.0.12
dependabot[bot] Sep 4, 2024
8c4d22a
Bump org.codehaus.mojo:build-helper-maven-plugin from 3.5.0 to 3.6.0
dependabot[bot] Sep 4, 2024
305daa1
Bump de.flapdoodle.embed:de.flapdoodle.embed.mongo from 4.13.1 to 4.17.0
dependabot[bot] Sep 4, 2024
b18ea0c
Merge pull request #1169 from adoptium/dependabot/maven/org.codehaus.…
karianna Sep 4, 2024
6c7127c
Merge pull request #1168 from adoptium/dependabot/maven/org.eclipse.j…
karianna Sep 4, 2024
1508c1b
Merge pull request #1170 from adoptium/dependabot/maven/de.flapdoodle…
karianna Sep 4, 2024
28325a6
Bump org.apache.maven.plugins:maven-clean-plugin from 3.3.2 to 3.4.0
dependabot[bot] Sep 5, 2024
a66521e
Bump io.smallrye:smallrye-open-api-core from 3.11.0 to 3.12.0
dependabot[bot] Sep 5, 2024
956b78b
Merge pull request #1173 from adoptium/dependabot/maven/io.smallrye-s…
karianna Sep 5, 2024
27d45b9
Merge pull request #1171 from adoptium/dependabot/maven/org.apache.ma…
karianna Sep 5, 2024
c6a7cb2
Bump org.assertj:assertj-core from 3.25.3 to 3.26.3
dependabot[bot] Sep 6, 2024
b4b7c45
Bump org.pitest:pitest-maven from 1.16.1 to 1.16.3
dependabot[bot] Sep 6, 2024
c32ac86
Merge pull request #1176 from adoptium/dependabot/maven/org.pitest-pi…
karianna Sep 6, 2024
73e5773
Merge pull request #1175 from adoptium/dependabot/maven/org.assertj-a…
karianna Sep 6, 2024
668495e
Bump logback.version from 1.5.7 to 1.5.8
dependabot[bot] Sep 9, 2024
a40a1ee
Merge pull request #1177 from adoptium/dependabot/maven/logback.versi…
karianna Sep 9, 2024
7fcbb31
Bump org.apache.maven.shared:maven-filtering from 3.3.2 to 3.4.0
dependabot[bot] Sep 10, 2024
af14c6d
Bump actions/setup-java from 4.2.2 to 4.3.0
dependabot[bot] Sep 10, 2024
e9fe905
Bump azure/aks-set-context in /.github/actions/azure-login
dependabot[bot] Sep 10, 2024
0491efe
Merge pull request #1179 from adoptium/dependabot/maven/org.apache.ma…
karianna Sep 10, 2024
6ca1e6b
Merge pull request #1181 from adoptium/dependabot/github_actions/dot-…
karianna Sep 10, 2024
b8eb66b
Merge pull request #1180 from adoptium/dependabot/github_actions/acti…
karianna Sep 10, 2024
8eb0386
Bump org.apache.maven.plugins:maven-project-info-reports-plugin
dependabot[bot] Sep 11, 2024
7d24390
Merge pull request #1182 from adoptium/dependabot/maven/org.apache.ma…
karianna Sep 12, 2024
8691d46
Bump org.mongodb:mongodb-driver-kotlin-coroutine from 5.1.2 to 5.1.4
dependabot[bot] Sep 13, 2024
a3cba3d
Merge pull request #1184 from adoptium/dependabot/maven/org.mongodb-m…
karianna Sep 13, 2024
55bdeb2
Bump github/codeql-action from 3.26.6 to 3.26.7
dependabot[bot] Sep 16, 2024
b50cabd
Bump org.kohsuke:github-api from 1.324 to 1.325
dependabot[bot] Sep 16, 2024
edca5bc
Merge pull request #1185 from adoptium/dependabot/github_actions/gith…
karianna Sep 16, 2024
a40a8fd
Merge pull request #1186 from adoptium/dependabot/maven/org.kohsuke-g…
karianna Sep 16, 2024
038b993
Bump azure/login from 2.1.1 to 2.2.0 in /.github/actions/azure-login
dependabot[bot] Sep 19, 2024
8c8c3a0
Merge pull request #1189 from adoptium/dependabot/github_actions/dot-…
karianna Sep 19, 2024
8606b37
Bump github/codeql-action from 3.26.7 to 3.26.8
dependabot[bot] Sep 20, 2024
d8af053
Merge pull request #1190 from adoptium/dependabot/github_actions/gith…
karianna Sep 20, 2024
f36b2d9
Bump github/codeql-action from 3.26.8 to 3.26.9
dependabot[bot] Sep 25, 2024
6b4c9a5
Bump actions/setup-java from 4.3.0 to 4.4.0
dependabot[bot] Sep 25, 2024
f7ebc8c
Merge pull request #1192 from adoptium/dependabot/github_actions/acti…
karianna Sep 25, 2024
f20a2c3
Merge pull request #1191 from adoptium/dependabot/github_actions/gith…
karianna Sep 25, 2024
12e4fb5
Bump actions/checkout from 4.1.7 to 4.2.0
dependabot[bot] Sep 26, 2024
0896cc5
Merge pull request #1193 from adoptium/dependabot/github_actions/acti…
karianna Sep 26, 2024
251c36f
Bump docker/build-push-action in /.github/actions/docker-build
dependabot[bot] Sep 30, 2024
8f5946d
Merge pull request #1195 from adoptium/dependabot/github_actions/dot-…
karianna Sep 30, 2024
e47c152
Bump github/codeql-action from 3.26.9 to 3.26.10
dependabot[bot] Oct 1, 2024
f50ecc9
Merge pull request #1196 from adoptium/dependabot/github_actions/gith…
karianna Oct 1, 2024
954f0c2
Bump docker/build-push-action in /.github/actions/docker-build
dependabot[bot] Oct 1, 2024
1a9d0d7
Merge pull request #1197 from adoptium/dependabot/github_actions/dot-…
karianna Oct 1, 2024
3315702
Bump github/codeql-action from 3.26.10 to 3.26.11
dependabot[bot] Oct 4, 2024
391b090
Merge pull request #1200 from adoptium/dependabot/github_actions/gith…
karianna Oct 4, 2024
a0abbde
Bump github/codeql-action from 3.26.11 to 3.26.12
dependabot[bot] Oct 8, 2024
6398f77
Bump actions/checkout from 4.2.0 to 4.2.1
dependabot[bot] Oct 8, 2024
1db6bef
Merge pull request #1201 from adoptium/dependabot/github_actions/gith…
karianna Oct 8, 2024
42f20c5
Merge pull request #1202 from adoptium/dependabot/github_actions/acti…
karianna Oct 8, 2024
48f6512
fix case sensitive location header
gdams Oct 8, 2024
c02fc9b
Merge pull request #1203 from gdams/location
gdams Oct 8, 2024
b347fd9
switch redeploy job to new k8s cluster
gdams Oct 10, 2024
254c566
Merge pull request #1204 from gdams/new
johnoliver Oct 11, 2024
8e6e5ef
remove digitalocean references
gdams Oct 11, 2024
2ca50f1
add support for cache control
johnoliver Oct 11, 2024
cdf4948
Fix date serialization
johnoliver Oct 11, 2024
a945ad8
Expose Prometheus metrics for user pods in AKS
gdams Oct 12, 2024
28e15e4
Merge pull request #1205 from gdams/new
karianna Oct 14, 2024
ea591b2
Merge pull request #1206 from gdams/metrics
karianna Oct 14, 2024
d66e4b4
Bump github/codeql-action from 3.26.12 to 3.26.13
dependabot[bot] Oct 15, 2024
7cbdf77
Merge pull request #1207 from johnoliver/cache-validation
karianna Oct 15, 2024
f9df8dc
Merge pull request #1208 from adoptium/dependabot/github_actions/gith…
karianna Oct 15, 2024
16210ee
Login to ACR via OIDC
gdams Oct 15, 2024
1d54a95
Merge pull request #1209 from adoptium/gdams-patch-1
gdams Oct 15, 2024
478e2ad
Update action.yml
gdams Oct 15, 2024
5a61fcb
Merge pull request #1210 from adoptium/gdams-patch-2
gdams Oct 15, 2024
c21ccf6
cleanup removed secrets
gdams Oct 15, 2024
0c6c595
Merge pull request #1211 from gdams/cleanup
gdams Oct 15, 2024
8247fc6
Bump github/codeql-action from 3.26.13 to 3.27.0
dependabot[bot] Oct 23, 2024
5383c36
Merge pull request #1215 from adoptium/dependabot/github_actions/gith…
karianna Oct 23, 2024
01eb2b4
Bump actions/checkout from 4.2.1 to 4.2.2
dependabot[bot] Oct 24, 2024
d730b0e
Merge pull request #1216 from adoptium/dependabot/github_actions/acti…
gdams Oct 24, 2024
2b66928
Bump actions/setup-java from 4.4.0 to 4.5.0
dependabot[bot] Oct 25, 2024
8a95fbf
Merge pull request #1218 from adoptium/dependabot/github_actions/acti…
karianna Oct 25, 2024
a12c1a8
Bump versions
johnoliver Oct 25, 2024
f7ee106
Merge pull request #1219 from johnoliver/bump-20
gdams Oct 25, 2024
760211f
Bump com.expediagroup:graphql-kotlin-ktor-client from 8.2.0 to 8.2.1
dependabot[bot] Oct 28, 2024
edb9585
Bump io.quarkus:quarkus-maven-plugin from 3.16.0 to 3.16.1
dependabot[bot] Oct 30, 2024
d063fe6
bump graphql-kotlin-client-jackson
gdams Oct 30, 2024
d0bb7c7
Merge pull request #1223 from adoptium/dependabot/maven/io.quarkus-qu…
gdams Oct 30, 2024
f049e28
Merge pull request #1222 from adoptium/dependabot/maven/com.expediagr…
gdams Oct 30, 2024
22cad98
Reduce cache control max age
johnoliver Oct 30, 2024
1fc11e5
Merge pull request #1224 from johnoliver/reduce-cache
karianna Oct 30, 2024
bb81784
Bump kotlin.version from 2.0.20 to 2.0.21
dependabot[bot] Oct 31, 2024
53b64c4
Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.6.2 to 4.8.6.5
dependabot[bot] Oct 31, 2024
7745071
Bump jackson.version from 2.17.2 to 2.18.1
dependabot[bot] Oct 31, 2024
e89da62
Bump org.codehaus.mojo:jdepend-maven-plugin from 2.0 to 2.1
dependabot[bot] Oct 31, 2024
6c29ab4
Bump io.opentelemetry.javaagent.instrumentation:opentelemetry-javaage…
dependabot[bot] Oct 31, 2024
d91f1d6
Merge pull request #1226 from adoptium/dependabot/maven/com.github.sp…
karianna Nov 1, 2024
c11e2c5
Merge pull request #1225 from adoptium/dependabot/maven/kotlin.versio…
karianna Nov 2, 2024
e805e71
Merge pull request #1229 from adoptium/dependabot/maven/io.openteleme…
karianna Nov 2, 2024
59b852c
Merge pull request #1228 from adoptium/dependabot/maven/org.codehaus.…
karianna Nov 2, 2024
74e83e0
Merge pull request #1227 from adoptium/dependabot/maven/jackson.versi…
karianna Nov 2, 2024
7a6cd0d
Bump org.jetbrains.kotlinx:kotlinx-coroutines-bom from 1.8.1 to 1.9.0
dependabot[bot] Nov 4, 2024
b1afd1f
Bump com.microsoft.azure:applicationinsights-runtime-attach
dependabot[bot] Nov 4, 2024
f704117
Bump org.eclipse.jetty:jetty-client from 12.0.12 to 12.0.14
dependabot[bot] Nov 4, 2024
921714e
Bump io.mockk:mockk-jvm from 1.13.12 to 1.13.13
dependabot[bot] Nov 4, 2024
016dfa2
Bump org.jooq:jooq from 3.19.11 to 3.19.15
dependabot[bot] Nov 5, 2024
b347a21
Merge pull request #1232 from adoptium/dependabot/maven/com.microsoft…
karianna Nov 5, 2024
197b41c
Merge pull request #1231 from adoptium/dependabot/maven/org.jetbrains…
karianna Nov 5, 2024
70e7518
Merge pull request #1234 from adoptium/dependabot/maven/io.mockk-mock…
karianna Nov 5, 2024
78a66f5
Merge pull request #1233 from adoptium/dependabot/maven/org.eclipse.j…
karianna Nov 5, 2024
a4c7a54
Merge pull request #1235 from adoptium/dependabot/maven/org.jooq-jooq…
karianna Nov 5, 2024
54b8b22
Bump quarkus.version from 3.16.0 to 3.16.1
dependabot[bot] Nov 6, 2024
4e28bbe
Bump org.apache.maven.plugins:maven-dependency-plugin
dependabot[bot] Nov 6, 2024
a09c657
Bump org.junit.jupiter:junit-jupiter from 5.10.2 to 5.11.3
dependabot[bot] Nov 6, 2024
3df1769
Bump org.kohsuke:github-api from 1.325 to 1.326
dependabot[bot] Nov 6, 2024
a47e48e
Bump maven.surefire-plugin.version from 3.5.0 to 3.5.2
dependabot[bot] Nov 6, 2024
1252587
Merge pull request #1236 from adoptium/dependabot/maven/quarkus.versi…
karianna Nov 6, 2024
f88a8c9
Merge pull request #1237 from adoptium/dependabot/maven/org.apache.ma…
karianna Nov 6, 2024
5cb3b5b
Merge pull request #1238 from adoptium/dependabot/maven/org.junit.jup…
karianna Nov 6, 2024
f9ffe74
Merge pull request #1239 from adoptium/dependabot/maven/org.kohsuke-g…
karianna Nov 6, 2024
85b8090
Merge pull request #1240 from adoptium/dependabot/maven/maven.surefir…
karianna Nov 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 6 additions & 15 deletions .github/actions/azure-login/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,22 @@ inputs:
AZURE_SUBSCRIPTION_ID:
description: 'Azure Subscription ID'
required: true
AZURE_CLIENT_ID:
description: 'Azure Client ID'
required: true
AZURE_CLIENT_SECRET:
description: 'Azure Client Secret'
required: true
runs:
using: composite
steps:
- name: Login to our Azure subscription.
uses: azure/login@6b2456866fc08b011acb422a92a4aa20e2c4de32 # v2.1.0
uses: azure/login@a65d910e8af852a8061c627c456678983e180302 # v2.2.0
with:
client-id: ${{ inputs.AZURE_CLIENT_ID_OIDC }}
tenant-id: ${{ inputs.AZURE_TENANT_ID }}
subscription-id: ${{ inputs.AZURE_SUBSCRIPTION_ID }}

- name: Login to Azure Container Registry
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1.0
with:
registry: adoptopenjdkacr.azurecr.io
username: ${{ inputs.AZURE_CLIENT_ID }}
password: ${{ inputs.AZURE_CLIENT_SECRET }}
shell: bash
run: az acr login --name adoptopenjdkacr

- name: Set the target Azure Kubernetes Service (AKS) cluster.
uses: azure/aks-set-context@37037e33d3a2fc08abe40c887d81c3f6e1eb93b9 # v4.0.0
uses: azure/aks-set-context@1cf43fa609aaef0617c6a12deda238b920e926b0 # v4.0.1
with:
resource-group: adopt-api
cluster-name: aksff92
resource-group: adoptium-api
cluster-name: adoptium-api
17 changes: 0 additions & 17 deletions .github/actions/do-login/action.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/actions/docker-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:
using: composite
steps:
- name: Build container image and push to Azure
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
with:
file: ${{ inputs.DOCKER_FILE }}
tags: ${{ inputs.DOCKER_REPO }}:latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
adoptopenjdk) echo "ARGS=-Padoptopenjdk,-adoptium" >> $GITHUB_ENV ;;
esac

- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false

- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
java-version: '21'
distribution: 'temurin'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,29 +36,29 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3
uses: github/codeql-action/init@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
java-version: '21'
distribution: 'temurin'
cache: 'maven'

- if: matrix.build-mode == 'manual'
run: |
./mvnw --batch-mode clean -Dmaven.test.skip=true install -Padoptium,-adoptopenjdk
./mvnw --batch-mode clean install -Padoptium,-adoptopenjdk

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3
uses: github/codeql-action/analyze@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
with:
category: "/language:${{matrix.language}}"
4 changes: 1 addition & 3 deletions .github/workflows/deploy-adoptium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,14 @@ jobs:
if: startsWith(github.repository, 'adoptium/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Login to Azure
uses: ./.github/actions/azure-login
with:
AZURE_CLIENT_ID_OIDC: ${{ secrets.AZURE_CLIENT_ID_OIDC }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}

- name: Detect Branch
run: |
Expand Down
16 changes: 1 addition & 15 deletions .github/workflows/deploy-adoptopenjdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,14 @@ jobs:
if: startsWith(github.repository, 'adoptium/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Login to Azure
uses: ./.github/actions/azure-login
with:
AZURE_CLIENT_ID_OIDC: ${{ secrets.AZURE_CLIENT_ID_OIDC }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}

- name: Detect Branch
run: |
Expand All @@ -43,15 +41,3 @@ jobs:
uses: ./.github/actions/kubectl-redeploy
with:
NAMESPACE: ${{ env.NAMESPACE }}

# if the branch is production, redeploy the k8s service on digitalocean too
- name: Login to DigitalOcean
uses: ./.github/actions/do-login
with:
DIGITALOCEAN_ACCESS_TOKEN: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}

- name: Redeploy Kubernetes Updater and Frontend
if: startsWith(github.ref, 'refs/heads/production')
uses: ./.github/actions/kubectl-redeploy
with:
NAMESPACE: adoptopenjdk-do
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
contents: write # for Git to git push

steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
java-version: '21'
distribution: 'temurin'
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/semgrep_diff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# ********************************************************************************
# Copyright (c) 2024 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made
# available under the terms of the Apache Software License 2.0
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0
# ********************************************************************************

---
name: Semgrep Differential Scan
on:
pull_request:

permissions:
contents: read
statuses: write

jobs:
semgrep-diff:
uses: adoptium/.github/.github/workflows/semgrep_diff.yml@main
4 changes: 2 additions & 2 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.2/maven-wrapper-3.3.2.jar
19 changes: 17 additions & 2 deletions adoptium-api-v3-persistence/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@

<dependencies>
<dependency>
<groupId>org.litote.kmongo</groupId>
<artifactId>kmongo-coroutine</artifactId>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver-kotlin-coroutine</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jakarta-jsonp</artifactId>
</dependency>
<dependency>
<groupId>net.adoptium.api</groupId>
Expand All @@ -41,6 +45,17 @@
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-api</artifactId>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-test</artifactId>
<version>${kotlin.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package net.adoptium.api.v3
import jakarta.enterprise.context.ApplicationScoped
import jakarta.inject.Inject
import net.adoptium.api.v3.config.APIConfig
import net.adoptium.api.v3.dataSources.VersionSupplier
import net.adoptium.api.v3.dataSources.persitence.ApiPersistence
import net.adoptium.api.v3.models.DbStatsEntry
import net.adoptium.api.v3.models.DockerDownloadStatsDbEntry
Expand All @@ -13,7 +14,6 @@ import net.adoptium.api.v3.models.JvmImpl
import net.adoptium.api.v3.models.MonthlyDownloadDiff
import net.adoptium.api.v3.models.StatsSource
import net.adoptium.api.v3.models.TotalStats
import net.adoptium.api.v3.models.Versions
import org.eclipse.microprofile.openapi.annotations.media.Schema
import java.time.ZonedDateTime
import java.time.temporal.ChronoUnit
Expand All @@ -29,12 +29,16 @@ class StatEntry(
@ApplicationScoped
class DownloadStatsInterface {

@Schema(hidden = true)
private var versionSupplier: VersionSupplier

@Schema(hidden = true)
private val dataStore: ApiPersistence

@Inject
constructor(dataStore: ApiPersistence) {
constructor(dataStore: ApiPersistence, versionSupplier: VersionSupplier) {
this.dataStore = dataStore
this.versionSupplier = versionSupplier
}

suspend fun getTrackingStats(
Expand Down Expand Up @@ -115,8 +119,8 @@ class DownloadStatsInterface {
return stats.groupBy { it.dateTime.toLocalDate() }
.map { grouped ->
StatEntry(
grouped.value.map { it.dateTime }.maxOrNull()!!,
grouped.value.map { it.count }.sum()
grouped.value.maxOf { it.dateTime },
grouped.value.sumOf { it.count }
)
}
.sortedBy { it.dateTime }
Expand Down Expand Up @@ -157,7 +161,7 @@ class DownloadStatsInterface {
private fun calculateMonthlyDiff(
stats: Collection<StatEntry>
): List<MonthlyDownloadDiff> {
val toTwoChar = { value: Int -> if (value < 10) "0" + value else value.toString() } // Returns in MM format
val toTwoChar = { value: Int -> if (value < 10) "0$value" else value.toString() } // Returns in MM format

return stats
.windowed(2, 1, false) {
Expand Down Expand Up @@ -240,38 +244,28 @@ class DownloadStatsInterface {
return stats
.groupBy { it.getId() }
.map { grouped -> grouped.value.maxByOrNull { it.date } }
.map { it!!.getMetric() }
.sum()
.sumOf { it!!.getMetric() }
}

private fun formTotalDownloads(stats: List<GitHubDownloadStatsDbEntry>, jvmImpl: JvmImpl): Long {
return stats
.groupBy { it.getId() }
.map { grouped -> grouped.value.maxByOrNull { it.date } }
.map { (it!!.jvmImplDownloads?.get(jvmImpl) ?: 0) }
.sum()
.sumOf { (it!!.jvmImplDownloads?.get(jvmImpl) ?: 0) }
}

suspend fun getTotalDownloadStats(): DownloadStats {
val dockerStats = getAllDockerStats()

val githubStats = getGithubStats()

val dockerPulls = dockerStats
.map { it.pulls }
.sum()
val dockerPulls = dockerStats.sumOf { it.pulls }

val githubDownloads = githubStats
.map { it.downloads }
.sum()
val githubDownloads = githubStats.sumOf { it.downloads }

val dockerBreakdown = dockerStats
.map { Pair(it.repo, it.pulls) }
.toMap()
val dockerBreakdown = dockerStats.associate { Pair(it.repo, it.pulls) }

val githubBreakdown = githubStats
.map { Pair(it.feature_version, it.downloads) }
.toMap()
val githubBreakdown = githubStats.associate { Pair(it.feature_version, it.downloads) }

val totalStats = TotalStats(dockerPulls, githubDownloads, dockerPulls + githubDownloads)
return DownloadStats(TimeSource.now(), totalStats, githubBreakdown, dockerBreakdown)
Expand All @@ -284,7 +278,7 @@ class DownloadStatsInterface {
}

private suspend fun getGithubStats(): List<GitHubDownloadStatsDbEntry> {
return Versions.versions
return versionSupplier.getAllVersions()
.mapNotNull { featureVersion ->
dataStore.getLatestGithubStatsForFeatureVersion(featureVersion)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ package net.adoptium.api.v3
import com.fasterxml.jackson.annotation.JsonInclude
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
import com.fasterxml.jackson.module.kotlin.KotlinModule

object JsonMapper {
val mapper: ObjectMapper = ObjectMapper()
val mapper: ObjectMapper = com.fasterxml.jackson.module.kotlin.jacksonObjectMapper()
.setSerializationInclusion(JsonInclude.Include.NON_NULL)
.registerModule(KotlinModule.Builder().build())
.registerModule(JavaTimeModule())
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package net.adoptium.api.v3.dataSources

import net.adoptium.api.v3.dataSources.models.AdoptRepos
import net.adoptium.api.v3.dataSources.persitence.mongo.UpdatedInfo
import net.adoptium.api.v3.models.ReleaseInfo

interface APIDataStore {
Expand All @@ -9,4 +10,5 @@ interface APIDataStore {
fun setAdoptRepos(binaryRepos: AdoptRepos)
fun getReleaseInfo(): ReleaseInfo
fun loadDataFromDb(forceUpdate: Boolean): AdoptRepos
fun getUpdateInfo(): UpdatedInfo
}
Loading
Loading