-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into do-20230609-trivy
- Loading branch information
Showing
2,312 changed files
with
60,271 additions
and
215,419 deletions.
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
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
This file was deleted.
Oops, something went wrong.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,42 @@ | ||
@startuml | ||
skin rose | ||
skinparam NoteTextAlignment left | ||
skinparam Padding 2 | ||
skinparam ParticipantPadding 40 | ||
skinparam LifelineStrategy solid | ||
autonumber | ||
|
||
participant "FHIR Server\nREST API" as S | ||
participant "Client" as C | ||
participant "Email Server\n(SMTP/S, Direct)" as E | ||
|
||
|
||
group Negotiating a Subscription | ||
C -> S: Create Subscription\n""channelType: email"" | ||
else Without handshake | ||
S --> C: Success\n""Subscription.status: active"" | ||
||| | ||
else With handshake | ||
S --> C: Success\n""Subscription.status: requested"" | ||
|
||
S -> E: Message with verification, opt-in, opt-out, etc. | ||
return SMTP Success, e.g.:\n""250: OK"" | ||
|
||
... | ||
|
||
note right of S | ||
Server updates Subscription: | ||
""Subscription.status: active"" | ||
end note | ||
|
||
end | ||
|
||
group Email Subscription Processing | ||
else Server sends heartbeat | ||
S -> E: Message with readable content and attached Bundle:\n"" Bundle.type: history""\n""SubscriptionStatus.type: heartbeat"" | ||
... | ||
else Server sends event-notification | ||
S -> E: Message with readable content and attached Bundle:\n"" Bundle.type: history""\n""SubscriptionStatus.type: event-notification"" | ||
... | ||
end | ||
@enduml |
37 changes: 37 additions & 0 deletions
37
images/subscriptions/subscription-channel-messaging.plantuml
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,37 @@ | ||
@startuml | ||
skin rose | ||
skinparam NoteTextAlignment left | ||
skinparam Padding 2 | ||
skinparam ParticipantPadding 40 | ||
skinparam LifelineStrategy solid | ||
autonumber | ||
|
||
participant "FHIR Server\nREST API" as S | ||
participant "Client" as C | ||
participant "Client FHIR Server\nREST Endpoint" as E | ||
|
||
group Subscription Negotiation | ||
C -> S: Create Subscription\n""channelType: message"" | ||
return Success\n""Subscription.status: requested"" | ||
|
||
S ->> E: POST ""$process-message"" (handshake)\n""Bundle:""\n"" Bundle.type: message""\n"" entry[1]: Bundle: subscription-notification""\n"" SubscriptionStatus.type: handshake"" | ||
return Success, e.g.:\n""200: OK"" | ||
|
||
note right of S | ||
Server updates Subscription: | ||
""Subscription.status: active"" | ||
end note | ||
|
||
end | ||
|
||
group FHIR Messaging Subscription Processing | ||
else Server sends heartbeat | ||
S ->> E: POST ""$process-message"" (heartbeat)\n""Bundle:""\n"" Bundle.type: message""\n"" entry[1]: Bundle: subscription-notification""\n"" SubscriptionStatus.type: heartbeat"" | ||
return Success, e.g.:\n""200: OK"" | ||
... | ||
else Server sends event-notification | ||
S ->> E: POST ""$process-message"" (event-notification)\n""Bundle:""\n"" Bundle.type: message""\n"" entry[1]: Bundle: subscription-notification""\n"" SubscriptionStatus.type: event-notification"" | ||
return Success, e.g.:\n""200: OK"" | ||
... | ||
end | ||
@enduml |
36 changes: 36 additions & 0 deletions
36
images/subscriptions/subscription-channel-rest-hook.plantuml
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,36 @@ | ||
@startuml | ||
skin rose | ||
skinparam NoteTextAlignment left | ||
skinparam Padding 2 | ||
skinparam ParticipantPadding 50 | ||
skinparam LifelineStrategy solid | ||
autonumber | ||
|
||
participant "FHIR Server\nREST API" as S | ||
participant "Client" as C | ||
participant "Client Endpoint\n(HTTP/S)" as E | ||
|
||
group Subscription Negotiation | ||
C ->> S: Create Subscription\n""channelType: rest-hook"" | ||
return Success\n""Subscription.status: requested"" | ||
|
||
S ->> E: HTTP POST - Handshake\n""Bundle:""\n"" Bundle.type: history""\n""SubscriptionStatus.type: handshake"" | ||
return HTTP Success, e.g.:\n""200: OK"" | ||
|
||
note right of S | ||
Server updates Subscription: | ||
""Subscription.status: active"" | ||
end note | ||
end | ||
|
||
group REST Subscription Processing | ||
else Server sends heartbeat | ||
S ->> E: HTTP POST - Heartbeat\n""Bundle:""\n"" Bundle.type: history""\n""SubscriptionStatus.type: heartbeat"" | ||
return HTTP Success, e.g.:\n""200: OK"" | ||
... | ||
else Server sends event-notification | ||
S ->> E: HTTP POST - Notification\n""Bundle:""\n"" Bundle.type: history""\n""SubscriptionStatus.type: event-notification"" | ||
return HTTP Success, e.g.:\n""200: OK"" | ||
... | ||
end | ||
@enduml |
Oops, something went wrong.