Skip to content

Commit

Permalink
feat(manager): add a placeholder for lifecycle_phase
Browse files Browse the repository at this point in the history
RHINENG-15340
  • Loading branch information
jdobes committed Jan 31, 2025
1 parent 042cf86 commit 0b908aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions manager.spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2678,6 +2678,10 @@ components:
type: integer
description: Operating system minor version.
example: 5
lifecycle_phase:
type: string
description: Lifecycle phase of the given version.
example: EUS
cves_critical:
type: integer
description: Number of CVEs with Critical severity.
Expand Down Expand Up @@ -2714,6 +2718,7 @@ components:
- name
- major
- minor
- lifecycle_phase
- cves_critical
- cves_important
- cves_moderate
Expand Down
1 change: 1 addition & 0 deletions manager/report_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ class GetOSExposure(GetRequest):
@staticmethod
def _post_process(row):
del row["id"]
row["lifecycle_phase"] = "Minor release" # FIXME: Placeholder, delete later
return row

@classmethod
Expand Down

0 comments on commit 0b908aa

Please sign in to comment.