Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(datasource/adoptium): support jre only releases (#11652)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
- Loading branch information
1 parent
922a36c
commit 218fc5b
Showing
6 changed files
with
85 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"versions": [ | ||
{ | ||
"build": 7, | ||
"major": 11, | ||
"minor": 0, | ||
"openjdk_version": "11.0.12+7", | ||
"security": 12, | ||
"semver": "11.0.12+7" | ||
}, | ||
{ | ||
"build": 8, | ||
"major": 8, | ||
"minor": 0, | ||
"openjdk_version": "1.8.0_302-b08", | ||
"security": 302, | ||
"semver": "8.0.302+8" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
This datasource returns releases from [Adoptium](https://adoptium.net/) API. | ||
|
||
It uses `project=jdk&release_type=ga&sort_method=DATE&sort_order=DESC&vendor=adoptium` as filter parameters. | ||
It uses `image_type=<jre|jdk>&project=jdk&release_type=ga&sort_method=DATE&sort_order=DESC&vendor=adoptium` as filter parameters. | ||
|
||
It only uses the first 50 pages with 50 items per page. | ||
|
||
Use `java-jdk` or `java` as `lookupName` to get releases which come with the Java Development Kit. | ||
|
||
Use `java-jre` as `lookupName` if you only want releases which come with the Java Runtime Environment. | ||
Currently only the LTS releases of Java come with the JRE. |