@itentialopensource/adapter-nokia_altiplano 0.2.0 → 0.5.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.
@@ -0,0 +1,70 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getEntityOntView",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/ema/entity/{pathv1}/ONT/{pathv2}/{pathv3}?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "JSON",
13
+ "responseDatatype": "JSON",
14
+ "headers": {
15
+ "Content-Type": "application/yang-data+json"
16
+ },
17
+ "responseObjects": [
18
+ {
19
+ "type": "default",
20
+ "key": "",
21
+ "mockFile": ""
22
+ }
23
+ ]
24
+ },
25
+ {
26
+ "name": "getEntityOntPort",
27
+ "protocol": "REST",
28
+ "method": "GET",
29
+ "entitypath": "{base_path}/{version}/ema/entity/{pathv1}/ONT%20Port/{pathv2}/{pathv3}?{query}",
30
+ "requestSchema": "schema.json",
31
+ "responseSchema": "schema.json",
32
+ "timeout": 0,
33
+ "sendEmpty": false,
34
+ "requestDatatype": "JSON",
35
+ "responseDatatype": "JSON",
36
+ "headers": {
37
+ "Content-Type": "application/yang-data+json"
38
+ },
39
+ "responseObjects": [
40
+ {
41
+ "type": "default",
42
+ "key": "",
43
+ "mockFile": ""
44
+ }
45
+ ]
46
+ },
47
+ {
48
+ "name": "getEntityOntVlanAssociation",
49
+ "protocol": "REST",
50
+ "method": "GET",
51
+ "entitypath": "{base_path}/{version}/ema/entity/{pathv1}/ONT%20VLAN%20Association/{pathv2}/{pathv3}?{query}",
52
+ "requestSchema": "schema.json",
53
+ "responseSchema": "schema.json",
54
+ "timeout": 0,
55
+ "sendEmpty": false,
56
+ "requestDatatype": "JSON",
57
+ "responseDatatype": "JSON",
58
+ "headers": {
59
+ "Content-Type": "application/yang-data+json"
60
+ },
61
+ "responseObjects": [
62
+ {
63
+ "type": "default",
64
+ "key": "",
65
+ "mockFile": ""
66
+ }
67
+ ]
68
+ }
69
+ ]
70
+ }
@@ -0,0 +1,21 @@
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": "getEntityOntView",
12
+ "enum": [
13
+ "getEntityOntView",
14
+ "getEntityOntPort",
15
+ "getEntityOntVlanAssociation"
16
+ ],
17
+ "external_name": "ph_request_type"
18
+ }
19
+ },
20
+ "definitions": {}
21
+ }
@@ -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
  }
@@ -24,7 +24,12 @@
24
24
  "getl2User",
25
25
  "modifyl2User",
26
26
  "deletel2User",
27
- "auditl2User"
27
+ "auditl2User",
28
+ "getIbnIntent",
29
+ "modifyIbnIntent",
30
+ "deleteIbnIntent",
31
+ "synchronizeIbnIntent",
32
+ "auditIbnIntent"
28
33
  ],
29
34
  "external_name": "ph_request_type"
30
35
  }
package/error.json CHANGED
@@ -96,6 +96,12 @@
96
96
  "displayString": "Invalid properties: $VARIABLE$",
97
97
  "recommendation": "Verify the properties for the adapter"
98
98
  },
99
+ {
100
+ "key": "Missing Properties",
101
+ "icode": "AD.306",
102
+ "displayString": "Property $VARIABLE$ is required",
103
+ "recommendation": "Please provide the required property"
104
+ },
99
105
  {
100
106
  "key": "Query Not Translated",
101
107
  "icode": "AD.310",
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-nokia_altiplano",
3
- "version": "0.2.0",
3
+ "version": "0.5.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.55",
7
+ "engineVersion": "1.61.2",
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.11",
57
+ "@itentialopensource/adapter-utils": "^4.45.4",
58
58
  "ajv": "^6.12.0",
59
59
  "axios": "^0.21.0",
60
60
  "commander": "^2.20.0",