@golemio/bicycle-counters 1.3.3 → 1.3.4-rc.1510383522
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/asyncapi.yaml +33 -35
- package/package.json +1 -1
package/docs/asyncapi.yaml
CHANGED
|
@@ -4,7 +4,7 @@ info:
|
|
|
4
4
|
version: 1.0.0
|
|
5
5
|
description: Bicycle Counters
|
|
6
6
|
channels:
|
|
7
|
-
refreshCameaDataLastXHoursInDB:
|
|
7
|
+
bicyclecounters.refreshCameaDataLastXHoursInDB:
|
|
8
8
|
address: dataplatform.bicyclecounters.refreshCameaDataLastXHoursInDB
|
|
9
9
|
description: updates locations, direction database tables and sends message to queue updateCamea
|
|
10
10
|
bindings:
|
|
@@ -14,8 +14,8 @@ channels:
|
|
|
14
14
|
durable: true
|
|
15
15
|
messages:
|
|
16
16
|
empty:
|
|
17
|
-
$ref: "#/components/messages/
|
|
18
|
-
refreshCameaDataPreviousDayInDB:
|
|
17
|
+
$ref: "#/components/messages/emptyMessage"
|
|
18
|
+
bicyclecounters.refreshCameaDataPreviousDayInDB:
|
|
19
19
|
address: dataplatform.bicyclecounters.refreshCameaDataPreviousDayInDB
|
|
20
20
|
description: updates locations, direction database tables and sends message to queue updateCamea
|
|
21
21
|
bindings:
|
|
@@ -25,8 +25,8 @@ channels:
|
|
|
25
25
|
durable: true
|
|
26
26
|
messages:
|
|
27
27
|
empty:
|
|
28
|
-
$ref: "#/components/messages/
|
|
29
|
-
refreshCameaDataSpecificDayInDB:
|
|
28
|
+
$ref: "#/components/messages/emptyMessage"
|
|
29
|
+
bicyclecounters.refreshCameaDataSpecificDayInDB:
|
|
30
30
|
address: dataplatform.bicyclecounters.refreshCameaDataSpecificDayInDB
|
|
31
31
|
description: updates locations, direction database tables and sends message to queue updateCamea
|
|
32
32
|
bindings:
|
|
@@ -36,8 +36,8 @@ channels:
|
|
|
36
36
|
durable: true
|
|
37
37
|
messages:
|
|
38
38
|
date:
|
|
39
|
-
$ref: "#/components/messages/date"
|
|
40
|
-
updateCamea:
|
|
39
|
+
$ref: "#/components/messages/bicyclecounters.date"
|
|
40
|
+
bicyclecounters.updateCamea:
|
|
41
41
|
address: dataplatform.bicyclecounters.updateCamea
|
|
42
42
|
description: based on the parameters from the message updates measurement data in the database
|
|
43
43
|
bindings:
|
|
@@ -47,8 +47,8 @@ channels:
|
|
|
47
47
|
durable: true
|
|
48
48
|
messages:
|
|
49
49
|
vendorAndDuration:
|
|
50
|
-
$ref: "#/components/messages/vendorAndDuration"
|
|
51
|
-
refreshEcoCounterDataInDB:
|
|
50
|
+
$ref: "#/components/messages/bicyclecounters.vendorAndDuration"
|
|
51
|
+
bicyclecounters.refreshEcoCounterDataInDB:
|
|
52
52
|
address: dataplatform.bicyclecounters.refreshEcoCounterDataInDB
|
|
53
53
|
description: updates locations, direction database tables and sends multiple messages to queue updateEcoCounter (1 for each direction)
|
|
54
54
|
bindings:
|
|
@@ -58,8 +58,8 @@ channels:
|
|
|
58
58
|
durable: true
|
|
59
59
|
messages:
|
|
60
60
|
empty:
|
|
61
|
-
$ref: "#/components/messages/
|
|
62
|
-
updateEcoCounter:
|
|
61
|
+
$ref: "#/components/messages/emptyMessage"
|
|
62
|
+
bicyclecounters.updateEcoCounter:
|
|
63
63
|
address: dataplatform.bicyclecounters.updateEcoCounter
|
|
64
64
|
description: based on the parameters from the message updates measurement data in the database
|
|
65
65
|
bindings:
|
|
@@ -69,44 +69,42 @@ channels:
|
|
|
69
69
|
durable: true
|
|
70
70
|
messages:
|
|
71
71
|
updateEcoCounterMessage:
|
|
72
|
-
$ref: "#/components/messages/updateEcoCounterMessage"
|
|
72
|
+
$ref: "#/components/messages/bicyclecounters.updateEcoCounterMessage"
|
|
73
73
|
operations:
|
|
74
|
-
refreshCameaDataLastXHoursInDB:
|
|
74
|
+
bicyclecounters.refreshCameaDataLastXHoursInDB:
|
|
75
75
|
action: "send"
|
|
76
76
|
channel:
|
|
77
|
-
$ref: "#/channels/refreshCameaDataLastXHoursInDB"
|
|
78
|
-
refreshCameaDataPreviousDayInDB:
|
|
77
|
+
$ref: "#/channels/bicyclecounters.refreshCameaDataLastXHoursInDB"
|
|
78
|
+
bicyclecounters.refreshCameaDataPreviousDayInDB:
|
|
79
79
|
action: "send"
|
|
80
80
|
channel:
|
|
81
|
-
$ref: "#/channels/refreshCameaDataPreviousDayInDB"
|
|
82
|
-
refreshCameaDataSpecificDayInDB:
|
|
81
|
+
$ref: "#/channels/bicyclecounters.refreshCameaDataPreviousDayInDB"
|
|
82
|
+
bicyclecounters.refreshCameaDataSpecificDayInDB:
|
|
83
83
|
action: "send"
|
|
84
84
|
channel:
|
|
85
|
-
$ref: "#/channels/refreshCameaDataSpecificDayInDB"
|
|
86
|
-
updateCamea:
|
|
85
|
+
$ref: "#/channels/bicyclecounters.refreshCameaDataSpecificDayInDB"
|
|
86
|
+
bicyclecounters.updateCamea:
|
|
87
87
|
action: "send"
|
|
88
88
|
channel:
|
|
89
|
-
$ref: "#/channels/updateCamea"
|
|
90
|
-
refreshEcoCounterDataInDB:
|
|
89
|
+
$ref: "#/channels/bicyclecounters.updateCamea"
|
|
90
|
+
bicyclecounters.refreshEcoCounterDataInDB:
|
|
91
91
|
action: "send"
|
|
92
92
|
channel:
|
|
93
|
-
$ref: "#/channels/refreshEcoCounterDataInDB"
|
|
94
|
-
updateEcoCounter:
|
|
93
|
+
$ref: "#/channels/bicyclecounters.refreshEcoCounterDataInDB"
|
|
94
|
+
bicyclecounters.updateEcoCounter:
|
|
95
95
|
action: "send"
|
|
96
96
|
channel:
|
|
97
|
-
$ref: "#/channels/updateEcoCounter"
|
|
97
|
+
$ref: "#/channels/bicyclecounters.updateEcoCounter"
|
|
98
98
|
components:
|
|
99
99
|
messages:
|
|
100
|
-
|
|
100
|
+
emptyMessage:
|
|
101
|
+
title: Empty message
|
|
102
|
+
bicyclecounters.vendorAndDuration:
|
|
101
103
|
payload:
|
|
102
104
|
type: object
|
|
105
|
+
$ref: "#/components/schemas/bicyclecounters.IVendorAndDuration"
|
|
103
106
|
additionalProperties: false
|
|
104
|
-
|
|
105
|
-
payload:
|
|
106
|
-
type: object
|
|
107
|
-
$ref: "#/components/schemas/IVendorAndDuration"
|
|
108
|
-
additionalProperties: false
|
|
109
|
-
date:
|
|
107
|
+
bicyclecounters.date:
|
|
110
108
|
payload:
|
|
111
109
|
type: object
|
|
112
110
|
properties:
|
|
@@ -114,13 +112,13 @@ components:
|
|
|
114
112
|
type: string
|
|
115
113
|
format: date
|
|
116
114
|
additionalProperties: false
|
|
117
|
-
updateEcoCounterMessage:
|
|
115
|
+
bicyclecounters.updateEcoCounterMessage:
|
|
118
116
|
payload:
|
|
119
117
|
type: object
|
|
120
|
-
$ref: "#/components/schemas/IUpdateEcoCounterMessage"
|
|
118
|
+
$ref: "#/components/schemas/bicyclecounters.IUpdateEcoCounterMessage"
|
|
121
119
|
additionalProperties: false
|
|
122
120
|
schemas:
|
|
123
|
-
IVendorAndDuration:
|
|
121
|
+
bicyclecounters.IVendorAndDuration:
|
|
124
122
|
type: object
|
|
125
123
|
properties:
|
|
126
124
|
id:
|
|
@@ -139,7 +137,7 @@ components:
|
|
|
139
137
|
format: date
|
|
140
138
|
description: relevant only if duration is 2
|
|
141
139
|
additionalProperties: false
|
|
142
|
-
IUpdateEcoCounterMessage:
|
|
140
|
+
bicyclecounters.IUpdateEcoCounterMessage:
|
|
143
141
|
type: object
|
|
144
142
|
properties:
|
|
145
143
|
id:
|