@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,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,8 @@
1
+ {
2
+ "id": "$jobId",
3
+ "project": "$project",
4
+ "integration": "$integration",
5
+ "commit": {},
6
+ "incomingCommit": {},
7
+ "diffContent": "..."
8
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "id": "f985864b-fa1b-4e09-af7a-4315e9908372",
3
+ "jobId": "7b3fff59-7a2d-4a31-a5b2-dd26177c823c",
4
+ "execId": 2741,
5
+ "optionName": "string",
6
+ "fileName": "string",
7
+ "sha": "9284ed4fd7fe1346904656f329db6cc49c0e7ae5b8279bff37f96bc6eb59baad",
8
+ "size": 12,
9
+ "dateCreated": "2017-02-24T19:10:33.000Z",
10
+ "expirationDate": "2017-02-24T19:11:03.000Z",
11
+ "user": "admin",
12
+ "fileState": "deleted",
13
+ "serverNodeUUID": "3425B691-7319-4EEE-8425-F053C628B4BA"
14
+ }
@@ -0,0 +1,10 @@
1
+ [
2
+ {
3
+ "name": "string",
4
+ "data": {}
5
+ },
6
+ {
7
+ "name": "string",
8
+ "data": {}
9
+ }
10
+ ]
@@ -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,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,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,26 @@
1
+ {
2
+ "succeeded": [
3
+ {
4
+ "index": 1,
5
+ "href": "http://madmartigan.local:4440/api/14/job/3b6c19f6-41ee-475f-8fd0-8f1a26f27a9a",
6
+ "id": "3b6c19f6-41ee-475f-8fd0-8f1a26f27a9a",
7
+ "name": "restart",
8
+ "group": "app2/dev",
9
+ "project": "test",
10
+ "permalink": "http://madmartigan.local:4440/job/show/3b6c19f6-41ee-475f-8fd0-8f1a26f27a9a"
11
+ }
12
+ ],
13
+ "failed": [
14
+ {
15
+ "index": 2,
16
+ "href": "http://madmartigan.local:4440/api/14/job/3b6c19f6-41ee-475f-8fd0-8f1a26f27a9a",
17
+ "id": "3b6c19f6-41ee-475f-8fd0-8f1a26f27a9a",
18
+ "name": "restart",
19
+ "group": "app2/dev",
20
+ "project": "test",
21
+ "permalink": "http://madmartigan.local:4440/job/show/3b6c19f6-41ee-475f-8fd0-8f1a26f27a9a",
22
+ "error": "error message"
23
+ }
24
+ ],
25
+ "skipped": []
26
+ }
@@ -0,0 +1,22 @@
1
+ [
2
+ {
3
+ "id": "string",
4
+ "name": "string",
5
+ "group": "string",
6
+ "project": "string",
7
+ "description": "string",
8
+ "href": "string",
9
+ "permalink": "string",
10
+ "scheduled": true,
11
+ "scheduleEnabled": true,
12
+ "enabled": false,
13
+ "serverNodeUUID": "string",
14
+ "serverOwner": true,
15
+ "averageDuration": 8,
16
+ "nextScheduledExecution": "string",
17
+ "futureScheduledExecutions": [
18
+ "string",
19
+ "string"
20
+ ]
21
+ }
22
+ ]
@@ -0,0 +1,81 @@
1
+ [
2
+ {
3
+ "id": "string",
4
+ "name": "string",
5
+ "group": "string",
6
+ "project": "string",
7
+ "description": "string",
8
+ "href": "string",
9
+ "permalink": "string",
10
+ "scheduled": false,
11
+ "scheduleEnabled": true,
12
+ "enabled": true,
13
+ "serverNodeUUID": "string",
14
+ "serverOwner": false,
15
+ "averageDuration": 7,
16
+ "nextScheduledExecution": "string",
17
+ "futureScheduledExecutions": [
18
+ "string",
19
+ "string",
20
+ "string",
21
+ "string",
22
+ "string",
23
+ "string",
24
+ "string",
25
+ "string",
26
+ "string"
27
+ ]
28
+ },
29
+ {
30
+ "id": "string",
31
+ "name": "string",
32
+ "group": "string",
33
+ "project": "string",
34
+ "description": "string",
35
+ "href": "string",
36
+ "permalink": "string",
37
+ "scheduled": false,
38
+ "scheduleEnabled": false,
39
+ "enabled": false,
40
+ "serverNodeUUID": "string",
41
+ "serverOwner": true,
42
+ "averageDuration": 10,
43
+ "nextScheduledExecution": "string",
44
+ "futureScheduledExecutions": [
45
+ "string",
46
+ "string",
47
+ "string",
48
+ "string",
49
+ "string",
50
+ "string",
51
+ "string"
52
+ ]
53
+ },
54
+ {
55
+ "id": "string",
56
+ "name": "string",
57
+ "group": "string",
58
+ "project": "string",
59
+ "description": "string",
60
+ "href": "string",
61
+ "permalink": "string",
62
+ "scheduled": false,
63
+ "scheduleEnabled": true,
64
+ "enabled": true,
65
+ "serverNodeUUID": "string",
66
+ "serverOwner": true,
67
+ "averageDuration": 3,
68
+ "nextScheduledExecution": "string",
69
+ "futureScheduledExecutions": [
70
+ "string",
71
+ "string",
72
+ "string",
73
+ "string",
74
+ "string",
75
+ "string",
76
+ "string",
77
+ "string",
78
+ "string"
79
+ ]
80
+ }
81
+ ]
@@ -0,0 +1,52 @@
1
+ [
2
+ {
3
+ "id": "string",
4
+ "name": "string",
5
+ "group": "string",
6
+ "project": "string",
7
+ "description": "string",
8
+ "href": "string",
9
+ "permalink": "string",
10
+ "scheduled": true,
11
+ "scheduleEnabled": true,
12
+ "enabled": true,
13
+ "serverNodeUUID": "string",
14
+ "serverOwner": false,
15
+ "averageDuration": 5,
16
+ "nextScheduledExecution": "string",
17
+ "futureScheduledExecutions": [
18
+ "string",
19
+ "string",
20
+ "string",
21
+ "string",
22
+ "string",
23
+ "string",
24
+ "string"
25
+ ]
26
+ },
27
+ {
28
+ "id": "string",
29
+ "name": "string",
30
+ "group": "string",
31
+ "project": "string",
32
+ "description": "string",
33
+ "href": "string",
34
+ "permalink": "string",
35
+ "scheduled": true,
36
+ "scheduleEnabled": false,
37
+ "enabled": false,
38
+ "serverNodeUUID": "string",
39
+ "serverOwner": true,
40
+ "averageDuration": 5,
41
+ "nextScheduledExecution": "string",
42
+ "futureScheduledExecutions": [
43
+ "string",
44
+ "string",
45
+ "string",
46
+ "string",
47
+ "string",
48
+ "string",
49
+ "string"
50
+ ]
51
+ }
52
+ ]
@@ -0,0 +1,94 @@
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": "apiSchedulerListJobsCurrentDocs",
12
+ "enum": [
13
+ "apiSchedulerListJobsCurrentDocs",
14
+ "apiSchedulerListJobs",
15
+ "apiJobRun",
16
+ "apiJobExport",
17
+ "apiJobDelete",
18
+ "apiFlipExecutionDisabled",
19
+ "apiFlipExecutionEnabled",
20
+ "apiJobForecast",
21
+ "apiJobDetail",
22
+ "apiJobFileMultiUpload",
23
+ "apiJobFileUpload",
24
+ "apiJobMeta",
25
+ "apiJobRetry",
26
+ "apiJobRun1",
27
+ "apiFlipScheduleDisabled",
28
+ "apiFlipScheduleEnabled",
29
+ "apiJobActionPerform",
30
+ "apiJobActionInput",
31
+ "apiJobDiff",
32
+ "apiJobStatus",
33
+ "apiJobWorkflow",
34
+ "apiJobDeleteBulk",
35
+ "apiJobDeleteBulkDocs2",
36
+ "apiFlipExecutionDisabledBulk",
37
+ "apiFlipExecutionEnabledBulk",
38
+ "apiJobFileInfo",
39
+ "apiFlipScheduleDisabledBulk",
40
+ "apiFlipScheduleEnabledBulk",
41
+ "apiJobsListv2",
42
+ "apiJobBrowseGetDocs",
43
+ "apiJobBrowse",
44
+ "apiJobsExportv14",
45
+ "apiJobsImportv14"
46
+ ],
47
+ "external_name": "ph_request_type"
48
+ },
49
+ "optionOPTNAME": {
50
+ "type": "string",
51
+ "description": "Option value for option named `OPTNAME`. If any `option.OPTNAME` parameters are specified, the `argString` value is ignored (Since: v18).",
52
+ "parse": false,
53
+ "encode": false,
54
+ "encrypt": {
55
+ "type": "AES",
56
+ "key": ""
57
+ },
58
+ "external_name": "option.OPTNAME"
59
+ },
60
+ "metaKEY": {
61
+ "type": "string",
62
+ "description": "Additional metadata keyd by `KEY`. (Since: v32).",
63
+ "parse": false,
64
+ "encode": false,
65
+ "encrypt": {
66
+ "type": "AES",
67
+ "key": ""
68
+ },
69
+ "external_name": "meta.KEY"
70
+ },
71
+ "bodyFormData": {
72
+ "description": "Upload a single file directly",
73
+ "parse": false,
74
+ "encode": false,
75
+ "encrypt": {
76
+ "type": "AES",
77
+ "key": ""
78
+ },
79
+ "external_name": "body"
80
+ },
81
+ "pathParam": {
82
+ "type": "string",
83
+ "description": "Group path root, or blank for the root",
84
+ "parse": false,
85
+ "encode": false,
86
+ "encrypt": {
87
+ "type": "AES",
88
+ "key": ""
89
+ },
90
+ "external_name": "path"
91
+ }
92
+ },
93
+ "definitions": {}
94
+ }
@@ -0,0 +1,85 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "apiGetResource",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/storage/keys/{pathv1}?{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": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "apiPutResource",
26
+ "protocol": "REST",
27
+ "method": "PUT",
28
+ "entitypath": "{base_path}/{version}/storage/keys/{pathv1}?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "requestDatatype": "FORM",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "apiPostResource",
46
+ "protocol": "REST",
47
+ "method": "POST",
48
+ "entitypath": "{base_path}/{version}/storage/keys/{pathv1}?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "requestDatatype": "FORM",
54
+ "responseDatatype": "JSON",
55
+ "headers": {},
56
+ "responseObjects": [
57
+ {
58
+ "type": "default",
59
+ "key": "",
60
+ "mockFile": ""
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "apiDeleteResource",
66
+ "protocol": "REST",
67
+ "method": "DELETE",
68
+ "entitypath": "{base_path}/{version}/storage/keys/{pathv1}?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "requestDatatype": "JSON",
74
+ "responseDatatype": "JSON",
75
+ "headers": {},
76
+ "responseObjects": [
77
+ {
78
+ "type": "default",
79
+ "key": "",
80
+ "mockFile": ""
81
+ }
82
+ ]
83
+ }
84
+ ]
85
+ }
@@ -0,0 +1,44 @@
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": "apiGetResource",
12
+ "enum": [
13
+ "apiGetResource",
14
+ "apiPutResource",
15
+ "apiPostResource",
16
+ "apiDeleteResource"
17
+ ],
18
+ "external_name": "ph_request_type"
19
+ },
20
+ "pathParam": {
21
+ "type": "string",
22
+ "description": "Path and Key file name. Can be a directory path such as `subdir/` or include a filename `subdir/file.password`",
23
+ "parse": false,
24
+ "encode": false,
25
+ "encrypt": {
26
+ "type": "AES",
27
+ "key": ""
28
+ },
29
+ "external_name": "path"
30
+ },
31
+ "bodyFormData": {
32
+ "type": "string",
33
+ "description": "Private key, public key, or password content",
34
+ "parse": false,
35
+ "encode": false,
36
+ "encrypt": {
37
+ "type": "AES",
38
+ "key": ""
39
+ },
40
+ "external_name": "body"
41
+ }
42
+ },
43
+ "definitions": {}
44
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "apiLogstorageInfo",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/system/logstorage?{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": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "apiLogstorageListIncompleteExecutions",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/system/logstorage/incomplete?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "sendGetBody": false,
34
+ "requestDatatype": "JSON",
35
+ "responseDatatype": "JSON",
36
+ "headers": {},
37
+ "responseObjects": [
38
+ {
39
+ "type": "default",
40
+ "key": "",
41
+ "mockFile": ""
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "name": "apiResumeIncompleteLogstorage",
47
+ "protocol": "REST",
48
+ "method": "POST",
49
+ "entitypath": "{base_path}/{version}/system/logstorage/incomplete/resume?{query}",
50
+ "requestSchema": "schema.json",
51
+ "responseSchema": "schema.json",
52
+ "timeout": 0,
53
+ "sendEmpty": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": ""
62
+ }
63
+ ]
64
+ }
65
+ ]
66
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "apiLogstorageInfo",
12
+ "enum": [
13
+ "apiLogstorageInfo",
14
+ "apiLogstorageListIncompleteExecutions",
15
+ "apiResumeIncompleteLogstorage"
16
+ ],
17
+ "external_name": "ph_request_type"
18
+ }
19
+ },
20
+ "definitions": {}
21
+ }