| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Since Semeru Runtimes are produced by IBM, I'll comment as the chief architect (not as OpenJ9 project lead) :) . First of all, thanks for putting this all together!
The API for Semeru Runtimes is actually up we just don't have the documentation up yet (hopefully coming soon). It leverages the Adoptium v3 API, of course, so it should be familiar...
Some specific examples:
ibm-semeru-open-jdk_x64_linux_11.0.13_8_openj9-0.29.0.tar.gz:
. curl -OLJk https://ibm.com/semeru-runtimes/api/v3/binary/version/jdk-11.0.13+8_openj9-0.29.0/linux/x64/jdk/openj9/normal/ibm
latest:
. curl -OLJk https://ibm.com/semeru-runtimes/api/v3/binary/latest/11/ga/linux/x64/jdk/openj9/normal/ibm
Schema should be familiar:
. latest: https://ibm.com/semeru-runtimes/api/v3/binary/latest/{feature_version}/{release_type}/{os}/{arch}/{image_type}/{jvm_impl}/{heap_size}/{vendor}
. specific release: https://ibm.com/semeru-runtimes/api/v3/binary/version/{release_name}/{os}/{arch}/{image_type}/{jvm_impl}/{heap_size}/{vendor}
The Certified Edition binaries are also available but aren't available on all platforms so you'll probably want to stick with the Open Edition binaries.
Sorry, something went wrong.
|
Thanks for answering @mstoodle
I summoned the big boss himself ;)
Does it support the /assets/version/{version} endpoint? GET https://api.adoptopenjdk.net/v3/assets/version/%5B1.0,100.0%5D?project=jdk&vendor=ibm&heap_size=normal&sort_method=DEFAULT&sort_order=DESC&os=windows&architecture=x64&image_type=jdk&release_type=ga&jvm_impl=openj9&page_size=20&page=0 does return correct results In the current action code we cannot directly use the jdk-11.0.13+8_openj9-0.29.0 version form. We need to use 11.0.13+8. If you do not want to implement the maven version range string ({version}) it is also OK to just create an endpoint with a list of all the available versions and their links et cetra. This will deviate of the AdoptOpenJDK and Adoptium APIs though
Regarding the above, do you have Swagger docs?
I agree, z/OS is also explicitly disabled in the tests and licensing would probably complicate things |
Sorry, something went wrong.
|
I'll defer to @AdamBrousseau to comment on the endpoint you're asking about. On the Swagger docs: it's in the works, but I jumped the gun a bit telling you about the API :) . |
Sorry, something went wrong.
We have forked Adopt's api so it should work the same. That being said our fork is a bit out of date as I had disabled our auto-mirror while we get it up and running. I started to look through the diff to see if there is something we are missing that would explain the 400. Haven't found anything obvious yet. I will follow up and report back. |
Sorry, something went wrong.
Do you have any updates for us @AdamBrousseau 🙂? |
Sorry, something went wrong.
|
Any news? I'm eagerly waiting for this! 🙂 |
Sorry, something went wrong.
|
Hey @jord1e @guizmaii , |
Sorry, something went wrong.
|
@AdamBrousseau any updates :)? |
Sorry, something went wrong.
|
@mstoodle @AdamBrousseau @jord1e @dmitry-shibanov |
Sorry, something went wrong.
https://www.ibm.com/support/pages/semeru-runtimes-getting-started/ Under "Downloading packages" it still lists the AdoptOpenJDK API. Could you send the link to the "market place", I will update the PR on Sunday if I have it before then :). |
Sorry, something went wrong.
|
Now that the Marketplace is up, I'm hoping i can spend some cycles on the Semeru API so we can get it "published" and get this resolved. In the meantime, is there anything preventing you from using the existing AdiotOpenJDK API? It still supports Semeru Open Edition. Does it give the same 400 error as the Semeru API? Also keep in mind the Adoptium Marketplace only promotes Semeru Certified Edition. |
Sorry, something went wrong.
|
We'd really like to see this go in as well at New Relic. We just recently did some work to support these runtimes with our Java Agent and need Semeru available for our test suites. |
Sorry, something went wrong.
|
Ill try to do it today (have been saying this for a long time, will make a calendar entry). |
Sorry, something went wrong.
# Conflicts: # .github/workflows/e2e-versions.yml # README.md # dist/cleanup/index.js # dist/setup/index.js # src/distributions/distribution-factory.ts
|
@dmitry-shibanov cant get the dist to work but all checks are passing on jord1e-forks#1 Can we get one more review (or merge) :)? |
Sorry, something went wrong.
|
@brcrista is there still a license concern that needs to be addressed here? |
Sorry, something went wrong.
Hi, @mstoodle. The problem you mentioned about the lack of dist/cleanup/index.js. I executed the 'ncc build', but my PR will not modify the dist/cleanup/index.js. |
Sorry, something went wrong.
|
Hi @Accelerator1996 thanks for commenting. With my earlier comment here, I was just trying to see if we could learn from your PR to help resolve the failing "check dist" test in this PR. Everything I said was pure guesswork. I wasn't suggesting your PR had any problem, so I'm sorry if I gave you that impression! |
Sorry, something went wrong.
I have actually been repeatedly comparing the difference between me and other PRs, and learn from them. Thank you very much for your reminder. |
Sorry, something went wrong.
# Conflicts: # .github/workflows/e2e-versions.yml # README.md # dist/setup/index.js # src/distributions/distribution-factory.ts
|
@dmitry-shibanov @brcrista checks are passing on my branch thanks to @thc202 suggesting of using the Actions artefacts. Could you please activate the workflow and merge this? |
Sorry, something went wrong.
|
Hi @IvanZosimov 🙂 CC @mstoodle |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM!
Sorry, something went wrong.
|
Hi @mstoodle and @AdamBrousseau, looks like this PR is good to merge and license-wise is A-okay. Just want to get a confirmation from either of you as IBM employees (or anyone else you think more appropriate) that you support merging in this PR and Github including the Semeru distribution in setup-java. Please add a comment if you do. |
Sorry, something went wrong.
|
@samvantran I support merging this PR absolutely, 100%, with no reservations. |
Sorry, something went wrong.
|
🚀 13 months, ready for takeoff! |
Sorry, something went wrong.
|
The installers are still downloaded from the deprecated AdoptOpenJDK. It would be good to switch to the official source. https://github.com/actions/setup-java/pull/289/files#r979462471 |
Sorry, something went wrong.
Yes, but can we PLEASE just merge this and fix this issue in a new PR??? |
Sorry, something went wrong.
|
Thanks everyone for making this happen!! Woohoo!!! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description:
This adds the semeru distribution for the IBM Semeru Runtime shipping with the Eclipse OpenJ9 VM.
As can be read in the Semeru Runtimes getting started guide, IBM does not yet have a public API:
This PR adds the semeru distribution and does exactly as stated above. It gives action/library consumers an option to future-proof their applications (by replacing adopt-openj9). When IBM releases their official API we can use that. As stated in the getting started guide, they will be using the Eclipse Adoptium OpenAPI definition, which is compatible with current changes. Thus we only need to change the URL in the future.
Implementation snoops code from the Adoptium distribution implementation.
Cc-ing/Tagging @mstoodle as you are the lead for Eclipse OpenJ9, and can maybe give a timeline on the Semeru API. Sorry if you are not the correct person.
Related issue:
Fixes #279 #239 (already closed)
Check list: