Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Mermaid
fileNamemermaid_1734018883777
themedarkdefault
version45
{"diagramDefinition":"sequenceDiagram\r\n    autonumber\r\n    participant DW as Authenticated Distribution Worker\r\n    participant SM as Seller Mobile Application\r\n    participant SEPSGQL as SEPS GraphQL Server\r\n    participant LDC as SEPS LDC Aggregate\r\n    participant LDCVIEW as SEPS LDC View\r\n    participant LDCSAGA as SEPS LDC Saga\r\n    DW->>SM: Records a Complaint\r\n    activate SM\r\n    SM->>SEPSGQL: CreateLotDistributionComplaint GraphQL mutation\r\n    activate SEPSGQL\r\n    opt Replacing existing LDC\r\n      SEPSGQL->>+LDC: LDC_REPLACED_BY_DW XState Event\r\n      LDC->>-LDCVIEW: project.ldc.ldc_replaced\r\n    end\r\n    SEPSGQL->>+LDC: LDC_CREATED_BY_DW XState Event\r\n    LDC->>LDCVIEW: project.ldc.ldc_created\r\n    SEPSGQL->>SM: OK\r\n    deactivate SEPSGQL\r\n    LDC->>+LDCSAGA: project.ldc.ldc_created\r\n    deactivate LDC\r\n    LDCSAGA->>-BTDA: BTDA_COMPLAINT_CREATED XState event\r\n    activate BTDA\r\n    BTDA->>-BTDAVIEW: project.btda.ldc_created\r\n    DW->>SM: Deletes a Complaint\r\n    activate SM\r\n    SM->>SEPSGQL: DeleteLotDistributionComplaint GraphQL mutation\r\n    activate SEPSGQL\r\n    SEPSGQL->>+LDC: LDC_DELETED_BY_DW XState Event\r\n    LDC->>LDCVIEW: project.ldc.ldc_deleted\r\n    SEPSGQL->>SM: OK\r\n    deactivate SEPSGQL\r\n    LDC->>+LDCSAGA: project.ldc.ldc_deleted\r\n    deactivate LDC\r\n    LDCSAGA->>-BTDA: BTDA_COMPLAINT_DELETED XState event\r\n    activate BTDA\r\n    BTDA->>-BTDAVIEW: project.btda.ldc_deleted"}