@codefresh-io/service-base 3.0.9 → 3.0.10

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/infra/config.js CHANGED
@@ -137,6 +137,7 @@ base.safe = { secret: process.env.SAFE_SECRET || 'secret' };
137
137
 
138
138
  base.redis = {
139
139
  url: process.env.REDIS_URL || APPLICATION_DOMAIN,
140
+ port: process.env.REDIS_PORT || 6379,
140
141
  password: process.env.REDIS_PASSWORD || 'redisPassword',
141
142
  db: process.env.REDIS_DB || 1,
142
143
  };
package/infra/redis.js CHANGED
@@ -27,6 +27,7 @@ class Redis {
27
27
  this.client =
28
28
  redis.createClient({
29
29
  host: config.redis.url,
30
+ port: config.redis.port,
30
31
  password: config.redis.password,
31
32
  db: config.redis.db,
32
33
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codefresh-io/service-base",
3
- "version": "3.0.9",
3
+ "version": "3.0.10",
4
4
  "main": "index.js",
5
5
  "description": "",
6
6
  "engines": {
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "@codefresh-io/authenticated-entity": "^2.13.1",
32
32
  "@codefresh-io/cf-openapi": "~0.7.7",
33
- "@codefresh-io/eventbus": "^1.3.1",
33
+ "@codefresh-io/eventbus": "^1.4.1",
34
34
  "@codefresh-io/http-infra": "^1.8.9",
35
35
  "@codefresh-io/internal-service-config": "^1.0.2",
36
36
  "@ronomon/crypto-async": "^5.0.1",
package/yarn.lock CHANGED
@@ -321,16 +321,16 @@
321
321
  rxjs "^6.4.0"
322
322
  websocket "1.0.31"
323
323
 
324
- "@codefresh-io/eventbus@^1.3.1":
325
- version "1.3.1"
326
- resolved "https://registry.yarnpkg.com/@codefresh-io/eventbus/-/eventbus-1.3.1.tgz#08b3216bcd05876c4e6b51f1376930572b6342cf"
327
- integrity sha512-nPyiPlcg3MOgKyvsr5RWqrynSw8TGxOTiX11Ez5zKZYUYYigI5NPVSHeG1zXNEzAHsS32Grevk+Tw3gonQJoVw==
324
+ "@codefresh-io/eventbus@^1.4.1":
325
+ version "1.4.1"
326
+ resolved "https://registry.yarnpkg.com/@codefresh-io/eventbus/-/eventbus-1.4.1.tgz#e9803c7df7b421c49118684e0746172318ad382b"
327
+ integrity sha512-R1DD27pnx2HLuVx8IFENKGCAEb2hH2Gz8YjUqf1LpLIHgbfiwlMl+nKT/Q95iLxO8spYHkc4sfkcqMafKA9quA==
328
328
  dependencies:
329
329
  amqplib "^0.5.1"
330
330
  bluebird "^3.5.0"
331
- cf-errors "^0.1.15"
332
- debug "^2.6.8"
333
- lodash "4.17.20"
331
+ cf-errors "^0.1.16"
332
+ debug "2.6.9"
333
+ lodash "^4.17.21"
334
334
  pg "^7.0.2"
335
335
  pg-cursor "^1.2.0"
336
336
  uuid "^3.0.1"
@@ -1416,6 +1416,13 @@ cf-errors@^0.1.15:
1416
1416
  dependencies:
1417
1417
  lodash "4.17.20"
1418
1418
 
1419
+ cf-errors@^0.1.16:
1420
+ version "0.1.16"
1421
+ resolved "https://registry.yarnpkg.com/cf-errors/-/cf-errors-0.1.16.tgz#03d0b050ac94762552792907b08bd39d1a012116"
1422
+ integrity sha512-ewA6cTS+bVC32NCxIdEu/5HQ8zb09PV1ubdu0t2yPXs51K31gI78+XGEomVjaXdTbZcGBPVIWhFnG6R/U7K4IQ==
1423
+ dependencies:
1424
+ lodash "^4.17.21"
1425
+
1419
1426
  cf-logs@^1.1.24:
1420
1427
  version "1.1.24"
1421
1428
  resolved "https://registry.yarnpkg.com/cf-logs/-/cf-logs-1.1.24.tgz#d383162ee937745aef9bf9e64a455e4f1f816ea8"