screwdriver-api 4.1.258 → 4.1.261

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
@@ -210,6 +210,10 @@ const collectionFactory = Models.CollectionFactory.getInstance({
210
210
  datastore,
211
211
  datastoreRO
212
212
  });
213
+ const stageFactory = Models.StageFactory.getInstance({
214
+ datastore,
215
+ datastoreRO
216
+ });
213
217
  const triggerFactory = Models.TriggerFactory.getInstance({
214
218
  datastore,
215
219
  datastoreRO
@@ -246,6 +250,7 @@ datastore.setup(datastoreConfig.ddlSyncEnabled).then(() =>
246
250
  tokenFactory,
247
251
  eventFactory,
248
252
  collectionFactory,
253
+ stageFactory,
249
254
  triggerFactory,
250
255
  banners: authConfig,
251
256
  builds: {
package/lib/server.js CHANGED
@@ -74,6 +74,7 @@ function prettyPrintErrors(request, h) {
74
74
  * @param {Factory} config.tokenFactory Token Factory instance
75
75
  * @param {Factory} config.eventFactory Event Factory instance
76
76
  * @param {Factory} config.collectionFactory Collection Factory instance
77
+ * @param {Factory} config.stageFactory Stage Factory instance
77
78
  * @param {Factory} config.triggerFactory Trigger Factory instance
78
79
  * @param {Object} config.builds Config to include for builds plugin
79
80
  * @param {Object} config.builds.ecosystem List of hosts in the ecosystem
@@ -124,6 +125,7 @@ module.exports = async config => {
124
125
  commandTagFactory: config.commandTagFactory,
125
126
  templateFactory: config.templateFactory,
126
127
  templateTagFactory: config.templateTagFactory,
128
+ stageFactory: config.stageFactory,
127
129
  triggerFactory: config.triggerFactory,
128
130
  pipelineFactory: config.pipelineFactory,
129
131
  jobFactory: config.jobFactory,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screwdriver-api",
3
- "version": "4.1.258",
3
+ "version": "4.1.261",
4
4
  "description": "API server for the Screwdriver.cd service",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -87,7 +87,7 @@
87
87
  "hapi-auth-bearer-token": "^8.0.0",
88
88
  "hapi-auth-jwt2": "^10.2.0",
89
89
  "hapi-rate-limit": "^5.0.1",
90
- "hapi-swagger": "^14.5.4",
90
+ "hapi-swagger": "^14.5.5",
91
91
  "ioredis": "^4.28.0",
92
92
  "joi": "^17.4.2",
93
93
  "js-yaml": "^3.14.1",
@@ -102,7 +102,7 @@
102
102
  "screwdriver-build-bookend": "^2.4.0",
103
103
  "screwdriver-cache-bookend": "^2.0.2",
104
104
  "screwdriver-command-validator": "^2.1.0",
105
- "screwdriver-config-parser": "^7.4.0",
105
+ "screwdriver-config-parser": "^7.6.0",
106
106
  "screwdriver-coverage-bookend": "^1.0.3",
107
107
  "screwdriver-coverage-sonar": "^3.3.3",
108
108
  "screwdriver-data-schema": "^21.22.2",
@@ -114,7 +114,7 @@
114
114
  "screwdriver-executor-queue": "^3.1.2",
115
115
  "screwdriver-executor-router": "^2.3.0",
116
116
  "screwdriver-logger": "^1.1.0",
117
- "screwdriver-models": "^28.16.1",
117
+ "screwdriver-models": "^28.17.0",
118
118
  "screwdriver-notifications-email": "^2.2.0",
119
119
  "screwdriver-notifications-slack": "^3.2.1",
120
120
  "screwdriver-request": "^1.0.3",