@itentialopensource/adapter-aruba_central 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 (189) 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 +170 -0
  12. package/CHANGELOG.md +9 -0
  13. package/CODE_OF_CONDUCT.md +43 -0
  14. package/CONTRIBUTING.md +172 -0
  15. package/ENHANCE.md +69 -0
  16. package/LICENSE +201 -0
  17. package/PROPERTIES.md +641 -0
  18. package/README.md +337 -0
  19. package/SUMMARY.md +9 -0
  20. package/SYSTEMINFO.md +11 -0
  21. package/TROUBLESHOOT.md +47 -0
  22. package/adapter.js +23717 -0
  23. package/adapterBase.js +1787 -0
  24. package/adapter_modifications/README.md +59 -0
  25. package/adapter_modifications/specificCallScript.js +97 -0
  26. package/adapter_modifications/update.js +532 -0
  27. package/adapter_modifications/updateFiles/components/adapter.js +164 -0
  28. package/adapter_modifications/updateFiles/components/entities/Installers/action.json +22 -0
  29. package/adapter_modifications/updateFiles/components/entities/Installers/mockdatafiles/mockdata.json +1 -0
  30. package/adapter_modifications/updateFiles/components/entities/Installers/schema.json +20 -0
  31. package/adapter_modifications/updateFiles/components/entities/Sites/action.json +22 -0
  32. package/adapter_modifications/updateFiles/components/entities/Sites/mockdatafiles/mockdata.json +1 -0
  33. package/adapter_modifications/updateFiles/components/entities/Sites/schema.json +20 -0
  34. package/adapter_modifications/updateFiles/components/methods.json +204 -0
  35. package/adapter_modifications/updateFiles/components/pronghorn.json +77 -0
  36. package/adapter_modifications/updateFiles/components/test/integration/adapterTestIntegration.js +76 -0
  37. package/adapter_modifications/updateFiles/components/test/unit/adapterTestUnit.js +58 -0
  38. package/entities/.generic/action.json +214 -0
  39. package/entities/.generic/schema.json +28 -0
  40. package/entities/.system/action.json +50 -0
  41. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  42. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  43. package/entities/.system/schema.json +19 -0
  44. package/entities/.system/schemaTokenReq.json +53 -0
  45. package/entities/.system/schemaTokenResp.json +53 -0
  46. package/entities/AOSS/action.json +168 -0
  47. package/entities/AOSS/mockdatafiles/apiHppcSwitchGetDevicePorts-default.json +17 -0
  48. package/entities/AOSS/mockdatafiles/apiHppcSwitchGetDeviceVlans-default.json +65 -0
  49. package/entities/AOSS/mockdatafiles/apiHppcSwitchGetGroupPorts-default.json +17 -0
  50. package/entities/AOSS/mockdatafiles/apiHppcSwitchGetGroupVlans-default.json +125 -0
  51. package/entities/AOSS/schema.json +26 -0
  52. package/entities/AP/action.json +150 -0
  53. package/entities/AP/schema.json +135 -0
  54. package/entities/APConfiguration/action.json +394 -0
  55. package/entities/APConfiguration/mockdatafiles/apiApClisGetApSettingsClis-default.json +3 -0
  56. package/entities/APConfiguration/mockdatafiles/apiApClisGetConfigurationClis-default.json +3 -0
  57. package/entities/APConfiguration/mockdatafiles/apiApClisGetDirtyDiff-default.json +10 -0
  58. package/entities/APConfiguration/mockdatafiles/apiApClisGetSwarmVariables-default.json +112 -0
  59. package/entities/APConfiguration/mockdatafiles/apiSystemConfigGetSystemConfig-default.json +10 -0
  60. package/entities/APConfiguration/schema.json +37 -0
  61. package/entities/APSettings/action.json +86 -0
  62. package/entities/APSettings/mockdatafiles/apiApSettingsGetApSettings-default.json +4 -0
  63. package/entities/APSettings/mockdatafiles/apiApSettingsGetApSettingsV2-default.json +5 -0
  64. package/entities/APSettings/schema.json +22 -0
  65. package/entities/CXConfiguration/action.json +250 -0
  66. package/entities/CXConfiguration/schema.json +30 -0
  67. package/entities/CaptivePortalLogo/action.json +65 -0
  68. package/entities/CaptivePortalLogo/mockdatafiles/apiCpLogoGetCpLogos-default.json +21 -0
  69. package/entities/CaptivePortalLogo/schema.json +21 -0
  70. package/entities/Certificates/action.json +85 -0
  71. package/entities/Certificates/mockdatafiles/apiCertificatesGetCertificates-default.json +29 -0
  72. package/entities/Certificates/schema.json +22 -0
  73. package/entities/Client/action.json +214 -0
  74. package/entities/Client/schema.json +193 -0
  75. package/entities/ConfigurationBackupAndRestore/action.json +189 -0
  76. package/entities/ConfigurationBackupAndRestore/mockdatafiles/apiGroupsGetBackupLogForSnapshot-default.json +3 -0
  77. package/entities/ConfigurationBackupAndRestore/mockdatafiles/apiGroupsGetBackupStatusForSnapshot-default.json +3 -0
  78. package/entities/ConfigurationBackupAndRestore/mockdatafiles/apiGroupsGetLastRestoreLogsForGroup-default.json +3 -0
  79. package/entities/ConfigurationBackupAndRestore/mockdatafiles/apiGroupsGetRestoreStatusForSnapshot-default.json +3 -0
  80. package/entities/ConfigurationBackupAndRestore/mockdatafiles/apiGroupsGetSnapshotsForGroup-default.json +65 -0
  81. package/entities/ConfigurationBackupAndRestore/schema.json +27 -0
  82. package/entities/ConfigurationMode/action.json +148 -0
  83. package/entities/ConfigurationMode/mockdatafiles/apiConfigModeGetCustConfigMode-default.json +35 -0
  84. package/entities/ConfigurationMode/mockdatafiles/apiConfigModeGetDeviceConfigMode-default.json +21 -0
  85. package/entities/ConfigurationMode/mockdatafiles/apiConfigModeGetDeviceSerialsConfigMode-default.json +13 -0
  86. package/entities/ConfigurationMode/mockdatafiles/apiConfigModeGetGroupConfigMode-default.json +17 -0
  87. package/entities/ConfigurationMode/schema.json +25 -0
  88. package/entities/DenylistClients/action.json +65 -0
  89. package/entities/DenylistClients/mockdatafiles/apiBlacklistClientGetBlacklistClients-default.json +13 -0
  90. package/entities/DenylistClients/schema.json +21 -0
  91. package/entities/Devices/action.json +191 -0
  92. package/entities/Devices/mockdatafiles/apiDevicesGetDevicesTemplateDetails-default.json +13 -0
  93. package/entities/Devices/mockdatafiles/apiDevicesGetGroupsTemplateDetails-default.json +13 -0
  94. package/entities/Devices/mockdatafiles/apiDevicesGetHashTemplateDetails-default.json +13 -0
  95. package/entities/Devices/schema.json +27 -0
  96. package/entities/Events/action.json +46 -0
  97. package/entities/Events/schema.json +130 -0
  98. package/entities/Gateway/action.json +318 -0
  99. package/entities/Gateway/schema.json +99 -0
  100. package/entities/Groups/action.json +290 -0
  101. package/entities/Groups/mockdatafiles/apiGroupsGetGroups-default.json +54 -0
  102. package/entities/Groups/mockdatafiles/apiGroupsGetGroupsProperties-default.json +224 -0
  103. package/entities/Groups/mockdatafiles/apiGroupsGetGroupsTemplateData-default.json +11 -0
  104. package/entities/Groups/mockdatafiles/apiGroupsGetGroupsV2-default.json +11 -0
  105. package/entities/Groups/schema.json +32 -0
  106. package/entities/Installers/action.json +24 -0
  107. package/entities/Installers/schema.json +19 -0
  108. package/entities/Label/action.json +228 -0
  109. package/entities/Label/schema.json +62 -0
  110. package/entities/MMMD/action.json +24 -0
  111. package/entities/MMMD/schema.json +19 -0
  112. package/entities/MSPTemplates/action.json +250 -0
  113. package/entities/MSPTemplates/mockdatafiles/apiTemplatesGetEndCustomerTemplates-default.json +23 -0
  114. package/entities/MSPTemplates/mockdatafiles/apiTemplatesGetMspCustomerTemplates-default.json +65 -0
  115. package/entities/MSPTemplates/mockdatafiles/apiTemplatesGetMspTmplDifferCustsGroups-default.json +110 -0
  116. package/entities/MSPTemplates/mockdatafiles/apiTemplatesGetMspTmplEndCustDifferGroups-default.json +13 -0
  117. package/entities/MSPTemplates/schema.json +30 -0
  118. package/entities/MobilityController/action.json +191 -0
  119. package/entities/MobilityController/schema.json +71 -0
  120. package/entities/NBUIGroupConfiguration/action.json +45 -0
  121. package/entities/NBUIGroupConfiguration/mockdatafiles/apiNbUiGroupConfigGetGroupCountry-default.json +3 -0
  122. package/entities/NBUIGroupConfiguration/schema.json +20 -0
  123. package/entities/Network/action.json +67 -0
  124. package/entities/Network/schema.json +76 -0
  125. package/entities/PreProvisionedGroup/action.json +44 -0
  126. package/entities/PreProvisionedGroup/schema.json +20 -0
  127. package/entities/SaveCommit/action.json +126 -0
  128. package/entities/SaveCommit/mockdatafiles/apiSaveCommitGetDeviceSerialsAutoCommitState-default.json +17 -0
  129. package/entities/SaveCommit/mockdatafiles/apiSaveCommitGetGroupsAutoCommitState-default.json +29 -0
  130. package/entities/SaveCommit/schema.json +24 -0
  131. package/entities/Site/action.json +186 -0
  132. package/entities/Site/schema.json +49 -0
  133. package/entities/Sites/action.json +24 -0
  134. package/entities/Sites/schema.json +19 -0
  135. package/entities/Swarm/action.json +88 -0
  136. package/entities/Swarm/schema.json +88 -0
  137. package/entities/SwarmConfig/action.json +86 -0
  138. package/entities/SwarmConfig/mockdatafiles/apiSwarmConfigGetSwarmConfig-default.json +4 -0
  139. package/entities/SwarmConfig/mockdatafiles/apiSwarmConfigGetSwarmConfigV2-default.json +7 -0
  140. package/entities/SwarmConfig/schema.json +22 -0
  141. package/entities/Switch/action.json +548 -0
  142. package/entities/Switch/schema.json +198 -0
  143. package/entities/Templates/action.json +106 -0
  144. package/entities/Templates/mockdatafiles/apiTemplatesGetTemplates-default.json +37 -0
  145. package/entities/Templates/schema.json +23 -0
  146. package/entities/VPN/action.json +45 -0
  147. package/entities/VPN/schema.json +31 -0
  148. package/entities/Variables/action.json +186 -0
  149. package/entities/Variables/mockdatafiles/apiDevicesGetDeviceTemplateVariables-default.json +10 -0
  150. package/entities/Variables/schema.json +27 -0
  151. package/entities/VariablesFirewall/action.json +126 -0
  152. package/entities/VariablesFirewall/schema.json +24 -0
  153. package/entities/WLANConfiguration/action.json +579 -0
  154. package/entities/WLANConfiguration/schema.json +46 -0
  155. package/error.json +190 -0
  156. package/package.json +86 -0
  157. package/pronghorn.json +20904 -0
  158. package/propertiesDecorators.json +14 -0
  159. package/propertiesSchema.json +1248 -0
  160. package/refs?service=git-upload-pack +0 -0
  161. package/report/aruba_central_monitoring.json +14224 -0
  162. package/report/creationReport.json +850 -0
  163. package/sampleProperties.json +195 -0
  164. package/test/integration/adapterTestBasicGet.js +83 -0
  165. package/test/integration/adapterTestConnectivity.js +93 -0
  166. package/test/integration/adapterTestIntegration.js +7773 -0
  167. package/test/unit/adapterBaseTestUnit.js +949 -0
  168. package/test/unit/adapterTestUnit.js +10516 -0
  169. package/updatePackage.zip +0 -0
  170. package/utils/adapterInfo.js +206 -0
  171. package/utils/addAuth.js +94 -0
  172. package/utils/artifactize.js +146 -0
  173. package/utils/basicGet.js +50 -0
  174. package/utils/checkMigrate.js +63 -0
  175. package/utils/entitiesToDB.js +178 -0
  176. package/utils/findPath.js +74 -0
  177. package/utils/methodDocumentor.js +225 -0
  178. package/utils/modify.js +154 -0
  179. package/utils/packModificationScript.js +35 -0
  180. package/utils/patches2bundledDeps.js +90 -0
  181. package/utils/pre-commit.sh +32 -0
  182. package/utils/removeHooks.js +20 -0
  183. package/utils/setup.js +33 -0
  184. package/utils/tbScript.js +246 -0
  185. package/utils/tbUtils.js +490 -0
  186. package/utils/testRunner.js +298 -0
  187. package/utils/troubleshootingAdapter.js +195 -0
  188. package/versions.json +257 -0
  189. package/workflows/README.md +3 -0
