-
Notifications
You must be signed in to change notification settings - Fork 43
/
jigsaw-microservice.dot
71 lines (51 loc) · 3.11 KB
/
jigsaw-microservice.dot
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
digraph jigsaw {
fontname="Microsoft YaHei";
fontsize=10;
dir=LR;
splines="compound";
graph [dpi=180];
node [color="#3C7CCC", shape="record", fontname="Consolas", fontsize=10, penwidth=0.5];
edge [color="#636260", fontname="Consolas", fontsize=10, arrowhead="empty", penwidth=0.5];
desktop [label="Desktop - Chrome", color="#E16726", style="filled", fontcolor="#ffffff"];
pad [label="Pad/Laptop - Chrome", color="#0A9DE5", style="filled", fontcolor="#ffffff"];
eureka_server [label="Eureka Service Discovery", color="#F68D2E", style="filled", fontcolor="#ffffff"];
subgraph cluster_frontend {
label="Frontend Entry Point";
style="filled"
color="#F7F7F7"
zuul [label="Zuul Reverse Proxy", color="#407EC9", style="filled", fontcolor="#ffffff"];
feign_client_staff [label="/staffs/** - Ribbon", color="#407EC9", style="filled", fontcolor="#ffffff"];
feign_client_assignment [label="/assignments/** - Ribbon", color="#407EC9", style="filled", fontcolor="#ffffff"];
static_pages [label="Static Assets", color="#407EC9", style="filled", fontcolor="#ffffff"];
}
zuul -> feign_client_assignment;
zuul -> feign_client_staff;
subgraph cluster_staff {
label="Staff Service Cluster";
style="filled"
color="#F7F7F7"
staff_service_1 [label="Staff\n Micro-service", color="#20C3DE", style="filled", fontcolor="#ffffff"];
staff_service_2 [label="Staff\n Micro-service", color="#20C3DE", style="filled", fontcolor="#ffffff"];
staff_service_3 [label="Staff\n Micro-service", color="#20C3DE", style="filled", fontcolor="#ffffff"];
}
subgraph cluster_assignments {
label="Assignment Service Cluster";
style="filled"
color="#F7F7F7"
assignment_service_1 [label="Assignment\n Micro-service", color="#319B42", style="filled", fontcolor="#ffffff"];
assignment_service_2 [label="Assignment\n Micro-service", color="#319B42", style="filled", fontcolor="#ffffff"];
}
desktop -> zuul [label="HTTP Request", color="#DA291C", fontcolor="#DA291C"];
pad -> zuul [label="HTTP Request", color="#DA291C", fontcolor="#DA291C"];
zuul -> eureka_server [label="register", color="#407EC9", fontcolor="#407EC9"];
staff_service_1 -> eureka_server [label="register", color="#407EC9", fontcolor="#407EC9"];
staff_service_2 -> eureka_server [label="register", color="#407EC9", fontcolor="#407EC9"];
staff_service_3 -> eureka_server [label="register", color="#407EC9", fontcolor="#407EC9"];
assignment_service_1 -> eureka_server [label="register", color="#407EC9", fontcolor="#407EC9"];
assignment_service_2 -> eureka_server [label="register", color="#407EC9", fontcolor="#407EC9"];
feign_client_staff -> staff_service_1 [label="HTTP Request", color="#DA291C", fontcolor="#DA291C"];
feign_client_staff -> staff_service_2 [style="dashed", color="#707070"];
feign_client_staff -> staff_service_3 [style="dashed", color="#707070"];
feign_client_assignment -> assignment_service_1 [label="HTTP Request", color="#DA291C", fontcolor="#DA291C"];
feign_client_assignment -> assignment_service_2 [style="dashed", color="#707070"];
}