`/disco/v3.0/packages/jdks` endpoint with a specific `jdk_version` and `distribution=mandrel` returns packages that do not match the requested version
- Dominant language
- Java
- Stars
- 154
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
When querying the `/disco/v3.0/packages/jdks` endpoint with a specific `jdk_version`, the response
includes packages that do not match the requested version.
```sh
curl -s -X 'GET' \
'https://api.foojay.io/disco/v3.0/packages/jdks?jdk_version=21&distribution=mandrel&architecture=x64&&operating_system=linux&latest=per_distro' \
-H 'accept: application/json' | jq '.result'
```
**Expected Behavior**
All returned packages should have `java21` in the filename.
**Actual Behavior**
DISCO API returns old Mandrel packages versioned `21.x` (Mandrel version) that are JDK-11 and JDK-17 based.
**Additional info**
According to https://github.com/graalvm/setup-graalvm/issues/211 this used to work as expected 3-4 days ago.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.