Aman-Mittal commented on issue #790:
URL: 
https://github.com/apache/fineract-backoffice-ui/issues/790#issuecomment-6211226372

   ## Business process flow
   
   ```mermaid
   sequenceDiagram
       actor Admin as System administrator
       participant UI as External Services screen
       participant F as Fineract
       participant GW as SMS gateway
       Admin->>UI: Select SMS
       UI->>F: GET /externalservice/SMS
       F-->>UI: host_name, port_number, end_point, tenant_app_key set or not
       Admin->>UI: Edit values, app key only if changing
       UI->>UI: hasPermission(UPDATE_EXTERNALSERVICES)?
       UI->>F: PUT /externalservice/SMS
       F-->>UI: 200
       Note over F,GW: SMS campaigns now send through the gateway
       F->>GW: Outbound messages
   ```
   
   ## UI mockup
   
   ```text
   ┌ External services ── [ S3 ] [ SMTP ] [ Notification ] [▶ SMS ] ──────────┐
   │ Host name *        [ sms-gateway.internal      ]                         │
   │ Port *             [ 9191 ]                                              │
   │ End point *        [ /sms/v1/send              ]                         │
   │ Tenant app key     ●●●●●●●● (set)   [Change]                             │
   │ Used by: SMS campaigns, SMS notifications                                │
   │                                                       [Save]             │ 
← UPDATE_EXTERNALSERVICES
   └──────────────────────────────────────────────────────────────────────────┘
   (Read-only administrator: same view, key masked, Save disabled)
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to