@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,19 @@
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": "apiListRoles",
12
+ "enum": [
13
+ "apiListRoles"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }
@@ -0,0 +1,126 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "apiProjectCalendars",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/project/{pathv1}/calendars?{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/apiProjectCalendars-default.json"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "apiLoadProjectCalendars",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/project/{pathv1}/calendars?{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": "mockdatafiles/apiLoadProjectCalendars-default.json"
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "apiDeleteProjectCalendar",
46
+ "protocol": "REST",
47
+ "method": "DELETE",
48
+ "entitypath": "{base_path}/{version}/project/{pathv1}/calendars/{pathv2}?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "requestDatatype": "JSON",
54
+ "responseDatatype": "JSON",
55
+ "headers": {},
56
+ "responseObjects": [
57
+ {
58
+ "type": "default",
59
+ "key": "",
60
+ "mockFile": ""
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "apiSystemCalendars",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "{base_path}/{version}/system/calendars?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "sendGetBody": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": "mockdatafiles/apiSystemCalendars-default.json"
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "apiLoadSystemCalendars",
87
+ "protocol": "REST",
88
+ "method": "POST",
89
+ "entitypath": "{base_path}/{version}/system/calendars?{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/apiLoadSystemCalendars-default.json"
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "name": "apiDeleteSystemCalendar",
107
+ "protocol": "REST",
108
+ "method": "DELETE",
109
+ "entitypath": "{base_path}/{version}/system/calendars/{pathv1}?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ }
125
+ ]
126
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "calendar": {
3
+ "name": "string",
4
+ "description": "string",
5
+ "calendarType": "string",
6
+ "scope": "string",
7
+ "allReference": true,
8
+ "enable": false,
9
+ "dateType": "string",
10
+ "dateDefinitionJson": "string",
11
+ "project": "string",
12
+ "jsonData": "string",
13
+ "recurrent": true,
14
+ "dateCreated": "string",
15
+ "lastUpdated": "string",
16
+ "dateDefinition": [
17
+ {},
18
+ {},
19
+ {},
20
+ {},
21
+ {},
22
+ {},
23
+ {}
24
+ ],
25
+ "reference": [
26
+ {},
27
+ {},
28
+ {},
29
+ {},
30
+ {},
31
+ {},
32
+ {},
33
+ {}
34
+ ]
35
+ },
36
+ "msg": "string",
37
+ "saved": true
38
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "calendar": {
3
+ "name": "string",
4
+ "description": "string",
5
+ "calendarType": "string",
6
+ "scope": "string",
7
+ "allReference": true,
8
+ "enable": false,
9
+ "dateType": "string",
10
+ "dateDefinitionJson": "string",
11
+ "project": "string",
12
+ "jsonData": "string",
13
+ "recurrent": true,
14
+ "dateCreated": "string",
15
+ "lastUpdated": "string",
16
+ "dateDefinition": [
17
+ {},
18
+ {},
19
+ {},
20
+ {},
21
+ {},
22
+ {},
23
+ {}
24
+ ],
25
+ "reference": [
26
+ {},
27
+ {},
28
+ {},
29
+ {},
30
+ {},
31
+ {},
32
+ {},
33
+ {},
34
+ {},
35
+ {}
36
+ ]
37
+ },
38
+ "msg": "string",
39
+ "saved": false
40
+ }
@@ -0,0 +1,24 @@
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": "apiProjectCalendars",
12
+ "enum": [
13
+ "apiProjectCalendars",
14
+ "apiLoadProjectCalendars",
15
+ "apiDeleteProjectCalendar",
16
+ "apiSystemCalendars",
17
+ "apiLoadSystemCalendars",
18
+ "apiDeleteSystemCalendar"
19
+ ],
20
+ "external_name": "ph_request_type"
21
+ }
22
+ },
23
+ "definitions": {}
24
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "apiToggle",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/enterprise/cluster/executions/disable?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "JSON",
13
+ "responseDatatype": "JSON",
14
+ "headers": {},
15
+ "responseObjects": [
16
+ {
17
+ "type": "default",
18
+ "key": "",
19
+ "mockFile": ""
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "name": "apiToggle1",
25
+ "protocol": "REST",
26
+ "method": "POST",
27
+ "entitypath": "{base_path}/{version}/enterprise/cluster/executions/enable?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "requestDatatype": "JSON",
33
+ "responseDatatype": "JSON",
34
+ "headers": {},
35
+ "responseObjects": [
36
+ {
37
+ "type": "default",
38
+ "key": "",
39
+ "mockFile": ""
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ "name": "apiJobClusterTakeoverSchedule",
45
+ "protocol": "REST",
46
+ "method": "PUT",
47
+ "entitypath": "{base_path}/{version}/scheduler/takeover?{query}",
48
+ "requestSchema": "schema.json",
49
+ "responseSchema": "schema.json",
50
+ "timeout": 0,
51
+ "sendEmpty": false,
52
+ "requestDatatype": "JSON",
53
+ "responseDatatype": "JSON",
54
+ "headers": {},
55
+ "responseObjects": [
56
+ {
57
+ "type": "default",
58
+ "key": "",
59
+ "mockFile": ""
60
+ }
61
+ ]
62
+ }
63
+ ]
64
+ }
@@ -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": "apiToggle",
12
+ "enum": [
13
+ "apiToggle",
14
+ "apiToggle1",
15
+ "apiJobClusterTakeoverSchedule"
16
+ ],
17
+ "external_name": "ph_request_type"
18
+ }
19
+ },
20
+ "definitions": {}
21
+ }
@@ -0,0 +1,209 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "configDelete",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/config/delete?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "JSON",
13
+ "responseDatatype": "JSON",
14
+ "headers": {},
15
+ "responseObjects": [
16
+ {
17
+ "type": "default",
18
+ "key": "",
19
+ "mockFile": ""
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "name": "configGet",
25
+ "protocol": "REST",
26
+ "method": "GET",
27
+ "entitypath": "{base_path}/{version}/config/get?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "sendGetBody": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": "mockdatafiles/configGet-default.json"
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "configGetCategories",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/config/getCategories?{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/configGetCategories-default.json"
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "name": "configList",
67
+ "protocol": "REST",
68
+ "method": "GET",
69
+ "entitypath": "{base_path}/{version}/config/list?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "sendGetBody": false,
75
+ "requestDatatype": "JSON",
76
+ "responseDatatype": "JSON",
77
+ "headers": {},
78
+ "responseObjects": [
79
+ {
80
+ "type": "default",
81
+ "key": "",
82
+ "mockFile": "mockdatafiles/configList-default.json"
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "name": "storageConfigList",
88
+ "protocol": "REST",
89
+ "method": "GET",
90
+ "entitypath": "{base_path}/{version}/config/listStoragePlugins?{query}",
91
+ "requestSchema": "schema.json",
92
+ "responseSchema": "schema.json",
93
+ "timeout": 0,
94
+ "sendEmpty": false,
95
+ "sendGetBody": false,
96
+ "requestDatatype": "JSON",
97
+ "responseDatatype": "JSON",
98
+ "headers": {},
99
+ "responseObjects": [
100
+ {
101
+ "type": "default",
102
+ "key": "",
103
+ "mockFile": "mockdatafiles/storageConfigList-default.json"
104
+ }
105
+ ]
106
+ },
107
+ {
108
+ "name": "configMetaList",
109
+ "protocol": "REST",
110
+ "method": "GET",
111
+ "entitypath": "{base_path}/{version}/config/metaList?{query}",
112
+ "requestSchema": "schema.json",
113
+ "responseSchema": "schema.json",
114
+ "timeout": 0,
115
+ "sendEmpty": false,
116
+ "sendGetBody": false,
117
+ "requestDatatype": "JSON",
118
+ "responseDatatype": "JSON",
119
+ "headers": {},
120
+ "responseObjects": [
121
+ {
122
+ "type": "default",
123
+ "key": "",
124
+ "mockFile": "mockdatafiles/configMetaList-default.json"
125
+ }
126
+ ]
127
+ },
128
+ {
129
+ "name": "refresh",
130
+ "protocol": "REST",
131
+ "method": "POST",
132
+ "entitypath": "{base_path}/{version}/config/refresh?{query}",
133
+ "requestSchema": "schema.json",
134
+ "responseSchema": "schema.json",
135
+ "timeout": 0,
136
+ "sendEmpty": false,
137
+ "requestDatatype": "JSON",
138
+ "responseDatatype": "JSON",
139
+ "headers": {},
140
+ "responseObjects": [
141
+ {
142
+ "type": "default",
143
+ "key": "",
144
+ "mockFile": "mockdatafiles/refresh-default.json"
145
+ }
146
+ ]
147
+ },
148
+ {
149
+ "name": "restart",
150
+ "protocol": "REST",
151
+ "method": "POST",
152
+ "entitypath": "{base_path}/{version}/config/restart?{query}",
153
+ "requestSchema": "schema.json",
154
+ "responseSchema": "schema.json",
155
+ "timeout": 0,
156
+ "sendEmpty": false,
157
+ "requestDatatype": "JSON",
158
+ "responseDatatype": "JSON",
159
+ "headers": {},
160
+ "responseObjects": [
161
+ {
162
+ "type": "default",
163
+ "key": "",
164
+ "mockFile": "mockdatafiles/restart-default.json"
165
+ }
166
+ ]
167
+ },
168
+ {
169
+ "name": "configSave",
170
+ "protocol": "REST",
171
+ "method": "POST",
172
+ "entitypath": "{base_path}/{version}/config/save?{query}",
173
+ "requestSchema": "schema.json",
174
+ "responseSchema": "schema.json",
175
+ "timeout": 0,
176
+ "sendEmpty": false,
177
+ "requestDatatype": "JSON",
178
+ "responseDatatype": "JSON",
179
+ "headers": {},
180
+ "responseObjects": [
181
+ {
182
+ "type": "default",
183
+ "key": "",
184
+ "mockFile": "mockdatafiles/configSave-default.json"
185
+ }
186
+ ]
187
+ },
188
+ {
189
+ "name": "storageConfigSave",
190
+ "protocol": "REST",
191
+ "method": "POST",
192
+ "entitypath": "{base_path}/{version}/config/saveStoragePlugins?{query}",
193
+ "requestSchema": "schema.json",
194
+ "responseSchema": "schema.json",
195
+ "timeout": 0,
196
+ "sendEmpty": false,
197
+ "requestDatatype": "JSON",
198
+ "responseDatatype": "JSON",
199
+ "headers": {},
200
+ "responseObjects": [
201
+ {
202
+ "type": "default",
203
+ "key": "",
204
+ "mockFile": "mockdatafiles/storageConfigSave-default.json"
205
+ }
206
+ ]
207
+ }
208
+ ]
209
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "key": "key.name",
3
+ "value": "config value",
4
+ "strata": "default"
5
+ }
@@ -0,0 +1,43 @@
1
+ [
2
+ {
3
+ "name": "Plugins",
4
+ "isSubcat": false,
5
+ "childNodes": [
6
+ {
7
+ "name": "Azure",
8
+ "isSubcat": true,
9
+ "parentCategory": "Plugins"
10
+ },
11
+ {
12
+ "name": "DataDog",
13
+ "isSubcat": true,
14
+ "parentCategory": "Plugins"
15
+ },
16
+ {
17
+ "name": "GCP",
18
+ "isSubcat": true,
19
+ "parentCategory": "Plugins"
20
+ },
21
+ {
22
+ "name": "Jenkins",
23
+ "isSubcat": true,
24
+ "parentCategory": "Plugins"
25
+ },
26
+ {
27
+ "name": "Oracle",
28
+ "isSubcat": true,
29
+ "parentCategory": "Plugins"
30
+ },
31
+ {
32
+ "name": "Sensu",
33
+ "isSubcat": true,
34
+ "parentCategory": "Plugins"
35
+ },
36
+ {
37
+ "name": "Sumo Logic",
38
+ "isSubcat": true,
39
+ "parentCategory": "Plugins"
40
+ }
41
+ ]
42
+ }
43
+ ]
@@ -0,0 +1,9 @@
1
+ [
2
+ {
3
+ "name": "azure.clientId",
4
+ "value": "test222236",
5
+ "level": "default",
6
+ "label": "Azure Client ID",
7
+ "category": "Plugins/Azure"
8
+ }
9
+ ]
@@ -0,0 +1,32 @@
1
+ [
2
+ {
3
+ "key": "rundeck.api.tokens.duration.max",
4
+ "visibility": "Advanced",
5
+ "category": "API",
6
+ "strata": "default",
7
+ "required": false,
8
+ "restart": true,
9
+ "label": "API Token Duration Max",
10
+ "datatype": "String",
11
+ "encrypted": false,
12
+ "defaultValue": "",
13
+ "link": "",
14
+ "description": "",
15
+ "authRequired": "app_admin"
16
+ },
17
+ {
18
+ "key": "rundeck.api.tokens.duration.max",
19
+ "visibility": "Advanced",
20
+ "category": "API",
21
+ "strata": "default",
22
+ "required": false,
23
+ "restart": true,
24
+ "label": "API Token Duration Max",
25
+ "datatype": "String",
26
+ "encrypted": false,
27
+ "defaultValue": "",
28
+ "link": "",
29
+ "description": "",
30
+ "authRequired": "app_admin"
31
+ }
32
+ ]
@@ -0,0 +1,10 @@
1
+ {
2
+ "msg": "Saved",
3
+ "restart": true,
4
+ "created": [
5
+ "myNewCustomConfig"
6
+ ],
7
+ "updated": [
8
+ "myCustomConfig"
9
+ ]
10
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "msg": "Rundeck configuration refreshed"
3
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "msg": "Result message",
3
+ "restarting": true
4
+ }