foojayio / foojayio/discoapi

Inconsistent result when adding or not the `jdk_version` parameter

Open
#116 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
154
Forks
17
PR merge metrics
No merged PRs in 30d

Description

For the `graalvm` distribution, when doing a package query, the results are inconsistent if the `jdk_version` parameter is added:

* Requesting packages without a `jdk_version`:
* https://api.foojay.io/disco/v3.0/packages?distro=graalvm&operating_system=linux&directly_downloadable=true&latest=available
* The above returns results, with some entries having `jdk_version` valued at `21`.
* But when adding `jdk_version` to the request, no packages are returned
* https://api.foojay.io/disco/v3.0/packages?jdk_version=21&distro=graalvm&operating_system=linux&directly_downloadable=true&latest=available

Am I missing something?

Investigaton done in the context of:
* gradle/foojay-toolchains#95

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.