/
workspace.dsl
49 lines (42 loc) · 1.65 KB
/
workspace.dsl
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
workspace {
model {
customer = person "Customer" "The customer of our webshop"
administrator = person "Administrator" "The administrator of the webshop"
globalPayment = softwareSystem "Global Payment" "Used for all banking transactions"
myWebshop = softwareSystem "My Webshop" "Our beautiful webshop" {
customerFrontend = container customerFrontend "The frontend for the customer"
administratorFrontend = container administratorFrontend "The frontend for the administrator"
webshopBackend = container webshopBackend "The webshop backend"
webshopDatabase = container webshopDatabase "The webshop database" {
tags "Database"
}
}
// system context relationships
customer -> myWebshop "Uses"
administrator -> myWebshop "Uses"
myWebshop -> globalPayment "Uses"
// software system relationships
customer -> customerFrontend "Uses" "https"
administrator -> administratorFrontend "Uses" "https"
customerFrontend -> webshopBackend "Uses" "http"
administratorFrontend -> webshopBackend "Uses" "http"
webshopBackend -> webshopDatabase "Uses" "ODBC"
webshopBackend -> globalPayment "Uses" "https"
}
views {
systemContext myWebshop "MyWebshopSystemContextView" {
include *
autolayout
}
container myWebshop "MyWebshopSoftwareSystemView" {
include *
autolayout
}
theme default
styles {
element "Database" {
shape Cylinder
}
}
}
}