-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgraphql-peer.puml
34 lines (28 loc) · 993 Bytes
/
graphql-peer.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
@startuml
!include <azure/AzureCommon>
!include <azure/Web/AzureWebApp>
!include <azure/Databases/AzureSqlDatabase>
!include <azure/Databases/AzureDatabaseForPostgreSQL>
!include <azure/Storage/AzureQueueStorage>
!include <azure/Storage/AzureStorage>
!include <azure/Networking/AzureApplicationGateway>
!include <C4/C4_Container>
caption \n\n<b>Peer pattern
System_Boundary(int, "External Services") {
Container(api1, "REST API", "REST", $descr="", $sprite="AzureWebApp")
Container(api2, "Graph API", "GraphQL", $descr="", $sprite="AzureWebApp")
Container(api3, "RPC API", "RPC", $descr="", $sprite="AzureWebApp")
}
System_Boundary(data, "Data") {
ContainerDb(db1, "RDMS", "Azure SQL", $sprite="AzureSqlDatabase")
ContainerDb(db2, "NoSQL", "Table Storage", $sprite="AzureStorage")
ContainerDb(db3, "RDMS", "Postgres SQL", $sprite="AzureDatabaseForPostgreSQL")
}
api1 -[#hidden] api2
api2 -[#hidden] api3
api1 --> db1
api2 --> db2
api3 --> db3
api2 --> db1
api2 --> db3
@enduml