foojayio / foojayio/discoapi

RedHat 11 JDK redirects to a JRE

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

Description

If you [query the API for the latest Red Hat JDK11 for Linux](https://api.foojay.io/disco/v3.0/packages?distro=redhat&jdk_version=11&package_type=jdk&operating_system=linux&architecture=x64&latest=available), you get this link:
```
https://api.foojay.io/disco/v3.0/ids/0836347ef08afff39c8de1a92eee8de7/redirect
```

Which resolves to:
```
https://developers.redhat.com/content-gateway/file/pub/openjdk/adoptium/January_2024/java-11-openjdk-11.0.22.0.7-1.portable.jdk.el.x86_64.tar.xz
```

However, when you actually download the file, it's actually:
```
java-11-openjdk-11.0.22.0.7-1.portable.jre.x86_64.tar.xz
```

This seems to be an upstream issue with RedHat, but I can't find anywhere specific the `https://developers.redhat.com/content-gateway/file/pub/openjdk/adoptium` link is publicized to report it specifically - I've reported it via the generic [Report a website issue](https://developers.redhat.com/report_a_website_issue) (ticket 592453) but not convinced that will get to the right place.

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.