@codefresh-io/service-base 3.0.16 → 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 +3 -6
- package/yarn.lock +262 -699
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,7 +28,8 @@
|
|
|
31
28
|
"homepage": "https://github.com/codefresh-io/service-base#readme",
|
|
32
29
|
"dependencies": {
|
|
33
30
|
"@codefresh-io/authenticated-entity": "^2.13.1",
|
|
34
|
-
"@codefresh-io/cf-
|
|
31
|
+
"@codefresh-io/cf-monitor": "^0.0.24",
|
|
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",
|
|
37
35
|
"@codefresh-io/internal-service-config": "^1.0.2",
|
|
@@ -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#00af78d3d7c7bffc41f27f75279a66a30f0ab987",
|
|
46
43
|
"chai": "^4.1.2",
|
|
47
44
|
"compression": "^1.7.4",
|
|
48
45
|
"cookie-parser": "^1.4.4",
|