-
Notifications
You must be signed in to change notification settings - Fork 6
/
views.edn
160 lines (145 loc) · 6.89 KB
/
views.edn
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
#{{:el :context-view
:id :banking/system-context-view
:title "System Context View of the Internet Banking System"
:ct [; model elements
{:ref :banking/personal-customer}
{:ref :banking/email-system}
{:ref :banking/mainframe-banking-system}
{:ref :banking/internet-banking-system}
; relations
{:ref :banking/personal-customer-uses-internet-banking-system :direction :down}
{:ref :banking/internet-banking-system-uses-email-system :direction :right}
{:ref :banking/internet-banking-system-using-mainframe-banking-system}
{:ref :banking/email-system-sends-mail-to-personal-customer :direction :up}]}
{:el :container-view
:id :banking/container-view
:spec {:plantuml {:sprite-libs [:azure :devicons :font-awesome-5]}}
:title "Container View of the Internet Banking System"
:ct [; model elements
{:ref :banking/personal-customer}
{:ref :banking/internet-banking-system}
{:ref :banking/email-system}
{:ref :banking/mainframe-banking-system}
; relations
{:ref :banking/email-system-sends-mail-to-personal-customer :direction :up}
{:ref :banking/personal-customer-uses-web-app}
{:ref :banking/personal-customer-uses-single-page-app}
{:ref :banking/personal-customer-uses-mobile-app}
{:ref :banking/web-app-deliveres-single-page-app :direction :right}
{:ref :banking/single-page-app-calls-api-application}
{:ref :banking/mobile-app-calls-api-application}
{:ref :banking/api-application-uses-database :direction :left}
{:ref :banking/api-application-uses-email-system :direction :right}
{:ref :banking/api-application-uses-mainframe-banking-system}]}
{:el :component-view
:id :banking/api-component-view
:title "Component View of the API Application"
:ct [; model elements
{:ref :banking/single-page-app}
{:ref :banking/mobile-app}
{:ref :banking/api-application}
{:ref :banking/database}
{:ref :banking/email-system}
{:ref :banking/mainframe-banking-system}
; relations
{:ref :banking/single-page-app-calls-sign-in-controller}
{:ref :banking/single-page-app-calls-reset-password-controller}
{:ref :banking/single-page-app-calls-accounts-summary-controller}
{:ref :banking/mobile-app-calls-sign-in-controller}
{:ref :banking/mobile-app-calls-reset-password-controller}
{:ref :banking/mobile-app-calls-accounts-summary-controller}
{:ref :banking/sign-in-controller-uses-security-component}
{:ref :banking/reset-password-controller-uses-email-component}
{:ref :banking/accounts-summary-controller-uses-mainframe-banking-system-facade}
{:ref :banking/security-component-uses-database}
{:ref :banking/email-component-uses-email-system}
{:ref :banking/mainframe-banking-system-facade-calls-mainframe-banking-system}]}
{:el :system-landscape-view
:id :banking/system-landscape-view
:title "System Landscape View of Big Bank plc"
:ct [; model elements
{:ref :banking/big-bank-plc}
{:ref :banking/personal-customer}
; relations
{:ref :banking/personal-customer-uses-atm}
{:ref :banking/atm-uses-mainframe-banking-system}
{:ref :banking/personal-customer-asks-customer-service-stuff}
{:ref :banking/personal-customer-uses-internet-banking-system}
{:ref :banking/email-system-sends-mail-to-personal-customer}
{:ref :banking/backoffice-stuff-uses-mainframe-banking-system :direction :right}
{:ref :banking/customer-service-stuff-uses-mainframe-banking-system}
{:ref :banking/internet-banking-system-uses-email-system}
{:ref :banking/internet-banking-system-using-mainframe-banking-system}]}
{:el :deployment-view
:id :banking/deployment-view
:title "Deployment View of Big Bank plc"
:ct [; model elements
{:ref :banking/personal-customers-mobile-device}
{:ref :banking/personal-customers-computer}
{:ref :banking/big-bank-plc-datacenter}
; relations
{:ref :banking/single-page-app-calls-api-application}
{:ref :banking/mobile-app-calls-api-application}
{:ref :banking/web-app-deliveres-single-page-app}
{:ref :banking/api-application-uses-mainframe-banking-system}
{:ref :banking/api-application-uses-database}
; add relations for the read database
{:el :rel
:id :banking/api-application-uses-database-read
:from :banking/api-application
:to :banking/database-read
:name "Reads from"
:tech "Datalog"}
{:el :rel
:id :banking/database-sync
:from :banking/database
:to :banking/database-read
:name "synchronises"
:direction :right}]}
{:el :use-case-view
:id :banking/use-case-view
:spec {:layout :left-right}
:title "Use Cases of the Internet Banking System"
:ct [; actors
{:ref :banking/personal-customer :name "Customer"}
; use cases
{:ref :banking/view-account}
{:ref :banking/make-transaction}
; relations
{:ref :banking/personal-customer-uses-view-account}
{:ref :banking/personal-customer-uses-make-transaction}]}
{:el :glossary-view
:id :banking/glossary-view
:spec {:markdown {:references true}}
:title "Glossary of the Banking System"
:ct [;; concepts
{:ref :banking/account-concept}
{:ref :banking/transaction-concept}
{:ref :banking/internet-banking-concept}
;; actors
{:ref :banking/personal-customer}
;; systems
{:ref :banking/email-system}
{:ref :banking/mainframe-banking-system}
{:ref :banking/internet-banking-system}
;; relations
{:ref :banking/account-reflects-transaction}
{:ref :banking/internet-banking-system-implements-internet-banking-concept}
{:ref :banking/personal-customer-has-account}
{:ref :banking/personal-customer-performs-transaction}
{:ref :banking/personal-customer-uses-internet-banking-system}]}
{:el :concept-view
:id :banking/concept-view
:spec {:markdown {:references true}}
:title "Concept Map for the Banking System"
:ct [{:ref :banking/account-concept}
{:ref :banking/transaction-concept}
{:ref :banking/internet-banking-concept}
{:ref :banking/personal-customer}
{:ref :banking/internet-banking-system}
{:ref :banking/account-reflects-transaction}
{:ref :banking/personal-customer-has-account}
{:ref :banking/personal-customer-performs-transaction}
{:ref :banking/internet-banking-system-implements-internet-banking-concept}
{:ref :banking/personal-customer-uses-internet-banking-system}]}
}