@itentialopensource/adapter-nokia_altiplano 0.1.3 → 0.4.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/AUTH.md +37 -0
- package/CALLS.md +95 -0
- package/CHANGELOG.md +24 -0
- package/ENHANCE.md +69 -0
- package/PROPERTIES.md +241 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +12 -0
- package/TROUBLESHOOT.md +46 -0
- package/adapter.js +1135 -148
- package/adapterBase.js +1 -1
- package/entities/Intent/action.json +116 -0
- package/entities/Intent/schema.json +6 -1
- package/package.json +3 -3
- package/pronghorn.json +591 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/updateReport1647623246588.json +95 -0
- package/sampleProperties.json +2 -2
- package/test/integration/adapterTestIntegration.js +154 -0
- package/test/unit/adapterTestUnit.js +287 -0
- package/utils/basicGet.js +0 -17
- package/utils/modify.js +1 -1
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/tbScript.js +4 -4
- package/utils/tbUtils.js +51 -6
- package/utils/troubleshootingAdapter.js +2 -26
package/adapterBase.js
CHANGED
|
@@ -822,7 +822,7 @@ class AdapterBase extends EventEmitterCl {
|
|
|
822
822
|
*/
|
|
823
823
|
async runConnectivity(callback) {
|
|
824
824
|
try {
|
|
825
|
-
const { serviceItem } = await
|
|
825
|
+
const { serviceItem } = await tbUtils.getAdapterConfig();
|
|
826
826
|
const { host } = serviceItem.properties.properties;
|
|
827
827
|
const result = tbUtils.runConnectivity(host, false);
|
|
828
828
|
if (result.failCount > 0) {
|
|
@@ -346,6 +346,122 @@
|
|
|
346
346
|
"mockFile": ""
|
|
347
347
|
}
|
|
348
348
|
]
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"name": "getIbnIntent",
|
|
352
|
+
"protocol": "REST",
|
|
353
|
+
"method": "GET",
|
|
354
|
+
"entitypath": "{base_path}/{version}/restconf/data/ibn:ibn/{pathv1}?{query}",
|
|
355
|
+
"requestSchema": "schema.json",
|
|
356
|
+
"responseSchema": "schema.json",
|
|
357
|
+
"timeout": 0,
|
|
358
|
+
"sendEmpty": false,
|
|
359
|
+
"sendGetBody": false,
|
|
360
|
+
"requestDatatype": "JSON",
|
|
361
|
+
"responseDatatype": "JSON",
|
|
362
|
+
"headers": {
|
|
363
|
+
"Content-Type": "application/yang-data+json",
|
|
364
|
+
"Accept": "application/yang-data+json"
|
|
365
|
+
},
|
|
366
|
+
"responseObjects": [
|
|
367
|
+
{
|
|
368
|
+
"type": "default",
|
|
369
|
+
"key": "",
|
|
370
|
+
"mockFile": ""
|
|
371
|
+
}
|
|
372
|
+
]
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"name": "modifyIbnIntent",
|
|
376
|
+
"protocol": "REST",
|
|
377
|
+
"method": "PATCH",
|
|
378
|
+
"entitypath": "{base_path}/{version}/restconf/data/ibn:ibn/{pathv1}?{query}",
|
|
379
|
+
"requestSchema": "schema.json",
|
|
380
|
+
"responseSchema": "schema.json",
|
|
381
|
+
"timeout": 0,
|
|
382
|
+
"sendEmpty": false,
|
|
383
|
+
"requestDatatype": "JSON",
|
|
384
|
+
"responseDatatype": "JSON",
|
|
385
|
+
"headers": {
|
|
386
|
+
"Content-Type": "application/yang-data+json",
|
|
387
|
+
"Accept": "application/yang-data+json"
|
|
388
|
+
},
|
|
389
|
+
"responseObjects": [
|
|
390
|
+
{
|
|
391
|
+
"type": "default",
|
|
392
|
+
"key": "",
|
|
393
|
+
"mockFile": ""
|
|
394
|
+
}
|
|
395
|
+
]
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"name": "deleteIbnIntent",
|
|
399
|
+
"protocol": "REST",
|
|
400
|
+
"method": "DELETE",
|
|
401
|
+
"entitypath": "{base_path}/{version}/restconf/data/ibn:ibn/{pathv1}?{query}",
|
|
402
|
+
"requestSchema": "schema.json",
|
|
403
|
+
"responseSchema": "schema.json",
|
|
404
|
+
"timeout": 0,
|
|
405
|
+
"sendEmpty": false,
|
|
406
|
+
"requestDatatype": "JSON",
|
|
407
|
+
"responseDatatype": "JSON",
|
|
408
|
+
"headers": {
|
|
409
|
+
"Content-Type": "application/yang-data+json",
|
|
410
|
+
"Accept": "application/yang-data+json"
|
|
411
|
+
},
|
|
412
|
+
"responseObjects": [
|
|
413
|
+
{
|
|
414
|
+
"type": "default",
|
|
415
|
+
"key": "",
|
|
416
|
+
"mockFile": ""
|
|
417
|
+
}
|
|
418
|
+
]
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"name": "synchronizeIbnIntent",
|
|
422
|
+
"protocol": "REST",
|
|
423
|
+
"method": "POST",
|
|
424
|
+
"entitypath": "{base_path}/{version}/restconf/data/ibn:ibn/{pathv1}/synchronize?{query}",
|
|
425
|
+
"requestSchema": "schema.json",
|
|
426
|
+
"responseSchema": "schema.json",
|
|
427
|
+
"timeout": 0,
|
|
428
|
+
"sendEmpty": false,
|
|
429
|
+
"requestDatatype": "JSON",
|
|
430
|
+
"responseDatatype": "JSON",
|
|
431
|
+
"headers": {
|
|
432
|
+
"Content-Type": "application/yang-data+json",
|
|
433
|
+
"Accept": "application/yang-data+json"
|
|
434
|
+
},
|
|
435
|
+
"responseObjects": [
|
|
436
|
+
{
|
|
437
|
+
"type": "default",
|
|
438
|
+
"key": "",
|
|
439
|
+
"mockFile": ""
|
|
440
|
+
}
|
|
441
|
+
]
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"name": "auditIbnIntent",
|
|
445
|
+
"protocol": "REST",
|
|
446
|
+
"method": "POST",
|
|
447
|
+
"entitypath": "{base_path}/{version}/restconf/data/ibn:ibn/{pathv1}/audit?{query}",
|
|
448
|
+
"requestSchema": "schema.json",
|
|
449
|
+
"responseSchema": "schema.json",
|
|
450
|
+
"timeout": 0,
|
|
451
|
+
"sendEmpty": false,
|
|
452
|
+
"requestDatatype": "JSON",
|
|
453
|
+
"responseDatatype": "JSON",
|
|
454
|
+
"headers": {
|
|
455
|
+
"Content-Type": "application/yang-data+json",
|
|
456
|
+
"Accept": "application/yang-data+json"
|
|
457
|
+
},
|
|
458
|
+
"responseObjects": [
|
|
459
|
+
{
|
|
460
|
+
"type": "default",
|
|
461
|
+
"key": "",
|
|
462
|
+
"mockFile": ""
|
|
463
|
+
}
|
|
464
|
+
]
|
|
349
465
|
}
|
|
350
466
|
]
|
|
351
467
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-nokia_altiplano",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "This adapter integrates with system described as: Nokia Altiplano.",
|
|
5
5
|
"main": "adapter.js",
|
|
6
6
|
"wizardVersion": "2.44.7",
|
|
7
|
-
"engineVersion": "1.59.
|
|
7
|
+
"engineVersion": "1.59.55",
|
|
8
8
|
"adapterType": "http",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"artifactize": "npm i && node utils/packModificationScript.js",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"author": "Itential",
|
|
55
55
|
"homepage": "https://gitlab.com/itentialopensource/adapters/controller-orchestrator/adapter-nokia_altiplano#readme",
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@itentialopensource/adapter-utils": "^4.44.
|
|
57
|
+
"@itentialopensource/adapter-utils": "^4.44.11",
|
|
58
58
|
"ajv": "^6.12.0",
|
|
59
59
|
"axios": "^0.21.0",
|
|
60
60
|
"commander": "^2.20.0",
|