AA-2629 : GUI - Administrator should be able to schedule and download the LLB statistics Reports
Review Request #729 — Created March 19, 2025 and submitted
| Information | |
|---|---|
| pmurugaiyan | |
| AMP | |
| amp_3_7 | |
| AA-2629 | |
| Reviewers | |
| apoorva.sn, prajesh, shuinvy | |
Problem Statement:
We have added the backend implementation to create the LLB reports but the implementation not gets along with the current report regeneration flow and unable to integrate with the GUI.Solution/Approach:
Use the existing flow for listing the reports and report logs so that the users will not notify any differences at the GUI. To achieve this I have made changes to change the Flow at the task execution level, meaning the task creating, listing tasks, listing reports and downing follows the existing approach whereas the report generation will use our newly added report generation scripts, this way the user will notify the flow differences easily.
The changes are tested locally.
| Description | From | Last Updated |
|---|---|---|
|
is there not a repo layer? |
|
|
|
can we separate db logic in a separate module? |
|
|
|
The part where the report entry is created in report table is part of the existing flow ? |
|
|
|
can we make it status=200 if query_output["code"] == 0 else query_output["code"] |
|
|
|
May be in the future we should maintain single connection to the db. |
|
|
|
this might not throw error in correct format. have you checked whether it is displaying the error correctly in response … |
|
|
|
So if we put the report under this path the existing logic will pick up the report and display it … |
|
-
-
branches/amp_3_7/src/webui/webui/htdocs/new/src/hive/composer.py (Diff revision 2) The part where the report entry is created in report table is part of the existing flow ?
-
this might not throw error in correct format. have you checked whether it is displaying the error correctly in response ?
-
So if we put the report under this path the existing logic will pick up the report and display it in the UI ?
Diff: |
Revision 3 (+198 -71)
|
|---|
Diff: |
Revision 4 (+198 -71)
|
|---|
-
-
branches/amp_3_7/src/webui/webui/htdocs/new/src/hive/composer.py (Diff revisions 2 - 4) can we make it
status=200 if query_output["code"] == 0 else query_output["code"]
