@golemio/pid 2.11.9-dev.1181626663 → 2.11.9-dev.1182279792
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/data-retention/helpers/SelectRepositoryFactory.js +9 -0
- package/dist/integration-engine/data-retention/helpers/SelectRepositoryFactory.js.map +1 -1
- package/dist/integration-engine/data-retention/workers/constants/RepositoryTableNameEnum.d.ts +3 -0
- package/dist/integration-engine/data-retention/workers/constants/RepositoryTableNameEnum.js +3 -0
- package/dist/integration-engine/data-retention/workers/constants/RepositoryTableNameEnum.js.map +1 -1
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/StopTimesHistoryRepository.d.ts +5 -0
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/StopTimesHistoryRepository.js +67 -0
- package/dist/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/StopTimesHistoryRepository.js.map +1 -0
- package/dist/schema-definitions/vehicle-positions/index.d.ts +4 -0
- package/dist/schema-definitions/vehicle-positions/index.js +4 -0
- package/dist/schema-definitions/vehicle-positions/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -4,6 +4,9 @@ exports.SelectRepositoryFactory = void 0;
|
|
|
4
4
|
const Di_1 = require("../../ioc/Di");
|
|
5
5
|
const ModuleContainerToken_1 = require("../../ioc/ModuleContainerToken");
|
|
6
6
|
const CisStopRepository_1 = require("../../vehicle-positions/workers/vehicle-positions/data-access/CisStopRepository");
|
|
7
|
+
const PositionsHistoryRepository_1 = require("../../vehicle-positions/workers/vehicle-positions/data-access/PositionsHistoryRepository");
|
|
8
|
+
const StopTimesHistoryRepository_1 = require("../../vehicle-positions/workers/vehicle-positions/data-access/StopTimesHistoryRepository");
|
|
9
|
+
const TripsHistoryRepository_1 = require("../../vehicle-positions/workers/vehicle-positions/data-access/TripsHistoryRepository");
|
|
7
10
|
const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
|
|
8
11
|
const CommonRunsRepository_1 = require("../../vehicle-positions/workers/runs/data-access/CommonRunsRepository");
|
|
9
12
|
const MetroRunsMessagesRepository_1 = require("../../vehicle-positions/workers/runs/data-access/MetroRunsMessagesRepository");
|
|
@@ -17,10 +20,16 @@ class SelectRepositoryFactory {
|
|
|
17
20
|
switch (repo) {
|
|
18
21
|
case RepositoryTableNameEnum_1.RepositoryTableName.Trips:
|
|
19
22
|
return new TripsRepository_1.TripsRepository();
|
|
23
|
+
case RepositoryTableNameEnum_1.RepositoryTableName.TripsHistory:
|
|
24
|
+
return new TripsHistoryRepository_1.TripsHistoryRepository();
|
|
20
25
|
case RepositoryTableNameEnum_1.RepositoryTableName.Positions:
|
|
21
26
|
return new PositionsRepository_1.PositionsRepository();
|
|
27
|
+
case RepositoryTableNameEnum_1.RepositoryTableName.PositionsHistory:
|
|
28
|
+
return new PositionsHistoryRepository_1.PositionsHistoryRepository();
|
|
22
29
|
case RepositoryTableNameEnum_1.RepositoryTableName.CisStops:
|
|
23
30
|
return new CisStopRepository_1.CisStopRepository();
|
|
31
|
+
case RepositoryTableNameEnum_1.RepositoryTableName.StopTimesHistory:
|
|
32
|
+
return new StopTimesHistoryRepository_1.StopTimesHistoryRepository();
|
|
24
33
|
case RepositoryTableNameEnum_1.RepositoryTableName.Descriptor:
|
|
25
34
|
return new DescriptorRepository_1.DescriptorRepository();
|
|
26
35
|
case RepositoryTableNameEnum_1.RepositoryTableName.Metro:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectRepositoryFactory.js","sourceRoot":"","sources":["../../../../src/integration-engine/data-retention/helpers/SelectRepositoryFactory.ts"],"names":[],"mappings":";;;AAAA,qCAA0C;AAC1C,yEAAoE;AAEpE,uHAAkH;AAClH,6EAAwE;AAExE,gHAA6G;AAC7G,8HAA2H;AAC3H,0IAAuI;AACvI,+HAA4H;AAC5H,2HAAwH;AACxH,mHAAgH;AAChH,0FAAmF;AAEnF,MAAa,uBAAuB;IACzB,MAAM,CAAC,IAAyB;QACnC,QAAQ,IAAI,EAAE;YACV,KAAK,6CAAmB,CAAC,KAAK;gBAC1B,OAAO,IAAI,iCAAe,EAAE,CAAC;YACjC,KAAK,6CAAmB,CAAC,SAAS;gBAC9B,OAAO,IAAI,yCAAmB,EAAE,CAAC;YACrC,KAAK,6CAAmB,CAAC,QAAQ;gBAC7B,OAAO,IAAI,qCAAiB,EAAE,CAAC;YACnC,KAAK,6CAAmB,CAAC,UAAU;gBAC/B,OAAO,IAAI,2CAAoB,EAAE,CAAC;YACtC,KAAK,6CAAmB,CAAC,KAAK;gBAC1B,OAAO,IAAI,yDAA2B,EAAE,CAAC;YAC7C,KAAK,6CAAmB,CAAC,WAAW;gBAChC,OAAO,IAAI,qEAAiC,EAAE,CAAC;YACnD,KAAK,6CAAmB,CAAC,UAAU;gBAC/B,OAAO,IAAI,2CAAoB,EAAE,CAAC;YACtC,KAAK,6CAAmB,CAAC,IAAI;gBACzB,OAAO,iBAAY,CAAC,OAAO,CAAuB,2CAAoB,CAAC,mBAAmB,CAAC,CAAC;YAChG;gBACI,MAAM,IAAI,6BAAY,CAAC,4BAA4B,CAAC,CAAC;SAC5D;IACL,CAAC;IAEM,6BAA6B,CAAC,IAAyB;QAC1D,QAAQ,IAAI,EAAE;YACV,KAAK,6CAAmB,CAAC,KAAK;gBAC1B,OAAO,mBAAmB,CAAC;YAC/B,KAAK,6CAAmB,CAAC,WAAW;gBAChC,OAAO,mBAAmB,CAAC;YAC/B,KAAK,6CAAmB,CAAC,UAAU;gBAC/B,OAAO,oBAAoB,CAAC;YAChC;gBACI,OAAO,EAAE,CAAC;SACjB;IACL,CAAC;CACJ;
|
|
1
|
+
{"version":3,"file":"SelectRepositoryFactory.js","sourceRoot":"","sources":["../../../../src/integration-engine/data-retention/helpers/SelectRepositoryFactory.ts"],"names":[],"mappings":";;;AAAA,qCAA0C;AAC1C,yEAAoE;AAEpE,uHAAkH;AAClH,yIAAoI;AACpI,yIAAoI;AACpI,iIAA4H;AAC5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K,6CAAmB,CAAC,WAAW;gBAChC,OAAO,mBAAmB,CAAC;YAC/B,KAAK,6CAAmB,CAAC,UAAU;gBAC/B,OAAO,oBAAoB,CAAC;YAChC;gBACI,OAAO,EAAE,CAAC;SACjB;IACL,CAAC;CACJ;AA1CD,0DA0CC"}
|
package/dist/integration-engine/data-retention/workers/constants/RepositoryTableNameEnum.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
export declare enum RepositoryTableName {
|
|
2
2
|
Trips = "TripsRepository",
|
|
3
|
+
TripsHistory = "TripsHistoryRepository",
|
|
3
4
|
Positions = "PositionsRepository",
|
|
5
|
+
PositionsHistory = "PositionsHistoryRepository",
|
|
4
6
|
CisStops = "CisStopRepository",
|
|
7
|
+
StopTimesHistory = "StopTimesHistoryRepository",
|
|
5
8
|
Descriptor = "DescriptorRepository",
|
|
6
9
|
Metro = "MetroRunsMessagesRepository",
|
|
7
10
|
RegionalBus = "RegionalBusRunsMessagesRepository",
|
|
@@ -4,8 +4,11 @@ exports.RepositoryTableName = void 0;
|
|
|
4
4
|
var RepositoryTableName;
|
|
5
5
|
(function (RepositoryTableName) {
|
|
6
6
|
RepositoryTableName["Trips"] = "TripsRepository";
|
|
7
|
+
RepositoryTableName["TripsHistory"] = "TripsHistoryRepository";
|
|
7
8
|
RepositoryTableName["Positions"] = "PositionsRepository";
|
|
9
|
+
RepositoryTableName["PositionsHistory"] = "PositionsHistoryRepository";
|
|
8
10
|
RepositoryTableName["CisStops"] = "CisStopRepository";
|
|
11
|
+
RepositoryTableName["StopTimesHistory"] = "StopTimesHistoryRepository";
|
|
9
12
|
RepositoryTableName["Descriptor"] = "DescriptorRepository";
|
|
10
13
|
RepositoryTableName["Metro"] = "MetroRunsMessagesRepository";
|
|
11
14
|
RepositoryTableName["RegionalBus"] = "RegionalBusRunsMessagesRepository";
|
package/dist/integration-engine/data-retention/workers/constants/RepositoryTableNameEnum.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RepositoryTableNameEnum.js","sourceRoot":"","sources":["../../../../../src/integration-engine/data-retention/workers/constants/RepositoryTableNameEnum.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"RepositoryTableNameEnum.js","sourceRoot":"","sources":["../../../../../src/integration-engine/data-retention/workers/constants/RepositoryTableNameEnum.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAYX;AAZD,WAAY,mBAAmB;IAC3B,gDAAyB,CAAA;IACzB,8DAAuC,CAAA;IACvC,wDAAiC,CAAA;IACjC,sEAA+C,CAAA;IAC/C,qDAA8B,CAAA;IAC9B,sEAA+C,CAAA;IAC/C,0DAAmC,CAAA;IACnC,4DAAqC,CAAA;IACrC,wEAAiD,CAAA;IACjD,0DAAmC,CAAA;IACnC,mDAA4B,CAAA;AAChC,CAAC,EAZW,mBAAmB,mCAAnB,mBAAmB,QAY9B"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
28
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
29
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
30
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
31
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.StopTimesHistoryRepository = void 0;
|
|
36
|
+
const const_1 = require("../../../../../schema-definitions/const");
|
|
37
|
+
const vehicle_positions_1 = require("../../../../../schema-definitions/vehicle-positions");
|
|
38
|
+
const integration_engine_1 = require("@golemio/core/dist/integration-engine");
|
|
39
|
+
const golemio_errors_1 = require("@golemio/core/dist/shared/golemio-errors");
|
|
40
|
+
const golemio_validator_1 = require("@golemio/core/dist/shared/golemio-validator");
|
|
41
|
+
const sequelize_1 = __importStar(require("@golemio/core/dist/shared/sequelize"));
|
|
42
|
+
class StopTimesHistoryRepository extends integration_engine_1.PostgresModel {
|
|
43
|
+
constructor() {
|
|
44
|
+
super("VPStopTimesHistoryRepository", {
|
|
45
|
+
outputSequelizeAttributes: {},
|
|
46
|
+
pgTableName: vehicle_positions_1.VehiclePositions.stopTimes.pgTableNameHistory,
|
|
47
|
+
pgSchema: const_1.PG_SCHEMA,
|
|
48
|
+
savingType: "insertOnly",
|
|
49
|
+
}, new golemio_validator_1.JSONSchemaValidator(vehicle_positions_1.VehiclePositions.stopTimes.name + "Validator", {}));
|
|
50
|
+
this.deleteNHoursOldData = (hours) => __awaiter(this, void 0, void 0, function* () {
|
|
51
|
+
try {
|
|
52
|
+
return yield this.sequelizeModel.destroy({
|
|
53
|
+
where: {
|
|
54
|
+
updated_at: {
|
|
55
|
+
[sequelize_1.Op.lt]: sequelize_1.default.literal(`NOW() - INTERVAL '${hours} HOURS'`),
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
catch (err) {
|
|
61
|
+
throw new golemio_errors_1.GeneralError("Error while purging old data", this.constructor.name, err);
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.StopTimesHistoryRepository = StopTimesHistoryRepository;
|
|
67
|
+
//# sourceMappingURL=StopTimesHistoryRepository.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StopTimesHistoryRepository.js","sourceRoot":"","sources":["../../../../../../src/integration-engine/vehicle-positions/workers/vehicle-positions/data-access/StopTimesHistoryRepository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mEAAuC;AACvC,2FAA0D;AAC1D,8EAA8E;AAC9E,6EAAwE;AACxE,mFAAkF;AAClF,iFAAoE;AAEpE,MAAa,0BAA2B,SAAQ,kCAAa;IACzD;QACI,KAAK,CACD,8BAA8B,EAC9B;YACI,yBAAyB,EAAE,EAAE;YAC7B,WAAW,EAAE,oCAAgB,CAAC,SAAS,CAAC,kBAAkB;YAC1D,QAAQ,EAAE,iBAAS;YACnB,UAAU,EAAE,YAAY;SAC3B,EACD,IAAI,uCAAmB,CAAC,oCAAgB,CAAC,SAAS,CAAC,IAAI,GAAG,WAAW,EAAE,EAAE,CAAC,CAC7E,CAAC;QAGC,wBAAmB,GAAG,CAAO,KAAa,EAAmB,EAAE;YAClE,IAAI;gBACA,OAAO,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC;oBACrC,KAAK,EAAE;wBACH,UAAU,EAAE;4BACR,CAAC,cAAE,CAAC,EAAE,CAAC,EAAE,mBAAS,CAAC,OAAO,CAAC,qBAAqB,KAAK,SAAS,CAAC;yBAClE;qBACJ;iBACJ,CAAC,CAAC;aACN;YAAC,OAAO,GAAG,EAAE;gBACV,MAAM,IAAI,6BAAY,CAAC,8BAA8B,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;aACtF;QACL,CAAC,CAAA,CAAC;IAdF,CAAC;CAeJ;AA3BD,gEA2BC"}
|
|
@@ -94,6 +94,10 @@ const forExport = {
|
|
|
94
94
|
pgTableName: "vehiclepositions_positions",
|
|
95
95
|
pgTableNameHistory: "vehiclepositions_positions_history",
|
|
96
96
|
},
|
|
97
|
+
stopTimes: {
|
|
98
|
+
name: "VehiclePositionsStopTimes",
|
|
99
|
+
pgTableNameHistory: "vehiclepositions_stop_times_history",
|
|
100
|
+
},
|
|
97
101
|
vehicleTypes: {
|
|
98
102
|
name: "VehiclePositionsVehicleTypes",
|
|
99
103
|
pgTableName: "vehiclepositions_vehicle_types",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schema-definitions/vehicle-positions/index.ts"],"names":[],"mappings":";;;AAAA,MAAM,oBAAoB,GAAG;IACzB,uBAAuB;IACvB,WAAW,EAAE;QACT,OAAO,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACR,CAAC,EAAE;oBACC,KAAK,EAAE,GAAG;oBACV,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACR,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;wBACzB,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;wBAC1B,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EA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