@golemio/parkings 1.15.2-dev.1506611230 → 1.15.2-dev.1511923012
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/ioc/ModuleContainerToken.d.ts +0 -1
- package/dist/integration-engine/ioc/ModuleContainerToken.js +0 -1
- package/dist/integration-engine/ioc/ModuleContainerToken.js.map +1 -1
- package/dist/integration-engine/workers/schemas/UpdateAddressAndNameSchema.d.ts +1 -4
- package/dist/integration-engine/workers/schemas/UpdateAddressAndNameSchema.js +0 -19
- package/dist/integration-engine/workers/schemas/UpdateAddressAndNameSchema.js.map +1 -1
- package/dist/integration-engine/workers/tasks/SaveIsphkMeasurementsTask.d.ts +3 -2
- package/dist/integration-engine/workers/tasks/SaveIsphkMeasurementsTask.js.map +1 -1
- package/docs/asyncapi.yaml +824 -0
- package/docs/implementation_documentation.md +3 -1
- package/package.json +2 -2
|
@@ -40,7 +40,6 @@ declare const ModuleContainerToken: {
|
|
|
40
40
|
OsmParkingMachinesDataSource: symbol;
|
|
41
41
|
SaveOsmParkingMachinesTask: symbol;
|
|
42
42
|
ParkingEntrancesRepository: symbol;
|
|
43
|
-
ManualEntrancesDatasource: symbol;
|
|
44
43
|
OsmOpeningHoursParser: symbol;
|
|
45
44
|
OsmOpeningHoursTransformation: symbol;
|
|
46
45
|
BedrichovMeasurementsTransformation: symbol;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModuleContainerToken.js","sourceRoot":"","sources":["../../../src/integration-engine/ioc/ModuleContainerToken.ts"],"names":[],"mappings":";;;AAAA,MAAM,oBAAoB,GAAG;IACzB,gBAAgB,EAAE,MAAM,EAAE;IAC1B,UAAU,EAAE,MAAM,EAAE;IACpB,8BAA8B,EAAE,MAAM,EAAE;IACxC,kBAAkB,EAAE,MAAM,EAAE;IAC5B,2BAA2B,EAAE,MAAM,EAAE;IACrC,0BAA0B,EAAE,MAAM,EAAE;IACpC,wBAAwB,EAAE,MAAM,EAAE;IAClC,gCAAgC,EAAE,MAAM,EAAE;IAC1C,yBAAyB,EAAE,MAAM,EAAE;IACnC,0BAA0B,EAAE,MAAM,EAAE;IACpC,6BAA6B,EAAE,MAAM,EAAE;IACvC,oCAAoC,EAAE,MAAM,EAAE;IAC9C,yBAAyB,EAAE,MAAM,EAAE;IACnC,mBAAmB,EAAE,MAAM,EAAE;IAE7B,4BAA4B,EAAE,MAAM,EAAE;IACtC,gCAAgC,EAAE,MAAM,EAAE;IAC1C,mCAAmC,EAAE,MAAM,EAAE;IAC7C,mCAAmC,EAAE,MAAM,EAAE;IAC7C,4BAA4B,EAAE,MAAM,EAAE;IACtC,+BAA+B,EAAE,MAAM,EAAE;IAEzC,gCAAgC,EAAE,MAAM,CAAC,kCAAkC,CAAC;IAC5E,gCAAgC,EAAE,MAAM,EAAE;IAE1C,mBAAmB;IACnB,0BAA0B,EAAE,MAAM,EAAE;IACpC,oBAAoB,EAAE,MAAM,EAAE;IAC9B,YAAY;IAEZ,gBAAgB;IAChB,yBAAyB,EAAE,MAAM,EAAE;IACnC,YAAY;IAEZ,cAAc;IACd,iCAAiC,EAAE,MAAM,EAAE;IAC3C,2BAA2B,EAAE,MAAM,EAAE;IACrC,wBAAwB,EAAE,MAAM,EAAE;IAClC,YAAY;IAEZ,oBAAoB;IACpB,gCAAgC,EAAE,MAAM,EAAE;IAC1C,oCAAoC,EAAE,MAAM,EAAE;IAC9C,4BAA4B,EAAE,MAAM,EAAE;IACtC,8BAA8B,EAAE,MAAM,EAAE;IACxC,6BAA6B,EAAE,MAAM,EAAE;IACvC,gCAAgC,EAAE,MAAM,EAAE;IAC1C,YAAY;IAEZ,aAAa;IACb,aAAa,EAAE,MAAM,EAAE;IACvB,eAAe,EAAE,MAAM,EAAE;IACzB,sBAAsB,EAAE,MAAM,EAAE;IAChC,wBAAwB,EAAE,MAAM,EAAE;IAClC,4BAA4B,EAAE,MAAM,EAAE;IACtC,0BAA0B,EAAE,MAAM,EAAE;IACpC,YAAY;IAEZ,mBAAmB;IACnB,0BAA0B,EAAE,MAAM,EAAE;IACpC,
|
|
1
|
+
{"version":3,"file":"ModuleContainerToken.js","sourceRoot":"","sources":["../../../src/integration-engine/ioc/ModuleContainerToken.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { IUpdateAddressInput
|
|
1
|
+
import { IUpdateAddressInput } from "./UpdateAddressSchema";
|
|
2
2
|
export interface IUpdateAddressAndNameInput extends IUpdateAddressInput {
|
|
3
3
|
name: string;
|
|
4
4
|
}
|
|
5
|
-
export declare class UpdateAddressAndNameValidationSchema extends UpdateAddressValidationSchema {
|
|
6
|
-
name: number;
|
|
7
|
-
}
|
|
@@ -1,22 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.UpdateAddressAndNameValidationSchema = void 0;
|
|
13
|
-
const class_validator_1 = require("@golemio/core/dist/shared/class-validator");
|
|
14
|
-
const UpdateAddressSchema_1 = require("./UpdateAddressSchema");
|
|
15
|
-
class UpdateAddressAndNameValidationSchema extends UpdateAddressSchema_1.UpdateAddressValidationSchema {
|
|
16
|
-
}
|
|
17
|
-
exports.UpdateAddressAndNameValidationSchema = UpdateAddressAndNameValidationSchema;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsString)(),
|
|
20
|
-
__metadata("design:type", Number)
|
|
21
|
-
], UpdateAddressAndNameValidationSchema.prototype, "name", void 0);
|
|
22
3
|
//# sourceMappingURL=UpdateAddressAndNameSchema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateAddressAndNameSchema.js","sourceRoot":"","sources":["../../../../src/integration-engine/workers/schemas/UpdateAddressAndNameSchema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UpdateAddressAndNameSchema.js","sourceRoot":"","sources":["../../../../src/integration-engine/workers/schemas/UpdateAddressAndNameSchema.ts"],"names":[],"mappings":""}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { PostgresModel } from "@golemio/core/dist/integration-engine";
|
|
2
2
|
import { AbstractTaskJsonSchema } from "@golemio/core/dist/integration-engine/workers/AbstractTaskJsonSchema";
|
|
3
3
|
import { JSONSchemaValidator } from "@golemio/core/dist/shared/golemio-validator";
|
|
4
|
-
|
|
4
|
+
import { IIsphkMeasurements } from "../../../schema-definitions/datasources/isphk/interfaces/IIsphkMeasurements";
|
|
5
|
+
export declare class SaveIsphkMeasurementsTask extends AbstractTaskJsonSchema<IIsphkMeasurements> {
|
|
5
6
|
private readonly parkingsMeasurementsRepository;
|
|
6
7
|
private readonly parkingsMeasurementsActualRepository;
|
|
7
8
|
readonly queueName = "saveIsphkMeasurements";
|
|
8
9
|
readonly queueTtl: number;
|
|
9
10
|
readonly schema: JSONSchemaValidator;
|
|
10
11
|
constructor(parkingsMeasurementsRepository: PostgresModel, parkingsMeasurementsActualRepository: PostgresModel);
|
|
11
|
-
execute(inputData:
|
|
12
|
+
execute(inputData: IIsphkMeasurements): Promise<void>;
|
|
12
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SaveIsphkMeasurementsTask.js","sourceRoot":"","sources":["../../../../src/integration-engine/workers/tasks/SaveIsphkMeasurementsTask.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,yEAAoE;AACpE,iHAA4G;AAC5G,4CAAiE;AACjE,mHAAyF;AACzF,8EAAsE;AACtE,iHAA8G;AAC9G,6EAAwE;AACxE,mFAAkF;AAClF,iEAAwE;
|
|
1
|
+
{"version":3,"file":"SaveIsphkMeasurementsTask.js","sourceRoot":"","sources":["../../../../src/integration-engine/workers/tasks/SaveIsphkMeasurementsTask.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,yEAAoE;AACpE,iHAA4G;AAC5G,4CAAiE;AACjE,mHAAyF;AACzF,8EAAsE;AACtE,iHAA8G;AAC9G,6EAAwE;AACxE,mFAAkF;AAClF,iEAAwE;AAIjE,IAAM,yBAAyB,uCAA/B,MAAM,yBAA0B,SAAQ,+CAA0C;IAKrF,YAEI,8BAA8D,EAE9D,oCAAoE;QAEpE,KAAK,CAAC,oCAAwB,CAAC,CAAC;QAJf,mCAA8B,GAA9B,8BAA8B,CAAe;QAE7C,yCAAoC,GAApC,oCAAoC,CAAe;QARxD,cAAS,GAAG,uBAAuB,CAAC;QACpC,aAAQ,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;QAC1B,WAAM,GAAG,IAAI,uCAAmB,CAAC,qCAAqC,EAAE,iDAAuB,CAAC,CAAC;IASjH,CAAC;IAEY,OAAO,CAAC,SAA6B;;YAC9C,IAAI;gBACA,MAAM,8BAA8B,GAAG,IAAI,+DAA8B,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;gBACtF,MAAM,eAAe,GAAG,8BAA8B,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;gBACtF,MAAM,IAAI,CAAC,8BAA8B,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;gBACpE,MAAM,IAAI,CAAC,oCAAoC,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;aAC7E;YAAC,OAAO,GAAG,EAAE;gBACV,MAAM,IAAI,6BAAY,CAAC,4CAA4C,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;aACpG;QACL,CAAC;KAAA;CACJ,CAAA;oCAxBY,yBAAyB;IADrC,IAAA,qBAAU,GAAE;IAOJ,WAAA,IAAA,iBAAM,EAAC,2CAAoB,CAAC,6BAA6B,CAAC,CAAA;IAE1D,WAAA,IAAA,iBAAM,EAAC,2CAAoB,CAAC,oCAAoC,CAAC,CAAA;qCADjB,kCAAa;QAEP,kCAAa;GAT/D,yBAAyB,CAwBrC"}
|
|
@@ -0,0 +1,824 @@
|
|
|
1
|
+
asyncapi: 3.0.0
|
|
2
|
+
info:
|
|
3
|
+
title: Parkings
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
description: Parkings module processes and saves data about parking locations, tariffs and occupancy.
|
|
6
|
+
channels:
|
|
7
|
+
parkings.calculateAverageOccupancy:
|
|
8
|
+
address: dataplatform.parkings.calculateAverageOccupancy
|
|
9
|
+
description: Generate average occupancies from data in database.
|
|
10
|
+
bindings:
|
|
11
|
+
amqp:
|
|
12
|
+
is: queue
|
|
13
|
+
queue:
|
|
14
|
+
durable: true
|
|
15
|
+
messages:
|
|
16
|
+
empty:
|
|
17
|
+
$ref: "#/components/messages/emptyMessage"
|
|
18
|
+
parkings.generateIptOictEntrancesJobsTask:
|
|
19
|
+
address: dataplatform.parkings.generateIptOictEntrances
|
|
20
|
+
description: Generate jobs to update entrances based on sources table.
|
|
21
|
+
bindings:
|
|
22
|
+
amqp:
|
|
23
|
+
is: queue
|
|
24
|
+
queue:
|
|
25
|
+
durable: true
|
|
26
|
+
messages:
|
|
27
|
+
empty:
|
|
28
|
+
$ref: "#/components/messages/emptyMessage"
|
|
29
|
+
parkings.generateIptOictParkingJobs:
|
|
30
|
+
address: dataplatform.parkings.generateIptOictParkingJob
|
|
31
|
+
description: Generate jobs for saveIptOictParkingData based on sources table.
|
|
32
|
+
bindings:
|
|
33
|
+
amqp:
|
|
34
|
+
is: queue
|
|
35
|
+
queue:
|
|
36
|
+
durable: true
|
|
37
|
+
messages:
|
|
38
|
+
empty:
|
|
39
|
+
$ref: "#/components/messages/emptyMessage"
|
|
40
|
+
parkings.generateIptOictPaymentJobs:
|
|
41
|
+
address: dataplatform.parkings.generateIptOictPaymentJob
|
|
42
|
+
description: Generate jobs for saveIptOictPaymentsData based on sources in table.
|
|
43
|
+
bindings:
|
|
44
|
+
amqp:
|
|
45
|
+
is: queue
|
|
46
|
+
queue:
|
|
47
|
+
durable: true
|
|
48
|
+
messages:
|
|
49
|
+
empty:
|
|
50
|
+
$ref: "#/components/messages/emptyMessage"
|
|
51
|
+
parkings.generateIptOictProhibitionsJobs:
|
|
52
|
+
address: dataplatform.parkings.generateIptOictProhibitionsJobs
|
|
53
|
+
description: Generate jobs for saveIptOictProhibitionsDataTask based on sources table.
|
|
54
|
+
bindings:
|
|
55
|
+
amqp:
|
|
56
|
+
is: queue
|
|
57
|
+
queue:
|
|
58
|
+
durable: true
|
|
59
|
+
messages:
|
|
60
|
+
empty:
|
|
61
|
+
$ref: "#/components/messages/emptyMessage"
|
|
62
|
+
parkings.generateIptOictTariffsJobs:
|
|
63
|
+
address: dataplatform.parkings.generateIptOictTariffsJobs
|
|
64
|
+
description: Generate jobs for saveIptOictTariffsData based on sources in table.
|
|
65
|
+
bindings:
|
|
66
|
+
amqp:
|
|
67
|
+
is: queue
|
|
68
|
+
queue:
|
|
69
|
+
durable: true
|
|
70
|
+
messages:
|
|
71
|
+
empty:
|
|
72
|
+
$ref: "#/components/messages/emptyMessage"
|
|
73
|
+
parkings.generateSmart4CityTaskList:
|
|
74
|
+
address: dataplatform.parkings.generateSmart4CityTaskList
|
|
75
|
+
description: Updates list of cities
|
|
76
|
+
bindings:
|
|
77
|
+
amqp:
|
|
78
|
+
is: queue
|
|
79
|
+
queue:
|
|
80
|
+
durable: true
|
|
81
|
+
messages:
|
|
82
|
+
parkings.UpdateSmart4CityInput:
|
|
83
|
+
$ref: "#/components/messages/parkings.UpdateSmart4CityInput"
|
|
84
|
+
parkings.refreshTskOccupancyView:
|
|
85
|
+
address: dataplatform.parkings.refreshTskOccupancyView
|
|
86
|
+
description: Legacy worker.
|
|
87
|
+
bindings:
|
|
88
|
+
amqp:
|
|
89
|
+
is: queue
|
|
90
|
+
queue:
|
|
91
|
+
durable: true
|
|
92
|
+
messages:
|
|
93
|
+
empty:
|
|
94
|
+
$ref: "#/components/messages/emptyMessage"
|
|
95
|
+
parkings.saveBedrichovData:
|
|
96
|
+
address: dataplatform.parkings.saveBedrichovData
|
|
97
|
+
description: Download and save parkings and measurement from Bedřichov
|
|
98
|
+
bindings:
|
|
99
|
+
amqp:
|
|
100
|
+
is: queue
|
|
101
|
+
queue:
|
|
102
|
+
durable: true
|
|
103
|
+
messages:
|
|
104
|
+
empty:
|
|
105
|
+
$ref: "#/components/messages/emptyMessage"
|
|
106
|
+
parkings.saveIptOictEntrancesData:
|
|
107
|
+
address: dataplatform.parkings.saveIptOictEntrancesData
|
|
108
|
+
description: Update parking entrances data from IPT cloud source.
|
|
109
|
+
bindings:
|
|
110
|
+
amqp:
|
|
111
|
+
is: queue
|
|
112
|
+
queue:
|
|
113
|
+
durable: true
|
|
114
|
+
messages:
|
|
115
|
+
parkings.IptOictTaskInputMessage:
|
|
116
|
+
$ref: "#/components/messages/parkings.IptOictTaskInputMessage"
|
|
117
|
+
parkings.saveIptOictParkingData:
|
|
118
|
+
address: dataplatform.parkings.saveIptOictParkingData
|
|
119
|
+
description: Update parkings data from IPT cloud source.
|
|
120
|
+
bindings:
|
|
121
|
+
amqp:
|
|
122
|
+
is: queue
|
|
123
|
+
queue:
|
|
124
|
+
durable: true
|
|
125
|
+
messages:
|
|
126
|
+
parkings.IptOictTaskInputMessage:
|
|
127
|
+
$ref: "#/components/messages/parkings.IptOictTaskInputMessage"
|
|
128
|
+
parkings.saveIptOictPaymentsData:
|
|
129
|
+
address: dataplatform.parkings.saveIptOictPaymentsData
|
|
130
|
+
description: Update payments data from IPT cloud source.
|
|
131
|
+
bindings:
|
|
132
|
+
amqp:
|
|
133
|
+
is: queue
|
|
134
|
+
queue:
|
|
135
|
+
durable: true
|
|
136
|
+
messages:
|
|
137
|
+
parkings.IptOictTaskInputMessage:
|
|
138
|
+
$ref: "#/components/messages/parkings.IptOictTaskInputMessage"
|
|
139
|
+
parkings.saveIptOictProhibitionsDataTask:
|
|
140
|
+
address: dataplatform.parkings.saveIptOictProhibitionsDataTask
|
|
141
|
+
description: Update parking prohibitions from IPT cloud source.
|
|
142
|
+
bindings:
|
|
143
|
+
amqp:
|
|
144
|
+
is: queue
|
|
145
|
+
queue:
|
|
146
|
+
durable: true
|
|
147
|
+
messages:
|
|
148
|
+
parkings.IptOictTaskInputMessage:
|
|
149
|
+
$ref: "#/components/messages/parkings.IptOictTaskInputMessage"
|
|
150
|
+
parkings.saveIptOictTariffsData:
|
|
151
|
+
address: dataplatform.parkings.saveIptOictTariffsData
|
|
152
|
+
description: Update parking tariffs from IPT cloud source.
|
|
153
|
+
bindings:
|
|
154
|
+
amqp:
|
|
155
|
+
is: queue
|
|
156
|
+
queue:
|
|
157
|
+
durable: true
|
|
158
|
+
messages:
|
|
159
|
+
parkings.IptOictTaskInputMessage:
|
|
160
|
+
$ref: "#/components/messages/parkings.IptOictTaskInputMessage"
|
|
161
|
+
parkings.saveIsphkMeasurements:
|
|
162
|
+
address: dataplatform.parkings.saveIsphkMeasurements
|
|
163
|
+
description: Update incoming (from IG) measurements data from ISPHK (Hradec Králové)
|
|
164
|
+
bindings:
|
|
165
|
+
amqp:
|
|
166
|
+
is: queue
|
|
167
|
+
queue:
|
|
168
|
+
durable: true
|
|
169
|
+
messages:
|
|
170
|
+
parkings.IsphkMeasurements:
|
|
171
|
+
$ref: "#/components/messages/parkings.IsphkMeasurements"
|
|
172
|
+
parkings.saveKoridConfToDB:
|
|
173
|
+
address: dataplatform.parkings.saveKoridConfToDB
|
|
174
|
+
description: Incoming parkings data from Korid (Liberec)
|
|
175
|
+
bindings:
|
|
176
|
+
amqp:
|
|
177
|
+
is: queue
|
|
178
|
+
queue:
|
|
179
|
+
durable: true
|
|
180
|
+
messages:
|
|
181
|
+
parkings.KoridConfig:
|
|
182
|
+
$ref: "#/components/messages/parkings.KoridConfig"
|
|
183
|
+
parkings.saveKoridDataToDB:
|
|
184
|
+
address: dataplatform.parkings.saveKoridDataToDB
|
|
185
|
+
description: Incoming measurements data from Korid (Liberec)
|
|
186
|
+
bindings:
|
|
187
|
+
amqp:
|
|
188
|
+
is: queue
|
|
189
|
+
queue:
|
|
190
|
+
durable: true
|
|
191
|
+
messages:
|
|
192
|
+
parkings.KoridData:
|
|
193
|
+
$ref: "#/components/messages/parkings.KoridData"
|
|
194
|
+
parkings.saveMrParkitData:
|
|
195
|
+
address: dataplatform.parkings.saveMrParkitData
|
|
196
|
+
description: Download and save parkings from Mr.Parkig (Praha)
|
|
197
|
+
bindings:
|
|
198
|
+
amqp:
|
|
199
|
+
is: queue
|
|
200
|
+
queue:
|
|
201
|
+
durable: true
|
|
202
|
+
messages:
|
|
203
|
+
empty:
|
|
204
|
+
$ref: "#/components/messages/emptyMessage"
|
|
205
|
+
parkings.saveOsmDataTask:
|
|
206
|
+
address: dataplatform.parkings.saveOsmDataTask
|
|
207
|
+
description: Process parkings, parking locations and opening hours from OpenStreetMaps
|
|
208
|
+
bindings:
|
|
209
|
+
amqp:
|
|
210
|
+
is: queue
|
|
211
|
+
queue:
|
|
212
|
+
durable: true
|
|
213
|
+
messages:
|
|
214
|
+
empty:
|
|
215
|
+
$ref: "#/components/messages/emptyMessage"
|
|
216
|
+
parkings.saveOsmEntrancesDataTask:
|
|
217
|
+
address: dataplatform.parkings.saveOsmEntrancesDataTask
|
|
218
|
+
description: Update entrances from OpenStreetMaps source.
|
|
219
|
+
bindings:
|
|
220
|
+
amqp:
|
|
221
|
+
is: queue
|
|
222
|
+
queue:
|
|
223
|
+
durable: true
|
|
224
|
+
messages:
|
|
225
|
+
empty:
|
|
226
|
+
$ref: "#/components/messages/emptyMessage"
|
|
227
|
+
parkings.saveOsmParkingMachinesTask:
|
|
228
|
+
address: dataplatform.parkings.saveOsmParkingMachinesTask
|
|
229
|
+
description: Update parking machines locations from OpenStreetMaps source.
|
|
230
|
+
bindings:
|
|
231
|
+
amqp:
|
|
232
|
+
is: queue
|
|
233
|
+
queue:
|
|
234
|
+
durable: true
|
|
235
|
+
messages:
|
|
236
|
+
empty:
|
|
237
|
+
$ref: "#/components/messages/emptyMessage"
|
|
238
|
+
parkings.saveParkingLotsMeasurementsPrague:
|
|
239
|
+
address: dataplatform.parkings.saveParkingLotsMeasurementsPrague
|
|
240
|
+
description: Update P+R parking lots measurements from TSK (Praha)
|
|
241
|
+
bindings:
|
|
242
|
+
amqp:
|
|
243
|
+
is: queue
|
|
244
|
+
queue:
|
|
245
|
+
durable: true
|
|
246
|
+
messages:
|
|
247
|
+
empty:
|
|
248
|
+
$ref: "#/components/messages/emptyMessage"
|
|
249
|
+
parkings.saveParkingLotsPrague:
|
|
250
|
+
address: dataplatform.parkings.saveParkingLotsPrague
|
|
251
|
+
description: Update P+R parking lots from TSK (Praha)
|
|
252
|
+
bindings:
|
|
253
|
+
amqp:
|
|
254
|
+
is: queue
|
|
255
|
+
queue:
|
|
256
|
+
durable: true
|
|
257
|
+
messages:
|
|
258
|
+
empty:
|
|
259
|
+
$ref: "#/components/messages/emptyMessage"
|
|
260
|
+
parkings.saveParkingZonesPrague:
|
|
261
|
+
address: dataplatform.parkings.saveParkingZonesPrague
|
|
262
|
+
description: Update parking zones combined from IPR, TSK and tariffs from TSK (Praha)
|
|
263
|
+
bindings:
|
|
264
|
+
amqp:
|
|
265
|
+
is: queue
|
|
266
|
+
queue:
|
|
267
|
+
durable: true
|
|
268
|
+
messages:
|
|
269
|
+
empty:
|
|
270
|
+
$ref: "#/components/messages/emptyMessage"
|
|
271
|
+
parkings.savePmdpMeasurements:
|
|
272
|
+
address: dataplatform.parkings.savePmdpMeasurements
|
|
273
|
+
description: Update occupation measurements from PMDP (Plzeň)
|
|
274
|
+
bindings:
|
|
275
|
+
amqp:
|
|
276
|
+
is: queue
|
|
277
|
+
queue:
|
|
278
|
+
durable: true
|
|
279
|
+
messages:
|
|
280
|
+
parkings.PmdpTaskTypeInput:
|
|
281
|
+
$ref: "#/components/messages/parkings.PmdpTaskTypeInput"
|
|
282
|
+
parkings.updateAddress:
|
|
283
|
+
address: dataplatform.parkings.updateAddress
|
|
284
|
+
description: Update addresses of parkings, triggered after processing parkings update.
|
|
285
|
+
bindings:
|
|
286
|
+
amqp:
|
|
287
|
+
is: queue
|
|
288
|
+
queue:
|
|
289
|
+
durable: true
|
|
290
|
+
messages:
|
|
291
|
+
parkgins.UpdateAddressInput:
|
|
292
|
+
$ref: "#/components/messages/parkings.UpdateAddressInput"
|
|
293
|
+
parkings.updateAddressAndName:
|
|
294
|
+
address: dataplatform.parkings.updateAddressAndName
|
|
295
|
+
description: Update addresses and names from photon.
|
|
296
|
+
bindings:
|
|
297
|
+
amqp:
|
|
298
|
+
is: queue
|
|
299
|
+
queue:
|
|
300
|
+
durable: true
|
|
301
|
+
messages:
|
|
302
|
+
parkings.UpdateAddressAndNameInput:
|
|
303
|
+
$ref: "#/components/messages/parkings.UpdateAddressAndNameInput"
|
|
304
|
+
parkings.updateLocationAddress:
|
|
305
|
+
address: dataplatform.parkings.updateLocationAddress
|
|
306
|
+
description: Update addresses of parking locations, triggered after processing parkings update.
|
|
307
|
+
bindings:
|
|
308
|
+
amqp:
|
|
309
|
+
is: queue
|
|
310
|
+
queue:
|
|
311
|
+
durable: true
|
|
312
|
+
messages:
|
|
313
|
+
parkings.UpdateAddressInput:
|
|
314
|
+
$ref: "#/components/messages/parkings.UpdateAddressInput"
|
|
315
|
+
parkings.updateSmart4CityLocations:
|
|
316
|
+
address: dataplatform.parkings.updateSmart4CityLocations
|
|
317
|
+
description: Update parking locations from Smart4City
|
|
318
|
+
bindings:
|
|
319
|
+
amqp:
|
|
320
|
+
is: queue
|
|
321
|
+
queue:
|
|
322
|
+
durable: true
|
|
323
|
+
messages:
|
|
324
|
+
parkings.UpdateSmart4CityInput:
|
|
325
|
+
$ref: "#/components/messages/parkings.UpdateSmart4CityInput"
|
|
326
|
+
parkings.updateSmart4CityMeasurements:
|
|
327
|
+
address: dataplatform.parkings.updateSmart4CityMeasurements
|
|
328
|
+
description: Update occupancy measurements from Smart4City
|
|
329
|
+
bindings:
|
|
330
|
+
amqp:
|
|
331
|
+
is: queue
|
|
332
|
+
queue:
|
|
333
|
+
durable: true
|
|
334
|
+
messages:
|
|
335
|
+
parkings.UpdateSmart4CityInput:
|
|
336
|
+
$ref: "#/components/messages/parkings.UpdateSmart4CityInput"
|
|
337
|
+
parkings.updateZtpParkings:
|
|
338
|
+
address: dataplatform.parkings.updateZtpParkings
|
|
339
|
+
description: Update parkings for disabled people (IPR)
|
|
340
|
+
bindings:
|
|
341
|
+
amqp:
|
|
342
|
+
is: queue
|
|
343
|
+
queue:
|
|
344
|
+
durable: true
|
|
345
|
+
messages:
|
|
346
|
+
empty:
|
|
347
|
+
$ref: "#/components/messages/emptyMessage"
|
|
348
|
+
parkings.updateParkingSource:
|
|
349
|
+
address: dataplatform.parkingsources.updateParkingSource
|
|
350
|
+
description: Incoming data about parking sources (manual)
|
|
351
|
+
bindings:
|
|
352
|
+
amqp:
|
|
353
|
+
is: queue
|
|
354
|
+
queue:
|
|
355
|
+
durable: true
|
|
356
|
+
messages:
|
|
357
|
+
parkings.ParkingSource:
|
|
358
|
+
$ref: "#/components/messages/parkings.ParkingSource"
|
|
359
|
+
parkings.parkomats:
|
|
360
|
+
address: dataplatform.parkomats.refreshDataInDB
|
|
361
|
+
description: Download and save parkomats (Praha), legacy
|
|
362
|
+
bindings:
|
|
363
|
+
amqp:
|
|
364
|
+
is: queue
|
|
365
|
+
queue:
|
|
366
|
+
durable: true
|
|
367
|
+
messages:
|
|
368
|
+
parkings.ParkomatMessage:
|
|
369
|
+
$ref: "#/components/messages/parkings.ParkomatMessage"
|
|
370
|
+
operations:
|
|
371
|
+
parkings.calculateAverageOccupancy:
|
|
372
|
+
action: "send"
|
|
373
|
+
channel:
|
|
374
|
+
$ref: "#/channels/parkings.calculateAverageOccupancy"
|
|
375
|
+
parkings.generateIptOictEntrancesJobsTask:
|
|
376
|
+
action: "send"
|
|
377
|
+
channel:
|
|
378
|
+
$ref: "#/channels/parkings.generateIptOictEntrancesJobsTask"
|
|
379
|
+
parkings.generateIptOictParkingJobs:
|
|
380
|
+
action: "send"
|
|
381
|
+
channel:
|
|
382
|
+
$ref: "#/channels/parkings.generateIptOictParkingJobs"
|
|
383
|
+
parkings.generateIptOictPaymentJobs:
|
|
384
|
+
action: "send"
|
|
385
|
+
channel:
|
|
386
|
+
$ref: "#/channels/parkings.generateIptOictPaymentJobs"
|
|
387
|
+
parkings.generateIptOictProhibitionsJobs:
|
|
388
|
+
action: "send"
|
|
389
|
+
channel:
|
|
390
|
+
$ref: "#/channels/parkings.generateIptOictProhibitionsJobs"
|
|
391
|
+
parkings.generateIptOictTariffsJobs:
|
|
392
|
+
action: "send"
|
|
393
|
+
channel:
|
|
394
|
+
$ref: "#/channels/parkings.generateIptOictTariffsJobs"
|
|
395
|
+
parkings.generateSmart4CityTaskList:
|
|
396
|
+
action: "send"
|
|
397
|
+
channel:
|
|
398
|
+
$ref: "#/channels/parkings.generateSmart4CityTaskList"
|
|
399
|
+
parkings.refreshTskOccupancyView:
|
|
400
|
+
action: "send"
|
|
401
|
+
channel:
|
|
402
|
+
$ref: "#/channels/parkings.refreshTskOccupancyView"
|
|
403
|
+
parkings.saveBedrichovData:
|
|
404
|
+
action: "send"
|
|
405
|
+
channel:
|
|
406
|
+
$ref: "#/channels/parkings.saveBedrichovData"
|
|
407
|
+
parkings.saveIptOictEntrancesData:
|
|
408
|
+
action: "send"
|
|
409
|
+
channel:
|
|
410
|
+
$ref: "#/channels/parkings.saveIptOictEntrancesData"
|
|
411
|
+
parkings.saveIptOictParkingData:
|
|
412
|
+
action: "send"
|
|
413
|
+
channel:
|
|
414
|
+
$ref: "#/channels/parkings.saveIptOictParkingData"
|
|
415
|
+
parkings.saveIptOictPaymentsData:
|
|
416
|
+
action: "send"
|
|
417
|
+
channel:
|
|
418
|
+
$ref: "#/channels/parkings.saveIptOictPaymentsData"
|
|
419
|
+
parkings.saveIptOictProhibitionsDataTask:
|
|
420
|
+
action: "send"
|
|
421
|
+
channel:
|
|
422
|
+
$ref: "#/channels/parkings.saveIptOictProhibitionsDataTask"
|
|
423
|
+
parkings.saveIptOictTariffsData:
|
|
424
|
+
action: "send"
|
|
425
|
+
channel:
|
|
426
|
+
$ref: "#/channels/parkings.saveIptOictTariffsData"
|
|
427
|
+
parkings.saveIsphkMeasurements:
|
|
428
|
+
action: "send"
|
|
429
|
+
channel:
|
|
430
|
+
$ref: "#/channels/parkings.saveIsphkMeasurements"
|
|
431
|
+
parkings.saveKoridConfToDB:
|
|
432
|
+
action: "send"
|
|
433
|
+
channel:
|
|
434
|
+
$ref: "#/channels/parkings.saveKoridConfToDB"
|
|
435
|
+
parkings.saveKoridDataToDB:
|
|
436
|
+
action: "send"
|
|
437
|
+
channel:
|
|
438
|
+
$ref: "#/channels/parkings.saveKoridDataToDB"
|
|
439
|
+
parkings.saveMrParkitData:
|
|
440
|
+
action: "send"
|
|
441
|
+
channel:
|
|
442
|
+
$ref: "#/channels/parkings.saveMrParkitData"
|
|
443
|
+
parkings.saveOsmDataTask:
|
|
444
|
+
action: "send"
|
|
445
|
+
channel:
|
|
446
|
+
$ref: "#/channels/parkings.saveOsmDataTask"
|
|
447
|
+
parkings.saveOsmEntrancesDataTask:
|
|
448
|
+
action: "send"
|
|
449
|
+
channel:
|
|
450
|
+
$ref: "#/channels/parkings.saveOsmEntrancesDataTask"
|
|
451
|
+
parkings.saveOsmParkingMachinesTask:
|
|
452
|
+
action: "send"
|
|
453
|
+
channel:
|
|
454
|
+
$ref: "#/channels/parkings.saveOsmParkingMachinesTask"
|
|
455
|
+
parkings.saveParkingLotsMeasurementsPrague:
|
|
456
|
+
action: "send"
|
|
457
|
+
channel:
|
|
458
|
+
$ref: "#/channels/parkings.saveParkingLotsMeasurementsPrague"
|
|
459
|
+
parkings.saveParkingLotsPrague:
|
|
460
|
+
action: "send"
|
|
461
|
+
channel:
|
|
462
|
+
$ref: "#/channels/parkings.saveParkingLotsPrague"
|
|
463
|
+
parkings.saveParkingZonesPrague:
|
|
464
|
+
action: "send"
|
|
465
|
+
channel:
|
|
466
|
+
$ref: "#/channels/parkings.saveParkingZonesPrague"
|
|
467
|
+
parkings.savePmdpMeasurements:
|
|
468
|
+
action: "send"
|
|
469
|
+
channel:
|
|
470
|
+
$ref: "#/channels/parkings.savePmdpMeasurements"
|
|
471
|
+
parkings.updateAddress:
|
|
472
|
+
action: "send"
|
|
473
|
+
channel:
|
|
474
|
+
$ref: "#/channels/parkings.updateAddress"
|
|
475
|
+
parkings.updateAddressAndName:
|
|
476
|
+
action: "send"
|
|
477
|
+
channel:
|
|
478
|
+
$ref: "#/channels/parkings.updateAddressAndName"
|
|
479
|
+
parkings.updateLocationAddress:
|
|
480
|
+
action: "send"
|
|
481
|
+
channel:
|
|
482
|
+
$ref: "#/channels/parkings.updateLocationAddress"
|
|
483
|
+
parkings.updateSmart4CityLocations:
|
|
484
|
+
action: "send"
|
|
485
|
+
channel:
|
|
486
|
+
$ref: "#/channels/parkings.updateSmart4CityLocations"
|
|
487
|
+
parkings.updateSmart4CityMeasurements:
|
|
488
|
+
action: "send"
|
|
489
|
+
channel:
|
|
490
|
+
$ref: "#/channels/parkings.updateSmart4CityMeasurements"
|
|
491
|
+
parkings.updateZtpParkings:
|
|
492
|
+
action: "send"
|
|
493
|
+
channel:
|
|
494
|
+
$ref: "#/channels/parkings.updateZtpParkings"
|
|
495
|
+
parkings.updateParkingSource:
|
|
496
|
+
action: "send"
|
|
497
|
+
channel:
|
|
498
|
+
$ref: "#/channels/parkings.updateParkingSource"
|
|
499
|
+
parkings.parkomats:
|
|
500
|
+
action: "send"
|
|
501
|
+
channel:
|
|
502
|
+
$ref: "#/channels/parkings.parkomats"
|
|
503
|
+
components:
|
|
504
|
+
messages:
|
|
505
|
+
emptyMessage:
|
|
506
|
+
title: Empty message
|
|
507
|
+
parkings.IptOictTaskInputMessage:
|
|
508
|
+
payload:
|
|
509
|
+
type: object
|
|
510
|
+
properties:
|
|
511
|
+
source:
|
|
512
|
+
type: string
|
|
513
|
+
description: identifikátor zdroje (source)
|
|
514
|
+
example: "korid"
|
|
515
|
+
additionalProperties: false
|
|
516
|
+
parkings.IsphkMeasurements:
|
|
517
|
+
payload:
|
|
518
|
+
$ref: "#/components/schemas/parkings.IsphkMeasurementsSchema"
|
|
519
|
+
parkings.KoridConfig:
|
|
520
|
+
payload:
|
|
521
|
+
$ref: "#/components/schemas/parkings.KORIDConfDatasourceJSONSchema"
|
|
522
|
+
parkings.KoridData:
|
|
523
|
+
payload:
|
|
524
|
+
$ref: "#/components/schemas/parkings.KORIDDatasourceJSONSchema"
|
|
525
|
+
parkings.PmdpTaskTypeInput:
|
|
526
|
+
payload:
|
|
527
|
+
type: object
|
|
528
|
+
properties:
|
|
529
|
+
code:
|
|
530
|
+
type: string
|
|
531
|
+
enum:
|
|
532
|
+
- "pmdp-pmdp_001"
|
|
533
|
+
- "pmdp-pmdp_002"
|
|
534
|
+
additionalProperties: false
|
|
535
|
+
parkings.UpdateAddressInput:
|
|
536
|
+
payload:
|
|
537
|
+
type: object
|
|
538
|
+
properties:
|
|
539
|
+
id:
|
|
540
|
+
type: string
|
|
541
|
+
"point":
|
|
542
|
+
type: object
|
|
543
|
+
properties:
|
|
544
|
+
type:
|
|
545
|
+
type: string
|
|
546
|
+
enum:
|
|
547
|
+
- Point
|
|
548
|
+
coordinates:
|
|
549
|
+
type: array
|
|
550
|
+
items:
|
|
551
|
+
type: number
|
|
552
|
+
additionalProperties: false
|
|
553
|
+
additionalProperties: false
|
|
554
|
+
parkings.UpdateAddressAndNameInput:
|
|
555
|
+
payload:
|
|
556
|
+
type: object
|
|
557
|
+
properties:
|
|
558
|
+
name:
|
|
559
|
+
type: string
|
|
560
|
+
additionalProperties: false
|
|
561
|
+
parkings.UpdateSmart4CityInput:
|
|
562
|
+
payload:
|
|
563
|
+
type: object
|
|
564
|
+
properties:
|
|
565
|
+
"type":
|
|
566
|
+
type: string
|
|
567
|
+
enum:
|
|
568
|
+
- locations
|
|
569
|
+
- measurements
|
|
570
|
+
additionalProperties: false
|
|
571
|
+
parkings.ParkingSource:
|
|
572
|
+
payload:
|
|
573
|
+
$ref: "#/components/schemas/parkings.ParkingSource"
|
|
574
|
+
parkings.ParkomatMessage:
|
|
575
|
+
payload:
|
|
576
|
+
type: object
|
|
577
|
+
properties:
|
|
578
|
+
from:
|
|
579
|
+
type: string
|
|
580
|
+
to:
|
|
581
|
+
type: string
|
|
582
|
+
additionalProperties: false
|
|
583
|
+
schemas:
|
|
584
|
+
parkings.KORIDConfDatasourceJSONSchema:
|
|
585
|
+
type: object
|
|
586
|
+
properties:
|
|
587
|
+
type:
|
|
588
|
+
type: string
|
|
589
|
+
version:
|
|
590
|
+
type: string
|
|
591
|
+
time:
|
|
592
|
+
type: integer
|
|
593
|
+
geojson:
|
|
594
|
+
type: object
|
|
595
|
+
required:
|
|
596
|
+
- type
|
|
597
|
+
- features
|
|
598
|
+
additionalProperties: true
|
|
599
|
+
properties:
|
|
600
|
+
type:
|
|
601
|
+
type: string
|
|
602
|
+
features:
|
|
603
|
+
type: array
|
|
604
|
+
additionalProperties: true
|
|
605
|
+
items:
|
|
606
|
+
type: object
|
|
607
|
+
required:
|
|
608
|
+
- type
|
|
609
|
+
- properties
|
|
610
|
+
- geometry
|
|
611
|
+
additionalProperties: false
|
|
612
|
+
properties:
|
|
613
|
+
type:
|
|
614
|
+
type: string
|
|
615
|
+
properties:
|
|
616
|
+
type: object
|
|
617
|
+
required:
|
|
618
|
+
- groupid
|
|
619
|
+
- title
|
|
620
|
+
- total
|
|
621
|
+
- tarif
|
|
622
|
+
additionalProperties: true
|
|
623
|
+
properties:
|
|
624
|
+
groupid:
|
|
625
|
+
type: number
|
|
626
|
+
title:
|
|
627
|
+
type: string
|
|
628
|
+
total:
|
|
629
|
+
type: number
|
|
630
|
+
tarif:
|
|
631
|
+
type: string
|
|
632
|
+
geometry:
|
|
633
|
+
type: object
|
|
634
|
+
required:
|
|
635
|
+
- type
|
|
636
|
+
- coordinates
|
|
637
|
+
additionalProperties: false
|
|
638
|
+
properties:
|
|
639
|
+
type:
|
|
640
|
+
type: string
|
|
641
|
+
coordinates:
|
|
642
|
+
type: array
|
|
643
|
+
tarif:
|
|
644
|
+
type: object
|
|
645
|
+
required:
|
|
646
|
+
- lastUpdated
|
|
647
|
+
- paymentMode
|
|
648
|
+
- freeOfCharge
|
|
649
|
+
- chargeBand
|
|
650
|
+
additionalProperties: true
|
|
651
|
+
properties:
|
|
652
|
+
lastUpdated:
|
|
653
|
+
type: string
|
|
654
|
+
paymentMode:
|
|
655
|
+
type: array
|
|
656
|
+
items:
|
|
657
|
+
type: string
|
|
658
|
+
paymentAdditionalDescription:
|
|
659
|
+
type: string
|
|
660
|
+
freeOfCharge:
|
|
661
|
+
type: boolean
|
|
662
|
+
urlLinkAddress:
|
|
663
|
+
type: string
|
|
664
|
+
chargeBand:
|
|
665
|
+
type: array
|
|
666
|
+
additionalProperties: false
|
|
667
|
+
items:
|
|
668
|
+
type: object
|
|
669
|
+
required:
|
|
670
|
+
- chargeBandName
|
|
671
|
+
- chargeCurrency
|
|
672
|
+
- charge
|
|
673
|
+
additionalProperties: true
|
|
674
|
+
properties:
|
|
675
|
+
chargeBandName:
|
|
676
|
+
type: string
|
|
677
|
+
acceptedMeansOfPayment:
|
|
678
|
+
type: array
|
|
679
|
+
items:
|
|
680
|
+
type: string
|
|
681
|
+
chargeCurrency:
|
|
682
|
+
type: string
|
|
683
|
+
charge:
|
|
684
|
+
type: array
|
|
685
|
+
required:
|
|
686
|
+
- charge
|
|
687
|
+
- chargeOrderIndex
|
|
688
|
+
- chargeInterval
|
|
689
|
+
additionalProperties: true
|
|
690
|
+
items:
|
|
691
|
+
type: object
|
|
692
|
+
properties:
|
|
693
|
+
charge:
|
|
694
|
+
type: number
|
|
695
|
+
chargeType:
|
|
696
|
+
type: string
|
|
697
|
+
chargeOrderIndex:
|
|
698
|
+
type: number
|
|
699
|
+
chargeInterval:
|
|
700
|
+
type: number
|
|
701
|
+
maxIterationsOfCharge:
|
|
702
|
+
type: number
|
|
703
|
+
minIterationsOfCharge:
|
|
704
|
+
type: number
|
|
705
|
+
startTimeOfPeriod:
|
|
706
|
+
type: string
|
|
707
|
+
endTimeOfPeriod:
|
|
708
|
+
type: string
|
|
709
|
+
parkings.KORIDDatasourceJSONSchema:
|
|
710
|
+
type: object
|
|
711
|
+
required:
|
|
712
|
+
- time
|
|
713
|
+
- data
|
|
714
|
+
additionalProperties: true
|
|
715
|
+
properties:
|
|
716
|
+
type:
|
|
717
|
+
type: string
|
|
718
|
+
version:
|
|
719
|
+
type: string
|
|
720
|
+
time:
|
|
721
|
+
type: integer
|
|
722
|
+
data:
|
|
723
|
+
type: object
|
|
724
|
+
additionalProperties:
|
|
725
|
+
type: object
|
|
726
|
+
required:
|
|
727
|
+
- tot
|
|
728
|
+
- fr
|
|
729
|
+
- occ
|
|
730
|
+
- cls
|
|
731
|
+
additionalProperties: false
|
|
732
|
+
properties:
|
|
733
|
+
tot:
|
|
734
|
+
type: integer
|
|
735
|
+
fr:
|
|
736
|
+
type: integer
|
|
737
|
+
occ:
|
|
738
|
+
type: integer
|
|
739
|
+
cls:
|
|
740
|
+
type: integer
|
|
741
|
+
parkings.IsphkMeasurementsSchema:
|
|
742
|
+
type: object
|
|
743
|
+
properties:
|
|
744
|
+
type:
|
|
745
|
+
type: string
|
|
746
|
+
data:
|
|
747
|
+
type: array
|
|
748
|
+
items:
|
|
749
|
+
type: object
|
|
750
|
+
properties:
|
|
751
|
+
id:
|
|
752
|
+
type: string
|
|
753
|
+
capacity:
|
|
754
|
+
type: integer
|
|
755
|
+
free:
|
|
756
|
+
type: integer
|
|
757
|
+
status:
|
|
758
|
+
type: string
|
|
759
|
+
required:
|
|
760
|
+
- id
|
|
761
|
+
- capacity
|
|
762
|
+
- free
|
|
763
|
+
- status
|
|
764
|
+
additionalProperties: false
|
|
765
|
+
required:
|
|
766
|
+
- data
|
|
767
|
+
- type
|
|
768
|
+
additionalProperties: false
|
|
769
|
+
parkings.ParkingSource:
|
|
770
|
+
type: object
|
|
771
|
+
properties:
|
|
772
|
+
source:
|
|
773
|
+
type: string
|
|
774
|
+
name:
|
|
775
|
+
type: string
|
|
776
|
+
nullable: true
|
|
777
|
+
open_data:
|
|
778
|
+
type: boolean
|
|
779
|
+
api_v3_allowed:
|
|
780
|
+
type: boolean
|
|
781
|
+
legacy_api_allowed:
|
|
782
|
+
type: boolean
|
|
783
|
+
payment:
|
|
784
|
+
type: object
|
|
785
|
+
nullable: true
|
|
786
|
+
properties:
|
|
787
|
+
method:
|
|
788
|
+
type: string
|
|
789
|
+
fee:
|
|
790
|
+
type: number
|
|
791
|
+
reservation:
|
|
792
|
+
type: object
|
|
793
|
+
nullable: true
|
|
794
|
+
properties:
|
|
795
|
+
is_required:
|
|
796
|
+
type: boolean
|
|
797
|
+
duration:
|
|
798
|
+
type: integer
|
|
799
|
+
contact:
|
|
800
|
+
type: object
|
|
801
|
+
nullable: true
|
|
802
|
+
properties:
|
|
803
|
+
email:
|
|
804
|
+
type: string
|
|
805
|
+
phone:
|
|
806
|
+
type: string
|
|
807
|
+
datasource_parking:
|
|
808
|
+
type: string
|
|
809
|
+
nullable: true
|
|
810
|
+
datasource_locations:
|
|
811
|
+
type: string
|
|
812
|
+
nullable: true
|
|
813
|
+
datasource_payments:
|
|
814
|
+
type: string
|
|
815
|
+
nullable: true
|
|
816
|
+
datasource_entrances:
|
|
817
|
+
type: string
|
|
818
|
+
nullable: true
|
|
819
|
+
datasource_prohibitions:
|
|
820
|
+
type: string
|
|
821
|
+
nullable: true
|
|
822
|
+
datasource_tariffs:
|
|
823
|
+
type: string
|
|
824
|
+
nullable: true
|
|
@@ -732,7 +732,7 @@ Vybraným parkovištím může být nahrazena location za Multipolygon ze zdroje
|
|
|
732
732
|
|
|
733
733
|
### Worker ParkingSourcesWorker
|
|
734
734
|
|
|
735
|
-
- ukládá data z queue `
|
|
735
|
+
- ukládá data z queue `updateParkingSource` do db
|
|
736
736
|
- zdroj je IG přes `ParkingSourcesRouter`
|
|
737
737
|
- transformace není
|
|
738
738
|
|
|
@@ -795,6 +795,8 @@ Vybraným parkovištím může být nahrazena location za Multipolygon ze zdroje
|
|
|
795
795
|
- částečně veřejná na úrovni filtrování podle poskytovatele dat
|
|
796
796
|
- verze 3 neveřejná
|
|
797
797
|
- Ořezání dle zájmového regionu u endpointů parking machines a parkings[statický soubor](../static-data/geojson/parkoviste_orez_okresy_max.geojson)
|
|
798
|
+
- AsyncApi dokumentace
|
|
799
|
+
- [AsyncApi](./asyncapi.yaml)
|
|
798
800
|
|
|
799
801
|
#### _/v2/parking_
|
|
800
802
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemio/parkings",
|
|
3
|
-
"version": "1.15.2-dev.
|
|
3
|
+
"version": "1.15.2-dev.1511923012",
|
|
4
4
|
"description": "Golemio Parkings Module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@apideck/portman": "^1.26.5",
|
|
36
36
|
"@commitlint/cli": "^19.3.0",
|
|
37
37
|
"@commitlint/config-conventional": "^11.0.0",
|
|
38
|
-
"@golemio/cli": "1.7.
|
|
38
|
+
"@golemio/cli": "1.7.3",
|
|
39
39
|
"@golemio/core": "1.15.0",
|
|
40
40
|
"@golemio/db-common": "1.1.4",
|
|
41
41
|
"@golemio/eslint-config": "1.1.2",
|