raft-tech / TANF-app

Repo for development of a new TANF Data Reporting System
Other
17 stars 4 forks source link

Alertmanager Cloud.gov #3284

Open elipe17 opened 1 week ago

elipe17 commented 1 week ago

Summary of Changes

How to Test

  1. Deploy this PR to a dev environment. Note for testing purposes alertmanager is deployed in a dev environment.
  2. Log in with the CF CLI and run cf add-network-policy alertmanager tdp-frontend-<ENV> --protocol tcp --port 80 and cf add-network-policy tdp-frontend-<ENV> alertmanager --protocol tcp --port 8080 where <ENV> should be replaced with raft, or qasp, etc...
  3. Log into the frontend as an OFA System Admin or Developer
  4. Verify the Alerts tab is visible and proxies the alertmanager UI when clicked
  5. See screenshots below for alerts that fired from the raft environment and the associated emails that were received

Screenshot 2024-11-18 at 9 28 22 AM Screenshot 2024-11-18 at 10 01 48 AM

Screenshot 2024-11-19 at 2 05 14 PM Screenshot 2024-11-19 at 2 05 19 PM

Deliverables

More details on how deliverables herein are assessed included here.

Deliverable 1: Accepted Features

Checklist of ACs:

Deliverable 2: Tested Code

Deliverable 3: Properly Styled Code

Deliverable 4: Accessible

Deliverable 5: Deployed

Deliverable 6: Documented

Deliverable 7: Secure

Deliverable 8: User Research

Research product(s) clearly articulate(s):

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 91.50%. Comparing base (8d01df3) to head (f30fdc2). Report is 2 commits behind head on develop.

Files with missing lines Patch % Lines
...ackend/tdpservice/users/api/authorization_check.py 0.00% 2 Missing :warning:
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/raft-tech/TANF-app/pull/3284/graphs/tree.svg?width=650&height=150&src=pr&token=BA04YXPAL9&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=raft-tech)](https://app.codecov.io/gh/raft-tech/TANF-app/pull/3284?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=raft-tech) ```diff @@ Coverage Diff @@ ## develop #3284 +/- ## =========================================== + Coverage 91.48% 91.50% +0.02% =========================================== Files 297 297 Lines 8433 8431 -2 Branches 611 611 =========================================== Hits 7715 7715 + Misses 605 603 -2 Partials 113 113 ``` | [Flag](https://app.codecov.io/gh/raft-tech/TANF-app/pull/3284/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=raft-tech) | Coverage Δ | | |---|---|---| | [dev-backend](https://app.codecov.io/gh/raft-tech/TANF-app/pull/3284/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=raft-tech) | `91.37% <0.00%> (+0.02%)` | :arrow_up: | | [dev-frontend](https://app.codecov.io/gh/raft-tech/TANF-app/pull/3284/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=raft-tech) | `92.51% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=raft-tech#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files with missing lines](https://app.codecov.io/gh/raft-tech/TANF-app/pull/3284?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=raft-tech) | Coverage Δ | | |---|---|---| | [...ackend/tdpservice/users/api/authorization\_check.py](https://app.codecov.io/gh/raft-tech/TANF-app/pull/3284?src=pr&el=tree&filepath=tdrs-backend%2Ftdpservice%2Fusers%2Fapi%2Fauthorization_check.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=raft-tech#diff-dGRycy1iYWNrZW5kL3RkcHNlcnZpY2UvdXNlcnMvYXBpL2F1dGhvcml6YXRpb25fY2hlY2sucHk=) | `76.78% <0.00%> (+2.64%)` | :arrow_up: | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/raft-tech/TANF-app/pull/3284?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=raft-tech). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=raft-tech) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/raft-tech/TANF-app/pull/3284?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=raft-tech). Last update [2b3b674...f30fdc2](https://app.codecov.io/gh/raft-tech/TANF-app/pull/3284?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=raft-tech). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=raft-tech).

🚨 Try these New Features: