Skip to content
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

DF-3081 - Created Dashboard to show Form count statistics #379

Merged
merged 2 commits into from
Oct 1, 2024

Conversation

ratheesh-aot
Copy link
Contributor

Issue#: https://jag.gov.bc.ca/jirarsi/browse/DF-3081

1.Created an endpoint in prohibition to get form statistics /forms/statistics

Sample response

[ { "available_forms": 981, "form_type": "12Hour", "leased_forms": 14, "total_forms": 996, "total_used_forms": 1 }, { "available_forms": 982, "form_type": "24Hour", "leased_forms": 13, "total_forms": 996, "total_used_forms": 1 }, { "available_forms": 1000, "form_type": "IRP", "leased_forms": 0, "total_forms": 1000, "total_used_forms": 0 }, { "available_forms": 982, "form_type": "VI", "leased_forms": 13, "total_forms": 996, "total_used_forms": 1 } ]

2.Created a dashboard in frontend to show the visualization based on the data from the endpoint
image

3.Updated the header menu to accomodate links to Form inventory dashboard
image

Monitoring

a. Updated ride-monitoring-service to include this form statistics also and able to send data to Prometheus.
LINK TO PR
Once this PR is merged and went to prod it we can merge that one too.

b. Tested Prometheus and Grafana in local. We need to update Grafana rules in prod once this version is released to prod.
image
image

Copy link

rsbc-roadside-forms-backend-api:latest (redhat 8.10) - Trivy Report - 2024-09-25 19:31:57.980132256 +0000 UTC m=+0.363786737

redhat
No Vulnerabilities found
No Misconfigurations found
python-pkg
No Vulnerabilities found
No Misconfigurations found

Copy link

rsbc-roadside-forms-frontend:latest (redhat 8.7) - Trivy Report - 2024-09-25 19:33:17.256843179 +0000 UTC m=+0.215561028

redhat
No Vulnerabilities found
No Misconfigurations found

@ratheesh-aot ratheesh-aot changed the title DF-3081 - Created Dashboard to show From count statistics DF-3081 - Created Dashboard to show Form count statistics Sep 26, 2024
Copy link

rsbc-roadside-forms-backend-api:latest (redhat 8.10) - Trivy Report - 2024-09-26 20:32:08.605848788 +0000 UTC m=+0.360716441

redhat
No Vulnerabilities found
No Misconfigurations found
python-pkg
No Vulnerabilities found
No Misconfigurations found

Copy link

rsbc-roadside-forms-frontend:latest (redhat 8.7) - Trivy Report - 2024-09-26 20:33:25.764184532 +0000 UTC m=+0.209099104

redhat
No Vulnerabilities found
No Misconfigurations found

Copy link

github-actions bot commented Oct 1, 2024

rsbc-roadside-forms-backend-api:latest (redhat 8.10) - Trivy Report - 2024-10-01 18:23:47.020674699 +0000 UTC m=+0.345582571

redhat
No Vulnerabilities found
No Misconfigurations found
python-pkg
No Vulnerabilities found
No Misconfigurations found

Copy link

sonarqubecloud bot commented Oct 1, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
4.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

Copy link

github-actions bot commented Oct 1, 2024

rsbc-roadside-forms-frontend:latest (redhat 8.7) - Trivy Report - 2024-10-01 18:25:21.179232974 +0000 UTC m=+0.221979347

redhat
No Vulnerabilities found
No Misconfigurations found

@adimar-aot adimar-aot merged commit 35ae56e into release/2024.10.1 Oct 1, 2024
8 of 9 checks passed
@adimar-aot adimar-aot deleted the feature/AlertFormCount branch October 1, 2024 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants