screwdriver-api 8.0.26 → 8.0.28

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/bin/server CHANGED
@@ -45,7 +45,15 @@ ecosystem.api = httpdConfig.uri;
45
45
  const release = config.get('release');
46
46
 
47
47
  // Logging config
48
- const log = config.get('log');
48
+ const log = {...config.get('log')};
49
+ if (log && log.audit && log.audit.enabled !== undefined) {
50
+ log.audit = {...log.audit}
51
+ log.audit.enabled = convertToBool(log.audit.enabled);
52
+ }
53
+ if (log && log.payload && log.payload.enabled !== undefined) {
54
+ log.payload = {...log.payload}
55
+ log.payload.enabled = convertToBool(log.payload.enabled);
56
+ }
49
57
 
50
58
  // Notification config
51
59
  const notificationConfig = config.get('notifications');
@@ -95,6 +95,12 @@ datastore:
95
95
  retry:
96
96
  __name: DATASTORE_SEQUELIZE_RETRY
97
97
  __format: json
98
+ # An object of additional options, which are passed directly to the connection library
99
+ # Configure SSL/TLS connection settings
100
+ # https://sequelize.org/docs/v6/other-topics/dialect-specific-things/
101
+ dialectOptions:
102
+ __name: DATASTORE_DIALECT_OPTIONS
103
+ __format: json
98
104
  buildMetricsEnabled: DATASTORE_SEQUELIZE_CAPTURE_METRICS_ENABLED
99
105
  readOnly:
100
106
  __name: DATASTORE_SEQUELIZE_RO
@@ -97,6 +97,7 @@ datastore:
97
97
  ssl: false
98
98
  pool: {}
99
99
  retry: {}
100
+ dialectOptions: {}
100
101
  buildMetricsEnabled: "false"
101
102
  # readOnly datastore config
102
103
  # readOnly: {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screwdriver-api",
3
- "version": "8.0.26",
3
+ "version": "8.0.28",
4
4
  "description": "API server for the Screwdriver.cd service",
5
5
  "main": "index.js",
6
6
  "scripts": {