-
Task
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
Goal:
- Include start_date and end_Date for module streams as part of rpm search for repositories and snapshots
- Pull these dates from the lifecycle api
Acceptance Criteria:
- Auth to the lifecycle api will just forward the identity header of the current user
- Lifecycle Api information is cached with an expiration of once a day
- Rpm search still performs well
- We may want to also support basic auth to support running locally in dev
- Should be optional so we can have it enabled in stage but not prod
Lifecycle api example:
curl https://console.stage.redhat.com/api/roadmap/v1/lifecycle/app-streams/9 -u $USER:$PASSWORD --proxy $PROXY | jq
example module stream:
{
"module_name": "maven",
"rhel_major_version": 9,
"streams": [
{
"arch": "x86_64",
"context": "470dcefd",
"description": "Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.",
"end_date": "2025-11-30",
"name": "maven",
"profiles": {
"common": [
"maven-openjdk11"
]
},
"rolling": false,
"start_date": "2022-05-18",
"stream": "3.8",
"version": "9040020240210002822"
}
],
"type": "module"
}
- blocks
-
HMS-5913 Import package dates from RHEL lifecycle and detect non-modular appstream packages
-
- Closed
-
- mentioned on