@salesforce/plugin-devops-center 1.2.27 → 1.3.0
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/LICENSE.txt +200 -6
- package/README.md +515 -19
- package/bin/dev.js +15 -0
- package/bin/run.js +5 -0
- package/lib/commands/devops/pipeline/activate.d.ts +14 -0
- package/lib/commands/devops/pipeline/activate.js +82 -0
- package/lib/commands/devops/pipeline/activate.js.map +1 -0
- package/lib/commands/devops/pipeline/attach-project.d.ts +15 -0
- package/lib/commands/devops/pipeline/attach-project.js +82 -0
- package/lib/commands/devops/pipeline/attach-project.js.map +1 -0
- package/lib/commands/devops/pipeline/create.d.ts +23 -0
- package/lib/commands/devops/pipeline/create.js +136 -0
- package/lib/commands/devops/pipeline/create.js.map +1 -0
- package/lib/commands/devops/pipeline/stage/add.d.ts +16 -0
- package/lib/commands/devops/pipeline/stage/add.js +94 -0
- package/lib/commands/devops/pipeline/stage/add.js.map +1 -0
- package/lib/commands/devops/project/create.d.ts +15 -0
- package/lib/commands/devops/project/create.js +72 -0
- package/lib/commands/devops/project/create.js.map +1 -0
- package/lib/commands/devops/project/list.d.ts +20 -0
- package/lib/commands/devops/project/list.js +59 -0
- package/lib/commands/devops/project/list.js.map +1 -0
- package/lib/commands/devops/pull-request/create.d.ts +17 -0
- package/lib/commands/devops/pull-request/create.js +104 -0
- package/lib/commands/devops/pull-request/create.js.map +1 -0
- package/lib/commands/devops/stage/add-branch.d.ts +17 -0
- package/lib/commands/devops/stage/add-branch.js +110 -0
- package/lib/commands/devops/stage/add-branch.js.map +1 -0
- package/lib/commands/devops/stage/add-environment.d.ts +18 -0
- package/lib/commands/devops/stage/add-environment.js +136 -0
- package/lib/commands/devops/stage/add-environment.js.map +1 -0
- package/lib/commands/devops/work-item/create.d.ts +16 -0
- package/lib/commands/devops/work-item/create.js +76 -0
- package/lib/commands/devops/work-item/create.js.map +1 -0
- package/lib/commands/devops/work-item/list.d.ts +17 -0
- package/lib/commands/devops/work-item/list.js +72 -0
- package/lib/commands/devops/work-item/list.js.map +1 -0
- package/lib/commands/devops/work-item/status/update.d.ts +16 -0
- package/lib/commands/devops/work-item/status/update.js +90 -0
- package/lib/commands/devops/work-item/status/update.js.map +1 -0
- package/lib/commands/project/deploy/pipeline/quick.d.ts +2 -2
- package/lib/commands/project/deploy/pipeline/quick.js +24 -21
- package/lib/commands/project/deploy/pipeline/quick.js.map +1 -1
- package/lib/commands/project/deploy/pipeline/report.d.ts +4 -4
- package/lib/commands/project/deploy/pipeline/report.js +38 -35
- package/lib/commands/project/deploy/pipeline/report.js.map +1 -1
- package/lib/commands/project/deploy/pipeline/resume.d.ts +2 -2
- package/lib/commands/project/deploy/pipeline/resume.js +24 -21
- package/lib/commands/project/deploy/pipeline/resume.js.map +1 -1
- package/lib/commands/project/deploy/pipeline/start.d.ts +3 -3
- package/lib/commands/project/deploy/pipeline/start.js +26 -23
- package/lib/commands/project/deploy/pipeline/start.js.map +1 -1
- package/lib/commands/project/deploy/pipeline/validate.d.ts +3 -3
- package/lib/commands/project/deploy/pipeline/validate.js +24 -21
- package/lib/commands/project/deploy/pipeline/validate.js.map +1 -1
- package/lib/common/base/abstractAsyncOperation.d.ts +3 -3
- package/lib/common/base/abstractAsyncOperation.js +31 -23
- package/lib/common/base/abstractAsyncOperation.js.map +1 -1
- package/lib/common/base/abstractPromote.d.ts +5 -4
- package/lib/common/base/abstractPromote.js +52 -38
- package/lib/common/base/abstractPromote.js.map +1 -1
- package/lib/common/base/abstractQuick.d.ts +4 -3
- package/lib/common/base/abstractQuick.js +44 -43
- package/lib/common/base/abstractQuick.js.map +1 -1
- package/lib/common/base/abstractReportOnPromote.d.ts +2 -1
- package/lib/common/base/abstractReportOnPromote.js +31 -24
- package/lib/common/base/abstractReportOnPromote.js.map +1 -1
- package/lib/common/base/abstractResume.d.ts +3 -2
- package/lib/common/base/abstractResume.js +40 -33
- package/lib/common/base/abstractResume.js.map +1 -1
- package/lib/common/constants.js +19 -13
- package/lib/common/constants.js.map +1 -1
- package/lib/common/deployPipelineCache.js +20 -15
- package/lib/common/deployPipelineCache.js.map +1 -1
- package/lib/common/flags/flags.d.ts +2 -2
- package/lib/common/flags/flags.js +34 -29
- package/lib/common/flags/flags.js.map +1 -1
- package/lib/common/flags/promote/promoteFlags.d.ts +3 -3
- package/lib/common/flags/promote/promoteFlags.js +26 -20
- package/lib/common/flags/promote/promoteFlags.js.map +1 -1
- package/lib/common/index.d.ts +3 -2
- package/lib/common/index.js +2 -17
- package/lib/common/index.js.map +1 -1
- package/lib/common/outputColumns.d.ts +3 -13
- package/lib/common/outputColumns.js +23 -19
- package/lib/common/outputColumns.js.map +1 -1
- package/lib/common/outputService/aorOutputService.d.ts +4 -4
- package/lib/common/outputService/aorOutputService.js +27 -20
- package/lib/common/outputService/aorOutputService.js.map +1 -1
- package/lib/common/outputService/deployCommandOutputService.d.ts +2 -2
- package/lib/common/outputService/deployCommandOutputService.js +17 -12
- package/lib/common/outputService/deployCommandOutputService.js.map +1 -1
- package/lib/common/outputService/deploySummaryBuilder.d.ts +1 -1
- package/lib/common/outputService/deploySummaryBuilder.js +45 -31
- package/lib/common/outputService/deploySummaryBuilder.js.map +1 -1
- package/lib/common/outputService/deploymentResultOutputService.d.ts +4 -4
- package/lib/common/outputService/deploymentResultOutputService.js +16 -10
- package/lib/common/outputService/deploymentResultOutputService.js.map +1 -1
- package/lib/common/outputService/index.d.ts +8 -6
- package/lib/common/outputService/index.js +5 -19
- package/lib/common/outputService/index.js.map +1 -1
- package/lib/common/outputService/outputService.d.ts +6 -4
- package/lib/common/outputService/outputService.js +20 -14
- package/lib/common/outputService/outputService.js.map +1 -1
- package/lib/common/outputService/outputServiceFactory.d.ts +8 -8
- package/lib/common/outputService/outputServiceFactory.js +21 -16
- package/lib/common/outputService/outputServiceFactory.js.map +1 -1
- package/lib/common/outputService/outputUtils.d.ts +1 -1
- package/lib/common/outputService/outputUtils.js +24 -19
- package/lib/common/outputService/outputUtils.js.map +1 -1
- package/lib/common/outputService/promoteOutputService.d.ts +4 -5
- package/lib/common/outputService/promoteOutputService.js +19 -13
- package/lib/common/outputService/promoteOutputService.js.map +1 -1
- package/lib/common/outputService/reportOutputService.d.ts +5 -6
- package/lib/common/outputService/reportOutputService.js +32 -27
- package/lib/common/outputService/reportOutputService.js.map +1 -1
- package/lib/common/outputService/resumeCommandOutputService.d.ts +3 -3
- package/lib/common/outputService/resumeCommandOutputService.js +19 -13
- package/lib/common/outputService/resumeCommandOutputService.js.map +1 -1
- package/lib/common/outputService/resumeOutputService.d.ts +3 -3
- package/lib/common/outputService/resumeOutputService.js +23 -17
- package/lib/common/outputService/resumeOutputService.js.map +1 -1
- package/lib/common/selectors/asyncOperationResultsSelector.d.ts +1 -1
- package/lib/common/selectors/asyncOperationResultsSelector.js +16 -10
- package/lib/common/selectors/asyncOperationResultsSelector.js.map +1 -1
- package/lib/common/selectors/deployComponentsSelector.d.ts +1 -1
- package/lib/common/selectors/deployComponentsSelector.js +18 -13
- package/lib/common/selectors/deployComponentsSelector.js.map +1 -1
- package/lib/common/selectors/deployProgressSummarySelector.d.ts +2 -2
- package/lib/common/selectors/deployProgressSummarySelector.js +16 -10
- package/lib/common/selectors/deployProgressSummarySelector.js.map +1 -1
- package/lib/common/selectors/deploymentResultsSelector.d.ts +2 -2
- package/lib/common/selectors/deploymentResultsSelector.js +20 -16
- package/lib/common/selectors/deploymentResultsSelector.js.map +1 -1
- package/lib/common/selectors/environmentSelector.d.ts +2 -2
- package/lib/common/selectors/environmentSelector.js +16 -10
- package/lib/common/selectors/environmentSelector.js.map +1 -1
- package/lib/common/selectors/namedCredentialSelector.d.ts +1 -1
- package/lib/common/selectors/namedCredentialSelector.js +16 -10
- package/lib/common/selectors/namedCredentialSelector.js.map +1 -1
- package/lib/common/selectors/pipelineStageSelector.d.ts +1 -1
- package/lib/common/selectors/pipelineStageSelector.js +18 -13
- package/lib/common/selectors/pipelineStageSelector.js.map +1 -1
- package/lib/common/selectors/selectorUtils.d.ts +1 -1
- package/lib/common/selectors/selectorUtils.js +17 -11
- package/lib/common/selectors/selectorUtils.js.map +1 -1
- package/lib/common/selectors/validateDeploySelector.d.ts +1 -1
- package/lib/common/selectors/validateDeploySelector.js +16 -10
- package/lib/common/selectors/validateDeploySelector.js.map +1 -1
- package/lib/common/selectors/workItemSelector.d.ts +2 -2
- package/lib/common/selectors/workItemSelector.js +16 -10
- package/lib/common/selectors/workItemSelector.js.map +1 -1
- package/lib/common/types.d.ts +4 -4
- package/lib/common/types.js +4 -7
- package/lib/common/types.js.map +1 -1
- package/lib/common/utils.d.ts +4 -4
- package/lib/common/utils.js +42 -43
- package/lib/common/utils.js.map +1 -1
- package/lib/configMeta.js +21 -15
- package/lib/configMeta.js.map +1 -1
- package/lib/streamer/doceMonitor.d.ts +3 -2
- package/lib/streamer/doceMonitor.js +14 -6
- package/lib/streamer/doceMonitor.js.map +1 -1
- package/lib/streamer/doceStream.d.ts +1 -1
- package/lib/streamer/doceStream.js +19 -11
- package/lib/streamer/doceStream.js.map +1 -1
- package/lib/streamer/processors/asyncOpStream.d.ts +2 -2
- package/lib/streamer/processors/asyncOpStream.js +22 -15
- package/lib/streamer/processors/asyncOpStream.js.map +1 -1
- package/lib/streamer/sObjectStream.d.ts +1 -1
- package/lib/streamer/sObjectStream.js +9 -10
- package/lib/streamer/sObjectStream.js.map +1 -1
- package/lib/utils/activatePipeline.d.ts +17 -0
- package/lib/utils/activatePipeline.js +35 -0
- package/lib/utils/activatePipeline.js.map +1 -0
- package/lib/utils/addPipelineStage.d.ts +20 -0
- package/lib/utils/addPipelineStage.js +43 -0
- package/lib/utils/addPipelineStage.js.map +1 -0
- package/lib/utils/addStageBranch.d.ts +22 -0
- package/lib/utils/addStageBranch.js +48 -0
- package/lib/utils/addStageBranch.js.map +1 -0
- package/lib/utils/addStageEnvironment.d.ts +92 -0
- package/lib/utils/addStageEnvironment.js +120 -0
- package/lib/utils/addStageEnvironment.js.map +1 -0
- package/lib/utils/attachProject.d.ts +21 -0
- package/lib/utils/attachProject.js +44 -0
- package/lib/utils/attachProject.js.map +1 -0
- package/lib/utils/createPipeline.d.ts +34 -0
- package/lib/utils/createPipeline.js +77 -0
- package/lib/utils/createPipeline.js.map +1 -0
- package/lib/utils/createProject.d.ts +17 -0
- package/lib/utils/createProject.js +39 -0
- package/lib/utils/createProject.js.map +1 -0
- package/lib/utils/createPullRequest.d.ts +49 -0
- package/lib/utils/createPullRequest.js +204 -0
- package/lib/utils/createPullRequest.js.map +1 -0
- package/lib/utils/createWorkItem.d.ts +19 -0
- package/lib/utils/createWorkItem.js +58 -0
- package/lib/utils/createWorkItem.js.map +1 -0
- package/lib/utils/pipelineUtils.d.ts +8 -0
- package/lib/utils/pipelineUtils.js +51 -0
- package/lib/utils/pipelineUtils.js.map +1 -0
- package/lib/utils/types.d.ts +57 -0
- package/lib/utils/types.js +17 -0
- package/lib/utils/types.js.map +1 -0
- package/lib/utils/updateWorkItemStatus.d.ts +34 -0
- package/lib/utils/updateWorkItemStatus.js +71 -0
- package/lib/utils/updateWorkItemStatus.js.map +1 -0
- package/lib/utils/workItems.d.ts +3 -0
- package/lib/utils/workItems.js +181 -0
- package/lib/utils/workItems.js.map +1 -0
- package/messages/commonErrors.md +5 -1
- package/messages/devops.pipeline.activate.md +29 -0
- package/messages/devops.pipeline.attach-project.md +29 -0
- package/messages/devops.pipeline.create.md +81 -0
- package/messages/devops.pipeline.stage.add.md +37 -0
- package/messages/devops.project.create.md +29 -0
- package/messages/devops.project.list.md +17 -0
- package/messages/devops.pull-request.create.md +57 -0
- package/messages/devops.stage.add-branch.md +46 -0
- package/messages/devops.stage.add-environment.md +61 -0
- package/messages/devops.work-item.create.md +29 -0
- package/messages/devops.work-item.list.md +21 -0
- package/messages/devops.work-item.status.update.md +29 -0
- package/npm-shrinkwrap.json +4197 -4471
- package/oclif.lock +3380 -3272
- package/oclif.manifest.json +1056 -11
- package/package.json +53 -23
- package/schemas/devops-pipeline-activate.json +28 -0
- package/schemas/devops-pipeline-attach__project.json +25 -0
- package/schemas/devops-pipeline-create.json +50 -0
- package/schemas/devops-pipeline-stage-add.json +31 -0
- package/schemas/devops-project-create.json +28 -0
- package/schemas/devops-project-list.json +35 -0
- package/schemas/devops-pull__request-create.json +34 -0
- package/schemas/devops-stage-add__branch.json +34 -0
- package/schemas/devops-stage-add__environment.json +47 -0
- package/schemas/devops-work__item-create.json +28 -0
- package/schemas/devops-work__item-list.json +75 -0
- package/schemas/devops-work__item-status-update.json +28 -0
- package/schemas/project-deploy-pipeline-report.json +2 -2
package/package.json
CHANGED
|
@@ -1,37 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-devops-center",
|
|
3
3
|
"description": "The DevOps Center CLI plugin provides a command-line alternative to performing equivalent actions in the DevOps Center graphical UI",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.3.0",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"author": "Salesforce",
|
|
6
7
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
8
|
"dependencies": {
|
|
8
|
-
"@
|
|
9
|
-
"@
|
|
9
|
+
"@jsforce/jsforce-node": "^3",
|
|
10
|
+
"@oclif/core": "^4",
|
|
11
|
+
"@salesforce/core": "^8.2.7",
|
|
10
12
|
"@salesforce/kit": "^3.2.3",
|
|
11
|
-
"@salesforce/sf-plugins-core": "^
|
|
12
|
-
"@salesforce/ts-types": "^2.0.
|
|
13
|
-
"chalk": "^
|
|
14
|
-
"jsforce": "^2.0.0-beta.29",
|
|
15
|
-
"tslib": "^2"
|
|
13
|
+
"@salesforce/sf-plugins-core": "^12",
|
|
14
|
+
"@salesforce/ts-types": "^2.0.11",
|
|
15
|
+
"chalk": "^5"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@oclif/plugin-command-snapshot": "^5",
|
|
18
|
+
"@oclif/plugin-command-snapshot": "^5.2.3",
|
|
19
19
|
"@oclif/test": "^3",
|
|
20
|
-
"@salesforce/cli-plugins-testkit": "^5",
|
|
21
|
-
"@salesforce/dev-scripts": "^
|
|
22
|
-
"@salesforce/plugin-command-reference": "^3.1.
|
|
20
|
+
"@salesforce/cli-plugins-testkit": "^5.3.20",
|
|
21
|
+
"@salesforce/dev-scripts": "^11",
|
|
22
|
+
"@salesforce/plugin-command-reference": "^3.1.38",
|
|
23
23
|
"@salesforce/ts-sinon": "^1.4.30",
|
|
24
|
-
"@swc/cli": "^0.5.2",
|
|
25
|
-
"@swc/core": "^1.10.1",
|
|
26
24
|
"eslint-plugin-sf-plugin": "^1.20.13",
|
|
25
|
+
"esmock": "^2.7.6",
|
|
27
26
|
"oclif": "^4",
|
|
28
|
-
"
|
|
27
|
+
"tsx": "^4",
|
|
29
28
|
"typescript": "^5.7.2"
|
|
30
29
|
},
|
|
31
30
|
"engines": {
|
|
32
|
-
"node": ">=
|
|
31
|
+
"node": ">=18.0.0"
|
|
33
32
|
},
|
|
34
33
|
"files": [
|
|
34
|
+
"/bin/dev.js",
|
|
35
|
+
"/bin/run.js",
|
|
35
36
|
"/lib",
|
|
36
37
|
"/messages",
|
|
37
38
|
"/npm-shrinkwrap.json",
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
"sf-plugin",
|
|
50
51
|
"sf"
|
|
51
52
|
],
|
|
52
|
-
"license": "
|
|
53
|
+
"license": "Apache-2.0",
|
|
53
54
|
"main": "lib/index.js",
|
|
54
55
|
"oclif": {
|
|
55
56
|
"commands": "./lib/commands",
|
|
@@ -74,6 +75,33 @@
|
|
|
74
75
|
}
|
|
75
76
|
}
|
|
76
77
|
}
|
|
78
|
+
},
|
|
79
|
+
"devops": {
|
|
80
|
+
"description": "Commands for DevOps and Application Lifecycle Management.",
|
|
81
|
+
"subtopics": {
|
|
82
|
+
"project": {
|
|
83
|
+
"description": "Commands for managing DevOps Center projects."
|
|
84
|
+
},
|
|
85
|
+
"work-item": {
|
|
86
|
+
"description": "Commands for managing DevOps Center work items.",
|
|
87
|
+
"subtopics": {
|
|
88
|
+
"status": {
|
|
89
|
+
"description": "Commands for managing DevOps Center work item statuses."
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"pull-request": {
|
|
94
|
+
"description": "Commands for managing DevOps Center pull requests."
|
|
95
|
+
},
|
|
96
|
+
"pipeline": {
|
|
97
|
+
"description": "Commands for managing DevOps Center pipelines.",
|
|
98
|
+
"subtopics": {
|
|
99
|
+
"stage": {
|
|
100
|
+
"description": "Commands for managing pipeline stages."
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
77
105
|
}
|
|
78
106
|
}
|
|
79
107
|
},
|
|
@@ -84,6 +112,7 @@
|
|
|
84
112
|
"clean-all": "sf-clean all",
|
|
85
113
|
"compile": "wireit",
|
|
86
114
|
"docs": "sf-docs",
|
|
115
|
+
"fix-license": "eslint src test --fix --rule \"header/header: [2]\"",
|
|
87
116
|
"format": "wireit",
|
|
88
117
|
"link-check": "wireit",
|
|
89
118
|
"lint": "wireit",
|
|
@@ -95,6 +124,7 @@
|
|
|
95
124
|
"test:only": "wireit",
|
|
96
125
|
"version": "oclif readme"
|
|
97
126
|
},
|
|
127
|
+
"exports": "./lib/index.js",
|
|
98
128
|
"publishConfig": {
|
|
99
129
|
"access": "public"
|
|
100
130
|
},
|
|
@@ -175,7 +205,7 @@
|
|
|
175
205
|
"output": []
|
|
176
206
|
},
|
|
177
207
|
"test:command-reference": {
|
|
178
|
-
"command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
|
|
208
|
+
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" commandreference:generate --erroronwarnings",
|
|
179
209
|
"files": [
|
|
180
210
|
"src/**/*.ts",
|
|
181
211
|
"messages/**",
|
|
@@ -186,7 +216,7 @@
|
|
|
186
216
|
]
|
|
187
217
|
},
|
|
188
218
|
"test:deprecation-policy": {
|
|
189
|
-
"command": "\"./bin/dev\" snapshot:compare",
|
|
219
|
+
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" snapshot:compare",
|
|
190
220
|
"files": [
|
|
191
221
|
"src/**/*.ts"
|
|
192
222
|
],
|
|
@@ -196,7 +226,7 @@
|
|
|
196
226
|
]
|
|
197
227
|
},
|
|
198
228
|
"test:json-schema": {
|
|
199
|
-
"command": "\"./bin/dev\" schema:compare",
|
|
229
|
+
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" schema:compare",
|
|
200
230
|
"files": [
|
|
201
231
|
"src/**/*.ts",
|
|
202
232
|
"schemas"
|
|
@@ -204,7 +234,7 @@
|
|
|
204
234
|
"output": []
|
|
205
235
|
},
|
|
206
236
|
"link-check": {
|
|
207
|
-
"command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|%s\" --markdown --retry --directory-listing --verbosity error",
|
|
237
|
+
"command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|localhost|%s\" --markdown --retry --directory-listing --verbosity error",
|
|
208
238
|
"files": [
|
|
209
239
|
"./*.md",
|
|
210
240
|
"./!(CHANGELOG).md",
|
|
@@ -214,7 +244,7 @@
|
|
|
214
244
|
}
|
|
215
245
|
},
|
|
216
246
|
"sfdx": {
|
|
217
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-devops-center/1.
|
|
218
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-devops-center/1.
|
|
247
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-devops-center/1.3.0.crt",
|
|
248
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-devops-center/1.3.0.sig"
|
|
219
249
|
}
|
|
220
250
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/ActivatePipelineResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"ActivatePipelineResult": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"success": {
|
|
9
|
+
"type": "boolean"
|
|
10
|
+
},
|
|
11
|
+
"pipelineId": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"status": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"stageCount": {
|
|
18
|
+
"type": "number"
|
|
19
|
+
},
|
|
20
|
+
"error": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"required": ["success", "pipelineId"],
|
|
25
|
+
"additionalProperties": false
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/AttachProjectResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"AttachProjectResult": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"success": {
|
|
9
|
+
"type": "boolean"
|
|
10
|
+
},
|
|
11
|
+
"projectId": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"pipelineId": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"error": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": ["success", "projectId", "pipelineId"],
|
|
22
|
+
"additionalProperties": false
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/CreatePipelineResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"CreatePipelineResult": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"success": {
|
|
9
|
+
"type": "boolean"
|
|
10
|
+
},
|
|
11
|
+
"pipelineId": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"name": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"description": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"status": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"$ref": "#/definitions/RepoInfo"
|
|
25
|
+
},
|
|
26
|
+
"error": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"required": ["success"],
|
|
31
|
+
"additionalProperties": false
|
|
32
|
+
},
|
|
33
|
+
"RepoInfo": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"properties": {
|
|
36
|
+
"repoUrl": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
"repoType": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
"created": {
|
|
43
|
+
"type": "boolean"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"required": ["repoUrl", "repoType", "created"],
|
|
47
|
+
"additionalProperties": false
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/AddPipelineStageResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"AddPipelineStageResult": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"success": {
|
|
9
|
+
"type": "boolean"
|
|
10
|
+
},
|
|
11
|
+
"stageId": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"name": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"nextStageId": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"pipelineId": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"error": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"required": ["success"],
|
|
28
|
+
"additionalProperties": false
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/CreateProjectResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"CreateProjectResult": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"success": {
|
|
9
|
+
"type": "boolean"
|
|
10
|
+
},
|
|
11
|
+
"projectId": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"name": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"description": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"error": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"required": ["success"],
|
|
25
|
+
"additionalProperties": false
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/DevopsProjectListResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"DevopsProjectListResult": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"projects": {
|
|
9
|
+
"type": "array",
|
|
10
|
+
"items": {
|
|
11
|
+
"$ref": "#/definitions/DevopsProject"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required": ["projects"],
|
|
16
|
+
"additionalProperties": false
|
|
17
|
+
},
|
|
18
|
+
"DevopsProject": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"Id": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"Name": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"Description": {
|
|
28
|
+
"type": ["string", "null"]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"required": ["Id", "Name", "Description"],
|
|
32
|
+
"additionalProperties": false
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/CreatePullRequestResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"CreatePullRequestResult": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"success": {
|
|
9
|
+
"type": "boolean"
|
|
10
|
+
},
|
|
11
|
+
"workItemName": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"title": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"url": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"sourceBranch": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"targetBranch": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"error": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"required": ["success"],
|
|
31
|
+
"additionalProperties": false
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/AddStageBranchResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"AddStageBranchResult": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"success": {
|
|
9
|
+
"type": "boolean"
|
|
10
|
+
},
|
|
11
|
+
"stageId": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"branchName": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"branchCreated": {
|
|
18
|
+
"type": "boolean"
|
|
19
|
+
},
|
|
20
|
+
"repoBranchId": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"pipelineId": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"error": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"required": ["success", "stageId"],
|
|
31
|
+
"additionalProperties": false
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/AddStageEnvironmentResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"AddStageEnvironmentResult": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"success": {
|
|
9
|
+
"type": "boolean"
|
|
10
|
+
},
|
|
11
|
+
"stageId": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"environmentId": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"environmentName": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"orgType": {
|
|
21
|
+
"$ref": "#/definitions/OrgType"
|
|
22
|
+
},
|
|
23
|
+
"pipelineId": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"redirectUrl": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"namedCredential": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"organizationId": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"error": {
|
|
36
|
+
"type": "string"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"required": ["success", "stageId"],
|
|
40
|
+
"additionalProperties": false
|
|
41
|
+
},
|
|
42
|
+
"OrgType": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"enum": ["Production", "Sandbox"]
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/CreateWorkItemResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"CreateWorkItemResult": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"success": {
|
|
9
|
+
"type": "boolean"
|
|
10
|
+
},
|
|
11
|
+
"workItemId": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"workItemName": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"subject": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"error": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"required": ["success"],
|
|
25
|
+
"additionalProperties": false
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/DevopsWorkItemListResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"DevopsWorkItemListResult": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"workItems": {
|
|
9
|
+
"type": "array",
|
|
10
|
+
"items": {
|
|
11
|
+
"$ref": "#/definitions/WorkItem"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required": ["workItems"],
|
|
16
|
+
"additionalProperties": false
|
|
17
|
+
},
|
|
18
|
+
"WorkItem": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"id": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"name": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"subject": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"description": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"status": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"owner": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
"DevopsProjectId": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
"PipelineId": {
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
"PipelineStageId": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"SourceCodeRepository": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"properties": {
|
|
51
|
+
"repoUrl": {
|
|
52
|
+
"type": "string"
|
|
53
|
+
},
|
|
54
|
+
"repoType": {
|
|
55
|
+
"type": "string"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"required": ["repoUrl", "repoType"],
|
|
59
|
+
"additionalProperties": false
|
|
60
|
+
},
|
|
61
|
+
"WorkItemBranch": {
|
|
62
|
+
"type": "string"
|
|
63
|
+
},
|
|
64
|
+
"TargetStageId": {
|
|
65
|
+
"type": "string"
|
|
66
|
+
},
|
|
67
|
+
"TargetBranch": {
|
|
68
|
+
"type": "string"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"required": ["id", "name", "status", "owner", "DevopsProjectId"],
|
|
72
|
+
"additionalProperties": false
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/UpdateWorkItemStatusResult",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"UpdateWorkItemStatusResult": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"success": {
|
|
9
|
+
"type": "boolean"
|
|
10
|
+
},
|
|
11
|
+
"workItemId": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"workItemName": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"status": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"error": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"required": ["success", "workItemId"],
|
|
25
|
+
"additionalProperties": false
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"definitions": {
|
|
5
5
|
"PromotePipelineResult": {
|
|
6
6
|
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
7
8
|
"properties": {
|
|
8
9
|
"jobId": {
|
|
9
10
|
"type": "string"
|
|
@@ -18,8 +19,7 @@
|
|
|
18
19
|
"type": "string"
|
|
19
20
|
}
|
|
20
21
|
},
|
|
21
|
-
"required": ["jobId"]
|
|
22
|
-
"additionalProperties": false
|
|
22
|
+
"required": ["jobId"]
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|