@codefresh-io/service-base 3.0.18 → 3.0.19
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/index.js +3 -3
- package/infra/eventbus.js +1 -1
- package/infra/express.js +1 -1
- package/infra/index.js +1 -1
- package/infra/redis.js +1 -1
- package/package.json +2 -5
- package/yarn.lock +18 -17
package/index.js
CHANGED
|
@@ -10,14 +10,14 @@ const {
|
|
|
10
10
|
} = require('@codefresh-io/http-infra');
|
|
11
11
|
const Promise = require('bluebird');
|
|
12
12
|
const express = require('express');
|
|
13
|
-
const monitor = require('cf-monitor');
|
|
13
|
+
const monitor = require('@codefresh-io/cf-monitor');
|
|
14
14
|
const logging = require('./infra/logging');
|
|
15
15
|
const { openapi } = require('@codefresh-io/cf-openapi');
|
|
16
16
|
|
|
17
17
|
const OPTIONAL_COMPONENTS = {
|
|
18
18
|
mongo: { name: 'mongoClient' },
|
|
19
|
-
redis: {
|
|
20
|
-
eventbus: {
|
|
19
|
+
redis: {},
|
|
20
|
+
eventbus: {},
|
|
21
21
|
encryption: { dependencies: ['mongo'] },
|
|
22
22
|
};
|
|
23
23
|
|
package/infra/eventbus.js
CHANGED
package/infra/express.js
CHANGED
|
@@ -6,7 +6,7 @@ const bodyParser = require('body-parser');
|
|
|
6
6
|
const methodOverride = require('method-override');
|
|
7
7
|
const cookieParser = require('cookie-parser');
|
|
8
8
|
const morgan = require('morgan');
|
|
9
|
-
const monitor = require('cf-monitor');
|
|
9
|
+
const monitor = require('@codefresh-io/cf-monitor');
|
|
10
10
|
const { newDomainMiddleware } = require('@codefresh-io/http-infra');
|
|
11
11
|
const { openapi } = require('@codefresh-io/cf-openapi');
|
|
12
12
|
const CFError = require('cf-errors');
|
package/infra/index.js
CHANGED
package/infra/redis.js
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codefresh-io/service-base",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.19",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"description": "",
|
|
6
|
-
"engines": {
|
|
7
|
-
"node": ">=8.9.4"
|
|
8
|
-
},
|
|
9
6
|
"bin": {
|
|
10
7
|
"cf-openapi": "./node_modules/cf-openapi/bin/cf-openapi"
|
|
11
8
|
},
|
|
@@ -31,6 +28,7 @@
|
|
|
31
28
|
"homepage": "https://github.com/codefresh-io/service-base#readme",
|
|
32
29
|
"dependencies": {
|
|
33
30
|
"@codefresh-io/authenticated-entity": "^2.13.1",
|
|
31
|
+
"@codefresh-io/cf-monitor": "^0.0.24",
|
|
34
32
|
"@codefresh-io/cf-openapi": "~0.7.13",
|
|
35
33
|
"@codefresh-io/eventbus": "1.4.2",
|
|
36
34
|
"@codefresh-io/http-infra": "^1.8.11",
|
|
@@ -42,7 +40,6 @@
|
|
|
42
40
|
"body-parser": "^1.18.3",
|
|
43
41
|
"cf-errors": "^0.1.15",
|
|
44
42
|
"cf-logs": "^1.1.24",
|
|
45
|
-
"cf-monitor": "git+https://github.com/codefresh-io/cf-monitor.git#fc6b49d2a1a161beaf6d33b692d4ca86b38dfe43",
|
|
46
43
|
"chai": "^4.1.2",
|
|
47
44
|
"compression": "^1.7.4",
|
|
48
45
|
"cookie-parser": "^1.4.4",
|
package/yarn.lock
CHANGED
|
@@ -286,6 +286,13 @@
|
|
|
286
286
|
lodash "^4.17.21"
|
|
287
287
|
semver "^7.0.0"
|
|
288
288
|
|
|
289
|
+
"@codefresh-io/cf-monitor@^0.0.24":
|
|
290
|
+
version "0.0.24"
|
|
291
|
+
resolved "https://registry.yarnpkg.com/@codefresh-io/cf-monitor/-/cf-monitor-0.0.24.tgz#9c85f93c05bac6ba3a91385f8428270d9903ac23"
|
|
292
|
+
integrity sha512-hnp4DRjx/yAHi9Y7KlcZLAVTEO4emzd8JvXV26gMIONQ7QSWc17YxeXh5xL926Nx8EMh2Xol5soDAQ+sc/zuhg==
|
|
293
|
+
dependencies:
|
|
294
|
+
newrelic "^8.0.0"
|
|
295
|
+
|
|
289
296
|
"@codefresh-io/cf-openapi@~0.7.13":
|
|
290
297
|
version "0.7.13"
|
|
291
298
|
resolved "https://registry.yarnpkg.com/@codefresh-io/cf-openapi/-/cf-openapi-0.7.13.tgz#ad763ee99ef770c4ed88b2efe5e9c9dda7d9f993"
|
|
@@ -352,9 +359,9 @@
|
|
|
352
359
|
kuler "^2.0.0"
|
|
353
360
|
|
|
354
361
|
"@grpc/grpc-js@^1.5.5":
|
|
355
|
-
version "1.6.
|
|
356
|
-
resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.6.
|
|
357
|
-
integrity sha512-
|
|
362
|
+
version "1.6.12"
|
|
363
|
+
resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.6.12.tgz#20f710d8a8c5c396b2ae9530ba6c06b984614fdf"
|
|
364
|
+
integrity sha512-JmvQ03OTSpVd9JTlj/K3IWHSz4Gk/JMLUTtW7Zb0KvO1LcOYGATh5cNuRYzCAeDR3O8wq+q8FZe97eO9MBrkUw==
|
|
358
365
|
dependencies:
|
|
359
366
|
"@grpc/proto-loader" "^0.7.0"
|
|
360
367
|
"@types/node" ">=12.12.47"
|
|
@@ -1455,12 +1462,6 @@ cf-logs@^1.1.24, cf-logs@^1.1.25:
|
|
|
1455
1462
|
lodash "^4.17.21"
|
|
1456
1463
|
winston "3.3.3"
|
|
1457
1464
|
|
|
1458
|
-
"cf-monitor@git+https://github.com/codefresh-io/cf-monitor.git#fc6b49d2a1a161beaf6d33b692d4ca86b38dfe43":
|
|
1459
|
-
version "0.0.22"
|
|
1460
|
-
resolved "git+https://github.com/codefresh-io/cf-monitor.git#fc6b49d2a1a161beaf6d33b692d4ca86b38dfe43"
|
|
1461
|
-
dependencies:
|
|
1462
|
-
newrelic "^8.0.0"
|
|
1463
|
-
|
|
1464
1465
|
chai@^4.1.2:
|
|
1465
1466
|
version "4.2.0"
|
|
1466
1467
|
resolved "https://registry.yarnpkg.com/chai/-/chai-4.2.0.tgz#760aa72cf20e3795e84b12877ce0e83737aa29e5"
|
|
@@ -5047,19 +5048,19 @@ readable-stream@^2.3.5, readable-stream@^2.3.7:
|
|
|
5047
5048
|
string_decoder "~1.1.1"
|
|
5048
5049
|
util-deprecate "~1.0.1"
|
|
5049
5050
|
|
|
5050
|
-
readable-stream@^3.0.2, readable-stream@^3.
|
|
5051
|
-
version "3.
|
|
5052
|
-
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.
|
|
5053
|
-
integrity sha512-
|
|
5051
|
+
readable-stream@^3.0.2, readable-stream@^3.4.0, readable-stream@^3.6.0:
|
|
5052
|
+
version "3.6.0"
|
|
5053
|
+
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198"
|
|
5054
|
+
integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==
|
|
5054
5055
|
dependencies:
|
|
5055
5056
|
inherits "^2.0.3"
|
|
5056
5057
|
string_decoder "^1.1.1"
|
|
5057
5058
|
util-deprecate "^1.0.1"
|
|
5058
5059
|
|
|
5059
|
-
readable-stream@^3.
|
|
5060
|
-
version "3.
|
|
5061
|
-
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.
|
|
5062
|
-
integrity sha512-
|
|
5060
|
+
readable-stream@^3.1.1:
|
|
5061
|
+
version "3.4.0"
|
|
5062
|
+
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.4.0.tgz#a51c26754658e0a3c21dbf59163bd45ba6f447fc"
|
|
5063
|
+
integrity sha512-jItXPLmrSR8jmTRmRWJXCnGJsfy85mB3Wd/uINMXA65yrnFo0cPClFIUWzo2najVNSl+mx7/4W8ttlLWJe99pQ==
|
|
5063
5064
|
dependencies:
|
|
5064
5065
|
inherits "^2.0.3"
|
|
5065
5066
|
string_decoder "^1.1.1"
|