AE-2196: Reporting for SLB Real Service
Review Request #1126 — Created Oct. 29, 2025 and submitted
| Information | |
|---|---|
| apoorva.sn | |
| AMP | |
| AE-2196 | |
| Reviewers | |
| mmiriam, ngurunathan, pmurugaiyan, pradeep, shuinvy | |
Problem
Create report for SLB Real Service similar to LLB
Solution
Implemented the logic to create PDF report for SLB Real Service similar to LLB
Made changes to fetch the reporting logsAdded changes to get the report info w.r.t report_id
Tested locally and attached the PDF in the review
Get Report for id
[root@AN admin]# curl 'http://127.0.0.1:8000/report/7' \
-X GET \
-H 'Accept: application/json' \
-H 'X-CSRFToken:P031bW0yHqW0hmHJwECWRQGOwTDyZf5c' \
-b 'csrftoken=P031bW0yHqW0hmHJwECWRQGOwTDyZf5c; hive_key=1; django_language=en; csrf_token=P031bW0yHqW0hmHJwECWRQGOwTDyZf5c; current_user=array; hive_sess=1e1b1274-5375-4c99-a38b-ca5c1548fc59' \
--insecure
{"report data": [{"name": "SLB_rs_report", "subject_type": "service_status", "subject_name": "RS1(SLB_rs)", "device_ip": "192.168.162.166", "from_time": "now-20d", "to_time": "now", "send_to": null}]}
