CDCgov / prime-reportstream

ReportStream is a public intermediary tool for delivery of data between different parts of the healthcare ecosystem.
https://reportstream.cdc.gov
Creative Commons Zero v1.0 Universal
71 stars 40 forks source link

UP needs to support resending of data per OO process #7616

Closed carlosfelix2 closed 1 year ago

carlosfelix2 commented 1 year ago

User Story:

As an administrator, I want the UP to allow for retransmission of reports, so I can resend data to a STLT after some failure.

Description/Use Case

OO has a process to resend data. Currently that process only applies to the COVID/Monkeypox pipeline, but it needs to apply any pipeline. We need to research this process and identify what work we need to do to support that process if any.

Risks/Impacts/Considerations

Dev Notes:

Acceptance Criteria

PatriciaPerozoUSDS commented 1 year ago

Brain dump: O&O uses a combination of Pager Duty and the Last Mile feature to get notified about last mile failures and keep tabs on the status of whether a resend has been attempted.

The query that pulls the reports that have failed and need to be resent (for UI linked above) pulls from the actions and reports table. This works the same for both the UP and the legacy covid pipelines. There are no changes required coming out of this research. The current resend process will be sufficient for the new pipeline.

Query defined here for anyone else that needs to see it: prime-router/src/main/resources/db/migration/V50__add_send_failure_function.sql