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

Add necessary repository logic to start sending of new SMS notifications. #353

Closed
5 of 7 tasks
Tracked by #201
SandGrainOne opened this issue Jan 3, 2024 · 1 comment
Closed
5 of 7 tasks
Tracked by #201
Assignees
Labels
kind/user-story Used for issues that describes functionality for our users.

Comments

@SandGrainOne
Copy link
Member

SandGrainOne commented Jan 3, 2024

Description

Update Repository logic and PostgreSQL objects to support sending of SMS notifications.

Tasks

  • Create a new function called getsms_statusnew_updatestatus. The function should retrieve all new SMS notifications and update them with a status indicating that they are being processed. Status "Sending". Use getemails_statusnew_updatestatus as inspiration.
  • Update the SmsNotificationRepository class with a method; GetNewNotifications to retrieve SMS notifications with the new function. Create the Repository class if not already added by another change.
  • Write integration tests
    - [ ] Write unit tests
  • Review
  • Documentation

Acceptance criteria

  • Method returns all SMS notifications not already processed for "Sending".
  • When the method has returned all SMS notifications are marked as "Sending".
@SandGrainOne SandGrainOne changed the title Persistence Add necessary repository logic to start sending of new SMS notifications. Jan 3, 2024
@acn-sbuad acn-sbuad added the kind/user-story Used for issues that describes functionality for our users. label Jan 29, 2024
@acn-sbuad acn-sbuad self-assigned this Jan 29, 2024
@acn-sbuad
Copy link
Contributor

Will be tested once full workflow is implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/user-story Used for issues that describes functionality for our users.
Projects
None yet
Development

No branches or pull requests

2 participants