@@ -0,0 +1,290 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "apiGroupsGetGroupsV2",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/configuration/v2/groups?{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/apiGroupsGetGroupsV2-default.json"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "apiGroupsCreateGroupV2",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/configuration/v2/groups?{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": "apiGroupsCreateGroupV3",
46
+ "protocol": "REST",
47
+ "method": "POST",
48
+ "entitypath": "{base_path}/{version}/configuration/v3/groups?{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": "apiGroupsCloneGroup",
66
+ "protocol": "REST",
67
+ "method": "POST",
68
+ "entitypath": "{base_path}/{version}/configuration/v2/groups/clone?{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
+ "name": "apiGroupsGetGroupsTemplateData",
86
+ "protocol": "REST",
87
+ "method": "GET",
88
+ "entitypath": "{base_path}/{version}/configuration/v2/groups/template_info?{query}",
89
+ "requestSchema": "schema.json",
90
+ "responseSchema": "schema.json",
91
+ "timeout": 0,
92
+ "sendEmpty": false,
93
+ "sendGetBody": false,
94
+ "requestDatatype": "JSON",
95
+ "responseDatatype": "JSON",
96
+ "headers": {},
97
+ "responseObjects": [
98
+ {
99
+ "type": "default",
100
+ "key": "",
101
+ "mockFile": "mockdatafiles/apiGroupsGetGroupsTemplateData-default.json"
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "name": "apiGroupsGetGroupsProperties",
107
+ "protocol": "REST",
108
+ "method": "GET",
109
+ "entitypath": "{base_path}/{version}/configuration/v1/groups/properties?{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/apiGroupsGetGroupsProperties-default.json"
123
+ }
124
+ ]
125
+ },
126
+ {
127
+ "name": "apiGroupsUpdateGroupPropertiesV2",
128
+ "protocol": "REST",
129
+ "method": "PATCH",
130
+ "entitypath": "{base_path}/{version}/configuration/v2/groups/{pathv1}/properties?{query}",
131
+ "requestSchema": "schema.json",
132
+ "responseSchema": "schema.json",
133
+ "timeout": 0,
134
+ "sendEmpty": false,
135
+ "requestDatatype": "JSON",
136
+ "responseDatatype": "JSON",
137
+ "headers": {},
138
+ "responseObjects": [
139
+ {
140
+ "type": "default",
141
+ "key": "",
142
+ "mockFile": ""
143
+ }
144
+ ]
145
+ },
146
+ {
147
+ "name": "apiGroupsUpdateGroupName",
148
+ "protocol": "REST",
149
+ "method": "PATCH",
150
+ "entitypath": "{base_path}/{version}/configuration/v1/groups/{pathv1}/name?{query}",
151
+ "requestSchema": "schema.json",
152
+ "responseSchema": "schema.json",
153
+ "timeout": 0,
154
+ "sendEmpty": false,
155
+ "requestDatatype": "JSON",
156
+ "responseDatatype": "JSON",
157
+ "headers": {},
158
+ "responseObjects": [
159
+ {
160
+ "type": "default",
161
+ "key": "",
162
+ "mockFile": ""
163
+ }
164
+ ]
165
+ },
166
+ {
167
+ "name": "apiGroupsGetCustDefaultGroup",
168
+ "protocol": "REST",
169
+ "method": "GET",
170
+ "entitypath": "{base_path}/{version}/configuration/v1/groups/default_group?{query}",
171
+ "requestSchema": "schema.json",
172
+ "responseSchema": "schema.json",
173
+ "timeout": 0,
174
+ "sendEmpty": false,
175
+ "sendGetBody": false,
176
+ "requestDatatype": "JSON",
177
+ "responseDatatype": "JSON",
178
+ "headers": {},
179
+ "responseObjects": [
180
+ {
181
+ "type": "default",
182
+ "key": "",
183
+ "mockFile": ""
184
+ }
185
+ ]
186
+ },
187
+ {
188
+ "name": "apiGroupsSetCustDefaultGroup",
189
+ "protocol": "REST",
190
+ "method": "PATCH",
191
+ "entitypath": "{base_path}/{version}/configuration/v1/groups/default_group?{query}",
192
+ "requestSchema": "schema.json",
193
+ "responseSchema": "schema.json",
194
+ "timeout": 0,
195
+ "sendEmpty": false,
196
+ "requestDatatype": "JSON",
197
+ "responseDatatype": "JSON",
198
+ "headers": {},
199
+ "responseObjects": [
200
+ {
201
+ "type": "default",
202
+ "key": "",
203
+ "mockFile": ""
204
+ }
205
+ ]
206
+ },
207
+ {
208
+ "name": "apiGroupsDeleteGroup",
209
+ "protocol": "REST",
210
+ "method": "DELETE",
211
+ "entitypath": "{base_path}/{version}/configuration/v1/groups/{pathv1}?{query}",
212
+ "requestSchema": "schema.json",
213
+ "responseSchema": "schema.json",
214
+ "timeout": 0,
215
+ "sendEmpty": false,
216
+ "requestDatatype": "JSON",
217
+ "responseDatatype": "JSON",
218
+ "headers": {},
219
+ "responseObjects": [
220
+ {
221
+ "type": "default",
222
+ "key": "",
223
+ "mockFile": ""
224
+ }
225
+ ]
226
+ },
227
+ {
228
+ "name": "apiGroupsGetGroup",
229
+ "protocol": "REST",
230
+ "method": "GET",
231
+ "entitypath": "{base_path}/{version}/configuration/v1/groups/{pathv1}?{query}",
232
+ "requestSchema": "schema.json",
233
+ "responseSchema": "schema.json",
234
+ "timeout": 0,
235
+ "sendEmpty": false,
236
+ "sendGetBody": false,
237
+ "requestDatatype": "JSON",
238
+ "responseDatatype": "JSON",
239
+ "headers": {},
240
+ "responseObjects": [
241
+ {
242
+ "type": "default",
243
+ "key": "",
244
+ "mockFile": ""
245
+ }
246
+ ]
247
+ },
248
+ {
249
+ "name": "apiGroupsGetGroups",
250
+ "protocol": "REST",
251
+ "method": "GET",
252
+ "entitypath": "{base_path}/{version}/configuration/v1/groups?{query}",
253
+ "requestSchema": "schema.json",
254
+ "responseSchema": "schema.json",
255
+ "timeout": 0,
256
+ "sendEmpty": false,
257
+ "sendGetBody": false,
258
+ "requestDatatype": "JSON",
259
+ "responseDatatype": "JSON",
260
+ "headers": {},
261
+ "responseObjects": [
262
+ {
263
+ "type": "default",
264
+ "key": "",
265
+ "mockFile": "mockdatafiles/apiGroupsGetGroups-default.json"
266
+ }
267
+ ]
268
+ },
269
+ {
270
+ "name": "apiGroupsCreateGroup",
271
+ "protocol": "REST",
272
+ "method": "POST",
273
+ "entitypath": "{base_path}/{version}/configuration/v1/groups?{query}",
274
+ "requestSchema": "schema.json",
275
+ "responseSchema": "schema.json",
276
+ "timeout": 0,
277
+ "sendEmpty": false,
278
+ "requestDatatype": "JSON",
279
+ "responseDatatype": "JSON",
280
+ "headers": {},
281
+ "responseObjects": [
282
+ {
283
+ "type": "default",
284
+ "key": "",
285
+ "mockFile": ""
286
+ }
287
+ ]
288
+ }
289
+ ]
290
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "total": 9,
3
+ "data": [
4
+ {
5
+ "group": "Central_Group",
6
+ "group_attributes": {
7
+ "group_password": "Aru2Ba@",
8
+ "template_group": false
9
+ }
10
+ },
11
+ {
12
+ "group": "Central_Group",
13
+ "group_attributes": {
14
+ "group_password": "Aru2Ba@",
15
+ "template_group": true
16
+ }
17
+ },
18
+ {
19
+ "group": "Central_Group",
20
+ "group_attributes": {
21
+ "group_password": "Aru2Ba@",
22
+ "template_group": false
23
+ }
24
+ },
25
+ {
26
+ "group": "Central_Group",
27
+ "group_attributes": {
28
+ "group_password": "Aru2Ba@",
29
+ "template_group": true
30
+ }
31
+ },
32
+ {
33
+ "group": "Central_Group",
34
+ "group_attributes": {
35
+ "group_password": "Aru2Ba@",
36
+ "template_group": true
37
+ }
38
+ },
39
+ {
40
+ "group": "Central_Group",
41
+ "group_attributes": {
42
+ "group_password": "Aru2Ba@",
43
+ "template_group": true
44
+ }
45
+ },
46
+ {
47
+ "group": "Central_Group",
48
+ "group_attributes": {
49
+ "group_password": "Aru2Ba@",
50
+ "template_group": true
51
+ }
52
+ }
53
+ ]
54
+ }
@@ -0,0 +1,224 @@
1
+ {
2
+ "data": [
3
+ {
4
+ "group": "string",
5
+ "properties": {
6
+ "AllowedDevTypes": [
7
+ "AccessPoints",
8
+ "Gateways",
9
+ "Switches"
10
+ ],
11
+ "Architecture": "Instant",
12
+ "ApNetworkRole": "Microbranch",
13
+ "GwNetworkRole": "WLANGateway",
14
+ "AllowedSwitchTypes": [
15
+ "AOS_CX",
16
+ "AOS_S",
17
+ "AOS_S",
18
+ "AOS_CX",
19
+ "AOS_CX",
20
+ "AOS_CX",
21
+ "AOS_S",
22
+ "AOS_CX",
23
+ "AOS_CX"
24
+ ],
25
+ "MonitorOnly": [],
26
+ "AOSVersion": "AOS_10X",
27
+ "MonitorOnlySwitch": true
28
+ }
29
+ },
30
+ {
31
+ "group": "string",
32
+ "properties": {
33
+ "AllowedDevTypes": [
34
+ "AccessPoints",
35
+ "Gateways",
36
+ "Switches"
37
+ ],
38
+ "Architecture": "Instant",
39
+ "ApNetworkRole": "Standard",
40
+ "GwNetworkRole": "WLANGateway",
41
+ "AllowedSwitchTypes": [
42
+ "AOS_CX",
43
+ "AOS_S",
44
+ "AOS_S",
45
+ "AOS_CX"
46
+ ],
47
+ "MonitorOnly": [],
48
+ "AOSVersion": "AOS_10X",
49
+ "MonitorOnlySwitch": false
50
+ }
51
+ },
52
+ {
53
+ "group": "string",
54
+ "properties": {
55
+ "AllowedDevTypes": [
56
+ "AccessPoints",
57
+ "Gateways",
58
+ "Switches"
59
+ ],
60
+ "Architecture": "Instant",
61
+ "ApNetworkRole": "Microbranch",
62
+ "GwNetworkRole": "VPNConcentrator",
63
+ "AllowedSwitchTypes": [
64
+ "AOS_CX",
65
+ "AOS_CX",
66
+ "AOS_CX",
67
+ "AOS_CX",
68
+ "AOS_S",
69
+ "AOS_CX",
70
+ "AOS_CX",
71
+ "AOS_CX",
72
+ "AOS_S"
73
+ ],
74
+ "MonitorOnly": [],
75
+ "AOSVersion": "AOS_10X",
76
+ "MonitorOnlySwitch": false
77
+ }
78
+ },
79
+ {
80
+ "group": "string",
81
+ "properties": {
82
+ "AllowedDevTypes": [
83
+ "AccessPoints",
84
+ "Gateways",
85
+ "Switches"
86
+ ],
87
+ "Architecture": "Instant",
88
+ "ApNetworkRole": "Microbranch",
89
+ "GwNetworkRole": "WLANGateway",
90
+ "AllowedSwitchTypes": [
91
+ "AOS_S",
92
+ "AOS_S",
93
+ "AOS_S"
94
+ ],
95
+ "MonitorOnly": [],
96
+ "AOSVersion": "AOS_10X",
97
+ "MonitorOnlySwitch": true
98
+ }
99
+ },
100
+ {
101
+ "group": "string",
102
+ "properties": {
103
+ "AllowedDevTypes": [
104
+ "AccessPoints",
105
+ "Gateways",
106
+ "Switches"
107
+ ],
108
+ "Architecture": "AOS10",
109
+ "ApNetworkRole": "Microbranch",
110
+ "GwNetworkRole": "WLANGateway",
111
+ "AllowedSwitchTypes": [
112
+ "AOS_CX",
113
+ "AOS_S",
114
+ "AOS_CX"
115
+ ],
116
+ "MonitorOnly": [],
117
+ "AOSVersion": "AOS_10X",
118
+ "MonitorOnlySwitch": true
119
+ }
120
+ },
121
+ {
122
+ "group": "string",
123
+ "properties": {
124
+ "AllowedDevTypes": [
125
+ "AccessPoints",
126
+ "Gateways",
127
+ "Switches"
128
+ ],
129
+ "Architecture": "Instant",
130
+ "ApNetworkRole": "Standard",
131
+ "GwNetworkRole": "BranchGateway",
132
+ "AllowedSwitchTypes": [
133
+ "AOS_CX",
134
+ "AOS_S",
135
+ "AOS_S",
136
+ "AOS_CX",
137
+ "AOS_CX",
138
+ "AOS_S",
139
+ "AOS_CX",
140
+ "AOS_S",
141
+ "AOS_S",
142
+ "AOS_S"
143
+ ],
144
+ "MonitorOnly": [],
145
+ "AOSVersion": "AOS_10X",
146
+ "MonitorOnlySwitch": false
147
+ }
148
+ },
149
+ {
150
+ "group": "string",
151
+ "properties": {
152
+ "AllowedDevTypes": [
153
+ "AccessPoints",
154
+ "Gateways",
155
+ "Switches"
156
+ ],
157
+ "Architecture": "Instant",
158
+ "ApNetworkRole": "Standard",
159
+ "GwNetworkRole": "VPNConcentrator",
160
+ "AllowedSwitchTypes": [
161
+ "AOS_S",
162
+ "AOS_CX"
163
+ ],
164
+ "MonitorOnly": [],
165
+ "AOSVersion": "AOS_10X",
166
+ "MonitorOnlySwitch": true
167
+ }
168
+ },
169
+ {
170
+ "group": "string",
171
+ "properties": {
172
+ "AllowedDevTypes": [
173
+ "AccessPoints",
174
+ "Gateways",
175
+ "Switches"
176
+ ],
177
+ "Architecture": "Instant",
178
+ "ApNetworkRole": "Standard",
179
+ "GwNetworkRole": "VPNConcentrator",
180
+ "AllowedSwitchTypes": [
181
+ "AOS_S",
182
+ "AOS_S",
183
+ "AOS_S",
184
+ "AOS_CX",
185
+ "AOS_CX",
186
+ "AOS_CX",
187
+ "AOS_CX",
188
+ "AOS_S"
189
+ ],
190
+ "MonitorOnly": [],
191
+ "AOSVersion": "AOS_10X",
192
+ "MonitorOnlySwitch": true
193
+ }
194
+ },
195
+ {
196
+ "group": "string",
197
+ "properties": {
198
+ "AllowedDevTypes": [
199
+ "AccessPoints",
200
+ "Gateways",
201
+ "Switches"
202
+ ],
203
+ "Architecture": "Instant",
204
+ "ApNetworkRole": "Standard",
205
+ "GwNetworkRole": "BranchGateway",
206
+ "AllowedSwitchTypes": [
207
+ "AOS_S",
208
+ "AOS_S",
209
+ "AOS_S",
210
+ "AOS_CX",
211
+ "AOS_CX",
212
+ "AOS_CX",
213
+ "AOS_CX",
214
+ "AOS_S",
215
+ "AOS_CX",
216
+ "AOS_CX"
217
+ ],
218
+ "MonitorOnly": [],
219
+ "AOSVersion": "AOS_10X",
220
+ "MonitorOnlySwitch": false
221
+ }
222
+ }
223
+ ]
224
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "data": [
3
+ {
4
+ "group": "string",
5
+ "template_info": {
6
+ "Wired": true,
7
+ "Wireless": true
8
+ }
9
+ }
10
+ ]
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "total": 9,
3
+ "data": [
4
+ "Central_Group",
5
+ "Central_Group",
6
+ "Central_Group",
7
+ "Central_Group",
8
+ "Central_Group",
9
+ "Central_Group"
10
+ ]
11
+ }
@@ -0,0 +1,32 @@
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": "",
12
+ "enum": [
13
+ "apiGroupsGetGroupsV2",
14
+ "apiGroupsCreateGroupV2",
15
+ "apiGroupsCreateGroupV3",
16
+ "apiGroupsCloneGroup",
17
+ "apiGroupsGetGroupsTemplateData",
18
+ "apiGroupsGetGroupsProperties",
19
+ "apiGroupsUpdateGroupPropertiesV2",
20
+ "apiGroupsUpdateGroupName",
21
+ "apiGroupsGetCustDefaultGroup",
22
+ "apiGroupsSetCustDefaultGroup",
23
+ "apiGroupsDeleteGroup",
24
+ "apiGroupsGetGroup",
25
+ "apiGroupsGetGroups",
26
+ "apiGroupsCreateGroup"
27
+ ],
28
+ "external_name": "ph_request_type"
29
+ }
30
+ },
31
+ "definitions": {}
32
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "apiInstallManagerExternalApiInviteInstaller",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/v1/invite_installer?{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
+ }
@@ -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": "",
12
+ "enum": [
13
+ "apiInstallManagerExternalApiInviteInstaller"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }