@itentialopensource/adapter-apic 0.13.0 → 0.14.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/PROPERTIES.md +16 -1
- package/TAB2.md +4 -1
- package/package.json +4 -4
- package/propertiesSchema.json +41 -3
- package/report/auto-adapter-openapi.json +913 -0
- package/report/updateReport1764798882161.json +120 -0
- package/sampleProperties.json +4 -1
- package/test/unit/adapterTestUnit.js +6 -0
package/PROPERTIES.md
CHANGED
|
@@ -29,7 +29,10 @@ This section defines **all** the properties that are available for the adapter,
|
|
|
29
29
|
"auth_logging": false,
|
|
30
30
|
"client_id": "",
|
|
31
31
|
"client_secret": "",
|
|
32
|
-
"grant_type": ""
|
|
32
|
+
"grant_type": "",
|
|
33
|
+
"auth_request_datatype": "",
|
|
34
|
+
"auth_response_datatype": "",
|
|
35
|
+
"token_response_placement": ""
|
|
33
36
|
},
|
|
34
37
|
"healthcheck": {
|
|
35
38
|
"type": "startup",
|
|
@@ -283,6 +286,18 @@ The following properties are used to define the authentication process to Apic.
|
|
|
283
286
|
<td style="padding:15px">grant_type</td>
|
|
284
287
|
<td style="padding:15px">Provide a grant type when needed, this is common on some types of OAuth.</td>
|
|
285
288
|
</tr>
|
|
289
|
+
<tr>
|
|
290
|
+
<td style="padding:15px">auth_request_datatype</td>
|
|
291
|
+
<td style="padding:15px">Override the request data type for token authentication requests. When set, this overrides the schema's requestDatatype (JSON, JSON2XML, PLAIN, XML, URLENCODE, URLQUERY, FORM).</td>
|
|
292
|
+
</tr>
|
|
293
|
+
<tr>
|
|
294
|
+
<td style="padding:15px">auth_response_datatype</td>
|
|
295
|
+
<td style="padding:15px">Override the response data type for token authentication requests. When set, this overrides the schema's responseDatatype (JSON, XML2JSON, PLAIN, XML, URLENCODE).</td>
|
|
296
|
+
</tr>
|
|
297
|
+
<tr>
|
|
298
|
+
<td style="padding:15px">token_response_placement</td>
|
|
299
|
+
<td style="padding:15px">Override where to extract the token from the authentication response (HEADER or BODY). When set, this overrides the schema's token placement setting.</td>
|
|
300
|
+
</tr>
|
|
286
301
|
</table>
|
|
287
302
|
<br>
|
|
288
303
|
|
package/TAB2.md
CHANGED
|
@@ -48,7 +48,7 @@ you can leave all of the other properties in the authentication section, they wi
|
|
|
48
48
|
|
|
49
49
|
### Sample Properties
|
|
50
50
|
|
|
51
|
-
Sample Properties can be used to help you configure the adapter in the Itential
|
|
51
|
+
Sample Properties can be used to help you configure the adapter in the Itential Platform. You will need to update connectivity information such as the host, port, protocol and credentials.
|
|
52
52
|
|
|
53
53
|
```json
|
|
54
54
|
"properties": {
|
|
@@ -77,6 +77,9 @@ Sample Properties can be used to help you configure the adapter in the Itential
|
|
|
77
77
|
"client_id": "",
|
|
78
78
|
"client_secret": "",
|
|
79
79
|
"grant_type": "",
|
|
80
|
+
"auth_request_datatype": "",
|
|
81
|
+
"auth_response_datatype": "",
|
|
82
|
+
"token_response_placement": "",
|
|
80
83
|
"sensitive": [],
|
|
81
84
|
"sso": {
|
|
82
85
|
"protocol": "",
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-apic",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.1",
|
|
4
4
|
"description": " Cisco Application Policy Infrastructure Controller (Cisco APIC) is the unifying point of automation and management for the Application Centric Infrastructure (ACI) fabric.",
|
|
5
5
|
"main": "adapter.js",
|
|
6
6
|
"systemName": "Cisco APIC",
|
|
7
|
-
"wizardVersion": "
|
|
8
|
-
"engineVersion": "1.
|
|
7
|
+
"wizardVersion": "3.8.0",
|
|
8
|
+
"engineVersion": "1.79.2",
|
|
9
9
|
"adapterType": "http",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"preinstall": "node utils/setup.js",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"author": "Itential",
|
|
50
50
|
"homepage": "https://gitlab.com/itentialopensource/adapters/adapter-apic#readme",
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@itentialopensource/adapter-utils": "6.0.
|
|
52
|
+
"@itentialopensource/adapter-utils": "6.0.3",
|
|
53
53
|
"acorn": "8.14.1",
|
|
54
54
|
"ajv": "8.17.1",
|
|
55
55
|
"axios": "1.12.2",
|
package/propertiesSchema.json
CHANGED
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"protocol": {
|
|
78
78
|
"type": "string",
|
|
79
79
|
"description": "the protocol to use to connect to server",
|
|
80
|
-
"default": "
|
|
80
|
+
"default": "https",
|
|
81
81
|
"enum": [
|
|
82
82
|
"http",
|
|
83
83
|
"https"
|
|
@@ -274,6 +274,44 @@
|
|
|
274
274
|
"description": "The grant type for OAuth requests - can also provide in schema",
|
|
275
275
|
"default": ""
|
|
276
276
|
},
|
|
277
|
+
"auth_request_datatype": {
|
|
278
|
+
"type": "string",
|
|
279
|
+
"description": "Override the request data type for token authentication requests. When set, this overrides the schema's requestDatatype",
|
|
280
|
+
"default": "",
|
|
281
|
+
"enum": [
|
|
282
|
+
"",
|
|
283
|
+
"JSON",
|
|
284
|
+
"JSON2XML",
|
|
285
|
+
"PLAIN",
|
|
286
|
+
"XML",
|
|
287
|
+
"URLENCODE",
|
|
288
|
+
"URLQUERY",
|
|
289
|
+
"FORM"
|
|
290
|
+
]
|
|
291
|
+
},
|
|
292
|
+
"auth_response_datatype": {
|
|
293
|
+
"type": "string",
|
|
294
|
+
"description": "Override the response data type for token authentication requests. When set, this overrides the schema's responseDatatype",
|
|
295
|
+
"default": "",
|
|
296
|
+
"enum": [
|
|
297
|
+
"",
|
|
298
|
+
"JSON",
|
|
299
|
+
"XML2JSON",
|
|
300
|
+
"PLAIN",
|
|
301
|
+
"XML",
|
|
302
|
+
"URLENCODE"
|
|
303
|
+
]
|
|
304
|
+
},
|
|
305
|
+
"token_response_placement": {
|
|
306
|
+
"type": "string",
|
|
307
|
+
"description": "Override where to extract the token from the authentication response (HEADER or BODY). When set, this overrides the schema's token placement setting",
|
|
308
|
+
"default": "",
|
|
309
|
+
"enum": [
|
|
310
|
+
"",
|
|
311
|
+
"HEADER",
|
|
312
|
+
"BODY"
|
|
313
|
+
]
|
|
314
|
+
},
|
|
277
315
|
"sensitive": {
|
|
278
316
|
"type": "array",
|
|
279
317
|
"description": "List of sensitive keys to search and hide values from being logged",
|
|
@@ -692,7 +730,7 @@
|
|
|
692
730
|
"protocol": {
|
|
693
731
|
"type": "string",
|
|
694
732
|
"description": "the protocol to use to connect to the proxy",
|
|
695
|
-
"default": "
|
|
733
|
+
"default": "https",
|
|
696
734
|
"enum": [
|
|
697
735
|
"http",
|
|
698
736
|
"https",
|
|
@@ -1724,4 +1762,4 @@
|
|
|
1724
1762
|
}
|
|
1725
1763
|
}
|
|
1726
1764
|
}
|
|
1727
|
-
}
|
|
1765
|
+
}
|
|
@@ -130,6 +130,919 @@
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
|
+
},
|
|
134
|
+
"/class/fvTenant.json": {
|
|
135
|
+
"get": {
|
|
136
|
+
"tags": [
|
|
137
|
+
"TenantOperations"
|
|
138
|
+
],
|
|
139
|
+
"operationId": "getAllTenants",
|
|
140
|
+
"description": "The parameters and request body are for method: getAllTenants. Same endpoint also used in methods:",
|
|
141
|
+
"responses": {
|
|
142
|
+
"200": {
|
|
143
|
+
"description": "Successful operation",
|
|
144
|
+
"content": {
|
|
145
|
+
"application/json": {
|
|
146
|
+
"schema": {
|
|
147
|
+
"title": "result",
|
|
148
|
+
"type": "object"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"requestBody": {
|
|
155
|
+
"content": {
|
|
156
|
+
"application/json": {
|
|
157
|
+
"schema": {
|
|
158
|
+
"type": "object"
|
|
159
|
+
},
|
|
160
|
+
"example": {}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"/mo/uni/tn-{tenantName}.json": {
|
|
167
|
+
"get": {
|
|
168
|
+
"tags": [
|
|
169
|
+
"TenantOperations"
|
|
170
|
+
],
|
|
171
|
+
"operationId": "getTenant",
|
|
172
|
+
"description": "The parameters and request body are for method: getTenant. Same endpoint also used in methods:<br> getTenantWithFullSubtree (tenantName : string,iapMetadata : object)",
|
|
173
|
+
"responses": {
|
|
174
|
+
"200": {
|
|
175
|
+
"description": "Successful operation",
|
|
176
|
+
"content": {
|
|
177
|
+
"application/json": {
|
|
178
|
+
"schema": {
|
|
179
|
+
"title": "result",
|
|
180
|
+
"type": "object"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"parameters": [
|
|
187
|
+
{
|
|
188
|
+
"name": "tenantName",
|
|
189
|
+
"in": "path",
|
|
190
|
+
"required": true,
|
|
191
|
+
"schema": {
|
|
192
|
+
"title": "tenantName",
|
|
193
|
+
"type": "string"
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
"requestBody": {
|
|
198
|
+
"content": {
|
|
199
|
+
"application/json": {
|
|
200
|
+
"schema": {
|
|
201
|
+
"type": "object"
|
|
202
|
+
},
|
|
203
|
+
"example": {}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"post": {
|
|
209
|
+
"tags": [
|
|
210
|
+
"VRFOperations"
|
|
211
|
+
],
|
|
212
|
+
"operationId": "createTenantResource",
|
|
213
|
+
"description": "The parameters and request body are for method: createTenantResource. Same endpoint also used in methods:",
|
|
214
|
+
"responses": {
|
|
215
|
+
"200": {
|
|
216
|
+
"description": "Successful operation",
|
|
217
|
+
"content": {
|
|
218
|
+
"application/json": {
|
|
219
|
+
"schema": {
|
|
220
|
+
"title": "result",
|
|
221
|
+
"type": "object"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"parameters": [
|
|
228
|
+
{
|
|
229
|
+
"name": "tenantName",
|
|
230
|
+
"in": "path",
|
|
231
|
+
"required": true,
|
|
232
|
+
"schema": {
|
|
233
|
+
"title": "tenantName",
|
|
234
|
+
"type": "string"
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
],
|
|
238
|
+
"requestBody": {
|
|
239
|
+
"description": "indeterminate body object",
|
|
240
|
+
"content": {
|
|
241
|
+
"application/json": {
|
|
242
|
+
"schema": {
|
|
243
|
+
"type": "object"
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
"/mo/uni.json": {
|
|
251
|
+
"post": {
|
|
252
|
+
"tags": [
|
|
253
|
+
"TenantOperations"
|
|
254
|
+
],
|
|
255
|
+
"operationId": "createTenantOrEnvironment",
|
|
256
|
+
"description": "The parameters and request body are for method: createTenantOrEnvironment. Same endpoint also used in methods:",
|
|
257
|
+
"responses": {
|
|
258
|
+
"200": {
|
|
259
|
+
"description": "Successful operation",
|
|
260
|
+
"content": {
|
|
261
|
+
"application/json": {
|
|
262
|
+
"schema": {
|
|
263
|
+
"title": "result",
|
|
264
|
+
"type": "object"
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
"requestBody": {
|
|
271
|
+
"description": "indeterminate body object",
|
|
272
|
+
"content": {
|
|
273
|
+
"application/json": {
|
|
274
|
+
"schema": {
|
|
275
|
+
"type": "object"
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"/class/fvCtx.json": {
|
|
283
|
+
"get": {
|
|
284
|
+
"tags": [
|
|
285
|
+
"VRFOperations"
|
|
286
|
+
],
|
|
287
|
+
"operationId": "getAllVRFs",
|
|
288
|
+
"description": "The parameters and request body are for method: getAllVRFs. Same endpoint also used in methods:",
|
|
289
|
+
"responses": {
|
|
290
|
+
"200": {
|
|
291
|
+
"description": "Successful operation",
|
|
292
|
+
"content": {
|
|
293
|
+
"application/json": {
|
|
294
|
+
"schema": {
|
|
295
|
+
"title": "result",
|
|
296
|
+
"type": "object"
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
"requestBody": {
|
|
303
|
+
"content": {
|
|
304
|
+
"application/json": {
|
|
305
|
+
"schema": {
|
|
306
|
+
"type": "object"
|
|
307
|
+
},
|
|
308
|
+
"example": {}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"/class/fvBD.json": {
|
|
315
|
+
"get": {
|
|
316
|
+
"tags": [
|
|
317
|
+
"BridgeDomainOperations"
|
|
318
|
+
],
|
|
319
|
+
"operationId": "getAllBridgeDomains",
|
|
320
|
+
"description": "The parameters and request body are for method: getAllBridgeDomains. Same endpoint also used in methods:",
|
|
321
|
+
"responses": {
|
|
322
|
+
"200": {
|
|
323
|
+
"description": "Successful operation",
|
|
324
|
+
"content": {
|
|
325
|
+
"application/json": {
|
|
326
|
+
"schema": {
|
|
327
|
+
"title": "result",
|
|
328
|
+
"type": "object"
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
"requestBody": {
|
|
335
|
+
"content": {
|
|
336
|
+
"application/json": {
|
|
337
|
+
"schema": {
|
|
338
|
+
"type": "object"
|
|
339
|
+
},
|
|
340
|
+
"example": {}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
"/mo/uni/tn-{tenantName}/relayp-{dhcpRelayPolicyName}.json": {
|
|
347
|
+
"post": {
|
|
348
|
+
"tags": [
|
|
349
|
+
"BridgeDomainOperations"
|
|
350
|
+
],
|
|
351
|
+
"operationId": "createDHCPRelayPolicy",
|
|
352
|
+
"description": "The parameters and request body are for method: createDHCPRelayPolicy. Same endpoint also used in methods:",
|
|
353
|
+
"responses": {
|
|
354
|
+
"200": {
|
|
355
|
+
"description": "Successful operation",
|
|
356
|
+
"content": {
|
|
357
|
+
"application/json": {
|
|
358
|
+
"schema": {
|
|
359
|
+
"title": "result",
|
|
360
|
+
"type": "object"
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
"parameters": [
|
|
367
|
+
{
|
|
368
|
+
"name": "tenantName",
|
|
369
|
+
"in": "path",
|
|
370
|
+
"required": true,
|
|
371
|
+
"schema": {
|
|
372
|
+
"title": "tenantName",
|
|
373
|
+
"type": "string"
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"name": "dhcpRelayPolicyName",
|
|
378
|
+
"in": "path",
|
|
379
|
+
"required": true,
|
|
380
|
+
"schema": {
|
|
381
|
+
"title": "dhcpRelayPolicyName",
|
|
382
|
+
"type": "string"
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
],
|
|
386
|
+
"requestBody": {
|
|
387
|
+
"description": "indeterminate body object",
|
|
388
|
+
"content": {
|
|
389
|
+
"application/json": {
|
|
390
|
+
"schema": {
|
|
391
|
+
"type": "object"
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
"/mo/uni/tn-{tenantName}/BD-{bdName}.json": {
|
|
399
|
+
"post": {
|
|
400
|
+
"tags": [
|
|
401
|
+
"BridgeDomainOperations"
|
|
402
|
+
],
|
|
403
|
+
"operationId": "associateDHCPRelayToBD",
|
|
404
|
+
"description": "The parameters and request body are for method: associateDHCPRelayToBD. Same endpoint also used in methods:",
|
|
405
|
+
"responses": {
|
|
406
|
+
"200": {
|
|
407
|
+
"description": "Successful operation",
|
|
408
|
+
"content": {
|
|
409
|
+
"application/json": {
|
|
410
|
+
"schema": {
|
|
411
|
+
"title": "result",
|
|
412
|
+
"type": "object"
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
"parameters": [
|
|
419
|
+
{
|
|
420
|
+
"name": "tenantName",
|
|
421
|
+
"in": "path",
|
|
422
|
+
"required": true,
|
|
423
|
+
"schema": {
|
|
424
|
+
"title": "tenantName",
|
|
425
|
+
"type": "string"
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"name": "bdName",
|
|
430
|
+
"in": "path",
|
|
431
|
+
"required": true,
|
|
432
|
+
"schema": {
|
|
433
|
+
"title": "bdName",
|
|
434
|
+
"type": "string"
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
],
|
|
438
|
+
"requestBody": {
|
|
439
|
+
"description": "indeterminate body object",
|
|
440
|
+
"content": {
|
|
441
|
+
"application/json": {
|
|
442
|
+
"schema": {
|
|
443
|
+
"type": "object"
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
"/class/fvAp.json": {
|
|
451
|
+
"get": {
|
|
452
|
+
"tags": [
|
|
453
|
+
"ApplicationProfileOperations"
|
|
454
|
+
],
|
|
455
|
+
"operationId": "getAllApplicationProfiles",
|
|
456
|
+
"description": "The parameters and request body are for method: getAllApplicationProfiles. Same endpoint also used in methods:",
|
|
457
|
+
"responses": {
|
|
458
|
+
"200": {
|
|
459
|
+
"description": "Successful operation",
|
|
460
|
+
"content": {
|
|
461
|
+
"application/json": {
|
|
462
|
+
"schema": {
|
|
463
|
+
"title": "result",
|
|
464
|
+
"type": "object"
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
"requestBody": {
|
|
471
|
+
"content": {
|
|
472
|
+
"application/json": {
|
|
473
|
+
"schema": {
|
|
474
|
+
"type": "object"
|
|
475
|
+
},
|
|
476
|
+
"example": {}
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
"/class/fvAEPg.json": {
|
|
483
|
+
"get": {
|
|
484
|
+
"tags": [
|
|
485
|
+
"EPGOperations"
|
|
486
|
+
],
|
|
487
|
+
"operationId": "getAllEPGs",
|
|
488
|
+
"description": "The parameters and request body are for method: getAllEPGs. Same endpoint also used in methods:",
|
|
489
|
+
"responses": {
|
|
490
|
+
"200": {
|
|
491
|
+
"description": "Successful operation",
|
|
492
|
+
"content": {
|
|
493
|
+
"application/json": {
|
|
494
|
+
"schema": {
|
|
495
|
+
"title": "result",
|
|
496
|
+
"type": "object"
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
"requestBody": {
|
|
503
|
+
"content": {
|
|
504
|
+
"application/json": {
|
|
505
|
+
"schema": {
|
|
506
|
+
"type": "object"
|
|
507
|
+
},
|
|
508
|
+
"example": {}
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
"/node/class/fvAEPg.json": {
|
|
515
|
+
"get": {
|
|
516
|
+
"tags": [
|
|
517
|
+
"EPGOperations"
|
|
518
|
+
],
|
|
519
|
+
"operationId": "getEPGsInTenant",
|
|
520
|
+
"description": "The parameters and request body are for method: getEPGsInTenant. Same endpoint also used in methods:",
|
|
521
|
+
"responses": {
|
|
522
|
+
"200": {
|
|
523
|
+
"description": "Successful operation",
|
|
524
|
+
"content": {
|
|
525
|
+
"application/json": {
|
|
526
|
+
"schema": {
|
|
527
|
+
"title": "result",
|
|
528
|
+
"type": "object"
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
"parameters": [
|
|
535
|
+
{
|
|
536
|
+
"name": "queryTargetFilter",
|
|
537
|
+
"in": "query",
|
|
538
|
+
"required": true,
|
|
539
|
+
"schema": {
|
|
540
|
+
"type": "string"
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
],
|
|
544
|
+
"requestBody": {
|
|
545
|
+
"content": {
|
|
546
|
+
"application/json": {
|
|
547
|
+
"schema": {
|
|
548
|
+
"type": "object"
|
|
549
|
+
},
|
|
550
|
+
"example": {}
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
"/mo/uni/tn-{tenantName}/ap-{appProfileName}.json": {
|
|
557
|
+
"post": {
|
|
558
|
+
"tags": [
|
|
559
|
+
"EPGOperations"
|
|
560
|
+
],
|
|
561
|
+
"operationId": "createEPGWithVMM",
|
|
562
|
+
"description": "The parameters and request body are for method: createEPGWithVMM. Same endpoint also used in methods:",
|
|
563
|
+
"responses": {
|
|
564
|
+
"200": {
|
|
565
|
+
"description": "Successful operation",
|
|
566
|
+
"content": {
|
|
567
|
+
"application/json": {
|
|
568
|
+
"schema": {
|
|
569
|
+
"title": "result",
|
|
570
|
+
"type": "object"
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
"parameters": [
|
|
577
|
+
{
|
|
578
|
+
"name": "tenantName",
|
|
579
|
+
"in": "path",
|
|
580
|
+
"required": true,
|
|
581
|
+
"schema": {
|
|
582
|
+
"title": "tenantName",
|
|
583
|
+
"type": "string"
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"name": "appProfileName",
|
|
588
|
+
"in": "path",
|
|
589
|
+
"required": true,
|
|
590
|
+
"schema": {
|
|
591
|
+
"title": "appProfileName",
|
|
592
|
+
"type": "string"
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
],
|
|
596
|
+
"requestBody": {
|
|
597
|
+
"description": "indeterminate body object",
|
|
598
|
+
"content": {
|
|
599
|
+
"application/json": {
|
|
600
|
+
"schema": {
|
|
601
|
+
"type": "object"
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
},
|
|
608
|
+
"/mo/uni/tn-{tenantName}/ap-{appProfileName}/epg-{epgName}.json": {
|
|
609
|
+
"post": {
|
|
610
|
+
"tags": [
|
|
611
|
+
"EPGOperations"
|
|
612
|
+
],
|
|
613
|
+
"operationId": "associateEPGWithVMM",
|
|
614
|
+
"description": "The parameters and request body are for method: associateEPGWithVMM. Same endpoint also used in methods:",
|
|
615
|
+
"responses": {
|
|
616
|
+
"200": {
|
|
617
|
+
"description": "Successful operation",
|
|
618
|
+
"content": {
|
|
619
|
+
"application/json": {
|
|
620
|
+
"schema": {
|
|
621
|
+
"title": "result",
|
|
622
|
+
"type": "object"
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
"parameters": [
|
|
629
|
+
{
|
|
630
|
+
"name": "tenantName",
|
|
631
|
+
"in": "path",
|
|
632
|
+
"required": true,
|
|
633
|
+
"schema": {
|
|
634
|
+
"title": "tenantName",
|
|
635
|
+
"type": "string"
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"name": "appProfileName",
|
|
640
|
+
"in": "path",
|
|
641
|
+
"required": true,
|
|
642
|
+
"schema": {
|
|
643
|
+
"title": "appProfileName",
|
|
644
|
+
"type": "string"
|
|
645
|
+
}
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"name": "epgName",
|
|
649
|
+
"in": "path",
|
|
650
|
+
"required": true,
|
|
651
|
+
"schema": {
|
|
652
|
+
"title": "epgName",
|
|
653
|
+
"type": "string"
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
],
|
|
657
|
+
"requestBody": {
|
|
658
|
+
"description": "indeterminate body object",
|
|
659
|
+
"content": {
|
|
660
|
+
"application/json": {
|
|
661
|
+
"schema": {
|
|
662
|
+
"type": "object"
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
"/class/vmmDomP.json": {
|
|
670
|
+
"get": {
|
|
671
|
+
"tags": [
|
|
672
|
+
"VMMDomainOperations"
|
|
673
|
+
],
|
|
674
|
+
"operationId": "getAllVMMDomains",
|
|
675
|
+
"description": "The parameters and request body are for method: getAllVMMDomains. Same endpoint also used in methods:",
|
|
676
|
+
"responses": {
|
|
677
|
+
"200": {
|
|
678
|
+
"description": "Successful operation",
|
|
679
|
+
"content": {
|
|
680
|
+
"application/json": {
|
|
681
|
+
"schema": {
|
|
682
|
+
"title": "result",
|
|
683
|
+
"type": "object"
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
},
|
|
689
|
+
"requestBody": {
|
|
690
|
+
"content": {
|
|
691
|
+
"application/json": {
|
|
692
|
+
"schema": {
|
|
693
|
+
"type": "object"
|
|
694
|
+
},
|
|
695
|
+
"example": {}
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
},
|
|
701
|
+
"/node/class/vmmDomP.json": {
|
|
702
|
+
"get": {
|
|
703
|
+
"tags": [
|
|
704
|
+
"VMMDomainOperations"
|
|
705
|
+
],
|
|
706
|
+
"operationId": "getVMwareVMMDomains",
|
|
707
|
+
"description": "The parameters and request body are for method: getVMwareVMMDomains. Same endpoint also used in methods:",
|
|
708
|
+
"responses": {
|
|
709
|
+
"200": {
|
|
710
|
+
"description": "Successful operation",
|
|
711
|
+
"content": {
|
|
712
|
+
"application/json": {
|
|
713
|
+
"schema": {
|
|
714
|
+
"title": "result",
|
|
715
|
+
"type": "object"
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
},
|
|
721
|
+
"parameters": [
|
|
722
|
+
{
|
|
723
|
+
"name": "queryTargetFilter",
|
|
724
|
+
"in": "query",
|
|
725
|
+
"required": true,
|
|
726
|
+
"schema": {
|
|
727
|
+
"type": "string"
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
],
|
|
731
|
+
"requestBody": {
|
|
732
|
+
"content": {
|
|
733
|
+
"application/json": {
|
|
734
|
+
"schema": {
|
|
735
|
+
"type": "object"
|
|
736
|
+
},
|
|
737
|
+
"example": {}
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
"/class/fvnsVlanInstP.json": {
|
|
744
|
+
"get": {
|
|
745
|
+
"tags": [
|
|
746
|
+
"VLANPoolOperations"
|
|
747
|
+
],
|
|
748
|
+
"operationId": "getAllVLANPools",
|
|
749
|
+
"description": "The parameters and request body are for method: getAllVLANPools. Same endpoint also used in methods:",
|
|
750
|
+
"responses": {
|
|
751
|
+
"200": {
|
|
752
|
+
"description": "Successful operation",
|
|
753
|
+
"content": {
|
|
754
|
+
"application/json": {
|
|
755
|
+
"schema": {
|
|
756
|
+
"title": "result",
|
|
757
|
+
"type": "object"
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
},
|
|
763
|
+
"requestBody": {
|
|
764
|
+
"content": {
|
|
765
|
+
"application/json": {
|
|
766
|
+
"schema": {
|
|
767
|
+
"type": "object"
|
|
768
|
+
},
|
|
769
|
+
"example": {}
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
"/mo/uni/infra/vlanns-[{vlanPoolName}]-dynamic.json": {
|
|
776
|
+
"post": {
|
|
777
|
+
"tags": [
|
|
778
|
+
"VLANPoolOperations"
|
|
779
|
+
],
|
|
780
|
+
"operationId": "createDynamicVLANPool",
|
|
781
|
+
"description": "The parameters and request body are for method: createDynamicVLANPool. Same endpoint also used in methods:",
|
|
782
|
+
"responses": {
|
|
783
|
+
"200": {
|
|
784
|
+
"description": "Successful operation",
|
|
785
|
+
"content": {
|
|
786
|
+
"application/json": {
|
|
787
|
+
"schema": {
|
|
788
|
+
"title": "result",
|
|
789
|
+
"type": "object"
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
},
|
|
795
|
+
"parameters": [
|
|
796
|
+
{
|
|
797
|
+
"name": "vlanPoolName",
|
|
798
|
+
"in": "path",
|
|
799
|
+
"required": true,
|
|
800
|
+
"schema": {
|
|
801
|
+
"title": "vlanPoolName",
|
|
802
|
+
"type": "string"
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
],
|
|
806
|
+
"requestBody": {
|
|
807
|
+
"description": "indeterminate body object",
|
|
808
|
+
"content": {
|
|
809
|
+
"application/json": {
|
|
810
|
+
"schema": {
|
|
811
|
+
"type": "object"
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
},
|
|
817
|
+
"get": {
|
|
818
|
+
"tags": [
|
|
819
|
+
"VLANPoolOperations"
|
|
820
|
+
],
|
|
821
|
+
"operationId": "getVLANPoolDetails",
|
|
822
|
+
"description": "The parameters and request body are for method: getVLANPoolDetails. Same endpoint also used in methods:",
|
|
823
|
+
"responses": {
|
|
824
|
+
"200": {
|
|
825
|
+
"description": "Successful operation",
|
|
826
|
+
"content": {
|
|
827
|
+
"application/json": {
|
|
828
|
+
"schema": {
|
|
829
|
+
"title": "result",
|
|
830
|
+
"type": "object"
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
},
|
|
836
|
+
"parameters": [
|
|
837
|
+
{
|
|
838
|
+
"name": "vlanPoolName",
|
|
839
|
+
"in": "path",
|
|
840
|
+
"required": true,
|
|
841
|
+
"schema": {
|
|
842
|
+
"title": "vlanPoolName",
|
|
843
|
+
"type": "string"
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
],
|
|
847
|
+
"requestBody": {
|
|
848
|
+
"content": {
|
|
849
|
+
"application/json": {
|
|
850
|
+
"schema": {
|
|
851
|
+
"type": "object"
|
|
852
|
+
},
|
|
853
|
+
"example": {}
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
},
|
|
859
|
+
"/mo/uni/infra/vlanns-[{vlanPoolName}]-static.json": {
|
|
860
|
+
"post": {
|
|
861
|
+
"tags": [
|
|
862
|
+
"VLANPoolOperations"
|
|
863
|
+
],
|
|
864
|
+
"operationId": "createStaticVLANPool",
|
|
865
|
+
"description": "The parameters and request body are for method: createStaticVLANPool. Same endpoint also used in methods:",
|
|
866
|
+
"responses": {
|
|
867
|
+
"200": {
|
|
868
|
+
"description": "Successful operation",
|
|
869
|
+
"content": {
|
|
870
|
+
"application/json": {
|
|
871
|
+
"schema": {
|
|
872
|
+
"title": "result",
|
|
873
|
+
"type": "object"
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
},
|
|
879
|
+
"parameters": [
|
|
880
|
+
{
|
|
881
|
+
"name": "vlanPoolName",
|
|
882
|
+
"in": "path",
|
|
883
|
+
"required": true,
|
|
884
|
+
"schema": {
|
|
885
|
+
"title": "vlanPoolName",
|
|
886
|
+
"type": "string"
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
],
|
|
890
|
+
"requestBody": {
|
|
891
|
+
"description": "indeterminate body object",
|
|
892
|
+
"content": {
|
|
893
|
+
"application/json": {
|
|
894
|
+
"schema": {
|
|
895
|
+
"type": "object"
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
},
|
|
902
|
+
"/mo/uni/vmmp-VMware/dom-{vmmDomainName}.json": {
|
|
903
|
+
"post": {
|
|
904
|
+
"tags": [
|
|
905
|
+
"VLANPoolOperations"
|
|
906
|
+
],
|
|
907
|
+
"operationId": "associateVLANPoolWithVMM",
|
|
908
|
+
"description": "The parameters and request body are for method: associateVLANPoolWithVMM. Same endpoint also used in methods:",
|
|
909
|
+
"responses": {
|
|
910
|
+
"200": {
|
|
911
|
+
"description": "Successful operation",
|
|
912
|
+
"content": {
|
|
913
|
+
"application/json": {
|
|
914
|
+
"schema": {
|
|
915
|
+
"title": "result",
|
|
916
|
+
"type": "object"
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
"parameters": [
|
|
923
|
+
{
|
|
924
|
+
"name": "vmmDomainName",
|
|
925
|
+
"in": "path",
|
|
926
|
+
"required": true,
|
|
927
|
+
"schema": {
|
|
928
|
+
"title": "vmmDomainName",
|
|
929
|
+
"type": "string"
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
],
|
|
933
|
+
"requestBody": {
|
|
934
|
+
"description": "indeterminate body object",
|
|
935
|
+
"content": {
|
|
936
|
+
"application/json": {
|
|
937
|
+
"schema": {
|
|
938
|
+
"type": "object"
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
},
|
|
944
|
+
"get": {
|
|
945
|
+
"tags": [
|
|
946
|
+
"VLANPoolOperations"
|
|
947
|
+
],
|
|
948
|
+
"operationId": "getVMMDomainVLANPoolAssociation",
|
|
949
|
+
"description": "The parameters and request body are for method: getVMMDomainVLANPoolAssociation. Same endpoint also used in methods:",
|
|
950
|
+
"responses": {
|
|
951
|
+
"200": {
|
|
952
|
+
"description": "Successful operation",
|
|
953
|
+
"content": {
|
|
954
|
+
"application/json": {
|
|
955
|
+
"schema": {
|
|
956
|
+
"title": "result",
|
|
957
|
+
"type": "object"
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
},
|
|
963
|
+
"parameters": [
|
|
964
|
+
{
|
|
965
|
+
"name": "vmmDomainName",
|
|
966
|
+
"in": "path",
|
|
967
|
+
"required": true,
|
|
968
|
+
"schema": {
|
|
969
|
+
"title": "vmmDomainName",
|
|
970
|
+
"type": "string"
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
],
|
|
974
|
+
"requestBody": {
|
|
975
|
+
"content": {
|
|
976
|
+
"application/json": {
|
|
977
|
+
"schema": {
|
|
978
|
+
"type": "object"
|
|
979
|
+
},
|
|
980
|
+
"example": {}
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
},
|
|
986
|
+
"/mo/uni/infra/vlanns-[{vlanPoolName}]-dynamic/from-[vlan-{vlanStart}]-to-[vlan-{vlanEnd}].json": {
|
|
987
|
+
"post": {
|
|
988
|
+
"tags": [
|
|
989
|
+
"VLANPoolOperations"
|
|
990
|
+
],
|
|
991
|
+
"operationId": "addVLANRangeToPool",
|
|
992
|
+
"description": "The parameters and request body are for method: addVLANRangeToPool. Same endpoint also used in methods:",
|
|
993
|
+
"responses": {
|
|
994
|
+
"200": {
|
|
995
|
+
"description": "Successful operation",
|
|
996
|
+
"content": {
|
|
997
|
+
"application/json": {
|
|
998
|
+
"schema": {
|
|
999
|
+
"title": "result",
|
|
1000
|
+
"type": "object"
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
},
|
|
1006
|
+
"parameters": [
|
|
1007
|
+
{
|
|
1008
|
+
"name": "vlanPoolName",
|
|
1009
|
+
"in": "path",
|
|
1010
|
+
"required": true,
|
|
1011
|
+
"schema": {
|
|
1012
|
+
"title": "vlanPoolName",
|
|
1013
|
+
"type": "string"
|
|
1014
|
+
}
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
"name": "vlanStart",
|
|
1018
|
+
"in": "path",
|
|
1019
|
+
"required": true,
|
|
1020
|
+
"schema": {
|
|
1021
|
+
"title": "vlanStart",
|
|
1022
|
+
"type": "string"
|
|
1023
|
+
}
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"name": "vlanEnd",
|
|
1027
|
+
"in": "path",
|
|
1028
|
+
"required": true,
|
|
1029
|
+
"schema": {
|
|
1030
|
+
"title": "vlanEnd",
|
|
1031
|
+
"type": "string"
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1034
|
+
],
|
|
1035
|
+
"requestBody": {
|
|
1036
|
+
"description": "indeterminate body object",
|
|
1037
|
+
"content": {
|
|
1038
|
+
"application/json": {
|
|
1039
|
+
"schema": {
|
|
1040
|
+
"type": "object"
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
133
1046
|
}
|
|
134
1047
|
},
|
|
135
1048
|
"components": {
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
{
|
|
2
|
+
"errors": [],
|
|
3
|
+
"statistics": [
|
|
4
|
+
{
|
|
5
|
+
"owner": "errorJson",
|
|
6
|
+
"description": "New adapter errors available for use",
|
|
7
|
+
"value": 0
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"owner": "errorJson",
|
|
11
|
+
"description": "Adapter errors no longer available for use",
|
|
12
|
+
"value": 0
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"owner": "errorJson",
|
|
16
|
+
"description": "Adapter errors that have been updated (e.g. recommendation changes)",
|
|
17
|
+
"value": 31
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"owner": "packageJson",
|
|
21
|
+
"description": "Number of production dependencies",
|
|
22
|
+
"value": 15
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"owner": "packageJson",
|
|
26
|
+
"description": "Number of development dependencies",
|
|
27
|
+
"value": 6
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"owner": "packageJson",
|
|
31
|
+
"description": "Number of npm scripts",
|
|
32
|
+
"value": 17
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"owner": "packageJson",
|
|
36
|
+
"description": "Runtime Library dependency",
|
|
37
|
+
"value": "6.0.2"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"owner": "propertiesSchemaJson",
|
|
41
|
+
"description": "Adapter properties defined in the propertiesSchema file",
|
|
42
|
+
"value": 82
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"owner": "markdown",
|
|
46
|
+
"description": "Number of lines in the README.md",
|
|
47
|
+
"value": 345
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"owner": "markdown",
|
|
51
|
+
"description": "Number of lines in the SUMMARY.md",
|
|
52
|
+
"value": 9
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"owner": "markdown",
|
|
56
|
+
"description": "Number of lines in the PROPERTIES.md",
|
|
57
|
+
"value": 677
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"owner": "markdown",
|
|
61
|
+
"description": "Number of lines in the TROUBLESHOOT.md",
|
|
62
|
+
"value": 57
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"owner": "markdown",
|
|
66
|
+
"description": "Number of lines in the ENHANCE.md",
|
|
67
|
+
"value": 70
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"owner": "markdown",
|
|
71
|
+
"description": "Number of lines in the BROKER.md",
|
|
72
|
+
"value": 70
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"owner": "unitTestJS",
|
|
76
|
+
"description": "Number of lines of code in unit tests",
|
|
77
|
+
"value": 2523
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"owner": "unitTestJS",
|
|
81
|
+
"description": "Number of unit tests",
|
|
82
|
+
"value": 138
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"owner": "integrationTestJS",
|
|
86
|
+
"description": "Number of lines of code in integration tests",
|
|
87
|
+
"value": 1183
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"owner": "integrationTestJS",
|
|
91
|
+
"description": "Number of integration tests",
|
|
92
|
+
"value": 38
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"owner": "staticFile",
|
|
96
|
+
"description": "Number of lines of code in adapterBase.js",
|
|
97
|
+
"value": 1527
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"owner": "staticFile",
|
|
101
|
+
"description": "Number of static files added",
|
|
102
|
+
"value": 37
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"owner": "Overall",
|
|
106
|
+
"description": "Total lines of Code",
|
|
107
|
+
"value": 5233
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"owner": "Overall",
|
|
111
|
+
"description": "Total Tests",
|
|
112
|
+
"value": 176
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"owner": "Overall",
|
|
116
|
+
"description": "Total Files",
|
|
117
|
+
"value": 6
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
}
|
package/sampleProperties.json
CHANGED
|
@@ -27,6 +27,9 @@
|
|
|
27
27
|
"client_id": "",
|
|
28
28
|
"client_secret": "",
|
|
29
29
|
"grant_type": "",
|
|
30
|
+
"auth_request_datatype": "",
|
|
31
|
+
"auth_response_datatype": "",
|
|
32
|
+
"token_response_placement": "",
|
|
30
33
|
"sensitive": [],
|
|
31
34
|
"sso": {
|
|
32
35
|
"protocol": "",
|
|
@@ -267,4 +270,4 @@
|
|
|
267
270
|
"brokers": [],
|
|
268
271
|
"logLevel": "none",
|
|
269
272
|
"timeout": 60000
|
|
270
|
-
}
|
|
273
|
+
}
|
|
@@ -579,6 +579,9 @@ describe('[unit] Apic Adapter Test', () => {
|
|
|
579
579
|
assert.equal('string', propertiesDotJson.definitions.authentication.properties.client_id.type);
|
|
580
580
|
assert.equal('string', propertiesDotJson.definitions.authentication.properties.client_secret.type);
|
|
581
581
|
assert.equal('string', propertiesDotJson.definitions.authentication.properties.grant_type.type);
|
|
582
|
+
assert.equal('string', propertiesDotJson.definitions.authentication.properties.auth_request_datatype.type);
|
|
583
|
+
assert.equal('string', propertiesDotJson.definitions.authentication.properties.auth_response_datatype.type);
|
|
584
|
+
assert.equal('string', propertiesDotJson.definitions.authentication.properties.token_response_placement.type);
|
|
582
585
|
assert.notEqual(undefined, propertiesDotJson.definitions.ssl);
|
|
583
586
|
assert.notEqual(null, propertiesDotJson.definitions.ssl);
|
|
584
587
|
assert.notEqual('', propertiesDotJson.definitions.ssl);
|
|
@@ -769,6 +772,9 @@ describe('[unit] Apic Adapter Test', () => {
|
|
|
769
772
|
assert.notEqual(undefined, sampleDotJson.properties.authentication.client_id);
|
|
770
773
|
assert.notEqual(undefined, sampleDotJson.properties.authentication.client_secret);
|
|
771
774
|
assert.notEqual(undefined, sampleDotJson.properties.authentication.grant_type);
|
|
775
|
+
assert.notEqual(undefined, sampleDotJson.properties.authentication.auth_request_datatype);
|
|
776
|
+
assert.notEqual(undefined, sampleDotJson.properties.authentication.auth_response_datatype);
|
|
777
|
+
assert.notEqual(undefined, sampleDotJson.properties.authentication.token_response_placement);
|
|
772
778
|
assert.notEqual(undefined, sampleDotJson.properties.ssl);
|
|
773
779
|
assert.notEqual(null, sampleDotJson.properties.ssl);
|
|
774
780
|
assert.notEqual('', sampleDotJson.properties.ssl);
|