Display the list of the quarkus versions available to scaffold a project
cmoulliard opened this issue · 1 comments
cmoulliard commented
TODO
- Display the list of the quarkus versions available to scaffold a project as a new backstage UI field
- Create a REST request to get the list from
code.quarkus.io
Example
http --follow code.quarkus.io/api/platforms | jq -r '.platforms[].streams[].id'
3.8
3.2
WDYT ? @iocanel
cmoulliard commented
Remark: Instead of using /api/platforms
, we should use /api/streams
to get the versions. As a stream returns, 3 different versions, we should check which one we should use to display the label in the popup list from the one to send to code.quarkus.io
Example:
{
"javaCompatibility": {
"recommended": 17,
"versions": [
17,
21
]
},
"key": "io.quarkus.platform:3.8", <== Version to be used for label or POST ?
"lts": false,
"platformVersion": "3.8.2", <== Version to be used for label or POST ?
"quarkusCoreVersion": "3.8.2", <== Version to be used for label or POST ?
"recommended": true,
"status": "FINAL"
}