Uploaded image for project: 'mod-sender'
  1. mod-sender
  2. MODSENDER-2

Create sender component in mod-sender

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 1.0.0
    • EPAM-Veg Sprint 1, EPAM-Veg Sprint 2, EPAM-Veg Sprint 3
    • 8
    • Vega

    Description

      Functional requirements

      Description

      The module acts as an intermediary that sorts the prepared messages, sends them through the appropriate delivery channels. All technical
      complexity, sending queues, persistence of messages, available sending channels will be regulated by this module. Module provide single
      REST endpoint - POST /message for deliver message by using available delivery channels.

      Requirements

      Create a new component in the module that uses the queue, asynchronously sends messages to the appropriate delivery channels. Component should use all available delivery channels and send message according to message channels selected

      Method Description
      POST /messageDelivery Send message to recipient using chosen delivery channel

      message entity:

      {
      "notificationId":"1",
      "channels":[

      { "type":"email", "from":"admin@folio.org", "to":"user@folio.org" }

      ,

      { "type":"sms", "from":"5566", "to":"+3809347047047" }

      ],
      "header":"FOLIO account Password change",
      "body":"Reset password notification",
      "attachments":[

      { "contentType":"image/jpeg", "name":"image name", "description":"image description", "data":"imagedata", "disposition":"inline", "contentId":"<image1@example.com>" }

      ],
      "metadata":

      { "date":"21.11.2010" }

      }

      Acceptance Criteria

      • User can send email using POST request to /messageDelivery endpoint
      • REST tests created and passed

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                kgambrell Khalilah Gambrell
                OleksiiKuzminov Oleksii Kuzminov
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases