@golemio/pid 2.12.1 → 2.12.2-rc.1208502321
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/vehicle-positions/workers/gtfs-rt/tasks/GenerateFilesTask.d.ts +7 -2
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/tasks/GenerateFilesTask.js +31 -5
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/tasks/GenerateFilesTask.js.map +1 -1
- package/package.json +2 -2
package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/tasks/GenerateFilesTask.d.ts
CHANGED
|
@@ -14,11 +14,16 @@ export declare class GenerateFilesTask extends AbstractEmptyTask {
|
|
|
14
14
|
*
|
|
15
15
|
* @param message The message to get rid of duplicate vehicle descriptors from
|
|
16
16
|
* @param tripData The trip data to get start timestamps from
|
|
17
|
+
* @param options Options for the duplicate removal process
|
|
18
|
+
* @param options.removeVehicleOnly Whether to only remove the duplicate vehicle descriptor from the message entity, instead
|
|
19
|
+
* of removing the whole entity. Defaults to `false`. Note that if an entity with a duplicate vehicle descriptor does not
|
|
20
|
+
* contain any other valuable data, it will be removed regardless of this option.
|
|
17
21
|
*/
|
|
18
22
|
private removeDuplicateVehicleDescriptors;
|
|
19
23
|
/**
|
|
20
|
-
* Update a given `EntityWithTripStartByVehicleId` Map with given values if the entity has a lower trip start date/time
|
|
21
|
-
* not canceled
|
|
24
|
+
* Update a given `EntityWithTripStartByVehicleId` Map with given values if the new entity has a lower trip start date/time
|
|
25
|
+
* and is not canceled. The entity that does not end up in the map (either the new entity if it does not meet the conditions
|
|
26
|
+
* for the update or the original entity if the new entity does) is returned.
|
|
22
27
|
*
|
|
23
28
|
* @param entityWithTripStartByVehicleId The Map to update
|
|
24
29
|
* @param vehicleId The vehicle ID to use as a key
|
package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/tasks/GenerateFilesTask.js
CHANGED
|
@@ -8,6 +8,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
12
|
+
var t = {};
|
|
13
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
14
|
+
t[p] = s[p];
|
|
15
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
16
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
17
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
18
|
+
t[p[i]] = s[p[i]];
|
|
19
|
+
}
|
|
20
|
+
return t;
|
|
21
|
+
};
|
|
11
22
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
23
|
exports.GenerateFilesTask = void 0;
|
|
13
24
|
const RouteTypeEnums_1 = require("../../../../../helpers/RouteTypeEnums");
|
|
@@ -93,6 +104,7 @@ class GenerateFilesTask extends workers_1.AbstractEmptyTask {
|
|
|
93
104
|
pidFeedMessage.entity.push(feedMessageEntity);
|
|
94
105
|
}
|
|
95
106
|
this.removeDuplicateVehicleDescriptors(positionsMessage, tripData);
|
|
107
|
+
this.removeDuplicateVehicleDescriptors(pidFeedMessage, tripData, { shouldRemoveVehicleOnly: true });
|
|
96
108
|
this.validateAndSaveBuffer("trip_updates", updatesMessage);
|
|
97
109
|
this.validateAndSaveBuffer("vehicle_positions", positionsMessage);
|
|
98
110
|
this.validateAndSaveBuffer("pid_feed", pidFeedMessage);
|
|
@@ -104,12 +116,17 @@ class GenerateFilesTask extends workers_1.AbstractEmptyTask {
|
|
|
104
116
|
*
|
|
105
117
|
* @param message The message to get rid of duplicate vehicle descriptors from
|
|
106
118
|
* @param tripData The trip data to get start timestamps from
|
|
119
|
+
* @param options Options for the duplicate removal process
|
|
120
|
+
* @param options.removeVehicleOnly Whether to only remove the duplicate vehicle descriptor from the message entity, instead
|
|
121
|
+
* of removing the whole entity. Defaults to `false`. Note that if an entity with a duplicate vehicle descriptor does not
|
|
122
|
+
* contain any other valuable data, it will be removed regardless of this option.
|
|
107
123
|
*/
|
|
108
|
-
removeDuplicateVehicleDescriptors(message, tripData) {
|
|
124
|
+
removeDuplicateVehicleDescriptors(message, tripData, options = { shouldRemoveVehicleOnly: false }) {
|
|
109
125
|
var _a, _b, _c;
|
|
110
126
|
if (!message.entity)
|
|
111
127
|
return;
|
|
112
128
|
const entitiesWithoutVehicleId = [];
|
|
129
|
+
const entitiesWithoutTheirDuplicateVehicle = [];
|
|
113
130
|
const entityWithTripStartByVehicleId = new Map();
|
|
114
131
|
for (let i = 0; i < message.entity.length; i++) {
|
|
115
132
|
const entity = message.entity[i];
|
|
@@ -122,16 +139,23 @@ class GenerateFilesTask extends workers_1.AbstractEmptyTask {
|
|
|
122
139
|
entityWithTripStartByVehicleId.set(vehicleId, { entity, entityTripStart });
|
|
123
140
|
}
|
|
124
141
|
else {
|
|
125
|
-
this.conditionallyUpdateEntityByVehicleId(entityWithTripStartByVehicleId, vehicleId, entity, entityTripStart);
|
|
142
|
+
const unusedEntity = this.conditionallyUpdateEntityByVehicleId(entityWithTripStartByVehicleId, vehicleId, entity, entityTripStart);
|
|
143
|
+
if (options.shouldRemoveVehicleOnly) {
|
|
144
|
+
const { vehicle = null } = unusedEntity, entityWithoutVehicle = __rest(unusedEntity, ["vehicle"]);
|
|
145
|
+
if (Object.keys(entityWithoutVehicle).find((key) => key !== "id")) {
|
|
146
|
+
entitiesWithoutTheirDuplicateVehicle.push(entityWithoutVehicle);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
126
149
|
}
|
|
127
150
|
}
|
|
128
|
-
message.entity = entitiesWithoutVehicleId;
|
|
151
|
+
message.entity = entitiesWithoutVehicleId.concat(entitiesWithoutTheirDuplicateVehicle);
|
|
129
152
|
for (const { entity } of entityWithTripStartByVehicleId.values())
|
|
130
153
|
message.entity.push(entity);
|
|
131
154
|
}
|
|
132
155
|
/**
|
|
133
|
-
* Update a given `EntityWithTripStartByVehicleId` Map with given values if the entity has a lower trip start date/time
|
|
134
|
-
* not canceled
|
|
156
|
+
* Update a given `EntityWithTripStartByVehicleId` Map with given values if the new entity has a lower trip start date/time
|
|
157
|
+
* and is not canceled. The entity that does not end up in the map (either the new entity if it does not meet the conditions
|
|
158
|
+
* for the update or the original entity if the new entity does) is returned.
|
|
135
159
|
*
|
|
136
160
|
* @param entityWithTripStartByVehicleId The Map to update
|
|
137
161
|
* @param vehicleId The vehicle ID to use as a key
|
|
@@ -145,7 +169,9 @@ class GenerateFilesTask extends workers_1.AbstractEmptyTask {
|
|
|
145
169
|
if (entityTripScheduleRelationship !== ovapi_gtfs_realtime_bindings_1.transit_realtime.TripDescriptor.ScheduleRelationship.CANCELED &&
|
|
146
170
|
entityTripStart < mapItem.entityTripStart) {
|
|
147
171
|
entityWithTripStartByVehicleId.set(vehicleId, { entity, entityTripStart });
|
|
172
|
+
return mapItem.entity;
|
|
148
173
|
}
|
|
174
|
+
return entity;
|
|
149
175
|
}
|
|
150
176
|
generateStopTimeUpdate(stopTimeEvents, routeType) {
|
|
151
177
|
const stopTimeUpdates = [];
|
package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/tasks/GenerateFilesTask.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenerateFilesTask.js","sourceRoot":"","sources":["../../../../../../src/integration-engine/vehicle-positions/workers/gtfs-rt/tasks/GenerateFilesTask.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GenerateFilesTask.js","sourceRoot":"","sources":["../../../../../../src/integration-engine/vehicle-positions/workers/gtfs-rt/tasks/GenerateFilesTask.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,0EAA4D;AAC5D,uDAAkF;AAClF,wCAA2D;AAC3D,yFAA8G;AAG9G,mEAA2E;AAC3E,2E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QACzC,MAAM,cAAc,GAAG,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC;QAC3C,MAAM,aAAa,GACf,cAAc,CAAC,cAAc,EAAE;YAC/B,CAAC,GAAG,GAAG,CAAC,cAAc,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACpD,CAAC,GAAG,GAAG,cAAc,CAAC,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;QAElD,OAAO,aAAa,CAAC;IACzB,CAAC;IAEO,qBAAqB,CAAC,QAAgB,EAAE,OAAiC;QAC7E,IAAI,+CAAY,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,IAAI,EAAE;YACnD,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,iCAAiC,QAAQ,EAAE,CAAC,CAAC;YACvF,OAAO;SACV;QAED,MAAM,MAAM,GAAG,+CAAY,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,EAAY,CAAC;QAC3E,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,QAAQ,GAAG,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC;IACjF,CAAC;CACJ;AAxPD,8CAwPC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemio/pid",
|
|
3
|
-
"version": "2.12.
|
|
3
|
+
"version": "2.12.2-rc.1208502321",
|
|
4
4
|
"description": "Golemio PID Module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -85,4 +85,4 @@
|
|
|
85
85
|
"html-entities": "^2.3.3",
|
|
86
86
|
"pg-copy-streams": "^5.1.1"
|
|
87
87
|
}
|
|
88
|
-
}
|
|
88
|
+
}
|