-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/reuse report ooi entities #4047
Conversation
WIP fix integration tests for octopoes
…nto fix/reuse-report-ooi-entities
Update references to report_types where we actually now new asset_report_types Style
…/reuse-report-ooi-entities
…/reuse-report-ooi-entities
…nvws/nl-kat-coordination into fix/reuse-report-ooi-entities
…nto fix/reuse-report-ooi-entities
if not references: | ||
return [] | ||
|
||
query = Query().where_in(OOI, id=references).pull(OOI, fields="[* {:_reference [*]}]") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather see the extra referenced objects loaded optionally. If you look at the queries and datasets that we encode/decode and transport over the various api's it becomes clear we need to be much more precise in our resultsets as in many cases we don't use most of what we return.
…on into fix/reuse-report-ooi-entities
…kat-coordination into fix/reuse-report-ooi-entities
…nto fix/reuse-report-ooi-entities # Conflicts: # rocky/reports/templates/report_overview/report_history_table.html
…/reuse-report-ooi-entities
Style
…t use multiple values
Quality Gate failedFailed conditions |
Changes
This PR changes the data structure around reporting. The main changes have been described in #3729, but this also includes:
Note that the tests are still a work in progress in Rocky!
Issue link
Closes #3729
Demo
QA notes
The main changes are around reporting, so please verify that:
Code Checklist
Checklist for code reviewers:
Copy-paste the checklist from the docs/source/templates folder into your comment.
Checklist for QA:
Copy-paste the checklist from the docs/source/templates folder into your comment.