@itentialopensource/adapter-rundeck 0.1.1

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.
Files changed (178) hide show
  1. package/.eslintignore +6 -0
  2. package/.eslintrc.js +18 -0
  3. package/.gitlab/.gitkeep +0 -0
  4. package/.gitlab/issue_templates/.gitkeep +0 -0
  5. package/.gitlab/issue_templates/Default.md +17 -0
  6. package/.gitlab/issue_templates/bugReportTemplate.md +76 -0
  7. package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
  8. package/.jshintrc +0 -0
  9. package/AUTH.md +39 -0
  10. package/BROKER.md +199 -0
  11. package/CALLS.md +1442 -0
  12. package/CHANGELOG.md +9 -0
  13. package/CODE_OF_CONDUCT.md +43 -0
  14. package/CONTRIBUTING.md +13 -0
  15. package/ENHANCE.md +69 -0
  16. package/LICENSE +201 -0
  17. package/PROPERTIES.md +641 -0
  18. package/README.md +346 -0
  19. package/SUMMARY.md +9 -0
  20. package/SYSTEMINFO.md +11 -0
  21. package/TROUBLESHOOT.md +47 -0
  22. package/adapter.js +18610 -0
  23. package/adapterBase.js +1452 -0
  24. package/entities/.generic/action.json +214 -0
  25. package/entities/.generic/schema.json +28 -0
  26. package/entities/.system/action.json +50 -0
  27. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  28. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  29. package/entities/.system/schema.json +19 -0
  30. package/entities/.system/schemaTokenReq.json +53 -0
  31. package/entities/.system/schemaTokenResp.json +53 -0
  32. package/entities/Acls/action.json +85 -0
  33. package/entities/Acls/mockdatafiles/apiSystemAcls-default.json +3 -0
  34. package/entities/Acls/mockdatafiles/apiSystemAclsPUTDocs-default.json +3 -0
  35. package/entities/Acls/schema.json +33 -0
  36. package/entities/Adhoc/action.json +64 -0
  37. package/entities/Adhoc/schema.json +21 -0
  38. package/entities/Authorization/action.json +25 -0
  39. package/entities/Authorization/schema.json +19 -0
  40. package/entities/Calendars/action.json +126 -0
  41. package/entities/Calendars/mockdatafiles/apiLoadProjectCalendars-default.json +38 -0
  42. package/entities/Calendars/mockdatafiles/apiLoadSystemCalendars-default.json +40 -0
  43. package/entities/Calendars/mockdatafiles/apiProjectCalendars-default.json +3 -0
  44. package/entities/Calendars/mockdatafiles/apiSystemCalendars-default.json +6 -0
  45. package/entities/Calendars/schema.json +24 -0
  46. package/entities/Cluster/action.json +64 -0
  47. package/entities/Cluster/schema.json +21 -0
  48. package/entities/Configuration/action.json +209 -0
  49. package/entities/Configuration/mockdatafiles/configGet-default.json +5 -0
  50. package/entities/Configuration/mockdatafiles/configGetCategories-default.json +43 -0
  51. package/entities/Configuration/mockdatafiles/configList-default.json +9 -0
  52. package/entities/Configuration/mockdatafiles/configMetaList-default.json +32 -0
  53. package/entities/Configuration/mockdatafiles/configSave-default.json +10 -0
  54. package/entities/Configuration/mockdatafiles/refresh-default.json +3 -0
  55. package/entities/Configuration/mockdatafiles/restart-default.json +4 -0
  56. package/entities/Configuration/mockdatafiles/storageConfigList-default.json +24 -0
  57. package/entities/Configuration/mockdatafiles/storageConfigSave-default.json +13 -0
  58. package/entities/Configuration/schema.json +28 -0
  59. package/entities/Enterprise/action.json +1199 -0
  60. package/entities/Enterprise/mockdatafiles/apiGetUserRoles-default.json +12 -0
  61. package/entities/Enterprise/mockdatafiles/apiList-default.json +12 -0
  62. package/entities/Enterprise/mockdatafiles/apiList1-default.json +4 -0
  63. package/entities/Enterprise/mockdatafiles/apiListAllJobsInProject-default.json +6 -0
  64. package/entities/Enterprise/mockdatafiles/apiNodeHealthAll-default.json +5 -0
  65. package/entities/Enterprise/mockdatafiles/apiRundeckEndpoints-default.json +4 -0
  66. package/entities/Enterprise/mockdatafiles/apiStoreLicense-default.json +3 -0
  67. package/entities/Enterprise/mockdatafiles/getDataset-default.json +195 -0
  68. package/entities/Enterprise/mockdatafiles/getDebugEvents-default.json +2722 -0
  69. package/entities/Enterprise/mockdatafiles/listDatasets-default.json +14 -0
  70. package/entities/Enterprise/mockdatafiles/listRunnerTags-default.json +6 -0
  71. package/entities/Enterprise/mockdatafiles/searchTags-default.json +4 -0
  72. package/entities/Enterprise/mockdatafiles/verify-default.json +118 -0
  73. package/entities/Enterprise/schema.json +98 -0
  74. package/entities/Execution/action.json +357 -0
  75. package/entities/Execution/mockdatafiles/apiExecution-default.json +40 -0
  76. package/entities/Execution/mockdatafiles/apiExecutionAbort-default.json +11 -0
  77. package/entities/Execution/mockdatafiles/apiExecutionDeleteBulk-default.json +20 -0
  78. package/entities/Execution/mockdatafiles/apiExecutionInputFiles-default.json +22 -0
  79. package/entities/Execution/mockdatafiles/apiExecutionMetricsDocs-default.json +8 -0
  80. package/entities/Execution/mockdatafiles/apiExecutionsQueryv14Docs-default.json +47 -0
  81. package/entities/Execution/mockdatafiles/apiJobExecutions-default.json +5 -0
  82. package/entities/Execution/schema.json +35 -0
  83. package/entities/General/action.json +25 -0
  84. package/entities/General/schema.json +19 -0
  85. package/entities/History/action.json +25 -0
  86. package/entities/History/schema.json +19 -0
  87. package/entities/Jobs/action.json +678 -0
  88. package/entities/Jobs/mockdatafiles/apiJobActionPerform-default.json +6 -0
  89. package/entities/Jobs/mockdatafiles/apiJobDeleteBulk-default.json +20 -0
  90. package/entities/Jobs/mockdatafiles/apiJobDeleteBulkDocs2-default.json +20 -0
  91. package/entities/Jobs/mockdatafiles/apiJobDiff-default.json +8 -0
  92. package/entities/Jobs/mockdatafiles/apiJobFileInfo-default.json +14 -0
  93. package/entities/Jobs/mockdatafiles/apiJobMeta-default.json +10 -0
  94. package/entities/Jobs/mockdatafiles/apiJobRetry-default.json +40 -0
  95. package/entities/Jobs/mockdatafiles/apiJobRun-default.json +40 -0
  96. package/entities/Jobs/mockdatafiles/apiJobRun1-default.json +40 -0
  97. package/entities/Jobs/mockdatafiles/apiJobsImportv14-default.json +26 -0
  98. package/entities/Jobs/mockdatafiles/apiJobsListv2-default.json +22 -0
  99. package/entities/Jobs/mockdatafiles/apiSchedulerListJobs-default.json +81 -0
  100. package/entities/Jobs/mockdatafiles/apiSchedulerListJobsCurrentDocs-default.json +52 -0
  101. package/entities/Jobs/schema.json +94 -0
  102. package/entities/KeyStorage/action.json +85 -0
  103. package/entities/KeyStorage/schema.json +44 -0
  104. package/entities/Logstorage/action.json +66 -0
  105. package/entities/Logstorage/schema.json +21 -0
  106. package/entities/Nodes/action.json +129 -0
  107. package/entities/Nodes/mockdatafiles/apiSourceGet-default.json +12 -0
  108. package/entities/Nodes/mockdatafiles/apiSourcesList-default.json +32 -0
  109. package/entities/Nodes/schema.json +24 -0
  110. package/entities/Plugins/action.json +230 -0
  111. package/entities/Plugins/mockdatafiles/listPlugins-default.json +28 -0
  112. package/entities/Plugins/schema.json +29 -0
  113. package/entities/Project/action.json +455 -0
  114. package/entities/Project/mockdatafiles/apiProjectAclsGetDocs-default.json +3 -0
  115. package/entities/Project/mockdatafiles/apiProjectAclsPutDocs-default.json +3 -0
  116. package/entities/Project/mockdatafiles/apiProjectList-default.json +3 -0
  117. package/entities/Project/mockdatafiles/apiProjectMeta-default.json +18 -0
  118. package/entities/Project/schema.json +117 -0
  119. package/entities/ProjectExecutionMode/action.json +44 -0
  120. package/entities/ProjectExecutionMode/mockdatafiles/apiProjectDisableLater-default.json +4 -0
  121. package/entities/ProjectExecutionMode/mockdatafiles/apiProjectEnableLater-default.json +4 -0
  122. package/entities/ProjectExecutionMode/schema.json +20 -0
  123. package/entities/ROI/action.json +46 -0
  124. package/entities/ROI/schema.json +20 -0
  125. package/entities/System/action.json +149 -0
  126. package/entities/System/mockdatafiles/apiExecutionModeStatus-default.json +3 -0
  127. package/entities/System/mockdatafiles/apiMetrics-default.json +3 -0
  128. package/entities/System/mockdatafiles/apiSystemInfo-default.json +81 -0
  129. package/entities/System/mockdatafiles/getFeature-default.json +18 -0
  130. package/entities/System/schema.json +25 -0
  131. package/entities/SystemExecutionMode/action.json +44 -0
  132. package/entities/SystemExecutionMode/mockdatafiles/apiExecutionModeLaterActive-default.json +4 -0
  133. package/entities/SystemExecutionMode/mockdatafiles/apiExecutionModeLaterPassive-default.json +4 -0
  134. package/entities/SystemExecutionMode/schema.json +20 -0
  135. package/entities/Tokens/action.json +106 -0
  136. package/entities/Tokens/mockdatafiles/apiTokenList-default.json +39 -0
  137. package/entities/Tokens/schema.json +23 -0
  138. package/entities/User/action.json +107 -0
  139. package/entities/User/mockdatafiles/apiUserList-default.json +6 -0
  140. package/entities/User/schema.json +23 -0
  141. package/entities/Webhook/action.json +126 -0
  142. package/entities/Webhook/mockdatafiles/list-default.json +3 -0
  143. package/entities/Webhook/schema.json +24 -0
  144. package/error.json +190 -0
  145. package/metadata.json +43 -0
  146. package/package.json +83 -0
  147. package/pronghorn.json +15424 -0
  148. package/propertiesDecorators.json +14 -0
  149. package/propertiesSchema.json +1569 -0
  150. package/refs?service=git-upload-pack +0 -0
  151. package/report/adapterInfo.json +10 -0
  152. package/report/creationReport.json +1293 -0
  153. package/report/openapi (1).json-OpenApi3Json (1).json +22287 -0
  154. package/sampleProperties.json +256 -0
  155. package/test/integration/adapterTestBasicGet.js +83 -0
  156. package/test/integration/adapterTestConnectivity.js +142 -0
  157. package/test/integration/adapterTestIntegration.js +6120 -0
  158. package/test/unit/adapterBaseTestUnit.js +1024 -0
  159. package/test/unit/adapterTestUnit.js +8058 -0
  160. package/utils/adapterInfo.js +206 -0
  161. package/utils/addAuth.js +94 -0
  162. package/utils/artifactize.js +146 -0
  163. package/utils/basicGet.js +50 -0
  164. package/utils/checkMigrate.js +63 -0
  165. package/utils/entitiesToDB.js +179 -0
  166. package/utils/findPath.js +74 -0
  167. package/utils/methodDocumentor.js +273 -0
  168. package/utils/modify.js +152 -0
  169. package/utils/packModificationScript.js +35 -0
  170. package/utils/patches2bundledDeps.js +90 -0
  171. package/utils/pre-commit.sh +32 -0
  172. package/utils/removeHooks.js +20 -0
  173. package/utils/setup.js +33 -0
  174. package/utils/taskMover.js +309 -0
  175. package/utils/tbScript.js +239 -0
  176. package/utils/tbUtils.js +489 -0
  177. package/utils/testRunner.js +298 -0
  178. package/utils/troubleshootingAdapter.js +193 -0
