Skip to content

[6.19.z] [PR] Allow to query config reports#1411

Merged
adamlazik1 merged 1 commit into6.19.zfrom
cherry-pick-6.19.z-abf8d8607129668b2509577e571b6c47b030e93d
Mar 18, 2026
Merged

[6.19.z] [PR] Allow to query config reports#1411
adamlazik1 merged 1 commit into6.19.zfrom
cherry-pick-6.19.z-abf8d8607129668b2509577e571b6c47b030e93d

Conversation

@Satellite-QE
Copy link
Contributor

Cherrypick of PR: #1407

Description of changes

Enable querying the API endpoint for config reports.

- New class for reading API endpoint config_reports
- Entities are deletable, readable and searchable

Note: The JSON response contains host_name unlike host in the response
of the legacy reports API.

Co-authored-by: Jan Bundesmann <bundesmann@atix.de>
(cherry picked from commit abf8d86)
@Satellite-QE Satellite-QE added 6.19.z Auto_Cherry_Picked GHA has automatically cherrypicked this PR No-CherryPick PR doesnt need CherryPick to previous branches labels Mar 18, 2026
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've left some high level feedback:

  • The docstring for ConfigReport still references a generic Report entity; consider updating it to accurately describe the config report representation and its purpose.
  • Review whether ConfigReport should expose common identifying fields (e.g., an id field) consistent with other entity classes in this module, to make searching and handling results more uniform.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The docstring for `ConfigReport` still references a generic `Report` entity; consider updating it to accurately describe the config report representation and its purpose.
- Review whether `ConfigReport` should expose common identifying fields (e.g., an `id` field) consistent with other entity classes in this module, to make searching and handling results more uniform.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@adamlazik1 adamlazik1 merged commit 12f9258 into 6.19.z Mar 18, 2026
21 checks passed
@adamlazik1 adamlazik1 deleted the cherry-pick-6.19.z-abf8d8607129668b2509577e571b6c47b030e93d branch March 18, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.19.z Auto_Cherry_Picked GHA has automatically cherrypicked this PR No-CherryPick PR doesnt need CherryPick to previous branches

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants