forked from tareksalem/dsl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgroups.dsl
More file actions
45 lines (37 loc) · 1.23 KB
/
Copy pathgroups.dsl
File metadata and controls
45 lines (37 loc) · 1.23 KB
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
workspace {
model {
softwareSystem = softwareSystem "Software System" {
service1 = group "Service 1" {
service1Api = container "Service 1 API"
service1Database = container "Service 1 Database"
service1Api -> service1Database "Reads from and writes to"
}
service2 = group "Service 2" {
service2Api = container "Service 2 API"
service2Database = container "Service 2 Database"
service2Api -> service2Database "Reads from and writes to"
}
}
live = deploymentEnvironment "Live" {
deploymentNode "Server 1" {
containerInstance service1Api
containerInstance service1Database
}
deploymentNode "Server 2" {
containerInstance service2Api
containerInstance service2Database
}
}
service1Api -> service2Api "Uses"
}
views {
container softwareSystem {
include service1 service2
autolayout
}
deployment softwareSystem live {
include service1 service2
autolayout
}
}
}