@@ -0,0 +1,14 @@
1
+ [
2
+ {
3
+ "label": "string",
4
+ "name": "string"
5
+ },
6
+ {
7
+ "label": "string",
8
+ "name": "string"
9
+ },
10
+ {
11
+ "label": "string",
12
+ "name": "string"
13
+ }
14
+ ]
@@ -0,0 +1,6 @@
1
+ [
2
+ "string",
3
+ "string",
4
+ "string",
5
+ "string"
6
+ ]
@@ -0,0 +1,4 @@
1
+ [
2
+ "string",
3
+ "string"
4
+ ]
@@ -0,0 +1,118 @@
1
+ {
2
+ "authorized": false,
3
+ "company": "string",
4
+ "contactEmail": "string",
5
+ "application": "string",
6
+ "editions": [
7
+ "string"
8
+ ],
9
+ "applicationVersion": [
10
+ "string",
11
+ "string",
12
+ "string"
13
+ ],
14
+ "gracePeriod": 1,
15
+ "type": "string",
16
+ "licenseId": "string",
17
+ "licenseVersion": "string",
18
+ "issueDate": "string",
19
+ "validSince": "string",
20
+ "validUntil": "string",
21
+ "graceUntil": "string",
22
+ "state": "string",
23
+ "perpetual": false,
24
+ "active": false,
25
+ "remaining": 4,
26
+ "shouldWarn": false,
27
+ "baseUrl": "string",
28
+ "edition": "string",
29
+ "serverUUIDs": [
30
+ "string",
31
+ "string",
32
+ "string",
33
+ "string",
34
+ "string"
35
+ ],
36
+ "reason": "string",
37
+ "warning": "string",
38
+ "invalidCode": "string",
39
+ "entitlements": [
40
+ {
41
+ "name": "string",
42
+ "description": {
43
+ "title": "string",
44
+ "description": "string",
45
+ "properties": [
46
+ "string",
47
+ "string"
48
+ ]
49
+ },
50
+ "value": {}
51
+ },
52
+ {
53
+ "name": "string",
54
+ "description": {
55
+ "title": "string",
56
+ "description": "string",
57
+ "properties": [
58
+ "string",
59
+ "string",
60
+ "string",
61
+ "string"
62
+ ]
63
+ },
64
+ "value": {}
65
+ },
66
+ {
67
+ "name": "string",
68
+ "description": {
69
+ "title": "string",
70
+ "description": "string",
71
+ "properties": [
72
+ "string"
73
+ ]
74
+ },
75
+ "value": {}
76
+ },
77
+ {
78
+ "name": "string",
79
+ "description": {
80
+ "title": "string",
81
+ "description": "string",
82
+ "properties": [
83
+ "string",
84
+ "string",
85
+ "string",
86
+ "string",
87
+ "string",
88
+ "string",
89
+ "string",
90
+ "string"
91
+ ]
92
+ },
93
+ "value": {}
94
+ },
95
+ {
96
+ "name": "string",
97
+ "description": {
98
+ "title": "string",
99
+ "description": "string",
100
+ "properties": [
101
+ "string"
102
+ ]
103
+ },
104
+ "value": {}
105
+ },
106
+ {
107
+ "name": "string",
108
+ "description": {
109
+ "title": "string",
110
+ "description": "string",
111
+ "properties": [
112
+ "string"
113
+ ]
114
+ },
115
+ "value": {}
116
+ }
117
+ ]
118
+ }
@@ -0,0 +1,98 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": true,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "verify",
12
+ "enum": [
13
+ "verify",
14
+ "apiStoreLicense",
15
+ "getDebugEvents",
16
+ "listDatasets",
17
+ "getDataset",
18
+ "apiExecutionDataExport",
19
+ "apiExecutionDataAvailable",
20
+ "apiProjectHasHealthStatusEnhancer",
21
+ "apiRefreshHealthCheck",
22
+ "apiRefreshHealthCheckAll",
23
+ "apiNodeHealth",
24
+ "apiNodeHealthAll",
25
+ "apiListAllJobsInProject",
26
+ "apiProjectImportTour",
27
+ "apiProjectList1",
28
+ "apiGetProjectResource",
29
+ "apiProjectLoadResource",
30
+ "checkPing",
31
+ "downloadRunner",
32
+ "getRunnerKey",
33
+ "pingRunner",
34
+ "regenerateRunnerCreds",
35
+ "listRunnerTags",
36
+ "runnerInfo",
37
+ "saveRunner",
38
+ "deleteRunner",
39
+ "listRunners",
40
+ "createRunner",
41
+ "listProjectAssociatedTags",
42
+ "ui",
43
+ "searchTags",
44
+ "apiSendPasswordReset",
45
+ "apiGet",
46
+ "apiEdit",
47
+ "apiDelete",
48
+ "apiUpdateMembers",
49
+ "apiList",
50
+ "apiCreate",
51
+ "apiGetUserRoles",
52
+ "apiGet1",
53
+ "apiEdit1",
54
+ "apiDelete1",
55
+ "apiList1",
56
+ "apiCreate1",
57
+ "apiSystemImportTour",
58
+ "apiSystemList",
59
+ "apiGetSystemResource",
60
+ "apiSystemLoadResource",
61
+ "apiRundeckEndpoints",
62
+ "getUserClassAllocations",
63
+ "getUserClassesAvailable",
64
+ "getEnabled",
65
+ "getUserClassSelf",
66
+ "getUserClassAllocationsState",
67
+ "storeUserClasses",
68
+ "getUserClass",
69
+ "setUserClass",
70
+ "removeUserClass"
71
+ ],
72
+ "external_name": "ph_request_type"
73
+ },
74
+ "licenseAgreement": {
75
+ "type": "string",
76
+ "description": "true to agree with the Rundeck Enterprise License",
77
+ "parse": false,
78
+ "encode": false,
79
+ "encrypt": {
80
+ "type": "AES",
81
+ "key": ""
82
+ },
83
+ "external_name": "license_agreement"
84
+ },
85
+ "pathParam": {
86
+ "type": "string",
87
+ "description": "Resource Path",
88
+ "parse": false,
89
+ "encode": false,
90
+ "encrypt": {
91
+ "type": "AES",
92
+ "key": ""
93
+ },
94
+ "external_name": "path"
95
+ }
96
+ },
97
+ "definitions": {}
98
+ }
@@ -0,0 +1,357 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "apiJobExecutions",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/job/{pathv1}/executions?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": "mockdatafiles/apiJobExecutions-default.json"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "apiJobExecutionsDelete",
26
+ "protocol": "REST",
27
+ "method": "DELETE",
28
+ "entitypath": "{base_path}/{version}/job/{pathv1}/executions?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "apiExecution",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/execution/{pathv1}?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "sendGetBody": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": "mockdatafiles/apiExecution-default.json"
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "name": "apiExecutionDelete",
67
+ "protocol": "REST",
68
+ "method": "DELETE",
69
+ "entitypath": "{base_path}/{version}/execution/{pathv1}?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": ""
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "apiExecutionAbort",
87
+ "protocol": "REST",
88
+ "method": "POST",
89
+ "entitypath": "{base_path}/{version}/execution/{pathv1}/abort?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "requestDatatype": "JSON",
95
+ "responseDatatype": "JSON",
96
+ "headers": {},
97
+ "responseObjects": [
98
+ {
99
+ "type": "default",
100
+ "key": "",
101
+ "mockFile": "mockdatafiles/apiExecutionAbort-default.json"
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "name": "apiExecutionInputFiles",
107
+ "protocol": "REST",
108
+ "method": "GET",
109
+ "entitypath": "{base_path}/{version}/execution/{pathv1}/input/files?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "sendGetBody": false,
115
+ "requestDatatype": "JSON",
116
+ "responseDatatype": "JSON",
117
+ "headers": {},
118
+ "responseObjects": [
119
+ {
120
+ "type": "default",
121
+ "key": "",
122
+ "mockFile": "mockdatafiles/apiExecutionInputFiles-default.json"
123
+ }
124
+ ]
125
+ },
126
+ {
127
+ "name": "apiExecutionOutput",
128
+ "protocol": "REST",
129
+ "method": "GET",
130
+ "entitypath": "{base_path}/{version}/execution/{pathv1}/output?{query}",
131
+ "requestSchema": "schema.json",
132
+ "responseSchema": "schema.json",
133
+ "timeout": 0,
134
+ "sendEmpty": false,
135
+ "sendGetBody": false,
136
+ "requestDatatype": "JSON",
137
+ "responseDatatype": "JSON",
138
+ "headers": {},
139
+ "responseObjects": [
140
+ {
141
+ "type": "default",
142
+ "key": "",
143
+ "mockFile": ""
144
+ }
145
+ ]
146
+ },
147
+ {
148
+ "name": "apiExecutionOutputNodeFilter",
149
+ "protocol": "REST",
150
+ "method": "GET",
151
+ "entitypath": "{base_path}/{version}/execution/{pathv1}/output/node/{pathv2}?{query}",
152
+ "requestSchema": "schema.json",
153
+ "responseSchema": "schema.json",
154
+ "timeout": 0,
155
+ "sendEmpty": false,
156
+ "sendGetBody": false,
157
+ "requestDatatype": "JSON",
158
+ "responseDatatype": "JSON",
159
+ "headers": {},
160
+ "responseObjects": [
161
+ {
162
+ "type": "default",
163
+ "key": "",
164
+ "mockFile": ""
165
+ }
166
+ ]
167
+ },
168
+ {
169
+ "name": "apiExecutionOutputNodeStepFilter",
170
+ "protocol": "REST",
171
+ "method": "GET",
172
+ "entitypath": "{base_path}/{version}/execution/{pathv1}/output/node/{pathv2}/step/{pathv3}?{query}",
173
+ "requestSchema": "schema.json",
174
+ "responseSchema": "schema.json",
175
+ "timeout": 0,
176
+ "sendEmpty": false,
177
+ "sendGetBody": false,
178
+ "requestDatatype": "JSON",
179
+ "responseDatatype": "JSON",
180
+ "headers": {},
181
+ "responseObjects": [
182
+ {
183
+ "type": "default",
184
+ "key": "",
185
+ "mockFile": ""
186
+ }
187
+ ]
188
+ },
189
+ {
190
+ "name": "apiExecutionStateOutput",
191
+ "protocol": "REST",
192
+ "method": "GET",
193
+ "entitypath": "{base_path}/{version}/execution/{pathv1}/output/state?{query}",
194
+ "requestSchema": "schema.json",
195
+ "responseSchema": "schema.json",
196
+ "timeout": 0,
197
+ "sendEmpty": false,
198
+ "sendGetBody": false,
199
+ "requestDatatype": "JSON",
200
+ "responseDatatype": "JSON",
201
+ "headers": {},
202
+ "responseObjects": [
203
+ {
204
+ "type": "default",
205
+ "key": "",
206
+ "mockFile": ""
207
+ }
208
+ ]
209
+ },
210
+ {
211
+ "name": "apiExecutionOutputStepFilter",
212
+ "protocol": "REST",
213
+ "method": "GET",
214
+ "entitypath": "{base_path}/{version}/execution/{pathv1}/output/step/{pathv2}?{query}",
215
+ "requestSchema": "schema.json",
216
+ "responseSchema": "schema.json",
217
+ "timeout": 0,
218
+ "sendEmpty": false,
219
+ "sendGetBody": false,
220
+ "requestDatatype": "JSON",
221
+ "responseDatatype": "JSON",
222
+ "headers": {},
223
+ "responseObjects": [
224
+ {
225
+ "type": "default",
226
+ "key": "",
227
+ "mockFile": ""
228
+ }
229
+ ]
230
+ },
231
+ {
232
+ "name": "apiExecutionState",
233
+ "protocol": "REST",
234
+ "method": "GET",
235
+ "entitypath": "{base_path}/{version}/execution/{pathv1}/state?{query}",
236
+ "requestSchema": "schema.json",
237
+ "responseSchema": "schema.json",
238
+ "timeout": 0,
239
+ "sendEmpty": false,
240
+ "sendGetBody": false,
241
+ "requestDatatype": "JSON",
242
+ "responseDatatype": "JSON",
243
+ "headers": {},
244
+ "responseObjects": [
245
+ {
246
+ "type": "default",
247
+ "key": "",
248
+ "mockFile": ""
249
+ }
250
+ ]
251
+ },
252
+ {
253
+ "name": "apiExecutionDeleteBulk",
254
+ "protocol": "REST",
255
+ "method": "POST",
256
+ "entitypath": "{base_path}/{version}/executions/delete?{query}",
257
+ "requestSchema": "schema.json",
258
+ "responseSchema": "schema.json",
259
+ "timeout": 0,
260
+ "sendEmpty": false,
261
+ "requestDatatype": "JSON",
262
+ "responseDatatype": "JSON",
263
+ "headers": {},
264
+ "responseObjects": [
265
+ {
266
+ "type": "default",
267
+ "key": "",
268
+ "mockFile": "mockdatafiles/apiExecutionDeleteBulk-default.json"
269
+ }
270
+ ]
271
+ },
272
+ {
273
+ "name": "apiExecutionMetricsDocs",
274
+ "protocol": "REST",
275
+ "method": "GET",
276
+ "entitypath": "{base_path}/{version}/executions/metrics?{query}",
277
+ "requestSchema": "schema.json",
278
+ "responseSchema": "schema.json",
279
+ "timeout": 0,
280
+ "sendEmpty": false,
281
+ "sendGetBody": false,
282
+ "requestDatatype": "JSON",
283
+ "responseDatatype": "JSON",
284
+ "headers": {},
285
+ "responseObjects": [
286
+ {
287
+ "type": "default",
288
+ "key": "",
289
+ "mockFile": "mockdatafiles/apiExecutionMetricsDocs-default.json"
290
+ }
291
+ ]
292
+ },
293
+ {
294
+ "name": "apiExecutionsQueryv14Docs",
295
+ "protocol": "REST",
296
+ "method": "GET",
297
+ "entitypath": "{base_path}/{version}/project/{pathv1}/executions?{query}",
298
+ "requestSchema": "schema.json",
299
+ "responseSchema": "schema.json",
300
+ "timeout": 0,
301
+ "sendEmpty": false,
302
+ "sendGetBody": false,
303
+ "requestDatatype": "JSON",
304
+ "responseDatatype": "JSON",
305
+ "headers": {},
306
+ "responseObjects": [
307
+ {
308
+ "type": "default",
309
+ "key": "",
310
+ "mockFile": "mockdatafiles/apiExecutionsQueryv14Docs-default.json"
311
+ }
312
+ ]
313
+ },
314
+ {
315
+ "name": "apiExecutionMetricsProjectDocs",
316
+ "protocol": "REST",
317
+ "method": "GET",
318
+ "entitypath": "{base_path}/{version}/project/{pathv1}/executions/metrics?{query}",
319
+ "requestSchema": "schema.json",
320
+ "responseSchema": "schema.json",
321
+ "timeout": 0,
322
+ "sendEmpty": false,
323
+ "sendGetBody": false,
324
+ "requestDatatype": "JSON",
325
+ "responseDatatype": "JSON",
326
+ "headers": {},
327
+ "responseObjects": [
328
+ {
329
+ "type": "default",
330
+ "key": "",
331
+ "mockFile": ""
332
+ }
333
+ ]
334
+ },
335
+ {
336
+ "name": "apiExecutionsRunningv14",
337
+ "protocol": "REST",
338
+ "method": "GET",
339
+ "entitypath": "{base_path}/{version}/project/{pathv1}/executions/running?{query}",
340
+ "requestSchema": "schema.json",
341
+ "responseSchema": "schema.json",
342
+ "timeout": 0,
343
+ "sendEmpty": false,
344
+ "sendGetBody": false,
345
+ "requestDatatype": "JSON",
346
+ "responseDatatype": "JSON",
347
+ "headers": {},
348
+ "responseObjects": [
349
+ {
350
+ "type": "default",
351
+ "key": "",
352
+ "mockFile": ""
353
+ }
354
+ ]
355
+ }
356
+ ]
357
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "id": 1,
3
+ "href": "[url]",
4
+ "permalink": "[url]",
5
+ "status": "succeeded/failed/aborted/timedout/retried/other",
6
+ "project": "[project]",
7
+ "user": "[user]",
8
+ "date-started": {
9
+ "unixtime": 1431536339809,
10
+ "date": "2015-05-13T16:58:59.000Z"
11
+ },
12
+ "date-ended": {
13
+ "unixtime": 1431536346423,
14
+ "date": "2015-05-13T16:59:06.000Z"
15
+ },
16
+ "job": {
17
+ "id": "[uuid]",
18
+ "href": "[url]",
19
+ "permalink": "[url]",
20
+ "averageDuration": 6094,
21
+ "name": "[name]",
22
+ "group": "[group]",
23
+ "project": "[project]",
24
+ "description": "",
25
+ "options": {
26
+ "opt2": "a",
27
+ "opt1": "testvalue"
28
+ }
29
+ },
30
+ "description": "echo hello there [... 5 steps]",
31
+ "argstring": "-opt1 testvalue -opt2 a",
32
+ "successfulNodes": [
33
+ "nodea",
34
+ "nodeb"
35
+ ],
36
+ "failedNodes": [
37
+ "nodec",
38
+ "noded"
39
+ ]
40
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "abort": {
3
+ "status": "[abort-state]",
4
+ "reason": "[reason]"
5
+ },
6
+ "execution": {
7
+ "id": "[id]",
8
+ "status": "[execution status]",
9
+ "href": "[API href]"
10
+ }
11
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "requestCount": 5,
3
+ "allsuccessful": false,
4
+ "successCount": 2,
5
+ "failedCount": 3,
6
+ "failures": [
7
+ {
8
+ "id": "82",
9
+ "message": "Not found: 82"
10
+ },
11
+ {
12
+ "id": "83",
13
+ "message": "Not found: 83"
14
+ },
15
+ {
16
+ "id": "84",
17
+ "message": "Not found: 84"
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "paging": {
3
+ "count": 6,
4
+ "max": 1,
5
+ "offset": 1,
6
+ "total": 10
7
+ },
8
+ "files": [
9
+ {
10
+ "id": "382c7596-435b-4103-8781-6b32fbd629b2",
11
+ "user": "admin",
12
+ "fileState": "deleted",
13
+ "sha": "9284ed4fd7fe1346904656f329db6cc49c0e7ae5b8279bff37f96bc6eb59baad",
14
+ "jobId": "7b3fff59-7a2d-4a31-a5b2-dd26177c823c",
15
+ "dateCreated": "2017-02-24T23:26:48.000Z",
16
+ "serverNodeUUID": "3425B691-7319-4EEE-8425-F053C628B4BA",
17
+ "size": 12,
18
+ "expirationDate": "2017-02-24T23:27:18.000Z",
19
+ "execId": 2837
20
+ }
21
+ ]
22
+ }