@golemio/air-quality-stations 1.3.3-dev.1450635167 → 1.3.3-dev.1562233708
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.
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
asyncapi: 3.0.0
|
|
2
|
+
info:
|
|
3
|
+
title: 🌦 Air Quality
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
description: Locations and Measurements of Air Quality in Prague
|
|
6
|
+
channels:
|
|
7
|
+
airQuality.refresh1HDataInDB:
|
|
8
|
+
address: dataplatform.airqualitystations.refresh1HDataInDB
|
|
9
|
+
description: Download and save 1 hour data from CHMI
|
|
10
|
+
bindings:
|
|
11
|
+
amqp:
|
|
12
|
+
is: queue
|
|
13
|
+
queue:
|
|
14
|
+
durable: true
|
|
15
|
+
messages:
|
|
16
|
+
empty:
|
|
17
|
+
$ref: "#/components/messages/emptyMessage"
|
|
18
|
+
airQuality.refresh3HDataInDB:
|
|
19
|
+
address: dataplatform.airqualitystations.refresh3HDataInDB
|
|
20
|
+
description: Download and save 3 hour data from CHMI
|
|
21
|
+
bindings:
|
|
22
|
+
amqp:
|
|
23
|
+
is: queue
|
|
24
|
+
queue:
|
|
25
|
+
durable: true
|
|
26
|
+
messages:
|
|
27
|
+
empty:
|
|
28
|
+
$ref: "#/components/messages/emptyMessage"
|
|
29
|
+
airQuality.updateDistrict:
|
|
30
|
+
address: dataplatform.airqualitystations.updateDistrict
|
|
31
|
+
description: Update city district of a station if missing
|
|
32
|
+
bindings:
|
|
33
|
+
amqp:
|
|
34
|
+
is: queue
|
|
35
|
+
queue:
|
|
36
|
+
durable: true
|
|
37
|
+
messages:
|
|
38
|
+
airQuality.UpdateDistrictParams:
|
|
39
|
+
$ref: "#/components/messages/airQuality.UpdateDistrictParams"
|
|
40
|
+
operations:
|
|
41
|
+
airQuality.refresh1HDataInDB:
|
|
42
|
+
action: "send"
|
|
43
|
+
channel:
|
|
44
|
+
$ref: "#/channels/airQuality.refresh1HDataInDB"
|
|
45
|
+
airQuality.refresh3HDataInDB:
|
|
46
|
+
action: "send"
|
|
47
|
+
channel:
|
|
48
|
+
$ref: "#/channels/airQuality.refresh3HDataInDB"
|
|
49
|
+
airQuality.updateDistrict:
|
|
50
|
+
action: "send"
|
|
51
|
+
channel:
|
|
52
|
+
$ref: "#/channels/airQuality.updateDistrict"
|
|
53
|
+
components:
|
|
54
|
+
messages:
|
|
55
|
+
emptyMessage:
|
|
56
|
+
title: Empty message
|
|
57
|
+
airQuality.UpdateDistrictParams:
|
|
58
|
+
payload:
|
|
59
|
+
type: object
|
|
60
|
+
properties:
|
|
61
|
+
"id":
|
|
62
|
+
type: string
|
|
63
|
+
additionalProperties: false
|