@codefresh-io/service-base 3.0.23-test.0 → 3.0.24

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
@@ -140,6 +140,7 @@ base.redis = {
140
140
  port: process.env.REDIS_PORT || 6379,
141
141
  password: process.env.REDIS_PASSWORD || 'redisPassword',
142
142
  db: process.env.REDIS_DB || 1,
143
+ tls: process.env.REDIS_TLS === 'true' ? {} : undefined,
143
144
  };
144
145
 
145
146
 
package/infra/redis.js CHANGED
@@ -30,6 +30,7 @@ class Redis {
30
30
  port: config.redis.port,
31
31
  password: config.redis.password,
32
32
  db: config.redis.db,
33
+ tls: config.redis.tls,
33
34
  });
34
35
 
35
36
  this.client.on('ready', () => {
@@ -39,7 +40,7 @@ class Redis {
39
40
  });
40
41
 
41
42
  this.client.on('connect', () => {
42
- logger.info('Redis client connected');
43
+ logger.info('Redis client connecting');
43
44
  });
44
45
 
45
46
  this.client.on('reconnecting', () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codefresh-io/service-base",
3
- "version": "3.0.23-test.0",
3
+ "version": "3.0.24",
4
4
  "main": "index.js",
5
5
  "description": "",
6
6
  "bin": {
@@ -30,9 +30,9 @@
30
30
  "dependencies": {
31
31
  "@codefresh-io/authenticated-entity": "^2.13.1",
32
32
  "@codefresh-io/cf-monitor": "^0.0.24",
33
- "@codefresh-io/cf-openapi": "^0.7.14-test.0",
33
+ "@codefresh-io/cf-openapi": "^0.7.14",
34
34
  "@codefresh-io/eventbus": "1.4.2",
35
- "@codefresh-io/http-infra": "1.8.12-test.0",
35
+ "@codefresh-io/http-infra": "^1.8.12",
36
36
  "@codefresh-io/internal-service-config": "^1.0.2",
37
37
  "@ronomon/crypto-async": "^5.0.1",
38
38
  "@wegolook/joi-objectid": "^2.4.0",