cbs icon indicating copy to clipboard operation
cbs copied to clipboard

For Introduction: Create this cool new feature

Open woksin opened this issue 5 years ago • 0 comments

The NotificationGateway should be able to receive a text message from Twilio.

  • [ ] A Twilio text message consists of the following information, which we need to store.
  • a Twilio Id: a GUID
  • a Sender: a phone number
  • a Message: a string with the message content
  • [ ] Sometimes the Twilio system gets corrupted and it sends out lots of messages without a Message field, we don't want those kinds of messages to be passed into the notification gateway. You have to perform input validation so that this doesn't happen, Message cannot be empty or an empty string. It's important that this does not happen in production, so be a good boy and write some Specs for it.

  • [ ] The other bounded contexts should get informed when a Twilio message is received

  • [ ] NotifcationGateway needs to store all Twilio messages, it should also not allow duplicates based on the Twilio Id, it is unique.

  • [ ] The frontend needs to be able to fetch all Twilio messages where the number is '123456789'

woksin avatar Jan 17 '19 15:01 woksin