@golemio/core 1.2.11 → 1.2.12
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/monitoring/opentelemetry/instrumentation/index.d.ts +2 -1
- package/dist/monitoring/opentelemetry/instrumentation/index.js +2 -0
- package/dist/monitoring/opentelemetry/instrumentation/index.js.map +1 -1
- package/dist/output-gateway/redis/CacheMiddleware.js +3 -3
- package/dist/output-gateway/redis/CacheMiddleware.js.map +1 -1
- package/dist/output-gateway/redis/RedisConnector.d.ts +4 -3
- package/dist/output-gateway/redis/RedisConnector.js +22 -12
- package/dist/output-gateway/redis/RedisConnector.js.map +1 -1
- package/dist/shared/ajv.d.ts +1 -2
- package/dist/shared/ajv.js +15 -4
- package/dist/shared/ajv.js.map +1 -1
- package/package.json +5 -2
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { HttpInstrumentation } from "@opentelemetry/instrumentation-http";
|
|
2
2
|
import { IORedisInstrumentation } from "@opentelemetry/instrumentation-ioredis";
|
|
3
|
+
import { RedisInstrumentation } from "@opentelemetry/instrumentation-redis";
|
|
3
4
|
import { ExpressInstrumentation } from "@opentelemetry/instrumentation-express";
|
|
4
5
|
import { SequelizeInstrumentation } from "opentelemetry-instrumentation-sequelize";
|
|
5
6
|
import { MongooseInstrumentation } from "opentelemetry-instrumentation-mongoose";
|
|
6
7
|
import { AmqplibInstrumentation } from "@opentelemetry/instrumentation-amqplib";
|
|
7
8
|
import { AwsInstrumentation } from "@opentelemetry/instrumentation-aws-sdk";
|
|
8
|
-
export declare const getInstrumentation: () => (ExpressInstrumentation | HttpInstrumentation | SequelizeInstrumentation | MongooseInstrumentation | AmqplibInstrumentation | IORedisInstrumentation | AwsInstrumentation)[];
|
|
9
|
+
export declare const getInstrumentation: () => (ExpressInstrumentation | HttpInstrumentation | SequelizeInstrumentation | MongooseInstrumentation | AmqplibInstrumentation | IORedisInstrumentation | RedisInstrumentation | AwsInstrumentation)[];
|
|
@@ -4,6 +4,7 @@ exports.getInstrumentation = void 0;
|
|
|
4
4
|
// Instrumentation
|
|
5
5
|
const instrumentation_http_1 = require("@opentelemetry/instrumentation-http");
|
|
6
6
|
const instrumentation_ioredis_1 = require("@opentelemetry/instrumentation-ioredis");
|
|
7
|
+
const instrumentation_redis_1 = require("@opentelemetry/instrumentation-redis");
|
|
7
8
|
const instrumentation_express_1 = require("@opentelemetry/instrumentation-express");
|
|
8
9
|
const opentelemetry_instrumentation_sequelize_1 = require("opentelemetry-instrumentation-sequelize");
|
|
9
10
|
const opentelemetry_instrumentation_mongoose_1 = require("opentelemetry-instrumentation-mongoose");
|
|
@@ -19,6 +20,7 @@ const getInstrumentation = () => {
|
|
|
19
20
|
new opentelemetry_instrumentation_mongoose_1.MongooseInstrumentation(configs_1.mongooseConfig),
|
|
20
21
|
new instrumentation_amqplib_1.AmqplibInstrumentation(configs_1.amqplibConfig),
|
|
21
22
|
new instrumentation_ioredis_1.IORedisInstrumentation(),
|
|
23
|
+
new instrumentation_redis_1.RedisInstrumentation(),
|
|
22
24
|
new instrumentation_aws_sdk_1.AwsInstrumentation(configs_1.awsSdkConfig),
|
|
23
25
|
];
|
|
24
26
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/monitoring/opentelemetry/instrumentation/index.ts"],"names":[],"mappings":";;;AAAA,kBAAkB;AAClB,8EAA0E;AAC1E,oFAAgF;AAChF,oFAAgF;AAChF,qGAAmF;AACnF,mGAAiF;AACjF,oFAAgF;AAChF,oFAA4E;AAE5E,UAAU;AACV,uCAAqG;AAE9F,MAAM,kBAAkB,GAAG,GAAG,EAAE;IACnC,OAAO;QACH,IAAI,gDAAsB,EAAE;QAC5B,IAAI,0CAAmB,CAAC,oBAAU,CAAC;QACnC,IAAI,kEAAwB,CAAC,yBAAe,CAAC;QAC7C,IAAI,gEAAuB,CAAC,wBAAc,CAAC;QAC3C,IAAI,gDAAsB,CAAC,uBAAa,CAAC;QACzC,IAAI,gDAAsB,EAAE;QAC5B,IAAI,4CAAkB,CAAC,sBAAY,CAAC;KACvC,CAAC;AACN,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/monitoring/opentelemetry/instrumentation/index.ts"],"names":[],"mappings":";;;AAAA,kBAAkB;AAClB,8EAA0E;AAC1E,oFAAgF;AAChF,gFAA4E;AAC5E,oFAAgF;AAChF,qGAAmF;AACnF,mGAAiF;AACjF,oFAAgF;AAChF,oFAA4E;AAE5E,UAAU;AACV,uCAAqG;AAE9F,MAAM,kBAAkB,GAAG,GAAG,EAAE;IACnC,OAAO;QACH,IAAI,gDAAsB,EAAE;QAC5B,IAAI,0CAAmB,CAAC,oBAAU,CAAC;QACnC,IAAI,kEAAwB,CAAC,yBAAe,CAAC;QAC7C,IAAI,gEAAuB,CAAC,wBAAc,CAAC;QAC3C,IAAI,gDAAsB,CAAC,uBAAa,CAAC;QACzC,IAAI,gDAAsB,EAAE;QAC5B,IAAI,4CAAoB,EAAE;QAC1B,IAAI,4CAAkB,CAAC,sBAAY,CAAC;KACvC,CAAC;AACN,CAAC,CAAC;AAXW,QAAA,kBAAkB,sBAW7B"}
|
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.useCacheMiddleware = exports.CacheMiddleware = void 0;
|
|
7
|
-
const
|
|
7
|
+
const apicache_1 = __importDefault(require("apicache"));
|
|
8
8
|
const config_1 = require("../config");
|
|
9
9
|
const Logger_1 = require("../Logger");
|
|
10
10
|
const _1 = require("./");
|
|
@@ -12,7 +12,7 @@ class MyCacheMiddleware {
|
|
|
12
12
|
constructor() {
|
|
13
13
|
this.defaultCacheTtl = parseInt(config_1.config.redis_ttl || "60000", 10);
|
|
14
14
|
// as default is used memory-cache
|
|
15
|
-
this.cacheWithRedisMiddleware =
|
|
15
|
+
this.cacheWithRedisMiddleware = apicache_1.default.options({
|
|
16
16
|
defaultDuration: this.defaultCacheTtl.toString(),
|
|
17
17
|
}).middleware;
|
|
18
18
|
this.isNoCacheHeader = (req, res) => {
|
|
@@ -35,7 +35,7 @@ class MyCacheMiddleware {
|
|
|
35
35
|
if (config_1.config.redis_enable) {
|
|
36
36
|
this.redisClient = _1.RedisConnector.getConnection();
|
|
37
37
|
// sets redis to apicache
|
|
38
|
-
this.cacheWithRedisMiddleware =
|
|
38
|
+
this.cacheWithRedisMiddleware = apicache_1.default.options({
|
|
39
39
|
defaultDuration: this.defaultCacheTtl.toString(),
|
|
40
40
|
redisClient: this.redisClient,
|
|
41
41
|
}).middleware;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CacheMiddleware.js","sourceRoot":"","sources":["../../../src/output-gateway/redis/CacheMiddleware.ts"],"names":[],"mappings":";;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"CacheMiddleware.js","sourceRoot":"","sources":["../../../src/output-gateway/redis/CacheMiddleware.ts"],"names":[],"mappings":";;;;;;AAAA,wDAAgC;AAGhC,sCAAoC;AACpC,sCAAiC;AACjC,yBAAoC;AAEpC,MAAM,iBAAiB;IAAvB;QACY,oBAAe,GAAW,QAAQ,CAAC,eAAM,CAAC,SAAS,IAAI,OAAO,EAAE,EAAE,CAAC,CAAC;QAI5E,kCAAkC;QAC1B,6BAAwB,GAAG,kBAAQ,CAAC,OAAO,CAAC;YAChD,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAE;SACnD,CAAC,CAAC,UAAU,CAAC;QAoBP,oBAAe,GAAG,CAAC,GAAY,EAAE,GAAa,EAAW,EAAE;YAC9D,MAAM,WAAW,GAAuB,GAAG,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;YACrE,OAAO,WAAW,KAAK,UAAU,CAAC;QACtC,CAAC,CAAC;QAMM,eAAU,GAAG,CAAC,MAAwB,EAAE,EAAE;YAC9C,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: () => Promise<
|
|
5
|
-
getConnection():
|
|
4
|
+
connect: () => Promise<RedisClient>;
|
|
5
|
+
getConnection(): RedisClient;
|
|
6
6
|
isConnected(): boolean;
|
|
7
7
|
disconnect(): Promise<void>;
|
|
8
|
+
private checkOnConnect;
|
|
8
9
|
}
|
|
9
10
|
declare const RedisConnector: MyRedis;
|
|
10
11
|
export { RedisConnector };
|
|
@@ -14,7 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.RedisConnector = void 0;
|
|
16
16
|
const errors_1 = require("@golemio/errors");
|
|
17
|
-
const
|
|
17
|
+
const redis_1 = __importDefault(require("redis"));
|
|
18
18
|
const config_1 = require("../config");
|
|
19
19
|
const Logger_1 = require("../Logger");
|
|
20
20
|
class MyRedis {
|
|
@@ -27,22 +27,32 @@ class MyRedis {
|
|
|
27
27
|
if (!config_1.config.redis_connection) {
|
|
28
28
|
throw new errors_1.CustomError("The ENV variable REDIS_CONN cannot be undefined.", true, this.constructor.name);
|
|
29
29
|
}
|
|
30
|
-
this.connection =
|
|
31
|
-
|
|
32
|
-
Logger_1.log.
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
});
|
|
30
|
+
this.connection = redis_1.default
|
|
31
|
+
.createClient(config_1.config.redis_connection || "")
|
|
32
|
+
.on("message", (message) => Logger_1.log.info(message))
|
|
33
|
+
.on("error", (error) => Logger_1.log.warn(error))
|
|
34
|
+
.on("connect", () => Logger_1.log.info("Connected to Redis!"));
|
|
35
|
+
// waiting to redis connection is completed
|
|
36
|
+
const delay = 500; // millis
|
|
37
|
+
const attemps = 4;
|
|
38
|
+
yield new Promise((resolve, reject) => this.checkOnConnect(attemps, attemps, delay)(resolve, reject));
|
|
40
39
|
return this.connection;
|
|
41
40
|
}
|
|
42
41
|
catch (err) {
|
|
43
42
|
throw new errors_1.CustomError("Error while connecting to Redis.", false, this.constructor.name, 1001, err);
|
|
44
43
|
}
|
|
45
44
|
});
|
|
45
|
+
this.checkOnConnect = (retry, attemps, delay) => (resolve, reject) => {
|
|
46
|
+
if (this.isConnected()) {
|
|
47
|
+
return resolve();
|
|
48
|
+
}
|
|
49
|
+
else if (retry <= 0) {
|
|
50
|
+
reject(`Failed to connect to Redis after ${attemps * delay} millis.`);
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
setTimeout(() => this.checkOnConnect(retry - 1, attemps, delay)(resolve, reject), delay);
|
|
54
|
+
}
|
|
55
|
+
};
|
|
46
56
|
}
|
|
47
57
|
getConnection() {
|
|
48
58
|
if (!this.connection) {
|
|
@@ -51,7 +61,7 @@ class MyRedis {
|
|
|
51
61
|
return this.connection;
|
|
52
62
|
}
|
|
53
63
|
isConnected() {
|
|
54
|
-
return !!this.connection && this.connection.
|
|
64
|
+
return !!this.connection && this.connection.connected;
|
|
55
65
|
}
|
|
56
66
|
disconnect() {
|
|
57
67
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RedisConnector.js","sourceRoot":"","sources":["../../../src/output-gateway/redis/RedisConnector.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,4CAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"RedisConnector.js","sourceRoot":"","sources":["../../../src/output-gateway/redis/RedisConnector.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,4CAA8C;AAC9C,kDAA2C;AAC3C,sCAAoC;AACpC,sCAAiC;AAEjC,MAAM,OAAO;IAAb;QAGW,YAAO,GAAG,GAA+B,EAAE;YAC9C,IAAI;gBACA,IAAI,IAAI,CAAC,UAAU,EAAE;oBACjB,OAAO,IAAI,CAAC,UAAU,CAAC;iBAC1B;gBAED,IAAI,CAAC,eAAM,CAAC,gBAAgB,EAAE;oBAC1B,MAAM,IAAI,oBAAW,CAAC,kDAAkD,EAAE,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,GAAG,KAAK,UAAU,CAAC,CAAC;aACzE;iBAAM;gBACH,UAAU,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,KAAK,GAAG,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,KAAK,CAAC,CAAC;aAC5F;QACL,CAAC,CAAC;IACV,CAAC;IAjCU,aAAa;QAChB,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;YAClB,MAAM,IAAI,oBAAW,CACjB,gEAAgE,EAChE,KAAK,EACL,IAAI,CAAC,WAAW,CAAC,IAAI,EACrB,IAAI,CACP,CAAC;SACL;QACD,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;IAEM,WAAW;QACd,OAAO,CAAC,CAAC,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC;IAC1D,CAAC;IAEY,UAAU;;YACnB,YAAG,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;YACpC,IAAI,IAAI,CAAC,UAAU,EAAE;gBACjB,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;aAChC;QACL,CAAC;KAAA;CAYJ;AAED,MAAM,cAAc,GAAG,IAAI,OAAO,EAAE,CAAC;AAE5B,wCAAc"}
|
package/dist/shared/ajv.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export = Ajv;
|
|
1
|
+
export * from "ajv";
|
package/dist/shared/ajv.js
CHANGED
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
4
15
|
};
|
|
5
|
-
|
|
6
|
-
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("ajv"), exports);
|
|
7
18
|
//# sourceMappingURL=ajv.js.map
|
package/dist/shared/ajv.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ajv.js","sourceRoot":"","sources":["../../src/shared/ajv.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ajv.js","sourceRoot":"","sources":["../../src/shared/ajv.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sCAAoB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golemio/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.12",
|
|
4
4
|
"description": "Golemio Core Module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"@golemio/eslint-config": "^1.1.0",
|
|
33
33
|
"@ovos-media/ts-transform-paths": "^1.7.18-1",
|
|
34
34
|
"@types/amqplib": "^0.5.17",
|
|
35
|
+
"@types/apicache": "^1.6.1",
|
|
35
36
|
"@types/chai": "4.2.3",
|
|
36
37
|
"@types/chai-as-promised": "7.1.2",
|
|
37
38
|
"@types/content-type": "^1.1.3",
|
|
@@ -77,6 +78,7 @@
|
|
|
77
78
|
"@opentelemetry/instrumentation-http": "^0.27.0",
|
|
78
79
|
"@opentelemetry/instrumentation-ioredis": "^0.28.0",
|
|
79
80
|
"@opentelemetry/instrumentation-pg": "^0.28.0",
|
|
81
|
+
"@opentelemetry/instrumentation-redis": "^0.29.0",
|
|
80
82
|
"@opentelemetry/resources": "^1.2.0",
|
|
81
83
|
"@opentelemetry/sdk-trace-base": "^1.2.0",
|
|
82
84
|
"@opentelemetry/sdk-trace-node": "^1.2.0",
|
|
@@ -87,7 +89,7 @@
|
|
|
87
89
|
"@types/request-promise": "^4.1.45",
|
|
88
90
|
"ajv": "^8.10.0",
|
|
89
91
|
"amqplib": "^0.7.1",
|
|
90
|
-
"apicache
|
|
92
|
+
"apicache": "^1.6.3",
|
|
91
93
|
"aws-sdk": "^2.823.0",
|
|
92
94
|
"axios": "^0.24.0",
|
|
93
95
|
"basic-ftp": "^4.6.6",
|
|
@@ -113,6 +115,7 @@
|
|
|
113
115
|
"path-to-regexp": "^6.2.0",
|
|
114
116
|
"pg": "^8.6.0",
|
|
115
117
|
"prom-client": "^14.0.0",
|
|
118
|
+
"redis": "^3.1.1",
|
|
116
119
|
"request": "2.88.0",
|
|
117
120
|
"request-promise": "^4.2.5",
|
|
118
121
|
"sequelize": "^6.6.5",
|