@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.
- package/.eslintignore +6 -0
- package/.eslintrc.js +18 -0
- package/.gitlab/.gitkeep +0 -0
- package/.gitlab/issue_templates/.gitkeep +0 -0
- package/.gitlab/issue_templates/Default.md +17 -0
- package/.gitlab/issue_templates/bugReportTemplate.md +76 -0
- package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
- package/.jshintrc +0 -0
- package/AUTH.md +39 -0
- package/BROKER.md +199 -0
- package/CALLS.md +170 -0
- package/CHANGELOG.md +9 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +172 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +641 -0
- package/README.md +337 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +11 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +23717 -0
- package/adapterBase.js +1787 -0
- package/adapter_modifications/README.md +59 -0
- package/adapter_modifications/specificCallScript.js +97 -0
- package/adapter_modifications/update.js +532 -0
- package/adapter_modifications/updateFiles/components/adapter.js +164 -0
- package/adapter_modifications/updateFiles/components/entities/Installers/action.json +22 -0
- package/adapter_modifications/updateFiles/components/entities/Installers/mockdatafiles/mockdata.json +1 -0
- package/adapter_modifications/updateFiles/components/entities/Installers/schema.json +20 -0
- package/adapter_modifications/updateFiles/components/entities/Sites/action.json +22 -0
- package/adapter_modifications/updateFiles/components/entities/Sites/mockdatafiles/mockdata.json +1 -0
- package/adapter_modifications/updateFiles/components/entities/Sites/schema.json +20 -0
- package/adapter_modifications/updateFiles/components/methods.json +204 -0
- package/adapter_modifications/updateFiles/components/pronghorn.json +77 -0
- package/adapter_modifications/updateFiles/components/test/integration/adapterTestIntegration.js +76 -0
- package/adapter_modifications/updateFiles/components/test/unit/adapterTestUnit.js +58 -0
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -0
- package/entities/.system/action.json +50 -0
- package/entities/.system/mockdatafiles/getToken-default.json +3 -0
- package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
- package/entities/.system/schema.json +19 -0
- package/entities/.system/schemaTokenReq.json +53 -0
- package/entities/.system/schemaTokenResp.json +53 -0
- package/entities/AOSS/action.json +168 -0
- package/entities/AOSS/mockdatafiles/apiHppcSwitchGetDevicePorts-default.json +17 -0
- package/entities/AOSS/mockdatafiles/apiHppcSwitchGetDeviceVlans-default.json +65 -0
- package/entities/AOSS/mockdatafiles/apiHppcSwitchGetGroupPorts-default.json +17 -0
- package/entities/AOSS/mockdatafiles/apiHppcSwitchGetGroupVlans-default.json +125 -0
- package/entities/AOSS/schema.json +26 -0
- package/entities/AP/action.json +150 -0
- package/entities/AP/schema.json +135 -0
- package/entities/APConfiguration/action.json +394 -0
- package/entities/APConfiguration/mockdatafiles/apiApClisGetApSettingsClis-default.json +3 -0
- package/entities/APConfiguration/mockdatafiles/apiApClisGetConfigurationClis-default.json +3 -0
- package/entities/APConfiguration/mockdatafiles/apiApClisGetDirtyDiff-default.json +10 -0
- package/entities/APConfiguration/mockdatafiles/apiApClisGetSwarmVariables-default.json +112 -0
- package/entities/APConfiguration/mockdatafiles/apiSystemConfigGetSystemConfig-default.json +10 -0
- package/entities/APConfiguration/schema.json +37 -0
- package/entities/APSettings/action.json +86 -0
- package/entities/APSettings/mockdatafiles/apiApSettingsGetApSettings-default.json +4 -0
- package/entities/APSettings/mockdatafiles/apiApSettingsGetApSettingsV2-default.json +5 -0
- package/entities/APSettings/schema.json +22 -0
- package/entities/CXConfiguration/action.json +250 -0
- package/entities/CXConfiguration/schema.json +30 -0
- package/entities/CaptivePortalLogo/action.json +65 -0
- package/entities/CaptivePortalLogo/mockdatafiles/apiCpLogoGetCpLogos-default.json +21 -0
- package/entities/CaptivePortalLogo/schema.json +21 -0
- package/entities/Certificates/action.json +85 -0
- package/entities/Certificates/mockdatafiles/apiCertificatesGetCertificates-default.json +29 -0
- package/entities/Certificates/schema.json +22 -0
- package/entities/Client/action.json +214 -0
- package/entities/Client/schema.json +193 -0
- package/entities/ConfigurationBackupAndRestore/action.json +189 -0
- package/entities/ConfigurationBackupAndRestore/mockdatafiles/apiGroupsGetBackupLogForSnapshot-default.json +3 -0
- package/entities/ConfigurationBackupAndRestore/mockdatafiles/apiGroupsGetBackupStatusForSnapshot-default.json +3 -0
- package/entities/ConfigurationBackupAndRestore/mockdatafiles/apiGroupsGetLastRestoreLogsForGroup-default.json +3 -0
- package/entities/ConfigurationBackupAndRestore/mockdatafiles/apiGroupsGetRestoreStatusForSnapshot-default.json +3 -0
- package/entities/ConfigurationBackupAndRestore/mockdatafiles/apiGroupsGetSnapshotsForGroup-default.json +65 -0
- package/entities/ConfigurationBackupAndRestore/schema.json +27 -0
- package/entities/ConfigurationMode/action.json +148 -0
- package/entities/ConfigurationMode/mockdatafiles/apiConfigModeGetCustConfigMode-default.json +35 -0
- package/entities/ConfigurationMode/mockdatafiles/apiConfigModeGetDeviceConfigMode-default.json +21 -0
- package/entities/ConfigurationMode/mockdatafiles/apiConfigModeGetDeviceSerialsConfigMode-default.json +13 -0
- package/entities/ConfigurationMode/mockdatafiles/apiConfigModeGetGroupConfigMode-default.json +17 -0
- package/entities/ConfigurationMode/schema.json +25 -0
- package/entities/DenylistClients/action.json +65 -0
- package/entities/DenylistClients/mockdatafiles/apiBlacklistClientGetBlacklistClients-default.json +13 -0
- package/entities/DenylistClients/schema.json +21 -0
- package/entities/Devices/action.json +191 -0
- package/entities/Devices/mockdatafiles/apiDevicesGetDevicesTemplateDetails-default.json +13 -0
- package/entities/Devices/mockdatafiles/apiDevicesGetGroupsTemplateDetails-default.json +13 -0
- package/entities/Devices/mockdatafiles/apiDevicesGetHashTemplateDetails-default.json +13 -0
- package/entities/Devices/schema.json +27 -0
- package/entities/Events/action.json +46 -0
- package/entities/Events/schema.json +130 -0
- package/entities/Gateway/action.json +318 -0
- package/entities/Gateway/schema.json +99 -0
- package/entities/Groups/action.json +290 -0
- package/entities/Groups/mockdatafiles/apiGroupsGetGroups-default.json +54 -0
- package/entities/Groups/mockdatafiles/apiGroupsGetGroupsProperties-default.json +224 -0
- package/entities/Groups/mockdatafiles/apiGroupsGetGroupsTemplateData-default.json +11 -0
- package/entities/Groups/mockdatafiles/apiGroupsGetGroupsV2-default.json +11 -0
- package/entities/Groups/schema.json +32 -0
- package/entities/Installers/action.json +24 -0
- package/entities/Installers/schema.json +19 -0
- package/entities/Label/action.json +228 -0
- package/entities/Label/schema.json +62 -0
- package/entities/MMMD/action.json +24 -0
- package/entities/MMMD/schema.json +19 -0
- package/entities/MSPTemplates/action.json +250 -0
- package/entities/MSPTemplates/mockdatafiles/apiTemplatesGetEndCustomerTemplates-default.json +23 -0
- package/entities/MSPTemplates/mockdatafiles/apiTemplatesGetMspCustomerTemplates-default.json +65 -0
- package/entities/MSPTemplates/mockdatafiles/apiTemplatesGetMspTmplDifferCustsGroups-default.json +110 -0
- package/entities/MSPTemplates/mockdatafiles/apiTemplatesGetMspTmplEndCustDifferGroups-default.json +13 -0
- package/entities/MSPTemplates/schema.json +30 -0
- package/entities/MobilityController/action.json +191 -0
- package/entities/MobilityController/schema.json +71 -0
- package/entities/NBUIGroupConfiguration/action.json +45 -0
- package/entities/NBUIGroupConfiguration/mockdatafiles/apiNbUiGroupConfigGetGroupCountry-default.json +3 -0
- package/entities/NBUIGroupConfiguration/schema.json +20 -0
- package/entities/Network/action.json +67 -0
- package/entities/Network/schema.json +76 -0
- package/entities/PreProvisionedGroup/action.json +44 -0
- package/entities/PreProvisionedGroup/schema.json +20 -0
- package/entities/SaveCommit/action.json +126 -0
- package/entities/SaveCommit/mockdatafiles/apiSaveCommitGetDeviceSerialsAutoCommitState-default.json +17 -0
- package/entities/SaveCommit/mockdatafiles/apiSaveCommitGetGroupsAutoCommitState-default.json +29 -0
- package/entities/SaveCommit/schema.json +24 -0
- package/entities/Site/action.json +186 -0
- package/entities/Site/schema.json +49 -0
- package/entities/Sites/action.json +24 -0
- package/entities/Sites/schema.json +19 -0
- package/entities/Swarm/action.json +88 -0
- package/entities/Swarm/schema.json +88 -0
- package/entities/SwarmConfig/action.json +86 -0
- package/entities/SwarmConfig/mockdatafiles/apiSwarmConfigGetSwarmConfig-default.json +4 -0
- package/entities/SwarmConfig/mockdatafiles/apiSwarmConfigGetSwarmConfigV2-default.json +7 -0
- package/entities/SwarmConfig/schema.json +22 -0
- package/entities/Switch/action.json +548 -0
- package/entities/Switch/schema.json +198 -0
- package/entities/Templates/action.json +106 -0
- package/entities/Templates/mockdatafiles/apiTemplatesGetTemplates-default.json +37 -0
- package/entities/Templates/schema.json +23 -0
- package/entities/VPN/action.json +45 -0
- package/entities/VPN/schema.json +31 -0
- package/entities/Variables/action.json +186 -0
- package/entities/Variables/mockdatafiles/apiDevicesGetDeviceTemplateVariables-default.json +10 -0
- package/entities/Variables/schema.json +27 -0
- package/entities/VariablesFirewall/action.json +126 -0
- package/entities/VariablesFirewall/schema.json +24 -0
- package/entities/WLANConfiguration/action.json +579 -0
- package/entities/WLANConfiguration/schema.json +46 -0
- package/error.json +190 -0
- package/package.json +86 -0
- package/pronghorn.json +20904 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1248 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/aruba_central_monitoring.json +14224 -0
- package/report/creationReport.json +850 -0
- package/sampleProperties.json +195 -0
- package/test/integration/adapterTestBasicGet.js +83 -0
- package/test/integration/adapterTestConnectivity.js +93 -0
- package/test/integration/adapterTestIntegration.js +7773 -0
- package/test/unit/adapterBaseTestUnit.js +949 -0
- package/test/unit/adapterTestUnit.js +10516 -0
- package/updatePackage.zip +0 -0
- package/utils/adapterInfo.js +206 -0
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +146 -0
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +178 -0
- package/utils/findPath.js +74 -0
- package/utils/methodDocumentor.js +225 -0
- package/utils/modify.js +154 -0
- package/utils/packModificationScript.js +35 -0
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +32 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/tbScript.js +246 -0
- package/utils/tbUtils.js +490 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +195 -0
- package/versions.json +257 -0
- package/workflows/README.md +3 -0
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "labelsExternalControllerGetLabels",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/central/v1/labels?{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": "labelsExternalControllerCreateLabel",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/central/v1/labels?{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": "labelsExternalControllerGetDefaultLabels",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/central/v2/labels?{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": ""
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "labelsExternalControllerGetLabel",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "GET",
|
|
69
|
+
"entitypath": "{base_path}/{version}/central/v1/labels/{pathv1}?{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": ""
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "labelsExternalControllerUpdateLabel",
|
|
88
|
+
"protocol": "REST",
|
|
89
|
+
"method": "PATCH",
|
|
90
|
+
"entitypath": "{base_path}/{version}/central/v1/labels/{pathv1}?{query}",
|
|
91
|
+
"requestSchema": "schema.json",
|
|
92
|
+
"responseSchema": "schema.json",
|
|
93
|
+
"timeout": 0,
|
|
94
|
+
"sendEmpty": 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": "labelsExternalControllerDeleteLabel",
|
|
108
|
+
"protocol": "REST",
|
|
109
|
+
"method": "DELETE",
|
|
110
|
+
"entitypath": "{base_path}/{version}/central/v1/labels/{pathv1}?{query}",
|
|
111
|
+
"requestSchema": "schema.json",
|
|
112
|
+
"responseSchema": "schema.json",
|
|
113
|
+
"timeout": 0,
|
|
114
|
+
"sendEmpty": false,
|
|
115
|
+
"requestDatatype": "JSON",
|
|
116
|
+
"responseDatatype": "JSON",
|
|
117
|
+
"headers": {},
|
|
118
|
+
"responseObjects": [
|
|
119
|
+
{
|
|
120
|
+
"type": "default",
|
|
121
|
+
"key": "",
|
|
122
|
+
"mockFile": ""
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "labelsExternalControllerAssignLabel",
|
|
128
|
+
"protocol": "REST",
|
|
129
|
+
"method": "POST",
|
|
130
|
+
"entitypath": "{base_path}/{version}/central/v1/labels/associations?{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": "labelsExternalControllerUnassignLabel",
|
|
148
|
+
"protocol": "REST",
|
|
149
|
+
"method": "DELETE",
|
|
150
|
+
"entitypath": "{base_path}/{version}/central/v1/labels/associations?{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": "labelsExternalControllerAssignLabelToDevices",
|
|
168
|
+
"protocol": "REST",
|
|
169
|
+
"method": "POST",
|
|
170
|
+
"entitypath": "{base_path}/{version}/central/v2/labels/associations?{query}",
|
|
171
|
+
"requestSchema": "schema.json",
|
|
172
|
+
"responseSchema": "schema.json",
|
|
173
|
+
"timeout": 0,
|
|
174
|
+
"sendEmpty": false,
|
|
175
|
+
"requestDatatype": "JSON",
|
|
176
|
+
"responseDatatype": "JSON",
|
|
177
|
+
"headers": {},
|
|
178
|
+
"responseObjects": [
|
|
179
|
+
{
|
|
180
|
+
"type": "default",
|
|
181
|
+
"key": "",
|
|
182
|
+
"mockFile": ""
|
|
183
|
+
}
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "labelsExternalControllerUnassignLabelFromDevices",
|
|
188
|
+
"protocol": "REST",
|
|
189
|
+
"method": "DELETE",
|
|
190
|
+
"entitypath": "{base_path}/{version}/central/v2/labels/associations?{query}",
|
|
191
|
+
"requestSchema": "schema.json",
|
|
192
|
+
"responseSchema": "schema.json",
|
|
193
|
+
"timeout": 0,
|
|
194
|
+
"sendEmpty": false,
|
|
195
|
+
"requestDatatype": "JSON",
|
|
196
|
+
"responseDatatype": "JSON",
|
|
197
|
+
"headers": {},
|
|
198
|
+
"responseObjects": [
|
|
199
|
+
{
|
|
200
|
+
"type": "default",
|
|
201
|
+
"key": "",
|
|
202
|
+
"mockFile": ""
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "labelsExternalControllerGetLabelCategories",
|
|
208
|
+
"protocol": "REST",
|
|
209
|
+
"method": "GET",
|
|
210
|
+
"entitypath": "{base_path}/{version}/central/v1/labels/categories?{query}",
|
|
211
|
+
"requestSchema": "schema.json",
|
|
212
|
+
"responseSchema": "schema.json",
|
|
213
|
+
"timeout": 0,
|
|
214
|
+
"sendEmpty": false,
|
|
215
|
+
"sendGetBody": false,
|
|
216
|
+
"requestDatatype": "JSON",
|
|
217
|
+
"responseDatatype": "JSON",
|
|
218
|
+
"headers": {},
|
|
219
|
+
"responseObjects": [
|
|
220
|
+
{
|
|
221
|
+
"type": "default",
|
|
222
|
+
"key": "",
|
|
223
|
+
"mockFile": ""
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
}
|
|
227
|
+
]
|
|
228
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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": "labelsExternalControllerGetLabels",
|
|
12
|
+
"enum": [
|
|
13
|
+
"labelsExternalControllerGetLabels",
|
|
14
|
+
"labelsExternalControllerCreateLabel",
|
|
15
|
+
"labelsExternalControllerGetDefaultLabels",
|
|
16
|
+
"labelsExternalControllerGetLabel",
|
|
17
|
+
"labelsExternalControllerUpdateLabel",
|
|
18
|
+
"labelsExternalControllerDeleteLabel",
|
|
19
|
+
"labelsExternalControllerAssignLabel",
|
|
20
|
+
"labelsExternalControllerUnassignLabel",
|
|
21
|
+
"labelsExternalControllerAssignLabelToDevices",
|
|
22
|
+
"labelsExternalControllerUnassignLabelFromDevices",
|
|
23
|
+
"labelsExternalControllerGetLabelCategories"
|
|
24
|
+
],
|
|
25
|
+
"external_name": "ph_request_type"
|
|
26
|
+
},
|
|
27
|
+
"calculateTotal": {
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"description": "Whether to calculate total label categories",
|
|
30
|
+
"parse": false,
|
|
31
|
+
"encode": false,
|
|
32
|
+
"encrypt": {
|
|
33
|
+
"type": "AES",
|
|
34
|
+
"key": ""
|
|
35
|
+
},
|
|
36
|
+
"external_name": "calculate_total"
|
|
37
|
+
},
|
|
38
|
+
"categoryId": {
|
|
39
|
+
"type": "number",
|
|
40
|
+
"description": "Label category ID",
|
|
41
|
+
"parse": false,
|
|
42
|
+
"encode": false,
|
|
43
|
+
"encrypt": {
|
|
44
|
+
"type": "AES",
|
|
45
|
+
"key": ""
|
|
46
|
+
},
|
|
47
|
+
"external_name": "category_id"
|
|
48
|
+
},
|
|
49
|
+
"labelId": {
|
|
50
|
+
"type": "number",
|
|
51
|
+
"description": "Label ID",
|
|
52
|
+
"parse": false,
|
|
53
|
+
"encode": false,
|
|
54
|
+
"encrypt": {
|
|
55
|
+
"type": "AES",
|
|
56
|
+
"key": ""
|
|
57
|
+
},
|
|
58
|
+
"external_name": "label_id"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"definitions": {}
|
|
62
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "apiDevicesRecoverMdDevice",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/configuration/v1/devices/{pathv1}/recover_device?{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
|
+
"apiDevicesRecoverMdDevice"
|
|
14
|
+
],
|
|
15
|
+
"external_name": "ph_request_type"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"definitions": {}
|
|
19
|
+
}
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "apiTemplatesGetMspCustomerTemplates",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/configuration/v1/msp/templates?{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/apiTemplatesGetMspCustomerTemplates-default.json"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "apiTemplatesGetMspCustomerTemplateText",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "GET",
|
|
28
|
+
"entitypath": "{base_path}/{version}/configuration/v1/msp/templates/{pathv1}/{pathv2}/{pathv3}?{query}",
|
|
29
|
+
"requestSchema": "schema.json",
|
|
30
|
+
"responseSchema": "schema.json",
|
|
31
|
+
"timeout": 0,
|
|
32
|
+
"sendEmpty": false,
|
|
33
|
+
"sendGetBody": false,
|
|
34
|
+
"requestDatatype": "JSON",
|
|
35
|
+
"responseDatatype": "FORM",
|
|
36
|
+
"headers": {},
|
|
37
|
+
"responseObjects": [
|
|
38
|
+
{
|
|
39
|
+
"type": "default",
|
|
40
|
+
"key": "",
|
|
41
|
+
"mockFile": ""
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "apiTemplatesDeleteMspCustomerTemplate",
|
|
47
|
+
"protocol": "REST",
|
|
48
|
+
"method": "DELETE",
|
|
49
|
+
"entitypath": "{base_path}/{version}/configuration/v1/msp/templates/{pathv1}/{pathv2}/{pathv3}?{query}",
|
|
50
|
+
"requestSchema": "schema.json",
|
|
51
|
+
"responseSchema": "schema.json",
|
|
52
|
+
"timeout": 0,
|
|
53
|
+
"sendEmpty": false,
|
|
54
|
+
"requestDatatype": "JSON",
|
|
55
|
+
"responseDatatype": "JSON",
|
|
56
|
+
"headers": {},
|
|
57
|
+
"responseObjects": [
|
|
58
|
+
{
|
|
59
|
+
"type": "default",
|
|
60
|
+
"key": "",
|
|
61
|
+
"mockFile": ""
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "apiTemplatesSetMspCustomerTemplate",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "PUT",
|
|
69
|
+
"entitypath": "{base_path}/{version}/configuration/v2/msp/templates?{query}",
|
|
70
|
+
"requestSchema": "schema.json",
|
|
71
|
+
"responseSchema": "schema.json",
|
|
72
|
+
"timeout": 0,
|
|
73
|
+
"sendEmpty": false,
|
|
74
|
+
"requestDatatype": "FORM",
|
|
75
|
+
"responseDatatype": "JSON",
|
|
76
|
+
"headers": {},
|
|
77
|
+
"responseObjects": [
|
|
78
|
+
{
|
|
79
|
+
"type": "default",
|
|
80
|
+
"key": "",
|
|
81
|
+
"mockFile": ""
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "apiTemplatesGetEndCustomerTemplates",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "GET",
|
|
89
|
+
"entitypath": "{base_path}/{version}/configuration/v1/msp/templates/customer/{pathv1}?{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": "mockdatafiles/apiTemplatesGetEndCustomerTemplates-default.json"
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "apiTemplatesGetEndCustomerTemplateText",
|
|
108
|
+
"protocol": "REST",
|
|
109
|
+
"method": "GET",
|
|
110
|
+
"entitypath": "{base_path}/{version}/configuration/v1/msp/templates/customer/{pathv1}/{pathv2}/{pathv3}/{pathv4}?{query}",
|
|
111
|
+
"requestSchema": "schema.json",
|
|
112
|
+
"responseSchema": "schema.json",
|
|
113
|
+
"timeout": 0,
|
|
114
|
+
"sendEmpty": false,
|
|
115
|
+
"sendGetBody": false,
|
|
116
|
+
"requestDatatype": "JSON",
|
|
117
|
+
"responseDatatype": "FORM",
|
|
118
|
+
"headers": {},
|
|
119
|
+
"responseObjects": [
|
|
120
|
+
{
|
|
121
|
+
"type": "default",
|
|
122
|
+
"key": "",
|
|
123
|
+
"mockFile": ""
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "apiTemplatesDeleteEndCustomerTemplate",
|
|
129
|
+
"protocol": "REST",
|
|
130
|
+
"method": "DELETE",
|
|
131
|
+
"entitypath": "{base_path}/{version}/configuration/v1/msp/templates/customer/{pathv1}/{pathv2}/{pathv3}/{pathv4}?{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": "apiTemplatesSetEndCustomerTemplate",
|
|
149
|
+
"protocol": "REST",
|
|
150
|
+
"method": "PUT",
|
|
151
|
+
"entitypath": "{base_path}/{version}/configuration/v2/msp/templates/customer/{pathv1}?{query}",
|
|
152
|
+
"requestSchema": "schema.json",
|
|
153
|
+
"responseSchema": "schema.json",
|
|
154
|
+
"timeout": 0,
|
|
155
|
+
"sendEmpty": false,
|
|
156
|
+
"requestDatatype": "FORM",
|
|
157
|
+
"responseDatatype": "JSON",
|
|
158
|
+
"headers": {},
|
|
159
|
+
"responseObjects": [
|
|
160
|
+
{
|
|
161
|
+
"type": "default",
|
|
162
|
+
"key": "",
|
|
163
|
+
"mockFile": ""
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "apiTemplatesGetMspTmplDifferCustsGroups",
|
|
169
|
+
"protocol": "REST",
|
|
170
|
+
"method": "GET",
|
|
171
|
+
"entitypath": "{base_path}/{version}/configuration/v1/msp/templates/differences/{pathv1}/{pathv2}/{pathv3}?{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": "mockdatafiles/apiTemplatesGetMspTmplDifferCustsGroups-default.json"
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "apiTemplatesGetMspTmplEndCustDifferGroups",
|
|
190
|
+
"protocol": "REST",
|
|
191
|
+
"method": "GET",
|
|
192
|
+
"entitypath": "{base_path}/{version}/configuration/v1/msp/templates/differences/customer/{pathv1}/{pathv2}/{pathv3}/{pathv4}?{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": "mockdatafiles/apiTemplatesGetMspTmplEndCustDifferGroups-default.json"
|
|
206
|
+
}
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "apiTemplatesApplyMspCustomerTemplate",
|
|
211
|
+
"protocol": "REST",
|
|
212
|
+
"method": "POST",
|
|
213
|
+
"entitypath": "{base_path}/{version}/configuration/v2/msp/templates/end_customers/{pathv1}/{pathv2}/{pathv3}?{query}",
|
|
214
|
+
"requestSchema": "schema.json",
|
|
215
|
+
"responseSchema": "schema.json",
|
|
216
|
+
"timeout": 0,
|
|
217
|
+
"sendEmpty": false,
|
|
218
|
+
"requestDatatype": "JSON",
|
|
219
|
+
"responseDatatype": "JSON",
|
|
220
|
+
"headers": {},
|
|
221
|
+
"responseObjects": [
|
|
222
|
+
{
|
|
223
|
+
"type": "default",
|
|
224
|
+
"key": "",
|
|
225
|
+
"mockFile": ""
|
|
226
|
+
}
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "apiTemplatesApplyEndCustomerTemplate",
|
|
231
|
+
"protocol": "REST",
|
|
232
|
+
"method": "POST",
|
|
233
|
+
"entitypath": "{base_path}/{version}/configuration/v2/msp/templates/end_customers/{pathv1}/{pathv2}/{pathv3}/{pathv4}/groups?{query}",
|
|
234
|
+
"requestSchema": "schema.json",
|
|
235
|
+
"responseSchema": "schema.json",
|
|
236
|
+
"timeout": 0,
|
|
237
|
+
"sendEmpty": false,
|
|
238
|
+
"requestDatatype": "JSON",
|
|
239
|
+
"responseDatatype": "JSON",
|
|
240
|
+
"headers": {},
|
|
241
|
+
"responseObjects": [
|
|
242
|
+
{
|
|
243
|
+
"type": "default",
|
|
244
|
+
"key": "",
|
|
245
|
+
"mockFile": ""
|
|
246
|
+
}
|
|
247
|
+
]
|
|
248
|
+
}
|
|
249
|
+
]
|
|
250
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"total": 3,
|
|
3
|
+
"data": [
|
|
4
|
+
{
|
|
5
|
+
"template_hash": "avsd8asfba9sad0abafb7agha2",
|
|
6
|
+
"device_type": "IAP",
|
|
7
|
+
"version": "1.0.0",
|
|
8
|
+
"model": "IAP-105"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"template_hash": "avsd8asfba9sad0abafb7agha2",
|
|
12
|
+
"device_type": "IAP",
|
|
13
|
+
"version": "1.0.0",
|
|
14
|
+
"model": "IAP-105"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"template_hash": "avsd8asfba9sad0abafb7agha2",
|
|
18
|
+
"device_type": "IAP",
|
|
19
|
+
"version": "1.0.0",
|
|
20
|
+
"model": "IAP-105"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"total": 5,
|
|
3
|
+
"data": [
|
|
4
|
+
{
|
|
5
|
+
"template_hash": "avsd8asfba9sad0abafb7agha2",
|
|
6
|
+
"device_type": "IAP",
|
|
7
|
+
"version": "1.0.0",
|
|
8
|
+
"model": "IAP-105"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"template_hash": "avsd8asfba9sad0abafb7agha2",
|
|
12
|
+
"device_type": "IAP",
|
|
13
|
+
"version": "1.0.0",
|
|
14
|
+
"model": "IAP-105"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"template_hash": "avsd8asfba9sad0abafb7agha2",
|
|
18
|
+
"device_type": "IAP",
|
|
19
|
+
"version": "1.0.0",
|
|
20
|
+
"model": "IAP-105"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"template_hash": "avsd8asfba9sad0abafb7agha2",
|
|
24
|
+
"device_type": "IAP",
|
|
25
|
+
"version": "1.0.0",
|
|
26
|
+
"model": "IAP-105"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"template_hash": "avsd8asfba9sad0abafb7agha2",
|
|
30
|
+
"device_type": "IAP",
|
|
31
|
+
"version": "1.0.0",
|
|
32
|
+
"model": "IAP-105"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"template_hash": "avsd8asfba9sad0abafb7agha2",
|
|
36
|
+
"device_type": "IAP",
|
|
37
|
+
"version": "1.0.0",
|
|
38
|
+
"model": "IAP-105"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"template_hash": "avsd8asfba9sad0abafb7agha2",
|
|
42
|
+
"device_type": "IAP",
|
|
43
|
+
"version": "1.0.0",
|
|
44
|
+
"model": "IAP-105"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"template_hash": "avsd8asfba9sad0abafb7agha2",
|
|
48
|
+
"device_type": "IAP",
|
|
49
|
+
"version": "1.0.0",
|
|
50
|
+
"model": "IAP-105"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"template_hash": "avsd8asfba9sad0abafb7agha2",
|
|
54
|
+
"device_type": "IAP",
|
|
55
|
+
"version": "1.0.0",
|
|
56
|
+
"model": "IAP-105"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"template_hash": "avsd8asfba9sad0abafb7agha2",
|
|
60
|
+
"device_type": "IAP",
|
|
61
|
+
"version": "1.0.0",
|
|
62
|
+
"model": "IAP-105"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|