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

Create mod-sender module

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 1.0.0
    • EPAM-Veg Sprint 1, EPAM-Veg Sprint 2
    • 3
    • 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 /messageDelivery for deliver message by using available delivery channels.

      Requirements

      Create new module mod-sender with single REST API method

      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

      • The new module is created
      • github repository exists in folio-org space
      • stub endpoint exist
      • REST tests created and passed
      • Component's endpoint are available through OKAPI within vagrant latest images [folio/snapshot, folio/testing, folio/testing-backend]

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases