@itentialopensource/adapter-cisco_ise 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 (226) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/AUTH.md +34 -0
  5. package/BROKER.md +211 -0
  6. package/CALLS.md +2991 -0
  7. package/CODE_OF_CONDUCT.md +43 -0
  8. package/CONTRIBUTING.md +13 -0
  9. package/ENHANCE.md +69 -0
  10. package/LICENSE +201 -0
  11. package/PROPERTIES.md +646 -0
  12. package/README.md +349 -0
  13. package/SUMMARY.md +9 -0
  14. package/SYSTEMINFO.md +23 -0
  15. package/TAB1.md +13 -0
  16. package/TAB2.md +306 -0
  17. package/TROUBLESHOOT.md +56 -0
  18. package/adapter.js +53480 -0
  19. package/adapterBase.js +1452 -0
  20. package/entities/.generic/action.json +214 -0
  21. package/entities/.generic/schema.json +28 -0
  22. package/entities/.system/action.json +50 -0
  23. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  24. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  25. package/entities/.system/schema.json +19 -0
  26. package/entities/.system/schemaTokenReq.json +53 -0
  27. package/entities/.system/schemaTokenResp.json +53 -0
  28. package/entities/ACIConnection/action.json +330 -0
  29. package/entities/ACIConnection/schema.json +34 -0
  30. package/entities/ACIData/action.json +205 -0
  31. package/entities/ACIData/schema.json +28 -0
  32. package/entities/ADGroups/action.json +25 -0
  33. package/entities/ADGroups/schema.json +19 -0
  34. package/entities/ActiveDirectories/action.json +25 -0
  35. package/entities/ActiveDirectories/schema.json +19 -0
  36. package/entities/BackupAndRestore/action.json +125 -0
  37. package/entities/BackupAndRestore/schema.json +24 -0
  38. package/entities/Certificates/action.json +452 -0
  39. package/entities/Certificates/schema.json +40 -0
  40. package/entities/ClassificationRule/action.json +146 -0
  41. package/entities/ClassificationRule/schema.json +25 -0
  42. package/entities/Configuration/action.json +24 -0
  43. package/entities/Configuration/schema.json +19 -0
  44. package/entities/CustomAttributes/action.json +106 -0
  45. package/entities/CustomAttributes/schema.json +23 -0
  46. package/entities/DataconnectServices/action.json +106 -0
  47. package/entities/DataconnectServices/schema.json +23 -0
  48. package/entities/DeviceAdminMFARules/action.json +126 -0
  49. package/entities/DeviceAdminMFARules/schema.json +24 -0
  50. package/entities/DeviceAdministrationAuthenticationRules/action.json +126 -0
  51. package/entities/DeviceAdministrationAuthenticationRules/schema.json +24 -0
  52. package/entities/DeviceAdministrationAuthorizationExceptionRules/action.json +126 -0
  53. package/entities/DeviceAdministrationAuthorizationExceptionRules/schema.json +24 -0
  54. package/entities/DeviceAdministrationAuthorizationGlobalExceptionRules/action.json +126 -0
  55. package/entities/DeviceAdministrationAuthorizationGlobalExceptionRules/schema.json +24 -0
  56. package/entities/DeviceAdministrationAuthorizationRules/action.json +126 -0
  57. package/entities/DeviceAdministrationAuthorizationRules/schema.json +24 -0
  58. package/entities/DeviceAdministrationCommandSets/action.json +25 -0
  59. package/entities/DeviceAdministrationCommandSets/schema.json +19 -0
  60. package/entities/DeviceAdministrationConditions/action.json +230 -0
  61. package/entities/DeviceAdministrationConditions/schema.json +29 -0
  62. package/entities/DeviceAdministrationDictionaryAttributesList/action.json +67 -0
  63. package/entities/DeviceAdministrationDictionaryAttributesList/schema.json +21 -0
  64. package/entities/DeviceAdministrationIdentityStores/action.json +25 -0
  65. package/entities/DeviceAdministrationIdentityStores/schema.json +19 -0
  66. package/entities/DeviceAdministrationNetworkConditions/action.json +106 -0
  67. package/entities/DeviceAdministrationNetworkConditions/schema.json +23 -0
  68. package/entities/DeviceAdministrationPolicySets/action.json +126 -0
  69. package/entities/DeviceAdministrationPolicySets/schema.json +24 -0
  70. package/entities/DeviceAdministrationServiceNames/action.json +25 -0
  71. package/entities/DeviceAdministrationServiceNames/schema.json +19 -0
  72. package/entities/DeviceAdministrationShellProfiles/action.json +25 -0
  73. package/entities/DeviceAdministrationShellProfiles/schema.json +19 -0
  74. package/entities/DeviceAdministrationTimeDateConditions/action.json +106 -0
  75. package/entities/DeviceAdministrationTimeDateConditions/schema.json +23 -0
  76. package/entities/DuoIdentitySync/action.json +168 -0
  77. package/entities/DuoIdentitySync/schema.json +26 -0
  78. package/entities/DuoMfa/action.json +147 -0
  79. package/entities/DuoMfa/schema.json +25 -0
  80. package/entities/EnableMFA/action.json +24 -0
  81. package/entities/EnableMFA/schema.json +19 -0
  82. package/entities/EndpointStopReplicationService/action.json +45 -0
  83. package/entities/EndpointStopReplicationService/schema.json +20 -0
  84. package/entities/Endpoints/action.json +207 -0
  85. package/entities/Endpoints/schema.json +28 -0
  86. package/entities/ExternalConnection/action.json +25 -0
  87. package/entities/ExternalConnection/schema.json +19 -0
  88. package/entities/InboundRule/action.json +166 -0
  89. package/entities/InboundRule/schema.json +26 -0
  90. package/entities/LSDSettings/action.json +25 -0
  91. package/entities/LSDSettings/schema.json +19 -0
  92. package/entities/Licensing/action.json +231 -0
  93. package/entities/Licensing/schema.json +29 -0
  94. package/entities/NBARApplicationManagement/action.json +106 -0
  95. package/entities/NBARApplicationManagement/schema.json +23 -0
  96. package/entities/NativeIPsec/action.json +187 -0
  97. package/entities/NativeIPsec/schema.json +27 -0
  98. package/entities/NetworkAccessAuthenticationRules/action.json +126 -0
  99. package/entities/NetworkAccessAuthenticationRules/schema.json +24 -0
  100. package/entities/NetworkAccessAuthorizationExceptionRules/action.json +126 -0
  101. package/entities/NetworkAccessAuthorizationExceptionRules/schema.json +24 -0
  102. package/entities/NetworkAccessAuthorizationGlobalExceptionRules/action.json +126 -0
  103. package/entities/NetworkAccessAuthorizationGlobalExceptionRules/schema.json +24 -0
  104. package/entities/NetworkAccessAuthorizationProfiles/action.json +25 -0
  105. package/entities/NetworkAccessAuthorizationProfiles/schema.json +19 -0
  106. package/entities/NetworkAccessAuthorizationRules/action.json +126 -0
  107. package/entities/NetworkAccessAuthorizationRules/schema.json +24 -0
  108. package/entities/NetworkAccessConditions/action.json +230 -0
  109. package/entities/NetworkAccessConditions/schema.json +29 -0
  110. package/entities/NetworkAccessDictionaries/action.json +106 -0
  111. package/entities/NetworkAccessDictionaries/schema.json +23 -0
  112. package/entities/NetworkAccessDictionaryAttributes/action.json +106 -0
  113. package/entities/NetworkAccessDictionaryAttributes/schema.json +23 -0
  114. package/entities/NetworkAccessDictionaryAttributesList/action.json +67 -0
  115. package/entities/NetworkAccessDictionaryAttributesList/schema.json +21 -0
  116. package/entities/NetworkAccessIdentityStores/action.json +25 -0
  117. package/entities/NetworkAccessIdentityStores/schema.json +19 -0
  118. package/entities/NetworkAccessMFARules/action.json +126 -0
  119. package/entities/NetworkAccessMFARules/schema.json +24 -0
  120. package/entities/NetworkAccessNetworkConditions/action.json +106 -0
  121. package/entities/NetworkAccessNetworkConditions/schema.json +23 -0
  122. package/entities/NetworkAccessPolicySets/action.json +126 -0
  123. package/entities/NetworkAccessPolicySets/schema.json +24 -0
  124. package/entities/NetworkAccessSecurityGroups/action.json +25 -0
  125. package/entities/NetworkAccessSecurityGroups/schema.json +19 -0
  126. package/entities/NetworkAccessServiceNames/action.json +25 -0
  127. package/entities/NetworkAccessServiceNames/schema.json +19 -0
  128. package/entities/NetworkAccessTimeDateConditions/action.json +106 -0
  129. package/entities/NetworkAccessTimeDateConditions/schema.json +23 -0
  130. package/entities/NodeDeployment/action.json +186 -0
  131. package/entities/NodeDeployment/schema.json +27 -0
  132. package/entities/NodeGroup/action.json +167 -0
  133. package/entities/NodeGroup/schema.json +26 -0
  134. package/entities/NodeServices/action.json +107 -0
  135. package/entities/NodeServices/schema.json +23 -0
  136. package/entities/OutboundRule/action.json +146 -0
  137. package/entities/OutboundRule/schema.json +25 -0
  138. package/entities/PANHA/action.json +45 -0
  139. package/entities/PANHA/schema.json +20 -0
  140. package/entities/Patch/action.json +252 -0
  141. package/entities/Patch/schema.json +30 -0
  142. package/entities/PatchAndHotPatch/action.json +126 -0
  143. package/entities/PatchAndHotPatch/schema.json +24 -0
  144. package/entities/PrometheusAlertmanager/action.json +330 -0
  145. package/entities/PrometheusAlertmanager/schema.json +34 -0
  146. package/entities/Proxy/action.json +45 -0
  147. package/entities/Proxy/schema.json +20 -0
  148. package/entities/PxGridCloud/action.json +107 -0
  149. package/entities/PxGridCloud/schema.json +23 -0
  150. package/entities/PxGridDirect/action.json +290 -0
  151. package/entities/PxGridDirect/schema.json +32 -0
  152. package/entities/Repository/action.json +127 -0
  153. package/entities/Repository/schema.json +24 -0
  154. package/entities/RuleFlow/action.json +24 -0
  155. package/entities/RuleFlow/schema.json +19 -0
  156. package/entities/RuleSummary/action.json +24 -0
  157. package/entities/RuleSummary/schema.json +19 -0
  158. package/entities/SXP/action.json +67 -0
  159. package/entities/SXP/schema.json +21 -0
  160. package/entities/SXPDomainsWithMappingAndDevicesCounts/action.json +25 -0
  161. package/entities/SXPDomainsWithMappingAndDevicesCounts/schema.json +19 -0
  162. package/entities/SecurityGroupManagement/action.json +25 -0
  163. package/entities/SecurityGroupManagement/schema.json +19 -0
  164. package/entities/Sgt/action.json +25 -0
  165. package/entities/Sgt/schema.json +19 -0
  166. package/entities/SgtReservation/action.json +106 -0
  167. package/entities/SgtReservation/schema.json +23 -0
  168. package/entities/SharedMappings/action.json +25 -0
  169. package/entities/SharedMappings/schema.json +19 -0
  170. package/entities/Subscriber/action.json +147 -0
  171. package/entities/Subscriber/schema.json +25 -0
  172. package/entities/TaskService/action.json +46 -0
  173. package/entities/TaskService/schema.json +20 -0
  174. package/entities/Telemetry/action.json +45 -0
  175. package/entities/Telemetry/schema.json +20 -0
  176. package/entities/TrustSecMatrixPolicy/action.json +46 -0
  177. package/entities/TrustSecMatrixPolicy/schema.json +20 -0
  178. package/entities/TrustsecIntegrationRuleDefaultTrustsecIntegrationRuleSet/action.json +25 -0
  179. package/entities/TrustsecIntegrationRuleDefaultTrustsecIntegrationRuleSet/schema.json +19 -0
  180. package/entities/TrustsecIntegrationRuleDictionaries/action.json +67 -0
  181. package/entities/TrustsecIntegrationRuleDictionaries/schema.json +21 -0
  182. package/entities/TrustsecIntegrationRuleDictionaryAttributes/action.json +130 -0
  183. package/entities/TrustsecIntegrationRuleDictionaryAttributes/schema.json +24 -0
  184. package/entities/Upgrade/action.json +168 -0
  185. package/entities/Upgrade/schema.json +26 -0
  186. package/entities/UserEquipment/action.json +188 -0
  187. package/entities/UserEquipment/schema.json +27 -0
  188. package/entities/VirtualNetworkManagement/action.json +166 -0
  189. package/entities/VirtualNetworkManagement/schema.json +26 -0
  190. package/entities/WorkloadConnection/action.json +717 -0
  191. package/entities/WorkloadConnection/schema.json +53 -0
  192. package/error.json +190 -0
  193. package/metadata.json +85 -0
  194. package/package.json +81 -0
  195. package/pronghorn.json +22101 -0
  196. package/propertiesDecorators.json +14 -0
  197. package/propertiesSchema.json +1582 -0
  198. package/report/adapterInfo.json +10 -0
  199. package/report/auto-adapter-openapi.json +18045 -0
  200. package/report/creationReport.json +3745 -0
  201. package/report/ise.json +40324 -0
  202. package/sampleProperties.json +257 -0
  203. package/test/integration/adapterTestBasicGet.js +83 -0
  204. package/test/integration/adapterTestConnectivity.js +118 -0
  205. package/test/integration/adapterTestIntegration.js +12350 -0
  206. package/test/unit/adapterBaseTestUnit.js +1024 -0
  207. package/test/unit/adapterTestUnit.js +11628 -0
  208. package/utils/adapterInfo.js +206 -0
  209. package/utils/addAuth.js +94 -0
  210. package/utils/artifactize.js +146 -0
  211. package/utils/basicGet.js +50 -0
  212. package/utils/checkMigrate.js +63 -0
  213. package/utils/entitiesToDB.js +179 -0
  214. package/utils/findPath.js +74 -0
  215. package/utils/methodDocumentor.js +273 -0
  216. package/utils/modify.js +152 -0
  217. package/utils/packModificationScript.js +35 -0
  218. package/utils/patches2bundledDeps.js +90 -0
  219. package/utils/pre-commit.sh +32 -0
  220. package/utils/removeHooks.js +20 -0
  221. package/utils/setup.js +33 -0
  222. package/utils/taskMover.js +309 -0
  223. package/utils/tbScript.js +239 -0
  224. package/utils/tbUtils.js +489 -0
  225. package/utils/testRunner.js +298 -0
  226. package/utils/troubleshootingAdapter.js +193 -0
