-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
00eeead
commit 7f2cc59
Showing
3 changed files
with
75 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
docs/src/uml-diagrams/arc42/runtime-view/policies/policy-crud-notification-contract.puml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
@startuml | ||
skinparam monochrome true | ||
skinparam shadowing false | ||
skinparam defaultFontName "Architects daughter" | ||
|
||
title Sequence diagram: Trace-X interaction with EDC on startup | ||
participant "TraceX" as TraceX | ||
participant "IRS" as IRS | ||
participant "EDC " as EDC | ||
|
||
activate TraceX | ||
TraceX -> IRS: delete/create/update policy | ||
activate IRS | ||
IRS --> TraceX : ok | ||
deactivate IRS | ||
TraceX -> IRS: Get policies | ||
activate IRS | ||
IRS --> TraceX : Return policies | ||
deactivate IRS | ||
|
||
TraceX -> EDC: delete existing notification offers | ||
activate EDC | ||
EDC --> TraceX : ok | ||
deactivate EDC | ||
|
||
|
||
TraceX -> TraceX: Find newest policy of own BPN or default policy | ||
activate TraceX | ||
TraceX -> EDC : Create notification based on policy | ||
deactivate TraceX | ||
@enduml | ||
|
||
@startuml | ||
skinparam monochrome true | ||
skinparam shadowing false | ||
skinparam defaultFontName "Architects daughter" | ||
|
||
title Sequence diagram: Sending notifications | ||
participant "Trace-X" as TraceX | ||
participant "Trace-X IRS Lib" as TraceXIRSLib | ||
participant "IRS " as IRS | ||
participant "EDC " as EDC | ||
|
||
activate TraceX | ||
TraceX -> TraceX: ... | ||
TraceX -> EDC: Get catalog | ||
activate EDC | ||
EDC --> TraceX: Return catalog | ||
deactivate EDC | ||
TraceX -> TraceX: Filter for notification type (alert/investigation) & method (update/receive) | ||
activate TraceX | ||
deactivate TraceX | ||
TraceX -> TraceXIRSLib: Validate if catalog policy matches the configured policies in IRS Lib (3 default policies) | ||
activate TraceXIRSLib | ||
TraceXIRSLib --> TraceX: Valid | ||
deactivate TraceXIRSLib | ||
TraceX -> EDC: Send notification | ||
@enduml | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters