@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,214 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "apiExternalControllerGetWirelessClients",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/monitoring/v1/clients/wireless?{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": "apiExternalControllerGetWiredClients",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/monitoring/v1/clients/wired?{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": "apiExternalControllerGetV2UnifiedClients",
47
+ "protocol": "REST",
48
+ "method": "GET",
49
+ "entitypath": "{base_path}/{version}/monitoring/v2/clients?{query}",
50
+ "requestSchema": "schema.json",
51
+ "responseSchema": "schema.json",
52
+ "timeout": 0,
53
+ "sendEmpty": false,
54
+ "sendGetBody": false,
55
+ "requestDatatype": "JSON",
56
+ "responseDatatype": "JSON",
57
+ "headers": {},
58
+ "responseObjects": [
59
+ {
60
+ "type": "default",
61
+ "key": "",
62
+ "mockFile": ""
63
+ }
64
+ ]
65
+ },
66
+ {
67
+ "name": "apiExternalControllerGetV2UnifiedClientDetail",
68
+ "protocol": "REST",
69
+ "method": "GET",
70
+ "entitypath": "{base_path}/{version}/monitoring/v2/clients/{pathv1}?{query}",
71
+ "requestSchema": "schema.json",
72
+ "responseSchema": "schema.json",
73
+ "timeout": 0,
74
+ "sendEmpty": false,
75
+ "sendGetBody": false,
76
+ "requestDatatype": "JSON",
77
+ "responseDatatype": "JSON",
78
+ "headers": {},
79
+ "responseObjects": [
80
+ {
81
+ "type": "default",
82
+ "key": "",
83
+ "mockFile": ""
84
+ }
85
+ ]
86
+ },
87
+ {
88
+ "name": "apiExternalControllerGetWirelessClient",
89
+ "protocol": "REST",
90
+ "method": "GET",
91
+ "entitypath": "{base_path}/{version}/monitoring/v1/clients/wireless/{pathv1}?{query}",
92
+ "requestSchema": "schema.json",
93
+ "responseSchema": "schema.json",
94
+ "timeout": 0,
95
+ "sendEmpty": false,
96
+ "sendGetBody": false,
97
+ "requestDatatype": "JSON",
98
+ "responseDatatype": "JSON",
99
+ "headers": {},
100
+ "responseObjects": [
101
+ {
102
+ "type": "default",
103
+ "key": "",
104
+ "mockFile": ""
105
+ }
106
+ ]
107
+ },
108
+ {
109
+ "name": "apiExternalControllerGetWirelessClientMobility",
110
+ "protocol": "REST",
111
+ "method": "GET",
112
+ "entitypath": "{base_path}/{version}/monitoring/v1/clients/wireless/{pathv1}/mobility_trail?{query}",
113
+ "requestSchema": "schema.json",
114
+ "responseSchema": "schema.json",
115
+ "timeout": 0,
116
+ "sendEmpty": false,
117
+ "sendGetBody": false,
118
+ "requestDatatype": "JSON",
119
+ "responseDatatype": "JSON",
120
+ "headers": {},
121
+ "responseObjects": [
122
+ {
123
+ "type": "default",
124
+ "key": "",
125
+ "mockFile": ""
126
+ }
127
+ ]
128
+ },
129
+ {
130
+ "name": "apiExternalControllerGetWiredClient",
131
+ "protocol": "REST",
132
+ "method": "GET",
133
+ "entitypath": "{base_path}/{version}/monitoring/v1/clients/wired/{pathv1}?{query}",
134
+ "requestSchema": "schema.json",
135
+ "responseSchema": "schema.json",
136
+ "timeout": 0,
137
+ "sendEmpty": false,
138
+ "sendGetBody": false,
139
+ "requestDatatype": "JSON",
140
+ "responseDatatype": "JSON",
141
+ "headers": {},
142
+ "responseObjects": [
143
+ {
144
+ "type": "default",
145
+ "key": "",
146
+ "mockFile": ""
147
+ }
148
+ ]
149
+ },
150
+ {
151
+ "name": "apiExternalControllerGetClientsBandwidthUsage",
152
+ "protocol": "REST",
153
+ "method": "GET",
154
+ "entitypath": "{base_path}/{version}/monitoring/v1/clients/bandwidth_usage?{query}",
155
+ "requestSchema": "schema.json",
156
+ "responseSchema": "schema.json",
157
+ "timeout": 0,
158
+ "sendEmpty": false,
159
+ "sendGetBody": false,
160
+ "requestDatatype": "JSON",
161
+ "responseDatatype": "JSON",
162
+ "headers": {},
163
+ "responseObjects": [
164
+ {
165
+ "type": "default",
166
+ "key": "",
167
+ "mockFile": ""
168
+ }
169
+ ]
170
+ },
171
+ {
172
+ "name": "apiExternalControllerGetClientsBandwidthUsageTopn",
173
+ "protocol": "REST",
174
+ "method": "GET",
175
+ "entitypath": "{base_path}/{version}/monitoring/v1/clients/bandwidth_usage/topn?{query}",
176
+ "requestSchema": "schema.json",
177
+ "responseSchema": "schema.json",
178
+ "timeout": 0,
179
+ "sendEmpty": false,
180
+ "sendGetBody": false,
181
+ "requestDatatype": "JSON",
182
+ "responseDatatype": "JSON",
183
+ "headers": {},
184
+ "responseObjects": [
185
+ {
186
+ "type": "default",
187
+ "key": "",
188
+ "mockFile": ""
189
+ }
190
+ ]
191
+ },
192
+ {
193
+ "name": "apiExternalControllerGetClientsCount",
194
+ "protocol": "REST",
195
+ "method": "GET",
196
+ "entitypath": "{base_path}/{version}/monitoring/v1/clients/count?{query}",
197
+ "requestSchema": "schema.json",
198
+ "responseSchema": "schema.json",
199
+ "timeout": 0,
200
+ "sendEmpty": false,
201
+ "sendGetBody": false,
202
+ "requestDatatype": "JSON",
203
+ "responseDatatype": "JSON",
204
+ "headers": {},
205
+ "responseObjects": [
206
+ {
207
+ "type": "default",
208
+ "key": "",
209
+ "mockFile": ""
210
+ }
211
+ ]
212
+ }
213
+ ]
214
+ }
@@ -0,0 +1,193 @@
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": "apiExternalControllerGetWirelessClients",
12
+ "enum": [
13
+ "apiExternalControllerGetWirelessClients",
14
+ "apiExternalControllerGetWiredClients",
15
+ "apiExternalControllerGetV2UnifiedClients",
16
+ "apiExternalControllerGetV2UnifiedClientDetail",
17
+ "apiExternalControllerGetWirelessClient",
18
+ "apiExternalControllerGetWirelessClientMobility",
19
+ "apiExternalControllerGetWiredClient",
20
+ "apiExternalControllerGetClientsBandwidthUsage",
21
+ "apiExternalControllerGetClientsBandwidthUsageTopn",
22
+ "apiExternalControllerGetClientsCount"
23
+ ],
24
+ "external_name": "ph_request_type"
25
+ },
26
+ "swarmId": {
27
+ "type": "string",
28
+ "description": "Filter by Swarm ID. Field supported for AP clients only",
29
+ "parse": false,
30
+ "encode": false,
31
+ "encrypt": {
32
+ "type": "AES",
33
+ "key": ""
34
+ },
35
+ "external_name": "swarm_id"
36
+ },
37
+ "osType": {
38
+ "type": "string",
39
+ "description": "Filter by OS Type",
40
+ "parse": false,
41
+ "encode": false,
42
+ "encrypt": {
43
+ "type": "AES",
44
+ "key": ""
45
+ },
46
+ "external_name": "os_type"
47
+ },
48
+ "clusterId": {
49
+ "type": "string",
50
+ "description": "Filter by Mobility Controller serial number",
51
+ "parse": false,
52
+ "encode": false,
53
+ "encrypt": {
54
+ "type": "AES",
55
+ "key": ""
56
+ },
57
+ "external_name": "cluster_id"
58
+ },
59
+ "calculateTotal": {
60
+ "type": "boolean",
61
+ "description": "Whether to calculate total transitions",
62
+ "parse": false,
63
+ "encode": false,
64
+ "encrypt": {
65
+ "type": "AES",
66
+ "key": ""
67
+ },
68
+ "external_name": "calculate_total"
69
+ },
70
+ "lastClientMac": {
71
+ "type": "string",
72
+ "description": "Input the last processed client mac that got received in your last response. Please note that when last_client_mac is inputted , offset will not make any sense and by def...(description truncated)",
73
+ "parse": false,
74
+ "encode": false,
75
+ "encrypt": {
76
+ "type": "AES",
77
+ "key": ""
78
+ },
79
+ "external_name": "last_client_mac"
80
+ },
81
+ "stackId": {
82
+ "type": "string",
83
+ "description": "Filter by Switch stack_id",
84
+ "parse": false,
85
+ "encode": false,
86
+ "encrypt": {
87
+ "type": "AES",
88
+ "key": ""
89
+ },
90
+ "external_name": "stack_id"
91
+ },
92
+ "clientType": {
93
+ "type": "string",
94
+ "description": "WIRED = List Wired Clients, WIRELESS = List Wireless Clients.",
95
+ "parse": false,
96
+ "encode": false,
97
+ "encrypt": {
98
+ "type": "AES",
99
+ "key": ""
100
+ },
101
+ "external_name": "client_type"
102
+ },
103
+ "clientStatus": {
104
+ "type": "string",
105
+ "description": "CONNECTED = List Connected Clients, FAILED_TO_CONNECT = List Failed Clients.\nFailed to connect status not supported for wired clients.",
106
+ "parse": false,
107
+ "encode": false,
108
+ "encrypt": {
109
+ "type": "AES",
110
+ "key": ""
111
+ },
112
+ "external_name": "client_status"
113
+ },
114
+ "showUsage": {
115
+ "type": "boolean",
116
+ "description": "Whether to show usage",
117
+ "parse": false,
118
+ "encode": false,
119
+ "encrypt": {
120
+ "type": "AES",
121
+ "key": ""
122
+ },
123
+ "external_name": "show_usage"
124
+ },
125
+ "showManufacturer": {
126
+ "type": "boolean",
127
+ "description": "Whether to show manufacturer",
128
+ "parse": false,
129
+ "encode": false,
130
+ "encrypt": {
131
+ "type": "AES",
132
+ "key": ""
133
+ },
134
+ "external_name": "show_manufacturer"
135
+ },
136
+ "showSignalDb": {
137
+ "type": "boolean",
138
+ "description": "Whether to show signal_db and signal_strength. Field supported for wireless clients only",
139
+ "parse": false,
140
+ "encode": false,
141
+ "encrypt": {
142
+ "type": "AES",
143
+ "key": ""
144
+ },
145
+ "external_name": "show_signal_db"
146
+ },
147
+ "fromTimestamp": {
148
+ "type": "number",
149
+ "description": "Need information from this timestamp. Timestamp is epoch in seconds. Default is current timestamp minus 3 hours",
150
+ "parse": false,
151
+ "encode": false,
152
+ "encrypt": {
153
+ "type": "AES",
154
+ "key": ""
155
+ },
156
+ "external_name": "from_timestamp"
157
+ },
158
+ "toTimestamp": {
159
+ "type": "number",
160
+ "description": "Need information to this timestamp. Timestamp is epoch in seconds. Default is current timestamp",
161
+ "parse": false,
162
+ "encode": false,
163
+ "encrypt": {
164
+ "type": "AES",
165
+ "key": ""
166
+ },
167
+ "external_name": "to_timestamp"
168
+ },
169
+ "deviceType": {
170
+ "type": "string",
171
+ "description": "Filter by device type. Value can be either "AP" or "Switch"",
172
+ "parse": false,
173
+ "encode": false,
174
+ "encrypt": {
175
+ "type": "AES",
176
+ "key": ""
177
+ },
178
+ "external_name": "device_type"
179
+ },
180
+ "radioNumber": {
181
+ "type": "number",
182
+ "description": "Filter by radio_number (0, 1 or 2). Valid only when serial parameter is specified. If band is provided and radio_number is not provided then radio_number is defaulted to ...(description truncated)",
183
+ "parse": false,
184
+ "encode": false,
185
+ "encrypt": {
186
+ "type": "AES",
187
+ "key": ""
188
+ },
189
+ "external_name": "radio_number"
190
+ }
191
+ },
192
+ "definitions": {}
193
+ }
@@ -0,0 +1,189 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "apiGroupsCreateSnapshotForGroup",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/configuration/v1/groups/snapshot/{pathv1}?{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": "apiGroupsCreateSnapshotsForMultipleGroups",
25
+ "protocol": "REST",
26
+ "method": "POST",
27
+ "entitypath": "{base_path}/{version}/configuration/v1/groups/snapshot/backups?{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": "apiGroupsGetSnapshotsForGroup",
45
+ "protocol": "REST",
46
+ "method": "GET",
47
+ "entitypath": "{base_path}/{version}/configuration/v1/groups/{pathv1}/snapshots?{query}",
48
+ "requestSchema": "schema.json",
49
+ "responseSchema": "schema.json",
50
+ "timeout": 0,
51
+ "sendEmpty": false,
52
+ "sendGetBody": false,
53
+ "requestDatatype": "JSON",
54
+ "responseDatatype": "JSON",
55
+ "headers": {},
56
+ "responseObjects": [
57
+ {
58
+ "type": "default",
59
+ "key": "",
60
+ "mockFile": "mockdatafiles/apiGroupsGetSnapshotsForGroup-default.json"
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "apiGroupsUpdateDoNotDelete",
66
+ "protocol": "REST",
67
+ "method": "PATCH",
68
+ "entitypath": "{base_path}/{version}/configuration/v1/groups/{pathv1}/snapshots?{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": "apiGroupsGetLastRestoreLogsForGroup",
86
+ "protocol": "REST",
87
+ "method": "GET",
88
+ "entitypath": "{base_path}/{version}/configuration/v1/groups/{pathv1}/last_restore_log?{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/apiGroupsGetLastRestoreLogsForGroup-default.json"
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "name": "apiGroupsGetBackupLogForSnapshot",
107
+ "protocol": "REST",
108
+ "method": "GET",
109
+ "entitypath": "{base_path}/{version}/configuration/v1/groups/{pathv1}/snapshots/{pathv2}/backup_log?{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/apiGroupsGetBackupLogForSnapshot-default.json"
123
+ }
124
+ ]
125
+ },
126
+ {
127
+ "name": "apiGroupsGetBackupStatusForSnapshot",
128
+ "protocol": "REST",
129
+ "method": "GET",
130
+ "entitypath": "{base_path}/{version}/configuration/v1/groups/{pathv1}/snapshots/{pathv2}/backup_status?{query}",
131
+ "requestSchema": "schema.json",
132
+ "responseSchema": "schema.json",
133
+ "timeout": 0,
134
+ "sendEmpty": false,
135
+ "sendGetBody": false,
136
+ "requestDatatype": "JSON",
137
+ "responseDatatype": "JSON",
138
+ "headers": {},
139
+ "responseObjects": [
140
+ {
141
+ "type": "default",
142
+ "key": "",
143
+ "mockFile": "mockdatafiles/apiGroupsGetBackupStatusForSnapshot-default.json"
144
+ }
145
+ ]
146
+ },
147
+ {
148
+ "name": "apiGroupsGetRestoreStatusForSnapshot",
149
+ "protocol": "REST",
150
+ "method": "GET",
151
+ "entitypath": "{base_path}/{version}/configuration/v1/groups/{pathv1}/snapshots/{pathv2}/restore_status?{query}",
152
+ "requestSchema": "schema.json",
153
+ "responseSchema": "schema.json",
154
+ "timeout": 0,
155
+ "sendEmpty": false,
156
+ "sendGetBody": false,
157
+ "requestDatatype": "JSON",
158
+ "responseDatatype": "JSON",
159
+ "headers": {},
160
+ "responseObjects": [
161
+ {
162
+ "type": "default",
163
+ "key": "",
164
+ "mockFile": "mockdatafiles/apiGroupsGetRestoreStatusForSnapshot-default.json"
165
+ }
166
+ ]
167
+ },
168
+ {
169
+ "name": "apiGroupsRestoreSnapshotForGroup",
170
+ "protocol": "REST",
171
+ "method": "POST",
172
+ "entitypath": "{base_path}/{version}/configuration/v1/groups/{pathv1}/snapshots/{pathv2}/restore?{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": ""
185
+ }
186
+ ]
187
+ }
188
+ ]
189
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "total": 1,
3
+ "data": [
4
+ {
5
+ "name": "Group_snapshot_11_4",
6
+ "do_not_delete": false,
7
+ "backup_start_timestamp": 1524379131,
8
+ "created_by": "abc@xyz.com"
9
+ },
10
+ {
11
+ "name": "Group_snapshot_11_4",
12
+ "do_not_delete": true,
13
+ "backup_start_timestamp": 1524379131,
14
+ "created_by": "abc@xyz.com"
15
+ },
16
+ {
17
+ "name": "Group_snapshot_11_4",
18
+ "do_not_delete": false,
19
+ "backup_start_timestamp": 1524379131,
20
+ "created_by": "abc@xyz.com"
21
+ },
22
+ {
23
+ "name": "Group_snapshot_11_4",
24
+ "do_not_delete": true,
25
+ "backup_start_timestamp": 1524379131,
26
+ "created_by": "abc@xyz.com"
27
+ },
28
+ {
29
+ "name": "Group_snapshot_11_4",
30
+ "do_not_delete": true,
31
+ "backup_start_timestamp": 1524379131,
32
+ "created_by": "abc@xyz.com"
33
+ },
34
+ {
35
+ "name": "Group_snapshot_11_4",
36
+ "do_not_delete": true,
37
+ "backup_start_timestamp": 1524379131,
38
+ "created_by": "abc@xyz.com"
39
+ },
40
+ {
41
+ "name": "Group_snapshot_11_4",
42
+ "do_not_delete": true,
43
+ "backup_start_timestamp": 1524379131,
44
+ "created_by": "abc@xyz.com"
45
+ },
46
+ {
47
+ "name": "Group_snapshot_11_4",
48
+ "do_not_delete": true,
49
+ "backup_start_timestamp": 1524379131,
50
+ "created_by": "abc@xyz.com"
51
+ },
52
+ {
53
+ "name": "Group_snapshot_11_4",
54
+ "do_not_delete": true,
55
+ "backup_start_timestamp": 1524379131,
56
+ "created_by": "abc@xyz.com"
57
+ },
58
+ {
59
+ "name": "Group_snapshot_11_4",
60
+ "do_not_delete": true,
61
+ "backup_start_timestamp": 1524379131,
62
+ "created_by": "abc@xyz.com"
63
+ }
64
+ ]
65
+ }