@golemio/flow 1.3.1-dev.1315660210 → 1.3.2-rc.1506782672
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/dist/integration-engine/FlowWorker.js.map +1 -1
- package/dist/integration-engine/interfaces/IGetAnalyticsMessage.d.ts +5 -0
- package/dist/integration-engine/interfaces/IGetAnalyticsMessage.js +3 -0
- package/dist/integration-engine/interfaces/IGetAnalyticsMessage.js.map +1 -0
- package/dist/integration-engine/interfaces/IGetSinksHistoryMessage.d.ts +21 -0
- package/dist/integration-engine/interfaces/IGetSinksHistoryMessage.js +3 -0
- package/dist/integration-engine/interfaces/IGetSinksHistoryMessage.js.map +1 -0
- package/dist/integration-engine/interfaces/IGetSinksHistoryPayloads.d.ts +21 -0
- package/dist/integration-engine/interfaces/IGetSinksHistoryPayloads.js +3 -0
- package/dist/integration-engine/interfaces/IGetSinksHistoryPayloads.js.map +1 -0
- package/dist/integration-engine/interfaces/IGetSinksMessage.d.ts +13 -0
- package/dist/integration-engine/interfaces/IGetSinksMessage.js +3 -0
- package/dist/integration-engine/interfaces/IGetSinksMessage.js.map +1 -0
- package/dist/integration-engine/interfaces/IHistoryIntervalMessage.d.ts +4 -0
- package/dist/integration-engine/interfaces/IHistoryIntervalMessage.js +3 -0
- package/dist/integration-engine/interfaces/IHistoryIntervalMessage.js.map +1 -0
- package/dist/integration-engine/queueDefinitions.js +0 -57
- package/dist/integration-engine/queueDefinitions.js.map +1 -1
- package/docs/asyncapi.yaml +324 -0
- package/docs/index.md +3 -0
- package/docs/openapi.yaml +260 -260
- package/package.json +3 -3
- package/dist/integration-engine/FlowWorkerTest.d.ts +0 -29
- package/dist/integration-engine/FlowWorkerTest.js +0 -469
- package/dist/integration-engine/FlowWorkerTest.js.map +0 -1
package/docs/openapi.yaml
CHANGED
|
@@ -1,260 +1,260 @@
|
|
|
1
|
-
openapi: 3.0.3
|
|
2
|
-
|
|
3
|
-
info:
|
|
4
|
-
title: 🚶 Pedestrians
|
|
5
|
-
description: Locations and Measurements of movement
|
|
6
|
-
version: 1.0.0
|
|
7
|
-
contact:
|
|
8
|
-
name: Golemio Prague Data Platform
|
|
9
|
-
email: golemio@operatorict.cz
|
|
10
|
-
url: https://golemio.cz
|
|
11
|
-
|
|
12
|
-
servers:
|
|
13
|
-
- url: https://api.golemio.cz
|
|
14
|
-
description: Main (production) server
|
|
15
|
-
- url: https://rabin.golemio.cz
|
|
16
|
-
description: Test (development) server
|
|
17
|
-
|
|
18
|
-
tags:
|
|
19
|
-
- name: 🚶 Pedestrians (v2)
|
|
20
|
-
description: 💡 Locations and Measurements of movement
|
|
21
|
-
paths:
|
|
22
|
-
/v2/pedestrians/locations:
|
|
23
|
-
get:
|
|
24
|
-
summary: Get locations and directions
|
|
25
|
-
description: ""
|
|
26
|
-
tags:
|
|
27
|
-
- 🚶 Pedestrians (v2)
|
|
28
|
-
parameters:
|
|
29
|
-
- name: locationId
|
|
30
|
-
in: query
|
|
31
|
-
description: Lists only locations with this ID
|
|
32
|
-
required: false
|
|
33
|
-
schema:
|
|
34
|
-
type: integer
|
|
35
|
-
format: int64
|
|
36
|
-
- name: locationName
|
|
37
|
-
in: query
|
|
38
|
-
description: Lists only locations with this NAME
|
|
39
|
-
required: false
|
|
40
|
-
schema:
|
|
41
|
-
type: string
|
|
42
|
-
- name: limit
|
|
43
|
-
in: query
|
|
44
|
-
description: Limits number of retrieved items
|
|
45
|
-
required: false
|
|
46
|
-
schema:
|
|
47
|
-
type: integer
|
|
48
|
-
format: int64
|
|
49
|
-
- name: offset
|
|
50
|
-
in: query
|
|
51
|
-
description: Number of the first items that are skipped
|
|
52
|
-
required: false
|
|
53
|
-
schema:
|
|
54
|
-
type: integer
|
|
55
|
-
format: int64
|
|
56
|
-
responses:
|
|
57
|
-
"200":
|
|
58
|
-
description: successful operation
|
|
59
|
-
headers:
|
|
60
|
-
Cache-Control:
|
|
61
|
-
description: Cache control directive for caching proxies
|
|
62
|
-
schema:
|
|
63
|
-
type: string
|
|
64
|
-
example: public, s-maxage=3600, stale-while-revalidate=300
|
|
65
|
-
content:
|
|
66
|
-
application/json:
|
|
67
|
-
schema:
|
|
68
|
-
$ref: "#/components/schemas/PedestriansLocation"
|
|
69
|
-
"401":
|
|
70
|
-
$ref: "#/components/responses/UnauthorizedError"
|
|
71
|
-
"404":
|
|
72
|
-
description: Location not found
|
|
73
|
-
|
|
74
|
-
/v2/pedestrians/measurements:
|
|
75
|
-
get:
|
|
76
|
-
summary: GET measurements of pedestrian traffic
|
|
77
|
-
description: ""
|
|
78
|
-
tags:
|
|
79
|
-
- 🚶 Pedestrians (v2)
|
|
80
|
-
parameters:
|
|
81
|
-
- name: locationId
|
|
82
|
-
in: query
|
|
83
|
-
description: Lists only measurements for this location
|
|
84
|
-
required: false
|
|
85
|
-
schema:
|
|
86
|
-
type: integer
|
|
87
|
-
format: int64
|
|
88
|
-
example: 0
|
|
89
|
-
- name: directionId
|
|
90
|
-
in: query
|
|
91
|
-
description: Lists only measurements for this direction
|
|
92
|
-
required: false
|
|
93
|
-
schema:
|
|
94
|
-
type: integer
|
|
95
|
-
format: int64
|
|
96
|
-
example: 4
|
|
97
|
-
- name: limit
|
|
98
|
-
in: query
|
|
99
|
-
description: Limits number of retrieved items
|
|
100
|
-
required: false
|
|
101
|
-
schema:
|
|
102
|
-
type: integer
|
|
103
|
-
format: int64
|
|
104
|
-
example: 1
|
|
105
|
-
- name: offset
|
|
106
|
-
in: query
|
|
107
|
-
description: Number of the first items that are skipped
|
|
108
|
-
required: false
|
|
109
|
-
schema:
|
|
110
|
-
type: integer
|
|
111
|
-
format: int64
|
|
112
|
-
example: 1
|
|
113
|
-
- name: from
|
|
114
|
-
in: query
|
|
115
|
-
description: Date in ISO8601, limits data measured from this datetime
|
|
116
|
-
required: false
|
|
117
|
-
schema:
|
|
118
|
-
type: string
|
|
119
|
-
format: date
|
|
120
|
-
example: 2020-09-01T01:15:00.000Z
|
|
121
|
-
- name: to
|
|
122
|
-
in: query
|
|
123
|
-
description: Date in ISO8601, limits data measured up until this datetime
|
|
124
|
-
required: false
|
|
125
|
-
schema:
|
|
126
|
-
type: string
|
|
127
|
-
format: date
|
|
128
|
-
example: 2020-10-22T01:15:00.000Z
|
|
129
|
-
responses:
|
|
130
|
-
"200":
|
|
131
|
-
description: successful operation
|
|
132
|
-
headers:
|
|
133
|
-
Cache-Control:
|
|
134
|
-
description: Cache control directive for caching proxies
|
|
135
|
-
schema:
|
|
136
|
-
type: string
|
|
137
|
-
example: public, s-maxage=3600, stale-while-revalidate=300
|
|
138
|
-
content:
|
|
139
|
-
application/json:
|
|
140
|
-
schema:
|
|
141
|
-
$ref: "#/components/schemas/PedestriansMeasurement"
|
|
142
|
-
"401":
|
|
143
|
-
$ref: "#/components/responses/UnauthorizedError"
|
|
144
|
-
"404":
|
|
145
|
-
description: Location not found
|
|
146
|
-
|
|
147
|
-
components:
|
|
148
|
-
responses:
|
|
149
|
-
UnauthorizedError:
|
|
150
|
-
description: API key is missing or invalid
|
|
151
|
-
headers:
|
|
152
|
-
WWW_Authenticate:
|
|
153
|
-
schema:
|
|
154
|
-
type: string
|
|
155
|
-
|
|
156
|
-
schemas:
|
|
157
|
-
PedestriansLocation:
|
|
158
|
-
type: object
|
|
159
|
-
properties:
|
|
160
|
-
id:
|
|
161
|
-
type: string
|
|
162
|
-
description: Location id
|
|
163
|
-
example: "2"
|
|
164
|
-
location_name:
|
|
165
|
-
type: string
|
|
166
|
-
example: Rytířská 12
|
|
167
|
-
lat:
|
|
168
|
-
type: string
|
|
169
|
-
example: "50.084781715549276"
|
|
170
|
-
lng:
|
|
171
|
-
type: string
|
|
172
|
-
example: "14.422412102465428"
|
|
173
|
-
address:
|
|
174
|
-
type: string
|
|
175
|
-
example: Na Můstku 12
|
|
176
|
-
city_district:
|
|
177
|
-
type: string
|
|
178
|
-
example: Praha 1
|
|
179
|
-
tech:
|
|
180
|
-
type: string
|
|
181
|
-
example: kamera
|
|
182
|
-
map_url:
|
|
183
|
-
type: string
|
|
184
|
-
example: https://storage.golemio.cz/intenzita-pesi-dopravy/2-map.png
|
|
185
|
-
photo_url:
|
|
186
|
-
type: string
|
|
187
|
-
example: https://storage.golemio.cz/intenzita-pesi-dopravy/2.png
|
|
188
|
-
measurement_start:
|
|
189
|
-
type: string
|
|
190
|
-
format: date
|
|
191
|
-
example: 2020-09-02 12:00
|
|
192
|
-
measurement_end:
|
|
193
|
-
type: string
|
|
194
|
-
format: date
|
|
195
|
-
example: 2020-09-05 12:00
|
|
196
|
-
directions:
|
|
197
|
-
type: array
|
|
198
|
-
items:
|
|
199
|
-
$ref: "#/components/schemas/PedestriansDirection"
|
|
200
|
-
required:
|
|
201
|
-
- id
|
|
202
|
-
- location_name
|
|
203
|
-
- lat
|
|
204
|
-
- lng
|
|
205
|
-
- address
|
|
206
|
-
- city_district
|
|
207
|
-
- tech
|
|
208
|
-
- map_url
|
|
209
|
-
- photo_url
|
|
210
|
-
- measurement_start
|
|
211
|
-
|
|
212
|
-
PedestriansDirection:
|
|
213
|
-
type: object
|
|
214
|
-
properties:
|
|
215
|
-
id:
|
|
216
|
-
type: integer
|
|
217
|
-
format: int64
|
|
218
|
-
example: "2"
|
|
219
|
-
name:
|
|
220
|
-
type: string
|
|
221
|
-
example: Můstek
|
|
222
|
-
to:
|
|
223
|
-
type: integer
|
|
224
|
-
format: int64
|
|
225
|
-
example: "1"
|
|
226
|
-
required:
|
|
227
|
-
- id
|
|
228
|
-
- name
|
|
229
|
-
- to
|
|
230
|
-
|
|
231
|
-
PedestriansMeasurement:
|
|
232
|
-
type: object
|
|
233
|
-
properties:
|
|
234
|
-
location_id:
|
|
235
|
-
type: string
|
|
236
|
-
example: "1"
|
|
237
|
-
direction_id:
|
|
238
|
-
type: string
|
|
239
|
-
example: "3"
|
|
240
|
-
value:
|
|
241
|
-
type: string
|
|
242
|
-
example: "114"
|
|
243
|
-
quality:
|
|
244
|
-
type: string
|
|
245
|
-
example: "1.00000000000000000000"
|
|
246
|
-
measured_from:
|
|
247
|
-
type: string
|
|
248
|
-
format: date
|
|
249
|
-
example: 2020-08-21T17:30:00.000Z
|
|
250
|
-
measured_to:
|
|
251
|
-
type: string
|
|
252
|
-
format: date
|
|
253
|
-
example: 2020-08-21T17:45:00.000Z
|
|
254
|
-
required:
|
|
255
|
-
- location_id
|
|
256
|
-
- direction_id
|
|
257
|
-
- value
|
|
258
|
-
- quality
|
|
259
|
-
- measured_from
|
|
260
|
-
- measured_to
|
|
1
|
+
openapi: 3.0.3
|
|
2
|
+
|
|
3
|
+
info:
|
|
4
|
+
title: 🚶 Pedestrians
|
|
5
|
+
description: Locations and Measurements of movement
|
|
6
|
+
version: 1.0.0
|
|
7
|
+
contact:
|
|
8
|
+
name: Golemio Prague Data Platform
|
|
9
|
+
email: golemio@operatorict.cz
|
|
10
|
+
url: https://golemio.cz
|
|
11
|
+
|
|
12
|
+
servers:
|
|
13
|
+
- url: https://api.golemio.cz
|
|
14
|
+
description: Main (production) server
|
|
15
|
+
- url: https://rabin.golemio.cz
|
|
16
|
+
description: Test (development) server
|
|
17
|
+
|
|
18
|
+
tags:
|
|
19
|
+
- name: 🚶 Pedestrians (v2)
|
|
20
|
+
description: 💡 Locations and Measurements of movement
|
|
21
|
+
paths:
|
|
22
|
+
/v2/pedestrians/locations:
|
|
23
|
+
get:
|
|
24
|
+
summary: Get locations and directions
|
|
25
|
+
description: ""
|
|
26
|
+
tags:
|
|
27
|
+
- 🚶 Pedestrians (v2)
|
|
28
|
+
parameters:
|
|
29
|
+
- name: locationId
|
|
30
|
+
in: query
|
|
31
|
+
description: Lists only locations with this ID
|
|
32
|
+
required: false
|
|
33
|
+
schema:
|
|
34
|
+
type: integer
|
|
35
|
+
format: int64
|
|
36
|
+
- name: locationName
|
|
37
|
+
in: query
|
|
38
|
+
description: Lists only locations with this NAME
|
|
39
|
+
required: false
|
|
40
|
+
schema:
|
|
41
|
+
type: string
|
|
42
|
+
- name: limit
|
|
43
|
+
in: query
|
|
44
|
+
description: Limits number of retrieved items
|
|
45
|
+
required: false
|
|
46
|
+
schema:
|
|
47
|
+
type: integer
|
|
48
|
+
format: int64
|
|
49
|
+
- name: offset
|
|
50
|
+
in: query
|
|
51
|
+
description: Number of the first items that are skipped
|
|
52
|
+
required: false
|
|
53
|
+
schema:
|
|
54
|
+
type: integer
|
|
55
|
+
format: int64
|
|
56
|
+
responses:
|
|
57
|
+
"200":
|
|
58
|
+
description: successful operation
|
|
59
|
+
headers:
|
|
60
|
+
Cache-Control:
|
|
61
|
+
description: Cache control directive for caching proxies
|
|
62
|
+
schema:
|
|
63
|
+
type: string
|
|
64
|
+
example: public, s-maxage=3600, stale-while-revalidate=300
|
|
65
|
+
content:
|
|
66
|
+
application/json:
|
|
67
|
+
schema:
|
|
68
|
+
$ref: "#/components/schemas/PedestriansLocation"
|
|
69
|
+
"401":
|
|
70
|
+
$ref: "#/components/responses/UnauthorizedError"
|
|
71
|
+
"404":
|
|
72
|
+
description: Location not found
|
|
73
|
+
|
|
74
|
+
/v2/pedestrians/measurements:
|
|
75
|
+
get:
|
|
76
|
+
summary: GET measurements of pedestrian traffic
|
|
77
|
+
description: ""
|
|
78
|
+
tags:
|
|
79
|
+
- 🚶 Pedestrians (v2)
|
|
80
|
+
parameters:
|
|
81
|
+
- name: locationId
|
|
82
|
+
in: query
|
|
83
|
+
description: Lists only measurements for this location
|
|
84
|
+
required: false
|
|
85
|
+
schema:
|
|
86
|
+
type: integer
|
|
87
|
+
format: int64
|
|
88
|
+
example: 0
|
|
89
|
+
- name: directionId
|
|
90
|
+
in: query
|
|
91
|
+
description: Lists only measurements for this direction
|
|
92
|
+
required: false
|
|
93
|
+
schema:
|
|
94
|
+
type: integer
|
|
95
|
+
format: int64
|
|
96
|
+
example: 4
|
|
97
|
+
- name: limit
|
|
98
|
+
in: query
|
|
99
|
+
description: Limits number of retrieved items
|
|
100
|
+
required: false
|
|
101
|
+
schema:
|
|
102
|
+
type: integer
|
|
103
|
+
format: int64
|
|
104
|
+
example: 1
|
|
105
|
+
- name: offset
|
|
106
|
+
in: query
|
|
107
|
+
description: Number of the first items that are skipped
|
|
108
|
+
required: false
|
|
109
|
+
schema:
|
|
110
|
+
type: integer
|
|
111
|
+
format: int64
|
|
112
|
+
example: 1
|
|
113
|
+
- name: from
|
|
114
|
+
in: query
|
|
115
|
+
description: Date in ISO8601, limits data measured from this datetime
|
|
116
|
+
required: false
|
|
117
|
+
schema:
|
|
118
|
+
type: string
|
|
119
|
+
format: date
|
|
120
|
+
example: 2020-09-01T01:15:00.000Z
|
|
121
|
+
- name: to
|
|
122
|
+
in: query
|
|
123
|
+
description: Date in ISO8601, limits data measured up until this datetime
|
|
124
|
+
required: false
|
|
125
|
+
schema:
|
|
126
|
+
type: string
|
|
127
|
+
format: date
|
|
128
|
+
example: 2020-10-22T01:15:00.000Z
|
|
129
|
+
responses:
|
|
130
|
+
"200":
|
|
131
|
+
description: successful operation
|
|
132
|
+
headers:
|
|
133
|
+
Cache-Control:
|
|
134
|
+
description: Cache control directive for caching proxies
|
|
135
|
+
schema:
|
|
136
|
+
type: string
|
|
137
|
+
example: public, s-maxage=3600, stale-while-revalidate=300
|
|
138
|
+
content:
|
|
139
|
+
application/json:
|
|
140
|
+
schema:
|
|
141
|
+
$ref: "#/components/schemas/PedestriansMeasurement"
|
|
142
|
+
"401":
|
|
143
|
+
$ref: "#/components/responses/UnauthorizedError"
|
|
144
|
+
"404":
|
|
145
|
+
description: Location not found
|
|
146
|
+
|
|
147
|
+
components:
|
|
148
|
+
responses:
|
|
149
|
+
UnauthorizedError:
|
|
150
|
+
description: API key is missing or invalid
|
|
151
|
+
headers:
|
|
152
|
+
WWW_Authenticate:
|
|
153
|
+
schema:
|
|
154
|
+
type: string
|
|
155
|
+
|
|
156
|
+
schemas:
|
|
157
|
+
PedestriansLocation:
|
|
158
|
+
type: object
|
|
159
|
+
properties:
|
|
160
|
+
id:
|
|
161
|
+
type: string
|
|
162
|
+
description: Location id
|
|
163
|
+
example: "2"
|
|
164
|
+
location_name:
|
|
165
|
+
type: string
|
|
166
|
+
example: Rytířská 12
|
|
167
|
+
lat:
|
|
168
|
+
type: string
|
|
169
|
+
example: "50.084781715549276"
|
|
170
|
+
lng:
|
|
171
|
+
type: string
|
|
172
|
+
example: "14.422412102465428"
|
|
173
|
+
address:
|
|
174
|
+
type: string
|
|
175
|
+
example: Na Můstku 12
|
|
176
|
+
city_district:
|
|
177
|
+
type: string
|
|
178
|
+
example: Praha 1
|
|
179
|
+
tech:
|
|
180
|
+
type: string
|
|
181
|
+
example: kamera
|
|
182
|
+
map_url:
|
|
183
|
+
type: string
|
|
184
|
+
example: https://storage.golemio.cz/intenzita-pesi-dopravy/2-map.png
|
|
185
|
+
photo_url:
|
|
186
|
+
type: string
|
|
187
|
+
example: https://storage.golemio.cz/intenzita-pesi-dopravy/2.png
|
|
188
|
+
measurement_start:
|
|
189
|
+
type: string
|
|
190
|
+
format: date
|
|
191
|
+
example: 2020-09-02 12:00
|
|
192
|
+
measurement_end:
|
|
193
|
+
type: string
|
|
194
|
+
format: date
|
|
195
|
+
example: 2020-09-05 12:00
|
|
196
|
+
directions:
|
|
197
|
+
type: array
|
|
198
|
+
items:
|
|
199
|
+
$ref: "#/components/schemas/PedestriansDirection"
|
|
200
|
+
required:
|
|
201
|
+
- id
|
|
202
|
+
- location_name
|
|
203
|
+
- lat
|
|
204
|
+
- lng
|
|
205
|
+
- address
|
|
206
|
+
- city_district
|
|
207
|
+
- tech
|
|
208
|
+
- map_url
|
|
209
|
+
- photo_url
|
|
210
|
+
- measurement_start
|
|
211
|
+
|
|
212
|
+
PedestriansDirection:
|
|
213
|
+
type: object
|
|
214
|
+
properties:
|
|
215
|
+
id:
|
|
216
|
+
type: integer
|
|
217
|
+
format: int64
|
|
218
|
+
example: "2"
|
|
219
|
+
name:
|
|
220
|
+
type: string
|
|
221
|
+
example: Můstek
|
|
222
|
+
to:
|
|
223
|
+
type: integer
|
|
224
|
+
format: int64
|
|
225
|
+
example: "1"
|
|
226
|
+
required:
|
|
227
|
+
- id
|
|
228
|
+
- name
|
|
229
|
+
- to
|
|
230
|
+
|
|
231
|
+
PedestriansMeasurement:
|
|
232
|
+
type: object
|
|
233
|
+
properties:
|
|
234
|
+
location_id:
|
|
235
|
+
type: string
|
|
236
|
+
example: "1"
|
|
237
|
+
direction_id:
|
|
238
|
+
type: string
|
|
239
|
+
example: "3"
|
|
240
|
+
value:
|
|
241
|
+
type: string
|
|
242
|
+
example: "114"
|
|
243
|
+
quality:
|
|
244
|
+
type: string
|
|
245
|
+
example: "1.00000000000000000000"
|
|
246
|
+
measured_from:
|
|
247
|
+
type: string
|
|
248
|
+
format: date
|
|
249
|
+
example: 2020-08-21T17:30:00.000Z
|
|
250
|
+
measured_to:
|
|
251
|
+
type: string
|
|
252
|
+
format: date
|
|
253
|
+
example: 2020-08-21T17:45:00.000Z
|
|
254
|
+
required:
|
|
255
|
+
- location_id
|
|
256
|
+
- direction_id
|
|
257
|
+
- value
|
|
258
|
+
- quality
|
|
259
|
+
- measured_from
|
|
260
|
+
- measured_to
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemio/flow",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2-rc.1506782672",
|
|
4
4
|
"description": "Golemio Flow Module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@commitlint/cli": "^11.0.0",
|
|
34
34
|
"@commitlint/config-conventional": "^11.0.0",
|
|
35
|
-
"@golemio/cli": "1.
|
|
36
|
-
"@golemio/core": "1.
|
|
35
|
+
"@golemio/cli": "1.7.3",
|
|
36
|
+
"@golemio/core": "1.15.0",
|
|
37
37
|
"@golemio/db-common": "1.1.4",
|
|
38
38
|
"@golemio/eslint-config": "1.1.2",
|
|
39
39
|
"@types/chai": "^4.2.3",
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { BaseWorker } from "@golemio/core/dist/integration-engine/workers";
|
|
2
|
-
/**
|
|
3
|
-
* Temporary worker for testing purposes
|
|
4
|
-
*/
|
|
5
|
-
export declare class FlowWorkerTest extends BaseWorker {
|
|
6
|
-
private static testSchema;
|
|
7
|
-
private test_url;
|
|
8
|
-
private cubesDataSource;
|
|
9
|
-
private analyticsDataSource;
|
|
10
|
-
private sinksDataSource;
|
|
11
|
-
private sinksHistoryDataSource;
|
|
12
|
-
private flowCubesModel;
|
|
13
|
-
private flowMeasurementModel;
|
|
14
|
-
private flowODMeasurementModel;
|
|
15
|
-
private flowSinksModel;
|
|
16
|
-
private queuePrefix;
|
|
17
|
-
constructor();
|
|
18
|
-
private getHistoryIntervalFromMsg;
|
|
19
|
-
refreshCubes: (msg: any) => Promise<void>;
|
|
20
|
-
getAnalytics: (msg: any) => Promise<void>;
|
|
21
|
-
getSinks: (msg: any) => Promise<void>;
|
|
22
|
-
getSinksHistoryPayloads: (msg: any) => Promise<void>;
|
|
23
|
-
getSinksHistory: (msg: any) => Promise<void>;
|
|
24
|
-
private getMeasurementsDistribution;
|
|
25
|
-
private getMeasurementsOdMatrix;
|
|
26
|
-
private getHistoryPayload;
|
|
27
|
-
private getTimeRanges;
|
|
28
|
-
private getHttpSettings;
|
|
29
|
-
}
|