screwdriver-api 7.0.59 → 7.0.60

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
@@ -240,6 +240,18 @@ const pipelineTemplateVersionFactory = Models.PipelineTemplateVersionFactory.get
240
240
  scm
241
241
  });
242
242
 
243
+ const pipelineTemplateTagFactory = Models.PipelineTemplateTagFactory.getInstance({
244
+ datastore,
245
+ datastoreRO,
246
+ scm
247
+ });
248
+
249
+ const jobTemplateTagFactory = Models.JobTemplateTagFactory.getInstance({
250
+ datastore,
251
+ datastoreRO,
252
+ scm
253
+ });
254
+
243
255
  // @TODO run setup for SCM and Executor
244
256
  // datastoreConfig.ddlSync => sync datastore schema (ddl) via api (default: true)
245
257
  datastore.setup(datastoreConfig.ddlSyncEnabled).then(() =>
@@ -256,6 +268,8 @@ datastore.setup(datastoreConfig.ddlSyncEnabled).then(() =>
256
268
  templateFactory,
257
269
  pipelineTemplateFactory,
258
270
  pipelineTemplateVersionFactory,
271
+ pipelineTemplateTagFactory,
272
+ jobTemplateTagFactory,
259
273
  templateTagFactory,
260
274
  pipelineFactory,
261
275
  jobFactory,
package/lib/server.js CHANGED
@@ -128,7 +128,6 @@ module.exports = async config => {
128
128
  templateTagFactory: config.templateTagFactory,
129
129
  pipelineTemplateFactory: config.pipelineTemplateFactory,
130
130
  pipelineTemplateVersionFactory: config.pipelineTemplateVersionFactory,
131
- templateMetaFactory: config.templateMetaFactory,
132
131
  jobTemplateTagFactory: config.jobTemplateTagFactory,
133
132
  pipelineTemplateTagFactory: config.pipelineTemplateTagFactory,
134
133
  stageFactory: config.stageFactory,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screwdriver-api",
3
- "version": "7.0.59",
3
+ "version": "7.0.60",
4
4
  "description": "API server for the Screwdriver.cd service",
5
5
  "main": "index.js",
6
6
  "scripts": {