Skip to content

Commit

Permalink
eHOKS-herätepalvelu architecture as PlantUML
Browse files Browse the repository at this point in the history
  • Loading branch information
pkalliok committed Nov 13, 2023
1 parent ba79298 commit 72a5020
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
26 changes: 26 additions & 0 deletions doc/architecture-new.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
@startuml

database "eHOKS-db" as edb {
database HOKSit
database Palautteet
}

component eHOKS {
component virkailija
component palaute
}

:kj:
[viestintäpalvelu]
[Arvo]
[SMS_gateway]

kj -> virkailija : HOKS
HOKSit <-- virkailija : HOKS
HOKSit --> palaute : ajastettu \namis & tep
Palautteet <-- palaute : kyselyiden ja \nviestien tila
palaute --> viestintäpalvelu : viestit
palaute --> SMS_gateway : viestit
palaute -> Arvo : kyselyt

@enduml
35 changes: 35 additions & 0 deletions doc/architecture-old.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
@startuml

:kj:
[eHOKS]
kj -> eHOKS : HOKSit

database "eHOKS-db" as edb
eHOKS <--> edb

stack amis
stack tep
eHOKS -> amis
eHOKS -> tep
amis -[hidden]-> tep

[herätepalvelu]
amis -> herätepalvelu
tep -> herätepalvelu

database DynamoDB
herätepalvelu --> DynamoDB

[herätepalvelu-ajastettu] as hpa
hpa <- DynamoDB
eHOKS <-- hpa : tilatieto

[viestintäpalvelu]
[SMS gateway] as sgw
hpa --> viestintäpalvelu : viestit
hpa --> sgw : viestit

[Arvo]
hpa --> Arvo : kyselyt

@enduml

0 comments on commit 72a5020

Please sign in to comment.