@golemio/pid 2.7.12 → 2.7.13-dev.938865861
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/index.js +2 -0
- package/dist/integration-engine/index.js.map +1 -1
- package/dist/integration-engine/queueDefinitions.js +0 -50
- package/dist/integration-engine/queueDefinitions.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/LegacyRopidGTFSWorker.d.ts +0 -63
- package/dist/integration-engine/ropid-gtfs/LegacyRopidGTFSWorker.js +3 -541
- package/dist/integration-engine/ropid-gtfs/LegacyRopidGTFSWorker.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/cache/StaticFileRedisRepository.js +18 -4
- package/dist/integration-engine/ropid-gtfs/data-access/cache/StaticFileRedisRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/TripScheduleRepository.d.ts +2 -2
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/TripScheduleRepository.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/ioc/Di.d.ts +3 -0
- package/dist/integration-engine/ropid-gtfs/ioc/Di.js +29 -0
- package/dist/integration-engine/ropid-gtfs/ioc/Di.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/ioc/RopidGtfsContainerToken.d.ts +8 -0
- package/dist/integration-engine/ropid-gtfs/ioc/RopidGtfsContainerToken.js +12 -0
- package/dist/integration-engine/ropid-gtfs/ioc/RopidGtfsContainerToken.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSTransformation.js +16 -3
- package/dist/integration-engine/ropid-gtfs/transformations/RopidGTFSTransformation.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/TimetableWorker.d.ts +5 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/TimetableWorker.js +23 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/TimetableWorker.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/CheckForNewDataTask.d.ts +12 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/CheckForNewDataTask.js +61 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/CheckForNewDataTask.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/CheckSavedRowsAndReplaceTablesTask.d.ts +14 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/CheckSavedRowsAndReplaceTablesTask.js +93 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/CheckSavedRowsAndReplaceTablesTask.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/DownloadDatasetsTask.d.ts +19 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/DownloadDatasetsTask.js +152 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/DownloadDatasetsTask.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/RefreshPrecomputedTablesTask.d.ts +11 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/RefreshPrecomputedTablesTask.js +57 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/RefreshPrecomputedTablesTask.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/TransformAndSaveDataTask.d.ts +21 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/TransformAndSaveDataTask.js +160 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/TransformAndSaveDataTask.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/HelperTypes.d.ts +24 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/HelperTypes.js +36 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/HelperTypes.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/PrecomputedTablesFacade.d.ts +12 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/PrecomputedTablesFacade.js +67 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/PrecomputedTablesFacade.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/RopidGtfsFactory.d.ts +13 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/RopidGtfsFactory.js +102 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/helpers/RopidGtfsFactory.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/interfaces/ICheckForNewDataInput.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/interfaces/IDatasetsInput.d.ts +4 -0
- package/dist/integration-engine/ropid-gtfs/{interfaces/IGtfsRunTripCache.js → workers/timetables/tasks/interfaces/IDatasetsInput.js} +1 -1
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/interfaces/IDatasetsInput.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/CachedDatasetSchema.d.ts +8 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/CachedDatasetSchema.js +40 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/CachedDatasetSchema.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/CheckForNewDataMessageValidation.d.ts +4 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/CheckForNewDataMessageValidation.js +22 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/CheckForNewDataMessageValidation.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/DownloadDataInputSchema.d.ts +5 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/DownloadDataInputSchema.js +23 -0
- package/dist/integration-engine/ropid-gtfs/workers/timetables/tasks/schema/DownloadDataInputSchema.js.map +1 -0
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/CommonRunsRepository.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/CommonRunsRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/PositionsRepository.d.ts +4 -4
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/PositionsRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsRepository.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsRepository.js +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/PositionsMapper.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/PositionsMapper.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/TripsIdGenerator.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/TripsIdGenerator.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/TripsMapper.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/TripsMapper.js +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/helpers/TripsMapper.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/DPPUtils.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/DPPUtils.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/PositionsManager.d.ts +3 -3
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/PositionsManager.js +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/PositionsManager.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/AbstractGTFSTripRunManager.d.ts +8 -5
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/AbstractGTFSTripRunManager.js +12 -12
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/AbstractGTFSTripRunManager.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/GTFSTripCommonRunManager.d.ts +3 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/GTFSTripCommonRunManager.js +6 -0
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/GTFSTripCommonRunManager.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/GTFSTripMetroRunManager.d.ts +3 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/GTFSTripMetroRunManager.js +6 -0
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/GTFSTripMetroRunManager.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/interfaces/IDelayMessage.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/interfaces/ITimeWindow.d.ts +4 -0
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/interfaces/ITimeWindow.js +2 -0
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/helpers/gtfs-trip-run/interfaces/ITimeWindow.js.map +1 -0
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/interfaces/IUpdateDelayInput.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/schema/UpdateDelaySchema.d.ts +2 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/schema/UpdateDelaySchema.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/PropagateDelayTask.d.ts +1 -0
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/PropagateDelayTask.js +33 -38
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/PropagateDelayTask.js.map +1 -1
- package/dist/output-gateway/pid/controllers/DepartureBoardsController.js +1 -2
- package/dist/output-gateway/pid/controllers/DepartureBoardsController.js.map +1 -1
- package/dist/output-gateway/pid/controllers/InfotextsController.js +1 -1
- package/dist/output-gateway/pid/controllers/InfotextsController.js.map +1 -1
- package/dist/output-gateway/pid/models/PIDDepartureBoardsModel.js +4 -5
- package/dist/output-gateway/pid/models/PIDDepartureBoardsModel.js.map +1 -1
- package/dist/output-gateway/vehicle-positions/VehiclePositionsRouter.js +1 -2
- package/dist/output-gateway/vehicle-positions/VehiclePositionsRouter.js.map +1 -1
- package/dist/schema-definitions/vehicle-positions/redis/interfaces/IGtfsRunTripCacheDto.d.ts +3 -0
- package/dist/schema-definitions/vehicle-positions/redis/schemas/GtfsRunTripCacheDtoSchema.js +5 -0
- package/dist/schema-definitions/vehicle-positions/redis/schemas/GtfsRunTripCacheDtoSchema.js.map +1 -1
- package/docs/implementation_documentation.md +39 -37
- package/package.json +2 -2
- package/dist/integration-engine/ropid-gtfs/interfaces/ICheckForNewDataInput.js.map +0 -1
- package/dist/integration-engine/ropid-gtfs/interfaces/IGtfsRunTripCache.d.ts +0 -28
- package/dist/integration-engine/ropid-gtfs/interfaces/IGtfsRunTripCache.js.map +0 -1
- /package/dist/integration-engine/ropid-gtfs/{interfaces → workers/timetables/tasks/interfaces}/ICheckForNewDataInput.d.ts +0 -0
- /package/dist/integration-engine/ropid-gtfs/{interfaces → workers/timetables/tasks/interfaces}/ICheckForNewDataInput.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PIDDepartureBoardsModel.js","sourceRoot":"","sources":["../../../../src/output-gateway/pid/models/PIDDepartureBoardsModel.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,6EAAwE;AACxE,gGAA2E;AAC3E,oDAA+C;AAC/C,wBAA8E;AAC9E,0BAAmF;AAEnF,gDAA2D;
|
|
1
|
+
{"version":3,"file":"PIDDepartureBoardsModel.js","sourceRoot":"","sources":["../../../../src/output-gateway/pid/models/PIDDepartureBoardsModel.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,6EAAwE;AACxE,gGAA2E;AAC3E,oDAA+C;AAC/C,wBAA8E;AAC9E,0BAAmF;AAEnF,gDAA2D;AAE3D,+FAA6F;AAE7F,oFAA6D;AAE7D,MAAM,uBAAuB;IAMzB;QALQ,kBAAa,GAAG,GAAG,CAAC;QAW5B;;;WAGG;QACI,WAAM,GAAG,CAAO,OAkBtB,EAAgB,EAAE;;YACf,MAAM,aAAa,GAAG,IAAA,yBAAM,GAAE,CAAC;YAC/B,MAAM,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAC7F,sFAAsF;YACtF,MAAM,aAAa,GACf,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,iBAAa,CAAC,OAAO,CAAC,IAAI,OAAO,CAAC,aAAa,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;YAE1G,MAAM,SAAS,GAAG,IAAA,gCAAe,EAAC,oBAAoB,CAAC,CAAC;YACxD,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,aAAa,CAAC,gCAAK,OAAO,KAAE,QAAQ,EAAE,MAAA,OAAO,CAAC,QAAQ,0CAAE,QAAQ,EAAE,GAAoB,CAAC,CAAC;YACnG,MAAM,cAAc,GAAG,MAAM,eAAM,CAAC,aAAa,CAAC,MAAM,CAAC;gBACrD,kBAAkB,EAAE,OAAO,CAA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cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,GAAG,EAAE,CAAC;gBACtB,OAAO,GAAG,CAAC;aACd;YAAC,OAAO,GAAG,EAAE;gBACV,MAAM,IAAI,6BAAY,CAAC,gBAAgB,EAAE,sBAAsB,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;aAC9E;QACL,CAAC,CAAA,CAAC;QApHE,IAAI,CAAC,yBAAyB,GAAG,IAAI,4BAAyB,EAAE,CAAC;QACjE,IAAI,CAAC,8BAA8B,GAAG,IAAI,iCAA8B,EAAE,CAAC;QAC3E,IAAI,CAAC,oBAAoB,GAAG,IAAI,kCAAoB,EAAE,CAAC;IAC3D,CAAC;CAkHJ;AAEQ,0DAAuB"}
|
|
@@ -21,7 +21,6 @@ exports.vehiclepositionsRouter = exports.VehiclePositionsRouter = void 0;
|
|
|
21
21
|
const shared_1 = require("../shared");
|
|
22
22
|
const constants_1 = require("../shared/constants");
|
|
23
23
|
const trace_provider_1 = require("@golemio/core/dist/monitoring/opentelemetry/trace-provider");
|
|
24
|
-
const config_1 = require("@golemio/core/dist/output-gateway/config");
|
|
25
24
|
const redis_1 = require("@golemio/core/dist/output-gateway/redis");
|
|
26
25
|
const Utils_1 = require("@golemio/core/dist/output-gateway/Utils");
|
|
27
26
|
const Validation_1 = require("@golemio/core/dist/output-gateway/Validation");
|
|
@@ -35,7 +34,7 @@ class VehiclePositionsRouter {
|
|
|
35
34
|
constructor() {
|
|
36
35
|
this.GetAll = (req, res, next) => __awaiter(this, void 0, void 0, function* () {
|
|
37
36
|
const preferredTimezone = shared_1.RopidRouterUtils.getPreferredTimezone(req.query.preferredTimezone);
|
|
38
|
-
const span = (0, trace_provider_1.createChildSpan)("VehiclePositionsRouter.GetAll"
|
|
37
|
+
const span = (0, trace_provider_1.createChildSpan)("VehiclePositionsRouter.GetAll");
|
|
39
38
|
try {
|
|
40
39
|
const result = yield this.tripWithPositionRepository.GetAll({
|
|
41
40
|
cisTripNumber: Number(req.query.cisTripNumber) || undefined,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VehiclePositionsRouter.js","sourceRoot":"","sources":["../../../src/output-gateway/vehicle-positions/VehiclePositionsRouter.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;AAEH,sCAA8C;AAC9C,mDAAwD;AACxD,+FAA6F;
|
|
1
|
+
{"version":3,"file":"VehiclePositionsRouter.js","sourceRoot":"","sources":["../../../src/output-gateway/vehicle-positions/VehiclePositionsRouter.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;AAEH,sCAA8C;AAC9C,mDAAwD;AACxD,+FAA6F;AAE7F,mEAA6F;AAC7F,mEAAiF;AACjF,6EAAkH;AAClH,+DAA4G;AAC5G,mFAA2E;AAC3E,6EAAwE;AACxE,gGAA+D;AAC/D,+BAAiC;AACjC,+CAA6C;AAG7C,MAAa,sBAAsB;IAI/B;QAMO,WAAM,GAAG,CAAO,GAAY,EAAE,GAAa,EAAE,IAAkB,EAAE,EAAE;YACtE,MAAM,iBAAiB,GAAG,yBAAgB,CAAC,oBAAoB,CAAC,GAAG,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;YAC7F,MAAM,IAAI,GAAG,IAAA,gCAAe,EAAC,+BAA+B,CAAC,CAAC;YAC9D,IAAI;gBACA,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,0BAA0B,CAAC,MAAM,CAAC;oBACxD,aAAa,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,SAAS;oBAC3D,kBAAkB,EAAE,IAAA,8BAAsB,EAAC,GAAG,CAAC,KAAK,CAAC,kBAA4B,CAAC;oBAClF,gBAAgB,EAAE,IAAA,8BAAsB,EAAC,GAAG,CAAC,KAAK,CAAC,gBAA0B,CAAC;oBAC9E,gBAAgB,EAAE,IAAA,8BAAsB,EAAC,GAAG,CAAC,KAAK,CAAC,gBAA0B,CAAC;oBAC9E,KAAK,EAAE,M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,MAAM,sBAAsB,GAAW,IAAI,sBAAsB,EAAE,CAAC,MAAM,CAAC;AAClE,wDAAsB"}
|
package/dist/schema-definitions/vehicle-positions/redis/interfaces/IGtfsRunTripCacheDto.d.ts
CHANGED
|
@@ -23,6 +23,9 @@ export interface IScheduleDto {
|
|
|
23
23
|
};
|
|
24
24
|
start_timestamp: string;
|
|
25
25
|
end_timestamp: string;
|
|
26
|
+
first_stop_id: string;
|
|
27
|
+
last_stop_id: string;
|
|
28
|
+
requiredTurnaroundSeconds?: number;
|
|
26
29
|
}
|
|
27
30
|
export interface IGtfsRunTripCacheDto {
|
|
28
31
|
schedule: IScheduleDto[];
|
package/dist/schema-definitions/vehicle-positions/redis/schemas/GtfsRunTripCacheDtoSchema.js
CHANGED
|
@@ -36,6 +36,9 @@ const gtfsRunTripCacheDtoSchema = {
|
|
|
36
36
|
},
|
|
37
37
|
start_timestamp: { type: "string" },
|
|
38
38
|
end_timestamp: { type: "string" },
|
|
39
|
+
first_stop_id: { type: "string" },
|
|
40
|
+
last_stop_id: { type: "string" },
|
|
41
|
+
requiredTurnaroundSeconds: { type: "number", nullable: true },
|
|
39
42
|
},
|
|
40
43
|
required: [
|
|
41
44
|
"trip_id",
|
|
@@ -54,6 +57,8 @@ const gtfsRunTripCacheDtoSchema = {
|
|
|
54
57
|
"max_stop_time",
|
|
55
58
|
"start_timestamp",
|
|
56
59
|
"end_timestamp",
|
|
60
|
+
"first_stop_id",
|
|
61
|
+
"last_stop_id",
|
|
57
62
|
],
|
|
58
63
|
},
|
|
59
64
|
},
|
package/dist/schema-definitions/vehicle-positions/redis/schemas/GtfsRunTripCacheDtoSchema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GtfsRunTripCacheDtoSchema.js","sourceRoot":"","sources":["../../../../../src/schema-definitions/vehicle-positions/redis/schemas/GtfsRunTripCacheDtoSchema.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"GtfsRunTripCacheDto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AAQ;wBACd,UAAU,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE;wBACtF,QAAQ,EAAE,CAAC,OAAO,CAAC;qBACtB;oBACD,aAAa,EAAE;wBACX,IAAI,EAAE,QAAQ;wBACd,UAAU,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE;wBACtF,QAAQ,EAAE,CAAC,OAAO,CAAC;qBACtB;oBACD,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACnC,aAAa,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACjC,aAAa,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACjC,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAChC,yBAAyB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;iBAChE;gBACD,QAAQ,EAAE;oBACN,SAAS;oBACT,YAAY;oBACZ,MAAM;oBACN,UAAU;oBACV,YAAY;oBACZ,kBAAkB;oBAClB,aAAa;oBACb,yBAAyB;oBACzB,UAAU;oBACV,eAAe;oBACf,UAAU;oBACV,aAAa;oBACb,eAAe;oBACf,eAAe;oBACf,iBAAiB;oBACjB,eAAe;oBACf,eAAe;oBACf,cAAc;iBACjB;aACJ;SACJ;KACJ;IACD,QAAQ,EAAE,CAAC,UAAU,CAAC;CACzB,CAAC;AACoC,8DAAyB"}
|
|
@@ -367,9 +367,42 @@ Všechny tabulky se nachází ve schématu `pid`
|
|
|
367
367
|
|
|
368
368
|
### _LegacyRopidGTFSWorker_
|
|
369
369
|
|
|
370
|
-
Worker má na starost
|
|
370
|
+
Worker má na starost aktualizaci presets číselníků
|
|
371
371
|
|
|
372
|
-
####
|
|
372
|
+
#### _checkForNewDeparturesPresets()_
|
|
373
|
+
|
|
374
|
+
- vstupní rabbitmq fronta
|
|
375
|
+
- název: vehicle-positions.ropidgtfs.checkForNewDeparturesPresets
|
|
376
|
+
- TTL: 4 minuty
|
|
377
|
+
- parametry: žádné
|
|
378
|
+
- závislé fronty (do kterých jsou odesílány zprávy z metody workeru)
|
|
379
|
+
- název: vehicle-positions.ropidgtfs.downloadDeparturesPresets
|
|
380
|
+
- datové zdroje
|
|
381
|
+
- ROPID FTP
|
|
382
|
+
- transformace
|
|
383
|
+
- žádné
|
|
384
|
+
- data modely
|
|
385
|
+
- RopidGTFSMetadataModel `ropidgtfs_metadata`
|
|
386
|
+
|
|
387
|
+
#### _downloadDeparturesPresets()_
|
|
388
|
+
|
|
389
|
+
- vstupní rabbitmq fronta
|
|
390
|
+
- název: vehicle-positions.ropidgtfs.downloadDeparturesPresets
|
|
391
|
+
- TTL: 4 minuty
|
|
392
|
+
- parametry: žádné
|
|
393
|
+
- závislé fronty (do kterých jsou odesílány zprávy z metody workeru)
|
|
394
|
+
- žádné
|
|
395
|
+
- datové zdroje
|
|
396
|
+
- ROPID FTP
|
|
397
|
+
- transformace
|
|
398
|
+
- [RopidDeparturesPresetsTransformation](https://gitlab.com/operator-ict/golemio/code/modules/pid/-/blob/development/src/integration-engine/ropid-gtfs/transformations/RopidDeparturesPresetsTransformation.ts)
|
|
399
|
+
- data modely
|
|
400
|
+
- RopidGTFSMetadataModel `ropidgtfs_metadata`,
|
|
401
|
+
- RopidDeparturesPresetsModel `ropid_departures_presets`
|
|
402
|
+
|
|
403
|
+
### TimetableWorker
|
|
404
|
+
|
|
405
|
+
#### task _CheckForNewData_
|
|
373
406
|
|
|
374
407
|
- vstupní rabbitmq fronta
|
|
375
408
|
- název: vehicle-positions.ropidgtfs.checkForNewData
|
|
@@ -384,7 +417,7 @@ Worker má na starost kontrolu a aktualizaci všech číselníků
|
|
|
384
417
|
- data modely
|
|
385
418
|
- RopidGTFSMetadataModel `ropidgtfs_metadata`
|
|
386
419
|
|
|
387
|
-
####
|
|
420
|
+
#### task _DownloadDatasets_
|
|
388
421
|
|
|
389
422
|
- vstupní rabbitmq fronta
|
|
390
423
|
- název: vehicle-positions.ropidgtfs.downloadDatasets
|
|
@@ -400,7 +433,7 @@ Worker má na starost kontrolu a aktualizaci všech číselníků
|
|
|
400
433
|
- data modely
|
|
401
434
|
- RopidGTFSMetadataModel `ropidgtfs_metadata`
|
|
402
435
|
|
|
403
|
-
####
|
|
436
|
+
#### task _TransformAndSaveData_
|
|
404
437
|
|
|
405
438
|
- vstupní rabbitmq fronta
|
|
406
439
|
- název: vehicle-positions.ropidgtfs.transformAndSaveData
|
|
@@ -430,7 +463,7 @@ Worker má na starost kontrolu a aktualizaci všech číselníků
|
|
|
430
463
|
- RopidGTFSOisModel `ropidgtfs_ois`
|
|
431
464
|
- RopidGTFSRunNumbersModel `ropidgtfs_run_numbers`
|
|
432
465
|
|
|
433
|
-
####
|
|
466
|
+
#### task _CheckSavedRowsAndReplaceTables_
|
|
434
467
|
|
|
435
468
|
- vstupní rabbitmq fronta
|
|
436
469
|
- název: vehicle-positions.ropidgtfs.checkSavedRowsAndReplaceTables
|
|
@@ -463,7 +496,7 @@ Worker má na starost kontrolu a aktualizaci všech číselníků
|
|
|
463
496
|
- RopidGTFSPrecomputedDeparturesModel `ropidgtfs_precomputed_departures`
|
|
464
497
|
- RopidGTFSPrecomputedTripScheduleModel `ropidgtfs_precomputed_trip_schedule`
|
|
465
498
|
|
|
466
|
-
####
|
|
499
|
+
#### task _RefreshPrecomputedTables_
|
|
467
500
|
|
|
468
501
|
- vstupní rabbitmq fronta
|
|
469
502
|
- název: vehicle-positions.ropidgtfs.refreshPrecomputedTables
|
|
@@ -482,37 +515,6 @@ Worker má na starost kontrolu a aktualizaci všech číselníků
|
|
|
482
515
|
- RopidGTFSPrecomputedDeparturesModel `ropidgtfs_precomputed_departures`
|
|
483
516
|
- RopidGTFSPrecomputedTripScheduleModel `ropidgtfs_precomputed_trip_schedule`
|
|
484
517
|
|
|
485
|
-
#### _checkForNewDeparturesPresets()_
|
|
486
|
-
|
|
487
|
-
- vstupní rabbitmq fronta
|
|
488
|
-
- název: vehicle-positions.ropidgtfs.checkForNewDeparturesPresets
|
|
489
|
-
- TTL: 4 minuty
|
|
490
|
-
- parametry: žádné
|
|
491
|
-
- závislé fronty (do kterých jsou odesílány zprávy z metody workeru)
|
|
492
|
-
- název: vehicle-positions.ropidgtfs.downloadDeparturesPresets
|
|
493
|
-
- datové zdroje
|
|
494
|
-
- ROPID FTP
|
|
495
|
-
- transformace
|
|
496
|
-
- žádné
|
|
497
|
-
- data modely
|
|
498
|
-
- RopidGTFSMetadataModel `ropidgtfs_metadata`
|
|
499
|
-
|
|
500
|
-
#### _downloadDeparturesPresets()_
|
|
501
|
-
|
|
502
|
-
- vstupní rabbitmq fronta
|
|
503
|
-
- název: vehicle-positions.ropidgtfs.downloadDeparturesPresets
|
|
504
|
-
- TTL: 4 minuty
|
|
505
|
-
- parametry: žádné
|
|
506
|
-
- závislé fronty (do kterých jsou odesílány zprávy z metody workeru)
|
|
507
|
-
- žádné
|
|
508
|
-
- datové zdroje
|
|
509
|
-
- ROPID FTP
|
|
510
|
-
- transformace
|
|
511
|
-
- [RopidDeparturesPresetsTransformation](https://gitlab.com/operator-ict/golemio/code/modules/pid/-/blob/development/src/integration-engine/ropid-gtfs/transformations/RopidDeparturesPresetsTransformation.ts)
|
|
512
|
-
- data modely
|
|
513
|
-
- RopidGTFSMetadataModel `ropidgtfs_metadata`,
|
|
514
|
-
- RopidDeparturesPresetsModel `ropid_departures_presets`
|
|
515
|
-
|
|
516
518
|
### PresetWorker
|
|
517
519
|
|
|
518
520
|
#### _Task ~ SavePresetsDataTask_
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemio/pid",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.13-dev.938865861",
|
|
4
4
|
"description": "Golemio PID Module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@commitlint/cli": "^11.0.0",
|
|
40
40
|
"@commitlint/config-conventional": "^11.0.0",
|
|
41
41
|
"@golemio/cli": "1.4.4",
|
|
42
|
-
"@golemio/core": "1.8.
|
|
42
|
+
"@golemio/core": "1.8.5-dev.933723309",
|
|
43
43
|
"@golemio/db-common": "1.1.1",
|
|
44
44
|
"@golemio/eslint-config": "1.1.1",
|
|
45
45
|
"@types/amqplib": "^0.5.17",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ICheckForNewDataInput.js","sourceRoot":"","sources":["../../../../src/integration-engine/ropid-gtfs/interfaces/ICheckForNewDataInput.ts"],"names":[],"mappings":""}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { GTFSRouteTypeEnum } from "../../../helpers/RouteTypeEnums";
|
|
2
|
-
interface IPgInterval {
|
|
3
|
-
hours: number;
|
|
4
|
-
minutes: number;
|
|
5
|
-
}
|
|
6
|
-
export interface IGtfsRunTripCache {
|
|
7
|
-
trip_id: string;
|
|
8
|
-
service_id: string;
|
|
9
|
-
date: string;
|
|
10
|
-
route_id: string;
|
|
11
|
-
route_type: GTFSRouteTypeEnum;
|
|
12
|
-
route_short_name: string;
|
|
13
|
-
is_regional: string;
|
|
14
|
-
is_substitute_transport: string;
|
|
15
|
-
is_night: string;
|
|
16
|
-
trip_headsign: string;
|
|
17
|
-
trip_short_name: string | null;
|
|
18
|
-
block_id: string | null;
|
|
19
|
-
exceptional: number;
|
|
20
|
-
min_stop_time: IPgInterval;
|
|
21
|
-
max_stop_time: IPgInterval;
|
|
22
|
-
start_timestamp: string;
|
|
23
|
-
end_timestamp: string;
|
|
24
|
-
first_stop_id: string;
|
|
25
|
-
last_stop_id: string;
|
|
26
|
-
requiredTurnaroundSeconds?: number;
|
|
27
|
-
}
|
|
28
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IGtfsRunTripCache.js","sourceRoot":"","sources":["../../../../src/integration-engine/ropid-gtfs/interfaces/IGtfsRunTripCache.ts"],"names":[],"mappings":""}
|
|
File without changes
|