@codefresh-io/service-base 3.0.9 → 3.0.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/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.12",
4
4
  "main": "index.js",
5
5
  "description": "",
6
6
  "engines": {
@@ -30,8 +30,8 @@
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",
34
- "@codefresh-io/http-infra": "^1.8.9",
33
+ "@codefresh-io/eventbus": "^1.4.1",
34
+ "@codefresh-io/http-infra": "^1.8.11",
35
35
  "@codefresh-io/internal-service-config": "^1.0.2",
36
36
  "@ronomon/crypto-async": "^5.0.1",
37
37
  "@wegolook/joi-objectid": "^2.4.0",
@@ -47,7 +47,7 @@
47
47
  "express": "^4.16.4",
48
48
  "joi": "^13.0.2",
49
49
  "js-yaml": "^3.13.1",
50
- "lodash": "4.17.20",
50
+ "lodash": "4.17.21",
51
51
  "method-override": "^3.0.0",
52
52
  "mongodb": "~3.3.0",
53
53
  "morgan": "^1.9.1",
package/yarn.lock CHANGED
@@ -294,6 +294,14 @@
294
294
  lodash "^4.17.21"
295
295
  semver "^7.0.0"
296
296
 
297
+ "@codefresh-io/authenticated-entity@^2.13.3":
298
+ version "2.14.1"
299
+ resolved "https://registry.yarnpkg.com/@codefresh-io/authenticated-entity/-/authenticated-entity-2.14.1.tgz#d0df461f897b7c5cb1cff07bee7c3abba7c1712c"
300
+ integrity sha512-EJwgXoxPp8gSwxBpBfyG79IMDDsqQ2xcL+ntgMndb2OhGa2oGQsi9oodIXlPyYkQ4pONSFudGLlGBoHglLT4lQ==
301
+ dependencies:
302
+ lodash "^4.17.21"
303
+ semver "^7.0.0"
304
+
297
305
  "@codefresh-io/cf-openapi@~0.7.7":
298
306
  version "0.7.7"
299
307
  resolved "https://registry.yarnpkg.com/@codefresh-io/cf-openapi/-/cf-openapi-0.7.7.tgz#adc774aa9cefabd4f2b18b3535a37868b113d533"
@@ -321,31 +329,31 @@
321
329
  rxjs "^6.4.0"
322
330
  websocket "1.0.31"
323
331
 
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==
332
+ "@codefresh-io/eventbus@^1.4.1":
333
+ version "1.4.1"
334
+ resolved "https://registry.yarnpkg.com/@codefresh-io/eventbus/-/eventbus-1.4.1.tgz#e9803c7df7b421c49118684e0746172318ad382b"
335
+ integrity sha512-R1DD27pnx2HLuVx8IFENKGCAEb2hH2Gz8YjUqf1LpLIHgbfiwlMl+nKT/Q95iLxO8spYHkc4sfkcqMafKA9quA==
328
336
  dependencies:
329
337
  amqplib "^0.5.1"
330
338
  bluebird "^3.5.0"
331
- cf-errors "^0.1.15"
332
- debug "^2.6.8"
333
- lodash "4.17.20"
339
+ cf-errors "^0.1.16"
340
+ debug "2.6.9"
341
+ lodash "^4.17.21"
334
342
  pg "^7.0.2"
335
343
  pg-cursor "^1.2.0"
336
344
  uuid "^3.0.1"
337
345
 
338
- "@codefresh-io/http-infra@^1.8.9":
339
- version "1.8.9"
340
- resolved "https://registry.yarnpkg.com/@codefresh-io/http-infra/-/http-infra-1.8.9.tgz#08cf741fe18370ebda0b4b4a247b426705bc70df"
341
- integrity sha512-cXqC238xR5hNUNkawxcjJM/p4P6Ok5T1O6LZ3qVkCm4kIewSfraw5Jj451eFkXbZyl0EkqoR9a4wsAm2i4zuJQ==
346
+ "@codefresh-io/http-infra@^1.8.11":
347
+ version "1.8.11"
348
+ resolved "https://registry.yarnpkg.com/@codefresh-io/http-infra/-/http-infra-1.8.11.tgz#11cf7b31a8561caba50ccc3717a7454f530da9fb"
349
+ integrity sha512-sAkDx0yX393KoH49EIR44bhr76bl4K3t5ya1jBKTYyAV6F++FCZotJn87Jsvil/JrIsfF2aakSuwK8AdDAUknQ==
342
350
  dependencies:
343
- "@codefresh-io/authenticated-entity" "^2.13.1"
351
+ "@codefresh-io/authenticated-entity" "^2.13.3"
344
352
  bluebird "^3.7.2"
345
353
  crypto-random-string "^3.3.0"
346
354
  lodash "^4.17.21"
347
355
  request "^2.88.2"
348
- requestretry "^3.1.0"
356
+ requestretry "^7.0.0"
349
357
 
350
358
  "@codefresh-io/internal-service-config@^1.0.2":
351
359
  version "1.0.2"
@@ -1416,6 +1424,13 @@ cf-errors@^0.1.15:
1416
1424
  dependencies:
1417
1425
  lodash "4.17.20"
1418
1426
 
1427
+ cf-errors@^0.1.16:
1428
+ version "0.1.16"
1429
+ resolved "https://registry.yarnpkg.com/cf-errors/-/cf-errors-0.1.16.tgz#03d0b050ac94762552792907b08bd39d1a012116"
1430
+ integrity sha512-ewA6cTS+bVC32NCxIdEu/5HQ8zb09PV1ubdu0t2yPXs51K31gI78+XGEomVjaXdTbZcGBPVIWhFnG6R/U7K4IQ==
1431
+ dependencies:
1432
+ lodash "^4.17.21"
1433
+
1419
1434
  cf-logs@^1.1.24:
1420
1435
  version "1.1.24"
1421
1436
  resolved "https://registry.yarnpkg.com/cf-logs/-/cf-logs-1.1.24.tgz#d383162ee937745aef9bf9e64a455e4f1f816ea8"
@@ -4237,21 +4252,21 @@ lodash.sortby@^4.7.0:
4237
4252
  resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"
4238
4253
  integrity sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=
4239
4254
 
4240
- lodash@4.17.20, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.17.19:
4255
+ lodash@4.17.20, lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.15, lodash@^4.17.19:
4241
4256
  version "4.17.20"
4242
4257
  resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
4243
4258
  integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==
4244
4259
 
4260
+ lodash@4.17.21, lodash@^4.17.21:
4261
+ version "4.17.21"
4262
+ resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
4263
+ integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
4264
+
4245
4265
  lodash@^4.17.14:
4246
4266
  version "4.17.15"
4247
4267
  resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
4248
4268
  integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==
4249
4269
 
4250
- lodash@^4.17.21:
4251
- version "4.17.21"
4252
- resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
4253
- integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
4254
-
4255
4270
  lodash@^4.17.4, lodash@^4.3.0:
4256
4271
  version "4.17.11"
4257
4272
  resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d"
@@ -5502,15 +5517,6 @@ request@2.88.2, request@^2.88.2:
5502
5517
  tunnel-agent "^0.6.0"
5503
5518
  uuid "^3.3.2"
5504
5519
 
5505
- requestretry@^3.1.0:
5506
- version "3.1.0"
5507
- resolved "https://registry.yarnpkg.com/requestretry/-/requestretry-3.1.0.tgz#c8e1976bb946f14889d3604bbad56a01d191c10d"
5508
- integrity sha512-DkvCPK6qvwxIuVA5TRCvi626WHC2rWjF/n7SCQvVHAr2JX9i1/cmIpSEZlmHAo+c1bj9rjaKoZ9IsKwCpTkoXA==
5509
- dependencies:
5510
- extend "^3.0.2"
5511
- lodash "^4.17.10"
5512
- when "^3.7.7"
5513
-
5514
5520
  requestretry@^4.1.2:
5515
5521
  version "4.1.2"
5516
5522
  resolved "https://registry.yarnpkg.com/requestretry/-/requestretry-4.1.2.tgz#f5975c0c3be9e352e25038c9fed482d5cc51978e"
@@ -5520,6 +5526,14 @@ requestretry@^4.1.2:
5520
5526
  lodash "^4.17.15"
5521
5527
  when "^3.7.7"
5522
5528
 
5529
+ requestretry@^7.0.0:
5530
+ version "7.0.2"
5531
+ resolved "https://registry.yarnpkg.com/requestretry/-/requestretry-7.0.2.tgz#22a169e5d3aaadd95d00401d7347511f3695faf4"
5532
+ integrity sha512-Zz8z7G2OuVs4F0wR0shKMEMm7lNvPNHM0UIHNns9qfyuBDKSExoTsZGtSjKst6nPEwlMrbA9G+m/yC0AbGj+8w==
5533
+ dependencies:
5534
+ extend "^3.0.2"
5535
+ lodash "^4.17.15"
5536
+
5523
5537
  require-directory@^2.1.1:
5524
5538
  version "2.1.1"
5525
5539
  resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42"