-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharchitecture.yml
83 lines (83 loc) · 2.18 KB
/
architecture.yml
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
config:
footer: |
skinparam nodesep 10
skinparam ranksep 20
model:
elements:
- name: Nor
kind: actor
- name: email-client
- name: plug
- name: system
children:
- name: sensor
children:
- zero_ups
- name: dongle
children:
- hardware
- sim
- name: raspberry_pi
children:
- edge_app
- name: dashboard
- database
- name: consumer
tags: [lambda]
- name: emailer
tags: [lambda]
- name: db-cron
tags: [lambda]
- name: api
tags: [lambda]
associations:
- source: plug
destination: system/sensor/zero_ups
tag: power
- source: system/sensor/zero_ups
destination: system/sensor/raspberry_pi/edge_app
tag: status
- source: system/sensor/zero_ups
destination: system/sensor/raspberry_pi
tag: power
- source: system/sensor/raspberry_pi
destination: system/sensor/dongle
tag: (update.power)
- source: system/sensor/raspberry_pi
destination: system/sensor/dongle
tag: (update.alive)
- source: system/sensor/dongle
destination: system/consumer
tag: (update.power)
- source: system/sensor/dongle
destination: system/consumer
tag: (update.alive)
- source: system/consumer
destination: system/database
tag: record-power-changed
- source: system/database
destination: system/consumer
tag: emails
- source: system/consumer
destination: system/database
tag: record-alive
- source: system/consumer
destination: system/emailer
tag: (email.power)
- source: system/database
destination: system/db-cron
tag: last-seen
- source: system/db-cron
destination: system/emailer
tag: (email.lost)
- source: system/emailer
destination: email-client
tag: email
- source: email-client
destination: Nor
- source: system/database
destination: system/api
- source: system/api
destination: system/dashboard
- source: system/dashboard
destination: Nor