@itentialopensource/adapter-dna_center 0.9.7 → 0.10.0
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/CALLS.md +1734 -0
- package/CHANGELOG.md +16 -0
- package/TAB1.md +10 -0
- package/TAB2.md +4447 -0
- package/adapter.js +25345 -0
- package/entities/ApplicationPolicy/action.json +638 -0
- package/entities/ApplicationPolicy/schema.json +49 -0
- package/entities/Applications/action.json +25 -0
- package/entities/Applications/schema.json +19 -0
- package/entities/Authentication/action.json +40 -0
- package/entities/Authentication/schema.json +3 -1
- package/entities/CiscoDNACenterSystem/action.json +24 -0
- package/entities/CiscoDNACenterSystem/schema.json +19 -0
- package/entities/Clients/action.json +42 -0
- package/entities/Clients/schema.json +3 -1
- package/entities/Compliance/action.json +170 -0
- package/entities/Compliance/schema.json +26 -0
- package/entities/ConfigurationArchive/action.json +45 -0
- package/entities/ConfigurationArchive/schema.json +20 -0
- package/entities/DeviceReplacement/action.json +106 -0
- package/entities/DeviceReplacement/schema.json +23 -0
- package/entities/Devices/action.json +555 -0
- package/entities/Devices/schema.json +28 -1
- package/entities/EoX/action.json +67 -0
- package/entities/EoX/schema.json +21 -0
- package/entities/EventManagement/action.json +827 -0
- package/entities/EventManagement/schema.json +58 -0
- package/entities/FabricWireless/action.json +105 -0
- package/entities/FabricWireless/schema.json +23 -0
- package/entities/File/action.json +20 -0
- package/entities/File/schema.json +2 -1
- package/entities/HealthAndPerformance/action.json +88 -0
- package/entities/HealthAndPerformance/schema.json +22 -0
- package/entities/ITSM/action.json +66 -0
- package/entities/ITSM/schema.json +21 -0
- package/entities/ITSMIntegration/action.json +106 -0
- package/entities/ITSMIntegration/schema.json +23 -0
- package/entities/Issues/action.json +66 -0
- package/entities/Issues/schema.json +21 -0
- package/entities/LANAutomation/action.json +231 -0
- package/entities/LANAutomation/schema.json +29 -0
- package/entities/Licenses/action.json +211 -0
- package/entities/Licenses/schema.json +28 -0
- package/entities/NetworkDiscovery/action.json +81 -0
- package/entities/NetworkDiscovery/schema.json +5 -1
- package/entities/NetworkSettings/action.json +469 -0
- package/entities/NetworkSettings/schema.json +41 -0
- package/entities/NonFabricWirelessBETA/action.json +427 -0
- package/entities/NonFabricWirelessBETA/schema.json +22 -1
- package/entities/Platform/action.json +67 -0
- package/entities/Platform/schema.json +21 -0
- package/entities/Reports/action.json +191 -0
- package/entities/Reports/schema.json +27 -0
- package/entities/SWIM/action.json +82 -0
- package/entities/SWIM/schema.json +5 -1
- package/entities/SecurityAdvisories/action.json +109 -0
- package/entities/SecurityAdvisories/schema.json +23 -0
- package/entities/Sensors/action.json +125 -0
- package/entities/Sensors/schema.json +24 -0
- package/entities/SiteProfile/action.json +141 -0
- package/entities/SiteProfile/schema.json +8 -1
- package/entities/Sites/action.json +308 -0
- package/entities/Sites/schema.json +16 -1
- package/entities/SystemSettings/action.json +167 -0
- package/entities/SystemSettings/schema.json +26 -0
- package/entities/Task/action.json +21 -0
- package/entities/Task/schema.json +2 -1
- package/entities/TemplateProgrammer/action.json +163 -0
- package/entities/TemplateProgrammer/schema.json +9 -1
- package/entities/UserAndRoles/action.json +208 -0
- package/entities/UserAndRoles/schema.json +28 -0
- package/entities/Users/action.json +25 -0
- package/entities/Users/schema.json +19 -0
- package/package.json +3 -3
- package/pronghorn.json +15199 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +7 -7
- package/report/openapi-v2.3.7.json +79707 -0
- package/test/integration/adapterTestIntegration.js +14456 -0
- package/test/unit/adapterTestUnit.js +7906 -1
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "lANAutomationStopAndUpdateDevices",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "PUT",
|
|
7
|
+
"entitypath": "{base_path}/{version}/lan-automation/{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": "lANAutomationStop",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "DELETE",
|
|
27
|
+
"entitypath": "{base_path}/{version}/lan-automation/{pathv1}?{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": "lANAutomationDeviceUpdate",
|
|
45
|
+
"protocol": "REST",
|
|
46
|
+
"method": "PUT",
|
|
47
|
+
"entitypath": "{base_path}/{version}/lan-automation/updateDevice?{query}",
|
|
48
|
+
"requestSchema": "schema.json",
|
|
49
|
+
"responseSchema": "schema.json",
|
|
50
|
+
"timeout": 0,
|
|
51
|
+
"sendEmpty": false,
|
|
52
|
+
"requestDatatype": "JSON",
|
|
53
|
+
"responseDatatype": "JSON",
|
|
54
|
+
"headers": {},
|
|
55
|
+
"responseObjects": [
|
|
56
|
+
{
|
|
57
|
+
"type": "default",
|
|
58
|
+
"key": "",
|
|
59
|
+
"mockFile": ""
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "getLANAutomationLogById",
|
|
65
|
+
"protocol": "REST",
|
|
66
|
+
"method": "GET",
|
|
67
|
+
"entitypath": "{base_path}/{version}/lan-automation/log/{pathv1}?{query}",
|
|
68
|
+
"requestSchema": "schema.json",
|
|
69
|
+
"responseSchema": "schema.json",
|
|
70
|
+
"timeout": 0,
|
|
71
|
+
"sendEmpty": false,
|
|
72
|
+
"sendGetBody": 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": "getLANAutomationStatusById",
|
|
86
|
+
"protocol": "REST",
|
|
87
|
+
"method": "GET",
|
|
88
|
+
"entitypath": "{base_path}/{version}/lan-automation/status/{pathv1}?{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": ""
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "getLANAutomationLog",
|
|
107
|
+
"protocol": "REST",
|
|
108
|
+
"method": "GET",
|
|
109
|
+
"entitypath": "{base_path}/{version}/lan-automation/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": ""
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "lANAutomationStart",
|
|
128
|
+
"protocol": "REST",
|
|
129
|
+
"method": "POST",
|
|
130
|
+
"entitypath": "{base_path}/{version}/lan-automation?{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": "getLANAutomationStatus",
|
|
148
|
+
"protocol": "REST",
|
|
149
|
+
"method": "GET",
|
|
150
|
+
"entitypath": "{base_path}/{version}/lan-automation/status?{query}",
|
|
151
|
+
"requestSchema": "schema.json",
|
|
152
|
+
"responseSchema": "schema.json",
|
|
153
|
+
"timeout": 0,
|
|
154
|
+
"sendEmpty": false,
|
|
155
|
+
"sendGetBody": 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": "getLANAutomationSessionCount",
|
|
169
|
+
"protocol": "REST",
|
|
170
|
+
"method": "GET",
|
|
171
|
+
"entitypath": "{base_path}/{version}/lan-automation/count?{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": "getLANAutomationLogsForIndividualDevices",
|
|
190
|
+
"protocol": "REST",
|
|
191
|
+
"method": "GET",
|
|
192
|
+
"entitypath": "{base_path}/{version}/lan-automation/log/{pathv1}/{pathv2}?{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": "getLANAutomationActiveSessions",
|
|
211
|
+
"protocol": "REST",
|
|
212
|
+
"method": "GET",
|
|
213
|
+
"entitypath": "{base_path}/{version}/lan-automation/sessions?{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
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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": "lANAutomationStopAndUpdateDevices",
|
|
12
|
+
"enum": [
|
|
13
|
+
"lANAutomationStopAndUpdateDevices",
|
|
14
|
+
"lANAutomationStop",
|
|
15
|
+
"lANAutomationDeviceUpdate",
|
|
16
|
+
"getLANAutomationLogById",
|
|
17
|
+
"getLANAutomationStatusById",
|
|
18
|
+
"getLANAutomationLog",
|
|
19
|
+
"lANAutomationStart",
|
|
20
|
+
"getLANAutomationStatus",
|
|
21
|
+
"getLANAutomationSessionCount",
|
|
22
|
+
"getLANAutomationLogsForIndividualDevices",
|
|
23
|
+
"getLANAutomationActiveSessions"
|
|
24
|
+
],
|
|
25
|
+
"external_name": "ph_request_type"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"definitions": {}
|
|
29
|
+
}
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getLicenseUsageDetails",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/licenses/usage/smartAccount/{pathv1}/virtualAccount/{pathv2}?{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": "getDeviceLicenseSummary",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "GET",
|
|
28
|
+
"entitypath": "{base_path}/{version}/licenses/device/summary?{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": "getVirtualAccountDetails",
|
|
47
|
+
"protocol": "REST",
|
|
48
|
+
"method": "GET",
|
|
49
|
+
"entitypath": "{base_path}/{version}/licenses/smartAccount/{pathv1}/virtualAccounts?{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": "deviceDeregistration",
|
|
68
|
+
"protocol": "REST",
|
|
69
|
+
"method": "PUT",
|
|
70
|
+
"entitypath": "{base_path}/{version}/licenses/smartAccount/virtualAccount/deregister?{query}",
|
|
71
|
+
"requestSchema": "schema.json",
|
|
72
|
+
"responseSchema": "schema.json",
|
|
73
|
+
"timeout": 0,
|
|
74
|
+
"sendEmpty": 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": "getDeviceCountDetails",
|
|
88
|
+
"protocol": "REST",
|
|
89
|
+
"method": "GET",
|
|
90
|
+
"entitypath": "{base_path}/{version}/licenses/device/count?{query}",
|
|
91
|
+
"requestSchema": "schema.json",
|
|
92
|
+
"responseSchema": "schema.json",
|
|
93
|
+
"timeout": 0,
|
|
94
|
+
"sendEmpty": false,
|
|
95
|
+
"sendGetBody": false,
|
|
96
|
+
"requestDatatype": "JSON",
|
|
97
|
+
"responseDatatype": "JSON",
|
|
98
|
+
"headers": {},
|
|
99
|
+
"responseObjects": [
|
|
100
|
+
{
|
|
101
|
+
"type": "default",
|
|
102
|
+
"key": "",
|
|
103
|
+
"mockFile": ""
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "deviceRegistration",
|
|
109
|
+
"protocol": "REST",
|
|
110
|
+
"method": "PUT",
|
|
111
|
+
"entitypath": "{base_path}/{version}/licenses/smartAccount/virtualAccount/{pathv1}/register?{query}",
|
|
112
|
+
"requestSchema": "schema.json",
|
|
113
|
+
"responseSchema": "schema.json",
|
|
114
|
+
"timeout": 0,
|
|
115
|
+
"sendEmpty": 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": "getSmartAccountDetails",
|
|
129
|
+
"protocol": "REST",
|
|
130
|
+
"method": "GET",
|
|
131
|
+
"entitypath": "{base_path}/{version}/licenses/smartAccounts?{query}",
|
|
132
|
+
"requestSchema": "schema.json",
|
|
133
|
+
"responseSchema": "schema.json",
|
|
134
|
+
"timeout": 0,
|
|
135
|
+
"sendEmpty": false,
|
|
136
|
+
"sendGetBody": false,
|
|
137
|
+
"requestDatatype": "JSON",
|
|
138
|
+
"responseDatatype": "JSON",
|
|
139
|
+
"headers": {},
|
|
140
|
+
"responseObjects": [
|
|
141
|
+
{
|
|
142
|
+
"type": "default",
|
|
143
|
+
"key": "",
|
|
144
|
+
"mockFile": ""
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "changeVirtualAccount",
|
|
150
|
+
"protocol": "REST",
|
|
151
|
+
"method": "POST",
|
|
152
|
+
"entitypath": "{base_path}/{version}/licenses/smartAccount/{pathv1}/virtualAccount/{pathv2}/device/transfer?{query}",
|
|
153
|
+
"requestSchema": "schema.json",
|
|
154
|
+
"responseSchema": "schema.json",
|
|
155
|
+
"timeout": 0,
|
|
156
|
+
"sendEmpty": false,
|
|
157
|
+
"requestDatatype": "JSON",
|
|
158
|
+
"responseDatatype": "JSON",
|
|
159
|
+
"headers": {},
|
|
160
|
+
"responseObjects": [
|
|
161
|
+
{
|
|
162
|
+
"type": "default",
|
|
163
|
+
"key": "",
|
|
164
|
+
"mockFile": ""
|
|
165
|
+
}
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "getDeviceLicenseDetails",
|
|
170
|
+
"protocol": "REST",
|
|
171
|
+
"method": "GET",
|
|
172
|
+
"entitypath": "{base_path}/{version}/licenses/device/{pathv1}/details?{query}",
|
|
173
|
+
"requestSchema": "schema.json",
|
|
174
|
+
"responseSchema": "schema.json",
|
|
175
|
+
"timeout": 0,
|
|
176
|
+
"sendEmpty": false,
|
|
177
|
+
"sendGetBody": false,
|
|
178
|
+
"requestDatatype": "JSON",
|
|
179
|
+
"responseDatatype": "JSON",
|
|
180
|
+
"headers": {},
|
|
181
|
+
"responseObjects": [
|
|
182
|
+
{
|
|
183
|
+
"type": "default",
|
|
184
|
+
"key": "",
|
|
185
|
+
"mockFile": ""
|
|
186
|
+
}
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "getLicenseTermDetails",
|
|
191
|
+
"protocol": "REST",
|
|
192
|
+
"method": "GET",
|
|
193
|
+
"entitypath": "{base_path}/{version}/licenses/term/smartAccount/{pathv1}/virtualAccount/{pathv2}?{query}",
|
|
194
|
+
"requestSchema": "schema.json",
|
|
195
|
+
"responseSchema": "schema.json",
|
|
196
|
+
"timeout": 0,
|
|
197
|
+
"sendEmpty": false,
|
|
198
|
+
"sendGetBody": false,
|
|
199
|
+
"requestDatatype": "JSON",
|
|
200
|
+
"responseDatatype": "JSON",
|
|
201
|
+
"headers": {},
|
|
202
|
+
"responseObjects": [
|
|
203
|
+
{
|
|
204
|
+
"type": "default",
|
|
205
|
+
"key": "",
|
|
206
|
+
"mockFile": ""
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
}
|
|
210
|
+
]
|
|
211
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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": "getLicenseUsageDetails",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getLicenseUsageDetails",
|
|
14
|
+
"getDeviceLicenseSummary",
|
|
15
|
+
"getVirtualAccountDetails",
|
|
16
|
+
"deviceDeregistration",
|
|
17
|
+
"getDeviceCountDetails",
|
|
18
|
+
"deviceRegistration",
|
|
19
|
+
"getSmartAccountDetails",
|
|
20
|
+
"changeVirtualAccount",
|
|
21
|
+
"getDeviceLicenseDetails",
|
|
22
|
+
"getLicenseTermDetails"
|
|
23
|
+
],
|
|
24
|
+
"external_name": "ph_request_type"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"definitions": {}
|
|
28
|
+
}
|
|
@@ -713,6 +713,87 @@
|
|
|
713
713
|
"mockFile": "mockdatafiles/getDnaintentapiv1globalCredential-default.json"
|
|
714
714
|
}
|
|
715
715
|
]
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"name": "getAllGlobalCredentialsV2",
|
|
719
|
+
"protocol": "REST",
|
|
720
|
+
"method": "GET",
|
|
721
|
+
"entitypath": "{base_path}/{version}/global-credential?{query}",
|
|
722
|
+
"requestSchema": "schema.json",
|
|
723
|
+
"responseSchema": "schema.json",
|
|
724
|
+
"timeout": 0,
|
|
725
|
+
"sendEmpty": false,
|
|
726
|
+
"sendGetBody": false,
|
|
727
|
+
"requestDatatype": "JSON",
|
|
728
|
+
"responseDatatype": "JSON",
|
|
729
|
+
"headers": {},
|
|
730
|
+
"responseObjects": [
|
|
731
|
+
{
|
|
732
|
+
"type": "default",
|
|
733
|
+
"key": "",
|
|
734
|
+
"mockFile": ""
|
|
735
|
+
}
|
|
736
|
+
]
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"name": "updateGlobalCredentialsV2",
|
|
740
|
+
"protocol": "REST",
|
|
741
|
+
"method": "PUT",
|
|
742
|
+
"entitypath": "{base_path}/{version}/global-credential?{query}",
|
|
743
|
+
"requestSchema": "schema.json",
|
|
744
|
+
"responseSchema": "schema.json",
|
|
745
|
+
"timeout": 0,
|
|
746
|
+
"sendEmpty": false,
|
|
747
|
+
"requestDatatype": "JSON",
|
|
748
|
+
"responseDatatype": "JSON",
|
|
749
|
+
"headers": {},
|
|
750
|
+
"responseObjects": [
|
|
751
|
+
{
|
|
752
|
+
"type": "default",
|
|
753
|
+
"key": "",
|
|
754
|
+
"mockFile": ""
|
|
755
|
+
}
|
|
756
|
+
]
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"name": "createGlobalCredentialsV2",
|
|
760
|
+
"protocol": "REST",
|
|
761
|
+
"method": "POST",
|
|
762
|
+
"entitypath": "{base_path}/{version}/global-credential?{query}",
|
|
763
|
+
"requestSchema": "schema.json",
|
|
764
|
+
"responseSchema": "schema.json",
|
|
765
|
+
"timeout": 0,
|
|
766
|
+
"sendEmpty": false,
|
|
767
|
+
"requestDatatype": "JSON",
|
|
768
|
+
"responseDatatype": "JSON",
|
|
769
|
+
"headers": {},
|
|
770
|
+
"responseObjects": [
|
|
771
|
+
{
|
|
772
|
+
"type": "default",
|
|
773
|
+
"key": "",
|
|
774
|
+
"mockFile": ""
|
|
775
|
+
}
|
|
776
|
+
]
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"name": "deleteGlobalCredentialV2",
|
|
780
|
+
"protocol": "REST",
|
|
781
|
+
"method": "DELETE",
|
|
782
|
+
"entitypath": "{base_path}/{version}/global-credential/{pathv1}?{query}",
|
|
783
|
+
"requestSchema": "schema.json",
|
|
784
|
+
"responseSchema": "schema.json",
|
|
785
|
+
"timeout": 0,
|
|
786
|
+
"sendEmpty": false,
|
|
787
|
+
"requestDatatype": "JSON",
|
|
788
|
+
"responseDatatype": "JSON",
|
|
789
|
+
"headers": {},
|
|
790
|
+
"responseObjects": [
|
|
791
|
+
{
|
|
792
|
+
"type": "default",
|
|
793
|
+
"key": "",
|
|
794
|
+
"mockFile": ""
|
|
795
|
+
}
|
|
796
|
+
]
|
|
716
797
|
}
|
|
717
798
|
]
|
|
718
799
|
}
|
|
@@ -43,7 +43,11 @@
|
|
|
43
43
|
"getDnaintentapiv1discoveryidnetworkDevicestartIndexrecordsToReturn",
|
|
44
44
|
"deleteDnaintentapiv1discoverystartIndexrecordsToDelete",
|
|
45
45
|
"getDnaintentapiv1discoveryidnetworkDevice",
|
|
46
|
-
"getDnaintentapiv1globalCredential"
|
|
46
|
+
"getDnaintentapiv1globalCredential",
|
|
47
|
+
"getAllGlobalCredentialsV2",
|
|
48
|
+
"updateGlobalCredentialsV2",
|
|
49
|
+
"createGlobalCredentialsV2",
|
|
50
|
+
"deleteGlobalCredentialV2"
|
|
47
51
|
],
|
|
48
52
|
"external_name": "ph_request_type"
|
|
49
53
|
}
|