Categorygithub.com/diwise/integration-incident
repository
0.0.0-20241018062134-29e51a229531
Repository: https://github.com/diwise/integration-incident.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

integration-incident

An integration service for posting incident to Sundsvalls Kommuns incident API.

sequenceDiagram
    participant CiP
    participant This Service
    participant Incident API

    This Service->>Incident API: authenticate
    Incident API-->>This Service: token

    CiP->>This Service: entities created or updated
    loop for each notification
        This Service->>CiP: get entity location
        CiP-->>This Service: location
        This Service->>This Service: create incident
        This Service->>Incident API: post incident
        Incident API-->>This Service: 200 OK
    end