Open
Description
User Story - Business Need
For the work to wrap SMS with ENP we need to replicate the minimally necessary functionality leading up to notification-api's deliver_sms
Celery task, then use aiobotocore's send_message
to enqueue the Celery object. This will bypass the notification-api ECS service entirely for phone number recipients.
- Sync with Kyle when ticket is picked up.
- Ticket is understood, and QA has been contacted (if the ticket has a QA label).
User Story(ies)
As a backend engineer
I want to prepare an envelope for the deliver_sms
Celery task from the API
So that we can work towards the transition to using the FastAPI code
Additional Info and Resources
Acceptance Criteria
- When an sms notification request is made to ENP with a phone number recipient we handle the work done up to the notification-api
deliver_sms
Celery task - Uses aiobotocore
send_message
to enqueue a Celery envelope (see Glue example) - This work is added to the sprint review slide deck (key win bullet point and demo slide)
QA Considerations
This should result in the same output as the notification-api.
Potential Dependencies
Determine Celery tasks necessary based on incoming request.
Out of Scope
Replacing any deliver_sms
functionality.
Activity