@@ -0,0 +1,25 @@
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": "getEgressFilterList",
12
+ "enum": [
13
+ "getEgressFilterList",
14
+ "createEgressFilter",
15
+ "batchConfigureEgressFilter",
16
+ "getEgressFilterPreview",
17
+ "getEgressFilterById",
18
+ "updateEgressFilterById",
19
+ "deleteEgressFilterById"
20
+ ],
21
+ "external_name": "ph_request_type"
22
+ }
23
+ },
24
+ "definitions": {}
25
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getPANHaStatus",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "/deployment/pan-ha?{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": "updatePanHA",
26
+ "protocol": "REST",
27
+ "method": "PUT",
28
+ "entitypath": "/deployment/pan-ha?{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
+ }
@@ -0,0 +1,20 @@
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": "getPANHaStatus",
12
+ "enum": [
13
+ "getPANHaStatus",
14
+ "updatePanHA"
15
+ ],
16
+ "external_name": "ph_request_type"
17
+ }
18
+ },
19
+ "definitions": {}
20
+ }
@@ -0,0 +1,252 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "runPatchPreChecks",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "/{version}/upgrade-patch/patch-install/pre-checks?{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": "getPatchPrecheckStatus",
25
+ "protocol": "REST",
26
+ "method": "GET",
27
+ "entitypath": "/{version}/upgrade-patch/patch-install/pre-checks-status?{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": ""
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "postUpgradePatchPatchInstall",
46
+ "protocol": "REST",
47
+ "method": "POST",
48
+ "entitypath": "/{version}/upgrade-patch/patch-install?{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": "patchInstallStatus",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "/{version}/upgrade-patch/patch-install/get-status?{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": ""
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "getInstalledPatches",
87
+ "protocol": "REST",
88
+ "method": "GET",
89
+ "entitypath": "/{version}/upgrade-patch/patch-install/list-patch?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "sendGetBody": false,
95
+ "requestDatatype": "JSON",
96
+ "responseDatatype": "JSON",
97
+ "headers": {},
98
+ "responseObjects": [
99
+ {
100
+ "type": "default",
101
+ "key": "",
102
+ "mockFile": ""
103
+ }
104
+ ]
105
+ },
106
+ {
107
+ "name": "patchRollbackInfo",
108
+ "protocol": "REST",
109
+ "method": "GET",
110
+ "entitypath": "/{version}/rollback/patch-rollback?{query}",
111
+ "requestSchema": "schema.json",
112
+ "responseSchema": "schema.json",
113
+ "timeout": 0,
114
+ "sendEmpty": false,
115
+ "sendGetBody": false,
116
+ "requestDatatype": "JSON",
117
+ "responseDatatype": "JSON",
118
+ "headers": {},
119
+ "responseObjects": [
120
+ {
121
+ "type": "default",
122
+ "key": "",
123
+ "mockFile": ""
124
+ }
125
+ ]
126
+ },
127
+ {
128
+ "name": "postRollbackPatchRollback",
129
+ "protocol": "REST",
130
+ "method": "POST",
131
+ "entitypath": "/{version}/rollback/patch-rollback?{query}",
132
+ "requestSchema": "schema.json",
133
+ "responseSchema": "schema.json",
134
+ "timeout": 0,
135
+ "sendEmpty": 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": "runRollbackPreChecks",
149
+ "protocol": "REST",
150
+ "method": "POST",
151
+ "entitypath": "/{version}/rollback/patch-rollback/pre-checks?{query}",
152
+ "requestSchema": "schema.json",
153
+ "responseSchema": "schema.json",
154
+ "timeout": 0,
155
+ "sendEmpty": false,
156
+ "requestDatatype": "JSON",
157
+ "responseDatatype": "JSON",
158
+ "headers": {},
159
+ "responseObjects": [
160
+ {
161
+ "type": "default",
162
+ "key": "",
163
+ "mockFile": ""
164
+ }
165
+ ]
166
+ },
167
+ {
168
+ "name": "getRollbackPrecheckStatus",
169
+ "protocol": "REST",
170
+ "method": "GET",
171
+ "entitypath": "/{version}/rollback/patch-rollback/pre-checks-status?{query}",
172
+ "requestSchema": "schema.json",
173
+ "responseSchema": "schema.json",
174
+ "timeout": 0,
175
+ "sendEmpty": false,
176
+ "sendGetBody": false,
177
+ "requestDatatype": "JSON",
178
+ "responseDatatype": "JSON",
179
+ "headers": {},
180
+ "responseObjects": [
181
+ {
182
+ "type": "default",
183
+ "key": "",
184
+ "mockFile": ""
185
+ }
186
+ ]
187
+ },
188
+ {
189
+ "name": "patchRollbackSummary",
190
+ "protocol": "REST",
191
+ "method": "GET",
192
+ "entitypath": "/{version}/rollback/patch-rollback/summary?{query}",
193
+ "requestSchema": "schema.json",
194
+ "responseSchema": "schema.json",
195
+ "timeout": 0,
196
+ "sendEmpty": false,
197
+ "sendGetBody": false,
198
+ "requestDatatype": "JSON",
199
+ "responseDatatype": "JSON",
200
+ "headers": {},
201
+ "responseObjects": [
202
+ {
203
+ "type": "default",
204
+ "key": "",
205
+ "mockFile": ""
206
+ }
207
+ ]
208
+ },
209
+ {
210
+ "name": "patchRollbackProceedStatus",
211
+ "protocol": "REST",
212
+ "method": "GET",
213
+ "entitypath": "/{version}/rollback/patch-rollback/get-status?{query}",
214
+ "requestSchema": "schema.json",
215
+ "responseSchema": "schema.json",
216
+ "timeout": 0,
217
+ "sendEmpty": false,
218
+ "sendGetBody": false,
219
+ "requestDatatype": "JSON",
220
+ "responseDatatype": "JSON",
221
+ "headers": {},
222
+ "responseObjects": [
223
+ {
224
+ "type": "default",
225
+ "key": "",
226
+ "mockFile": ""
227
+ }
228
+ ]
229
+ },
230
+ {
231
+ "name": "patchSummary",
232
+ "protocol": "REST",
233
+ "method": "GET",
234
+ "entitypath": "/{version}/upgrade-patch/patch-install/get-summary?{query}",
235
+ "requestSchema": "schema.json",
236
+ "responseSchema": "schema.json",
237
+ "timeout": 0,
238
+ "sendEmpty": false,
239
+ "sendGetBody": false,
240
+ "requestDatatype": "JSON",
241
+ "responseDatatype": "JSON",
242
+ "headers": {},
243
+ "responseObjects": [
244
+ {
245
+ "type": "default",
246
+ "key": "",
247
+ "mockFile": ""
248
+ }
249
+ ]
250
+ }
251
+ ]
252
+ }
@@ -0,0 +1,30 @@
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": "runPatchPreChecks",
12
+ "enum": [
13
+ "runPatchPreChecks",
14
+ "getPatchPrecheckStatus",
15
+ "postUpgradePatchPatchInstall",
16
+ "patchInstallStatus",
17
+ "getInstalledPatches",
18
+ "patchRollbackInfo",
19
+ "postRollbackPatchRollback",
20
+ "runRollbackPreChecks",
21
+ "getRollbackPrecheckStatus",
22
+ "patchRollbackSummary",
23
+ "patchRollbackProceedStatus",
24
+ "patchSummary"
25
+ ],
26
+ "external_name": "ph_request_type"
27
+ }
28
+ },
29
+ "definitions": {}
30
+ }
@@ -0,0 +1,126 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "listInstalledHotpatches",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/hotpatch?{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": "installHotpatch",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/hotpatch/install?{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": "rollbackHotpatch",
46
+ "protocol": "REST",
47
+ "method": "POST",
48
+ "entitypath": "{base_path}/{version}/hotpatch/rollback?{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": "listInstalledPatches",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "{base_path}/{version}/patch?{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": ""
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "installPatch",
87
+ "protocol": "REST",
88
+ "method": "POST",
89
+ "entitypath": "{base_path}/{version}/patch/install?{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": ""
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "name": "rollbackPatch",
107
+ "protocol": "REST",
108
+ "method": "POST",
109
+ "entitypath": "{base_path}/{version}/patch/rollback?{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,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": "listInstalledHotpatches",
12
+ "enum": [
13
+ "listInstalledHotpatches",
14
+ "installHotpatch",
15
+ "rollbackHotpatch",
16
+ "listInstalledPatches",
17
+ "installPatch",
18
+ "rollbackPatch"
19
+ ],
20
+ "external_name": "ph_request_type"
21
+ }
22
+ },
23
+ "definitions": {}
24
+ }