Skip to content

ENP SQS Send Message Asynchronously #153

Open
@EvanParish

Description

@EvanParish

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Dev ReviewedReviewed by Tech LeadNotifyBoard triggerPM ReviewedReviewed by Product ManagerQAIssue requires QA collaborationQA ReviewedReviewed by Quality Assurance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions