Skip to content

anicoll/unicom

Repository files navigation

Build, test and push container

Unicom

How it all works.

Asynchronous Request example

graph TD;
    Domain-X--async-request-->unicom-server;

    unicom-server--start-async-workflow-->temporal;

    temporal--notify-domain-->webhook;
    webhook--response-event-->Domain-X;
    
  1. Domain-X makes an async request to send a notification to unicom (email for now)
  2. Unicom-server initiats a workflow and responds back with the workflow ID
  3. Temporal executes the workflow, initiating the request at the requested time.
  4. After successful completion or failure to send the communication the result is returned to the domain via the requested medium(SQS/EventBridge/Webhook).

Synchronous Request example

graph TD;
    Domain-X--sync-request-->unicom-server;

    unicom-server--start-sync-workflow-->temporal;

    temporal--workflow-complete-->unicom-server;
    unicom-server--response-->Domain-X;
  1. Domain-X makes a sync request to send a notification to unicom (email for now)
  2. Unicom-server initiats a workflow
  3. Temporal executes the workflow and the unicom-server waits for the workflow to complete.
  4. After successful completion or failure to send the communication the result is returned to the domain via the same grpc/http request they initiated the request with.

About

unicom API for communication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published