forked from RedHatInsights/insights-ingress-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsequence.puml
22 lines (22 loc) · 1.01 KB
/
sequence.puml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@startuml ingress
participant client
participant 3scale
participant ingress
entity platform.upload.servicename
entity platform.upload.announce
database s3permanent
client->3scale: insights-client payload
3scale->ingress: insights-client payload
ingress->ingress: check file size, service name, media type
alt check failure
ingress->3scale: HTTP status code (413/415)
else check success
ingress->3scale: HTTP status code (202)
end
3scale->client: HTTP response
ingress-[#blue]>s3permanent: upload payload to s3
ingress->platform.upload.servicename: msg to validating service
Note right of ingress: {"account": "000001",\n"category": "foo",\n"metadata": {},\n"request_id": "b234kfbnsvldkdf",\n"principal": "org_id",\n"service": "service_name",\n"size": 2048,\n"url": "some_s3_url",\n"b64_identity": "base64_identity_string",\n"timestamp": "2020-03-05T16:57:25.816427745Z"}
ingress->platform.upload.announce: msg to announce topic
Note right of ingress: [headers] {"service": "service name"}\n[message] #same as above#
@enduml