@golemio/pid 4.1.3-dev.2044320024 → 4.1.3-rc.2044357310

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.
Files changed (67) hide show
  1. package/dist/input-gateway/jis/controllers/JISEventsController.js +1 -1
  2. package/dist/input-gateway/jis/controllers/JISEventsController.js.map +1 -1
  3. package/dist/integration-engine/jis/datasources/JISEventsDataSourceFactory.js +5 -7
  4. package/dist/integration-engine/jis/datasources/JISEventsDataSourceFactory.js.map +1 -1
  5. package/dist/integration-engine/jis/datasources/JISInfotextsDataSourceFactory.js +5 -7
  6. package/dist/integration-engine/jis/datasources/JISInfotextsDataSourceFactory.js.map +1 -1
  7. package/dist/integration-engine/jis/ioc/Di.js +1 -7
  8. package/dist/integration-engine/jis/ioc/Di.js.map +1 -1
  9. package/dist/integration-engine/jis/ioc/JISContainerToken.d.ts +0 -3
  10. package/dist/integration-engine/jis/ioc/JISContainerToken.js +0 -3
  11. package/dist/integration-engine/jis/ioc/JISContainerToken.js.map +1 -1
  12. package/dist/integration-engine/jis/services/JISEventsDataService.d.ts +1 -2
  13. package/dist/integration-engine/jis/services/JISEventsDataService.js +1 -7
  14. package/dist/integration-engine/jis/services/JISEventsDataService.js.map +1 -1
  15. package/dist/integration-engine/jis/workers/JISWorker.js +0 -1
  16. package/dist/integration-engine/jis/workers/JISWorker.js.map +1 -1
  17. package/dist/integration-engine/jis/workers/tasks/AbstractFetchJISResourceTask.d.ts +0 -1
  18. package/dist/integration-engine/jis/workers/tasks/AbstractFetchJISResourceTask.js +1 -1
  19. package/dist/integration-engine/jis/workers/tasks/AbstractFetchJISResourceTask.js.map +1 -1
  20. package/dist/integration-engine/jis/workers/tasks/FetchJISEventsTask.d.ts +0 -1
  21. package/dist/integration-engine/jis/workers/tasks/FetchJISEventsTask.js +0 -2
  22. package/dist/integration-engine/jis/workers/tasks/FetchJISEventsTask.js.map +1 -1
  23. package/dist/integration-engine/jis/workers/tasks/FetchJISInfotextsTask.d.ts +0 -1
  24. package/dist/integration-engine/jis/workers/tasks/FetchJISInfotextsTask.js +0 -2
  25. package/dist/integration-engine/jis/workers/tasks/FetchJISInfotextsTask.js.map +1 -1
  26. package/dist/integration-engine/jis/workers/tasks/RefreshJISEventsTask.d.ts +2 -9
  27. package/dist/integration-engine/jis/workers/tasks/RefreshJISEventsTask.js +3 -28
  28. package/dist/integration-engine/jis/workers/tasks/RefreshJISEventsTask.js.map +1 -1
  29. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/AlertsGenerator.js +1 -1
  30. package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/AlertsGenerator.js.map +1 -1
  31. package/dist/output-gateway/jis/domain/IJISEventsInterfaces.d.ts +31 -0
  32. package/dist/output-gateway/jis/helpers/TranslationHelper.d.ts +4 -0
  33. package/dist/output-gateway/jis/helpers/TranslationHelper.js +48 -0
  34. package/dist/output-gateway/jis/helpers/TranslationHelper.js.map +1 -0
  35. package/dist/output-gateway/jis/ioc/Di.js +5 -1
  36. package/dist/output-gateway/jis/ioc/Di.js.map +1 -1
  37. package/dist/output-gateway/jis/ioc/OgJisToken.d.ts +1 -0
  38. package/dist/output-gateway/jis/ioc/OgJisToken.js +1 -0
  39. package/dist/output-gateway/jis/ioc/OgJisToken.js.map +1 -1
  40. package/dist/output-gateway/jis/transformations/JISEventsCustomFormatTransformation.d.ts +5 -2
  41. package/dist/output-gateway/jis/transformations/JISEventsCustomFormatTransformation.js +16 -6
  42. package/dist/output-gateway/jis/transformations/JISEventsCustomFormatTransformation.js.map +1 -1
  43. package/dist/output-gateway/public/data-access/redis/PublicVehiclePositionsRepository.js +3 -1
  44. package/dist/output-gateway/public/data-access/redis/PublicVehiclePositionsRepository.js.map +1 -1
  45. package/dist/schema-definitions/jis/datasources/JISEventsJsonSchema.js +1 -2
  46. package/dist/schema-definitions/jis/datasources/JISEventsJsonSchema.js.map +1 -1
  47. package/dist/schema-definitions/jis/datasources/interfaces/IJISEvent.d.ts +1 -2
  48. package/dist/schema-definitions/jis/models/JISEventsModel.js +1 -2
  49. package/dist/schema-definitions/jis/models/JISEventsModel.js.map +1 -1
  50. package/docs/asyncapi.yaml +5 -33
  51. package/docs/implementation_documentation.md +8 -55
  52. package/package.json +3 -3
  53. package/dist/helpers/jis/JISEventTranslationHelper.d.ts +0 -4
  54. package/dist/helpers/jis/JISEventTranslationHelper.js +0 -46
  55. package/dist/helpers/jis/JISEventTranslationHelper.js.map +0 -1
  56. package/dist/helpers/jis/interfaces/IJISEventCustomFormatDto.d.ts +0 -33
  57. package/dist/helpers/jis/interfaces/IJISEventCustomFormatDto.js +0 -3
  58. package/dist/helpers/jis/interfaces/IJISEventCustomFormatDto.js.map +0 -1
  59. package/dist/integration-engine/jis/transformations/UpdateEventWebhookTransformation.d.ts +0 -13
  60. package/dist/integration-engine/jis/transformations/UpdateEventWebhookTransformation.js +0 -62
  61. package/dist/integration-engine/jis/transformations/UpdateEventWebhookTransformation.js.map +0 -1
  62. package/dist/integration-engine/jis/workers/tasks/UpdateEventWebhookTask.d.ts +0 -21
  63. package/dist/integration-engine/jis/workers/tasks/UpdateEventWebhookTask.js +0 -132
  64. package/dist/integration-engine/jis/workers/tasks/UpdateEventWebhookTask.js.map +0 -1
  65. package/dist/schema-definitions/jis/constants/jisEventType.d.ts +0 -2
  66. package/dist/schema-definitions/jis/constants/jisEventType.js +0 -5
  67. package/dist/schema-definitions/jis/constants/jisEventType.js.map +0 -1
