-
Notifications
You must be signed in to change notification settings - Fork 1
/
process.puml
51 lines (34 loc) · 1.3 KB
/
process.puml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
@startuml
' Definitions of participants
actor customer
!if $WITH_INTERNALS()
participant AmazingService as amazing_service
participant ThirdParty as tp
box "serious_service_name" #EEEEEE
participant AmazingService as amazing_service
participant ThirdParty as tp
end box
!else
participant serious_service_name as amazing_service
!endif
$MESSAGE(customer, amazing_service, "#993333", "GET", "/amazing_service", "")
$INTERNAL_GROUP("internal calls")
$INTERNAL_MESSAGE(amazing_service, tp, "#993333", "get", "/status", "")
$INTERNAL_RESPONSE("404","")
$INTERNAL_MESSAGE(amazing_service, tp, "#993333", "get", "yahoo.com", "")
$INTERNAL_RESPONSE("301","")
$INTERNAL_GROUP_END()
$MESSAGE(amazing_service, customer, "#993333", "post", "/webhook_endpoint", "\n{\n data: **webhook**\n}")
$RESPONSE("301","")
$RESPONSE("200","")
$MESSAGE(customer, amazing_service, "#993333", "GET", "/amazing_service", "")
$INTERNAL_GROUP("internal calls")
$INTERNAL_MESSAGE(amazing_service, tp, "#993333", "get", "/status", "")
$INTERNAL_RESPONSE("404","")
$INTERNAL_MESSAGE(amazing_service, tp, "#993333", "get", "yahoo.com", "")
$INTERNAL_RESPONSE("301","")
$INTERNAL_GROUP_END()
$MESSAGE(amazing_service, customer, "#993333", "post", "/webhook_endpoint", "\n{\n data: **webhook**\n}")
$RESPONSE("301","")
$RESPONSE("200","")
@enduml