forked from jivygroup/api-sandbox-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
scalecube.json
98 lines (98 loc) · 3.25 KB
/
scalecube.json
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
{
"text": "<span class='brand-name icon node-icon'><span style='padding-right: 0px' class='text-white text-bold'>SCALE</span><span class='text-blue text-bold'>CUBE</span></span>",
"id" : "2",
"type" : "ORG",
"backColor":"black",
"nodes": [
{
"text": "API Gateway",
"id" : "2",
"type" : "API",
"backColor":"black",
"nodes": [
{
"id" : "3",
"text": "WebSocket Greeting Once",
"backColor":"black",
"data": {"q":"/greeting/one","sid":1,"d":"hello"}
},
{
"id" : "4",
"text": "WebSocket Greeting Many",
"backColor":"black",
"data": {"q":"/greeting/many","sid":1,"d":"hello"}
},
{
"id" : "5",
"text": "WebSocket Complete Signal",
"backColor":"black",
"data": {"sid": 1, "sig": 3}
},
{
"id" : "6",
"text": "RSocket Greeting Once",
"backColor":"black",
"data": { "metadata" : {"q": "/greeting/one"}, "data":"hello" }
},
{
"id" : "7",
"text": "RSocket Greeting Many",
"backColor":"black",
"data": { "metadata" : {"q": "/greeting/many"}, "data":"hello" }
}
]
},
{
"text": "Vizceral",
"id" : "3",
"type" : "API",
"backColor":"black",
"nodes": [
{
"id" : "3.1",
"text": "Listen",
"backColor":"black",
"data": {
"metadata": {
"q": "/io.scalecube.vizceral/listen"
}
}
},
{
"id" : "3.2",
"text": "Add Node to Region",
"backColor":"black",
"data": {
"metadata": {
"q": "/io.scalecube.vizceral/addRegionNode"
},
"data" : {
"region":"us-east-1",
"name" :"api-gateway"
}
}
},
{
"id" : "3.4",
"text": "Update Metric",
"backColor":"black",
"data": {
"metadata": {
"q": "/io.scalecube.vizceral/updateMetric"
},
"data" : {
"region": "us-east-1",
"name" : "api-gateway",
"source": "INTERNET",
"target": "api-gateway",
"metrics": {
"normal":1000.00,
"danger":20.00
}
}
}
}
]
}
]
}