@@ -1,21 +0,0 @@
1
- import { IJISEvent } from "../../../../schema-definitions/jis/datasources/interfaces";
2
- import { ISimpleConfig } from "@golemio/core/dist/helpers/configuration/ISimpleConfig";
3
- import { AbstractTaskJsonSchema } from "@golemio/core/dist/integration-engine/workers/AbstractTaskJsonSchema";
4
- import { JSONSchemaValidator } from "@golemio/core/dist/shared/golemio-validator";
5
- import { UpdateEventWebhookTransformation } from "../../transformations/UpdateEventWebhookTransformation";
6
- import { RopidGTFSRoutesRepository } from "../../../ropid-gtfs/data-access/RopidGTFSRoutesRepository";
7
- export declare class UpdateEventWebhookTask extends AbstractTaskJsonSchema<IJISEvent[]> {
8
- private readonly config;
9
- private readonly transformation;
10
- private readonly routesRepository;
11
- readonly schema: JSONSchemaValidator;
12
- readonly queueName = "updateEventWebhook";
13
- readonly queueTtl: number;
14
- private readonly commonHeaders;
15
- private readonly targets;
16
- constructor(config: ISimpleConfig, transformation: UpdateEventWebhookTransformation, routesRepository: RopidGTFSRoutesRepository);
17
- protected execute(data: IJISEvent[]): Promise<void>;
18
- private getTargetFetchStrategy;
19
- private validateResponse;
20
- private fillMissingDataAndTransform;
21
- }
@@ -1,132 +0,0 @@
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
- var __param = (this && this.__param) || function (paramIndex, decorator) {
12
- return function (target, key) { decorator(target, key, paramIndex); }
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.UpdateEventWebhookTask = void 0;
16
- const CoreToken_1 = require("@golemio/core/dist/helpers/ioc/CoreToken");
17
- const HTTPFetchProtocolStrategy_1 = require("@golemio/core/dist/integration-engine/datasources/protocol-strategy/HTTPFetchProtocolStrategy");
18
- const AbstractTaskJsonSchema_1 = require("@golemio/core/dist/integration-engine/workers/AbstractTaskJsonSchema");
19
- const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
20
- const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
21
- const tsyringe_1 = require("@golemio/core/dist/shared/tsyringe");
22
- const JISContainerToken_1 = require("../../ioc/JISContainerToken");
23
- const UpdateEventWebhookTransformation_1 = require("../../transformations/UpdateEventWebhookTransformation");
24
- const constants_1 = require("../constants");
25
- const RopidGTFSRoutesRepository_1 = require("../../../ropid-gtfs/data-access/RopidGTFSRoutesRepository");
26
- const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
27
- const WEBHOOK_TIMEOUT_IN_SECONDS = 120;
28
- let UpdateEventWebhookTask = exports.UpdateEventWebhookTask = class UpdateEventWebhookTask extends AbstractTaskJsonSchema_1.AbstractTaskJsonSchema {
29
- constructor(config, transformation, routesRepository) {
30
- super(constants_1.JIS_WORKER_NAME.toLowerCase());
31
- this.config = config;
32
- this.transformation = transformation;
33
- this.routesRepository = routesRepository;
34
- this.schema = new golemio_validator_1.JSONSchemaValidator("UpdateEventWebhookTask", {
35
- type: "array",
36
- items: {
37
- type: "object",
38
- },
39
- });
40
- this.queueName = "updateEventWebhook";
41
- this.queueTtl = 60 * 1000; // 1 minute
42
- this.commonHeaders = this.config.getValue("module.pid.jis.webhooks.eventUpdate.commonHeaders", {});
43
- this.targets = this.config.getValue("module.pid.jis.webhooks.eventUpdate.targets.*");
44
- }
45
- async execute(data) {
46
- const posts = [];
47
- for (const target of this.targets) {
48
- // filter out events that should not be exported to the target
49
- const filteredEvents = data.filter((event) => Object.values(target.allowed_orgs).includes(event.organization_name) &&
50
- Object.values(target.allowed_event_types).includes(event.type));
51
- if (filteredEvents.length === 0)
52
- continue;
53
- const transformedEvents = await this.fillMissingDataAndTransform(filteredEvents);
54
- const post = this.getTargetFetchStrategy(target, transformedEvents)
55
- .getRawData()
56
- .then((res) => this.validateResponse(res, target))
57
- .catch((err) => {
58
- if (err instanceof golemio_errors_1.GeneralError)
59
- throw err;
60
- throw new golemio_errors_1.GeneralError(`Error while sending event update webhook to ${target.url}`, this.constructor.name, err);
61
- });
62
- posts.push(post);
63
- }
64
- await Promise.all(posts);
65
- }
66
- getTargetFetchStrategy(target, events) {
67
- const fetchSettings = {
68
- url: target.url,
69
- method: "POST",
70
- headers: {
71
- ...this.commonHeaders,
72
- ...target.headers,
73
- },
74
- body: JSON.stringify(events),
75
- timeoutInSeconds: WEBHOOK_TIMEOUT_IN_SECONDS,
76
- responseType: "text",
77
- };
78
- return new HTTPFetchProtocolStrategy_1.HTTPFetchProtocolStrategy(fetchSettings);
79
- }
80
- validateResponse(response, target) {
81
- if (response.meta.statusCode !== 200) {
82
- throw new golemio_errors_1.GeneralError(`Error while sending event update webhook to ${target.url} (unexpected status code)`, this.constructor.name, JSON.stringify(response), response.meta.statusCode);
83
- }
84
- }
85
- async fillMissingDataAndTransform(events) {
86
- const routeIds = Array.from(new Set(events.flatMap((event) => event.informed_entity?.routes?.map((route) => route.id) || [])));
87
- let routeRecords;
88
- try {
89
- routeRecords = await this.routesRepository["sequelizeModel"].findAll({
90
- where: {
91
- route_id: { [sequelize_1.Op.in]: routeIds },
92
- },
93
- attributes: ["route_short_name", "route_long_name", "route_type", "route_id"],
94
- raw: true,
95
- });
96
- }
97
- catch (err) {
98
- if (err instanceof golemio_errors_1.GeneralError)
99
- throw err;
100
- throw new golemio_errors_1.GeneralError(`Error while getting route details from DB`, this.constructor.name, err);
101
- }
102
- const routeMap = new Map();
103
- for (const route of routeRecords) {
104
- routeMap.set(route.route_id, route);
105
- }
106
- const result = events.map((event) => {
107
- const routes = [];
108
- for (const r of event.informed_entity?.routes || []) {
109
- const routeData = routeMap.get(r.id);
110
- if (routeData) {
111
- routes.push({
112
- route_id: routeData.route_id,
113
- route_short_name: routeData.route_short_name,
114
- route_long_name: routeData.route_long_name,
115
- route_type: routeData.route_type,
116
- });
117
- }
118
- }
119
- return this.transformation.transformElement({ event, routes });
120
- });
121
- return result;
122
- }
123
- };
124
- exports.UpdateEventWebhookTask = UpdateEventWebhookTask = __decorate([
125
- (0, tsyringe_1.injectable)(),
126
- __param(0, (0, tsyringe_1.inject)(CoreToken_1.CoreToken.SimpleConfig)),
127
- __param(1, (0, tsyringe_1.inject)(JISContainerToken_1.JISContainerToken.UpdateEventWebhookTransformation)),
128
- __param(2, (0, tsyringe_1.inject)(JISContainerToken_1.JISContainerToken.RopidGTFSRoutesRepository)),
129
- __metadata("design:paramtypes", [Object, UpdateEventWebhookTransformation_1.UpdateEventWebhookTransformation,
130
- RopidGTFSRoutesRepository_1.RopidGTFSRoutesRepository])
131
- ], UpdateEventWebhookTask);
132
- //# sourceMappingURL=UpdateEventWebhookTask.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UpdateEventWebhookTask.js","sourceRoot":"","sources":["../../../../../src/integration-engine/jis/workers/tasks/UpdateEventWebhookTask.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAGA,wEAAqE;AACrE,6IAA0I;AAE1I,iHAA8G;AAC9G,6EAAwE;AACxE,mFAAkF;AAClF,iEAAwE;AACxE,mEAAgE;AAChE,6GAA0G;AAC1G,4CAA+C;AAC/C,yGAAiG;AACjG,mEAAyD;AAIzD,MAAM,0BAA0B,GAAG,GAAG,CAAC;AAShC,IAAM,sBAAsB,oCAA5B,MAAM,sBAAuB,SAAQ,+CAAmC;IAa3E,YACoC,MAAsC,EAEtE,cAAiE,EACZ,gBAA4D;QAEjH,KAAK,CAAC,2BAAe,CAAC,WAAW,EAAE,CAAC,CAAC;QALY,WAAM,GAAN,MAAM,CAAe;QAErD,mBAAc,GAAd,cAAc,CAAkC;QACK,qBAAgB,GAAhB,gBAAgB,CAA2B;QAhBrG,WAAM,GAAG,IAAI,uCAAmB,CAAC,wBAAwB,EAAE;YACvE,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;aACjB;SACJ,CAAC,CAAC;QACa,cAAS,GAAG,oBAAoB,CAAC;QACjC,aAAQ,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,WAAW;QAY7C,IAAI,CAAC,aAAa,GAAG,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hIY,sBAAsB;IADlC,IAAA,qBAAU,GAAE;IAeJ,WAAA,IAAA,iBAAM,EAAC,qBAAS,CAAC,YAAY,CAAC,CAAA;IAC9B,WAAA,IAAA,iBAAM,EAAC,qCAAiB,CAAC,gCAAgC,CAAC,CAAA;IAE1D,WAAA,IAAA,iBAAM,EAAC,qCAAiB,CAAC,yBAAyB,CAAC,CAAA;6CADnB,mEAAgC;QACuB,qDAAyB;GAjB5G,sBAAsB,CAgIlC"}
@@ -1,2 +0,0 @@
1
- export declare const jisEventType: readonly ["INCIDENT", "DISRUPTION", "SERVICE_CHANGE"];
2
- export type IJISEventType = (typeof jisEventType)[number];
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.jisEventType = void 0;
4
- exports.jisEventType = ["INCIDENT", "DISRUPTION", "SERVICE_CHANGE"];
5
- //# sourceMappingURL=jisEventType.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"jisEventType.js","sourceRoot":"","sources":["../../../../src/schema-definitions/jis/constants/jisEventType.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG,CAAC,UAAU,EAAE,YAAY,EAAE,gBAAgB,CAAU,CAAC"}