@golemio/pid 2.6.4 → 2.6.5-dev.834035052
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/db/example/00_clear_test_data.sql +4 -4
- package/db/example/03_ropidgtfs_dump.sql +10 -1
- package/db/example/14_nightDelays.sql +16 -8
- package/db/migrations/postgresql/20230327121511-departure-view.js +53 -0
- package/db/migrations/postgresql/sqls/20220915123941-partitioned-departures-down.sql +2 -0
- package/db/migrations/postgresql/sqls/20230307124639-positions-internal-down.sql +1 -1
- package/db/migrations/postgresql/sqls/20230327121511-departure-view-down.sql +81 -0
- package/db/migrations/postgresql/sqls/20230327121511-departure-view-up.sql +37 -0
- package/dist/integration-engine/queueDefinitions.js +10 -0
- package/dist/integration-engine/queueDefinitions.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSMetadataModel.d.ts +13 -7
- package/dist/integration-engine/ropid-gtfs/RopidGTFSMetadataModel.js +50 -45
- package/dist/integration-engine/ropid-gtfs/RopidGTFSMetadataModel.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSWorker.d.ts +4 -3
- package/dist/integration-engine/ropid-gtfs/RopidGTFSWorker.js +50 -18
- package/dist/integration-engine/ropid-gtfs/RopidGTFSWorker.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/data-access/{DeparturesRepository.d.ts → precomputed/DeparturesRepository.d.ts} +2 -1
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/DeparturesRepository.js +132 -0
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/DeparturesRepository.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/MinMaxStopSequencesRepository.d.ts +9 -0
- package/dist/integration-engine/ropid-gtfs/{RopidGTFSMinMaxSequencesModel.js → data-access/precomputed/MinMaxStopSequencesRepository.js} +34 -33
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/MinMaxStopSequencesRepository.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/ServicesCalendarRepository.d.ts +9 -0
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/ServicesCalendarRepository.js +135 -0
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/ServicesCalendarRepository.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/TripScheduleRepository.d.ts +11 -0
- package/dist/integration-engine/ropid-gtfs/{RopidGTFSScheduledTripsModel.js → data-access/precomputed/TripScheduleRepository.js} +27 -26
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/TripScheduleRepository.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/index.d.ts +4 -0
- package/dist/integration-engine/ropid-gtfs/data-access/{index.js → precomputed/index.js} +3 -0
- package/dist/integration-engine/ropid-gtfs/data-access/precomputed/index.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/helpers/SourceTableSuffixEnum.d.ts +5 -0
- package/dist/integration-engine/ropid-gtfs/helpers/SourceTableSuffixEnum.js +10 -0
- package/dist/integration-engine/ropid-gtfs/helpers/SourceTableSuffixEnum.js.map +1 -0
- package/dist/integration-engine/ropid-gtfs/index.d.ts +0 -3
- package/dist/integration-engine/ropid-gtfs/index.js +0 -3
- package/dist/integration-engine/ropid-gtfs/index.js.map +1 -1
- package/dist/integration-engine/ropid-gtfs/utils.js +5 -4
- package/dist/integration-engine/ropid-gtfs/utils.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/VehicleDescriptor.js +3 -0
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/helpers/VehicleDescriptor.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/gtfs-rt/interfaces/IGtfsRtFeedEntity.d.ts +3 -0
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/CommonRunsRepository.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/CommonRunsRepository.js +3 -3
- package/dist/integration-engine/vehicle-positions/workers/runs/data-access/CommonRunsRepository.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/CommonMessageProcessor.js +3 -1
- package/dist/integration-engine/vehicle-positions/workers/runs/helpers/CommonMessageProcessor.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-descriptors/data-access/DescriptorRepository.d.ts +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsRepository.d.ts +1 -0
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/TripsRepository.js +38 -22
- 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/tasks/PropagateDelayTask.d.ts +1 -0
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/PropagateDelayTask.js +7 -2
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/tasks/PropagateDelayTask.js.map +1 -1
- package/dist/output-gateway/departure-boards/DepartureBoardsRouter.js +1 -1
- package/dist/output-gateway/pid/data-access/DeparturesRepository.js +0 -6
- package/dist/output-gateway/pid/data-access/DeparturesRepository.js.map +1 -1
- package/dist/output-gateway/pid/middleware/checkTimeFromMiddleware.js +2 -2
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSPrecomputed.d.ts +3 -3
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSPrecomputed.js +15 -15
- package/dist/schema-definitions/ropid-gtfs/RopidGTFSPrecomputed.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/models/precomputed/DeparturesModel.d.ts +0 -1
- package/dist/schema-definitions/ropid-gtfs/models/precomputed/DeparturesModel.js +5 -18
- package/dist/schema-definitions/ropid-gtfs/models/precomputed/DeparturesModel.js.map +1 -1
- package/dist/schema-definitions/ropid-gtfs/models/precomputed/interfaces/IDeparturesModel.d.ts +0 -1
- package/docs/implementation_documentation.md +30 -10
- package/docs/openapi-output.yaml +8 -1
- package/package.json +4 -3
- package/db/example/99_precomputed_tables.sql +0 -169
- package/dist/integration-engine/ropid-gtfs/RopidGTFSMinMaxSequencesModel.d.ts +0 -19
- package/dist/integration-engine/ropid-gtfs/RopidGTFSMinMaxSequencesModel.js.map +0 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSScheduledTripsModel.d.ts +0 -21
- package/dist/integration-engine/ropid-gtfs/RopidGTFSScheduledTripsModel.js.map +0 -1
- package/dist/integration-engine/ropid-gtfs/RopidGTFSServicesFirst14daysModel.d.ts +0 -19
- package/dist/integration-engine/ropid-gtfs/RopidGTFSServicesFirst14daysModel.js +0 -142
- package/dist/integration-engine/ropid-gtfs/RopidGTFSServicesFirst14daysModel.js.map +0 -1
- package/dist/integration-engine/ropid-gtfs/data-access/DeparturesRepository.js +0 -162
- package/dist/integration-engine/ropid-gtfs/data-access/DeparturesRepository.js.map +0 -1
- package/dist/integration-engine/ropid-gtfs/data-access/index.d.ts +0 -1
- package/dist/integration-engine/ropid-gtfs/data-access/index.js.map +0 -1
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.DeparturesRepository = void 0;
|
|
13
|
-
const utils_1 = require("../utils");
|
|
14
|
-
const ropid_gtfs_1 = require("../../../schema-definitions/ropid-gtfs");
|
|
15
|
-
const precomputed_1 = require("../../../schema-definitions/ropid-gtfs/models/precomputed");
|
|
16
|
-
const helpers_1 = require("@golemio/core/dist/integration-engine/helpers");
|
|
17
|
-
const models_1 = require("@golemio/core/dist/integration-engine/models");
|
|
18
|
-
const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
|
|
19
|
-
class DeparturesRepository extends models_1.PostgresModel {
|
|
20
|
-
constructor() {
|
|
21
|
-
super("DeparturesRepository", {
|
|
22
|
-
pgTableName: precomputed_1.DeparturesModel.TABLE_NAME,
|
|
23
|
-
pgSchema: ropid_gtfs_1.RopidGTFS.pgSchema,
|
|
24
|
-
outputSequelizeAttributes: precomputed_1.DeparturesModel.attributeModel,
|
|
25
|
-
attributesToRemove: ["id", "created_at", "updated_at"],
|
|
26
|
-
savingType: "insertOnly",
|
|
27
|
-
}, new golemio_validator_1.JSONSchemaValidator("DeparturesRepository", precomputed_1.DeparturesModel.jsonSchema));
|
|
28
|
-
this.createAndPopulateFromTmp = () => __awaiter(this, void 0, void 0, function* () {
|
|
29
|
-
/* eslint-disable max-len */
|
|
30
|
-
const sql = `
|
|
31
|
-
SELECT t.stop_sequence,
|
|
32
|
-
t.stop_headsign,
|
|
33
|
-
t.pickup_type,
|
|
34
|
-
t.drop_off_type,
|
|
35
|
-
t.arrival_time,
|
|
36
|
-
CASE
|
|
37
|
-
WHEN (date_part('hour'::text, (t.arrival_time)::interval) > (23)::double precision)
|
|
38
|
-
THEN make_timestamptz(
|
|
39
|
-
(date_part('year'::text, (t4.date + '1 day'::interval)))::integer,
|
|
40
|
-
(date_part('month'::text, (t4.date + '1 day'::interval)))::integer,
|
|
41
|
-
(date_part('day'::text, (t4.date + '1 day'::interval)))::integer,
|
|
42
|
-
((date_part('hour'::text, (t.arrival_time)::interval))::integer - 24),
|
|
43
|
-
(date_part('minute'::text, (t.arrival_time)::interval))::integer,
|
|
44
|
-
date_part('second'::text, (t.arrival_time)::interval), 'Europe/Prague'::text)
|
|
45
|
-
ELSE make_timestamptz((date_part('year'::text, t4.date))::integer,
|
|
46
|
-
(date_part('month'::text, t4.date))::integer, (date_part('day'::text, t4.date))::integer,
|
|
47
|
-
(date_part('hour'::text, (t.arrival_time)::interval))::integer,
|
|
48
|
-
(date_part('minute'::text, (t.arrival_time)::interval))::integer,
|
|
49
|
-
date_part('second'::text, (t.arrival_time)::interval), 'Europe/Prague'::text)
|
|
50
|
-
END AS arrival_datetime,
|
|
51
|
-
t.departure_time,
|
|
52
|
-
CASE
|
|
53
|
-
WHEN (date_part('hour'::text, (t.departure_time)::interval) > (23)::double precision)
|
|
54
|
-
THEN make_timestamptz(
|
|
55
|
-
(date_part('year'::text, (t4.date + '1 day'::interval)))::integer,
|
|
56
|
-
(date_part('month'::text, (t4.date + '1 day'::interval)))::integer,
|
|
57
|
-
(date_part('day'::text, (t4.date + '1 day'::interval)))::integer,
|
|
58
|
-
((date_part('hour'::text, (t.departure_time)::interval))::integer - 24),
|
|
59
|
-
(date_part('minute'::text, (t.departure_time)::interval))::integer,
|
|
60
|
-
date_part('second'::text, (t.departure_time)::interval), 'Europe/Prague'::text)
|
|
61
|
-
ELSE make_timestamptz(
|
|
62
|
-
(date_part('year'::text, t4.date))::integer,
|
|
63
|
-
(date_part('month'::text, t4.date))::integer, (date_part('day'::text, t4.date))::integer,
|
|
64
|
-
(date_part('hour'::text, (t.departure_time)::interval))::integer,
|
|
65
|
-
(date_part('minute'::text, (t.departure_time)::interval))::integer,
|
|
66
|
-
date_part('second'::text, (t.departure_time)::interval), 'Europe/Prague'::text)
|
|
67
|
-
END AS departure_datetime,
|
|
68
|
-
t0.stop_id,
|
|
69
|
-
t0.stop_name,
|
|
70
|
-
t0.platform_code,
|
|
71
|
-
t0.wheelchair_boarding,
|
|
72
|
-
t1.min_stop_sequence,
|
|
73
|
-
t1.max_stop_sequence,
|
|
74
|
-
t2.trip_id,
|
|
75
|
-
t2.trip_headsign,
|
|
76
|
-
t2.trip_short_name,
|
|
77
|
-
t2.wheelchair_accessible,
|
|
78
|
-
t3.service_id,
|
|
79
|
-
t4.date,
|
|
80
|
-
t5.route_short_name,
|
|
81
|
-
t5.route_type,
|
|
82
|
-
t5.route_id,
|
|
83
|
-
t5.is_night,
|
|
84
|
-
t5.is_regional,
|
|
85
|
-
t5.is_substitute_transport,
|
|
86
|
-
t6.stop_sequence AS next_stop_sequence,
|
|
87
|
-
t6.stop_id AS next_stop_id,
|
|
88
|
-
t7.stop_sequence AS last_stop_sequence,
|
|
89
|
-
t7.stop_id AS last_stop_id,
|
|
90
|
-
left(t0.stop_id, 4) AS part_index
|
|
91
|
-
FROM (((((((("${ropid_gtfs_1.RopidGTFS.pgSchema}".ropidgtfs_stop_times_tmp t
|
|
92
|
-
LEFT JOIN "${ropid_gtfs_1.RopidGTFS.pgSchema}".ropidgtfs_stops_tmp t0 ON (((t.stop_id)::text = (t0.stop_id)::text)))
|
|
93
|
-
LEFT JOIN "${ropid_gtfs_1.RopidGTFS.pgSchema}".ropidgtfs_trips_tmp t2 ON (((t.trip_id)::text = (t2.trip_id)::text)))
|
|
94
|
-
JOIN "${ropid_gtfs_1.RopidGTFS.pgSchema}".ropidgtfs_services_first14days_tmp t4 ON (((t2.service_id)::text = (t4.service_id)::text)))
|
|
95
|
-
LEFT JOIN "${ropid_gtfs_1.RopidGTFS.pgSchema}".ropidgtfs_trips_minmaxsequences_tmp t1 ON (((t.trip_id)::text = (t1.trip_id)::text)))
|
|
96
|
-
LEFT JOIN "${ropid_gtfs_1.RopidGTFS.pgSchema}".ropidgtfs_calendar_tmp t3 ON (((t2.service_id)::text = (t3.service_id)::text)))
|
|
97
|
-
LEFT JOIN "${ropid_gtfs_1.RopidGTFS.pgSchema}".ropidgtfs_routes_tmp t5 ON (((t2.route_id)::text = (t5.route_id)::text)))
|
|
98
|
-
LEFT JOIN "${ropid_gtfs_1.RopidGTFS.pgSchema}".ropidgtfs_stop_times_tmp t6 ON (
|
|
99
|
-
(((t.trip_id)::text = (t6.trip_id)::text) AND (t6.stop_sequence = (t.stop_sequence + 1)))))
|
|
100
|
-
LEFT JOIN "${ropid_gtfs_1.RopidGTFS.pgSchema}".ropidgtfs_stop_times_tmp t7 ON (
|
|
101
|
-
(((t.trip_id)::text = (t7.trip_id)::text) AND (t7.stop_sequence = (t.stop_sequence - 1)))))
|
|
102
|
-
WHERE t0.stop_id IS NOT NULL`;
|
|
103
|
-
/* eslint-enable max-len */
|
|
104
|
-
try {
|
|
105
|
-
const tableName = precomputed_1.DeparturesModel.TABLE_NAME;
|
|
106
|
-
const tmpTableName = tableName + "_tmp";
|
|
107
|
-
yield this.sequelizeModel.sequelize.query(`
|
|
108
|
-
SET LOCAL search_path TO ${ropid_gtfs_1.RopidGTFS.pgSchema};
|
|
109
|
-
DROP TABLE IF EXISTS ${tmpTableName};
|
|
110
|
-
CREATE TABLE ${tmpTableName} (LIKE ${tableName}) PARTITION BY list(part_index);
|
|
111
|
-
SELECT departure_part(part_index, split_part(current_setting('search_path'), ',', 1), true)
|
|
112
|
-
FROM (SELECT DISTINCT left(stop_id, 4) part_index FROM ropidgtfs_stops_tmp) as parts;
|
|
113
|
-
INSERT INTO ${tmpTableName} ${sql};`);
|
|
114
|
-
}
|
|
115
|
-
catch (err) {
|
|
116
|
-
helpers_1.log.error(err);
|
|
117
|
-
throw err;
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
this.replaceByTmp = (transaction) => __awaiter(this, void 0, void 0, function* () {
|
|
121
|
-
try {
|
|
122
|
-
const tableName = precomputed_1.DeparturesModel.TABLE_NAME;
|
|
123
|
-
const tmpTableName = tableName + "_tmp";
|
|
124
|
-
const dropTableName = tableName + "_drop";
|
|
125
|
-
const indexQuery = (0, utils_1.buildAlterIndexQuery)(precomputed_1.DeparturesModel.indexesOptions);
|
|
126
|
-
yield this.sequelizeModel.sequelize.query(`
|
|
127
|
-
SET LOCAL search_path TO ${ropid_gtfs_1.RopidGTFS.pgSchema};
|
|
128
|
-
LOCK ${tableName} IN EXCLUSIVE MODE;
|
|
129
|
-
ALTER TABLE ${tableName} RENAME TO ${dropTableName};
|
|
130
|
-
ALTER TABLE ${tmpTableName} RENAME TO ${tableName};
|
|
131
|
-
DROP TABLE ${dropTableName} CASCADE;
|
|
132
|
-
${indexQuery}`, { transaction });
|
|
133
|
-
}
|
|
134
|
-
catch (err) {
|
|
135
|
-
helpers_1.log.error(err);
|
|
136
|
-
throw err;
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
this.analyze = () => __awaiter(this, void 0, void 0, function* () {
|
|
140
|
-
try {
|
|
141
|
-
yield this.sequelizeModel.sequelize.query(`analyze ${ropid_gtfs_1.RopidGTFS.pgSchema}.${precomputed_1.DeparturesModel.TABLE_NAME}_tmp;`);
|
|
142
|
-
}
|
|
143
|
-
catch (err) {
|
|
144
|
-
helpers_1.log.error(err);
|
|
145
|
-
throw err;
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
this.createIndexes = () => __awaiter(this, void 0, void 0, function* () {
|
|
149
|
-
try {
|
|
150
|
-
const indexes = precomputed_1.DeparturesModel.indexesOptions;
|
|
151
|
-
const indexQuery = (0, utils_1.buildCreateIndexQuery)(precomputed_1.DeparturesModel.TABLE_NAME, indexes);
|
|
152
|
-
yield this.sequelizeModel.sequelize.query(indexQuery);
|
|
153
|
-
}
|
|
154
|
-
catch (err) {
|
|
155
|
-
helpers_1.log.error(err);
|
|
156
|
-
throw err;
|
|
157
|
-
}
|
|
158
|
-
});
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
exports.DeparturesRepository = DeparturesRepository;
|
|
162
|
-
//# sourceMappingURL=DeparturesRepository.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DeparturesRepository.js","sourceRoot":"","sources":["../../../../src/integration-engine/ropid-gtfs/data-access/DeparturesRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oCAAmF;AACnF,uEAA4C;AAC5C,2FAAqE;AACrE,2EAAoE;AACpE,yEAAqF;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CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACf,MAAM,GAAG,CAAC;aACb;QACL,CAAC,CAAA,CAAC;IA5IF,CAAC;CA6IJ;AA1JD,oDA0JC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./DeparturesRepository";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/integration-engine/ropid-gtfs/data-access/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC"}
|