@itentialopensource/adapter-ciena_mcp 0.3.2 → 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.
Files changed (89) hide show
  1. package/AUTH.md +9 -10
  2. package/BROKER.md +3 -3
  3. package/CALLS.md +10042 -22
  4. package/CHANGELOG.md +16 -0
  5. package/CONTRIBUTING.md +1 -160
  6. package/ENHANCE.md +2 -2
  7. package/PROPERTIES.md +19 -19
  8. package/README.md +41 -32
  9. package/SUMMARY.md +2 -2
  10. package/SYSTEMINFO.md +12 -5
  11. package/TROUBLESHOOT.md +6 -6
  12. package/adapter.js +163 -334
  13. package/adapterBase.js +549 -879
  14. package/changelogs/CHANGELOG.md +24 -0
  15. package/entities/000Configmgmtapiv1bulkOperations/schema.json +1 -1
  16. package/entities/000Nsiapicontrollers/schema.json +1 -1
  17. package/entities/000Nsiapiequipment/schema.json +2 -2
  18. package/entities/000NsiapiequipmentGroups/schema.json +3 -3
  19. package/entities/000NsiapiequipmentHolders/schema.json +1 -1
  20. package/entities/000NsiapiequipmentStaticSpecs/schema.json +3 -3
  21. package/entities/000Nsiapifres/schema.json +5 -5
  22. package/entities/000NsiapinetworkConstructs/schema.json +2 -2
  23. package/entities/000Nsiapitpes/schema.json +4 -4
  24. package/entities/994Nsiapiv6equipment/schema.json +2 -2
  25. package/entities/994Nsiapiv6fres/schema.json +5 -5
  26. package/entities/994Nsiapiv6networkConstructs/schema.json +2 -2
  27. package/entities/994Nsiapiv6tpes/schema.json +4 -4
  28. package/entities/995Nsiapiv2controllers/schema.json +1 -1
  29. package/entities/995Nsiapiv5equipment/schema.json +2 -2
  30. package/entities/995Nsiapiv5fres/schema.json +5 -5
  31. package/entities/995Nsiapiv5networkConstructs/schema.json +2 -2
  32. package/entities/995Nsiapiv5tpes/schema.json +3 -3
  33. package/entities/996Nsiapiv1controllers/schema.json +1 -1
  34. package/entities/996Nsiapiv1equipmentStaticSpecs/schema.json +3 -3
  35. package/entities/996Nsiapiv4equipment/schema.json +4 -4
  36. package/entities/996Nsiapiv4fres/schema.json +16 -16
  37. package/entities/996Nsiapiv4networkConstructs/schema.json +2 -2
  38. package/entities/996Nsiapiv4tpes/schema.json +4 -4
  39. package/entities/997Nsiapiv3equipment/schema.json +2 -2
  40. package/entities/997Nsiapiv3equipmentGroups/schema.json +3 -3
  41. package/entities/997Nsiapiv3equipmentHolders/schema.json +1 -1
  42. package/entities/997Nsiapiv3fres/schema.json +4 -4
  43. package/entities/997Nsiapiv3networkConstructs/schema.json +2 -2
  44. package/entities/997Nsiapiv3tpes/schema.json +3 -3
  45. package/entities/998Nsiapiv20equipmentGroups/schema.json +3 -3
  46. package/entities/998Nsiapiv20equipmentHolders/schema.json +1 -1
  47. package/entities/998Nsiapiv20fres/schema.json +4 -4
  48. package/entities/Equipment/schema.json +18 -18
  49. package/entities/EquipmentGroups/schema.json +3 -3
  50. package/entities/Fres/schema.json +66 -66
  51. package/entities/NetworkConstructs/schema.json +22 -22
  52. package/entities/Oam/schema.json +1 -1
  53. package/entities/RetrievesCreatesUpdatesAndDeletesAudits/schema.json +3 -3
  54. package/entities/TapiConnectivity/schema.json +2 -2
  55. package/entities/Tpes/schema.json +6 -6
  56. package/metadata.json +60 -0
  57. package/package.json +23 -25
  58. package/pronghorn.json +986 -647
  59. package/propertiesSchema.json +433 -33
  60. package/refs?service=git-upload-pack +0 -0
  61. package/report/adapter-openapi.json +218608 -0
  62. package/report/adapter-openapi.yaml +159470 -0
  63. package/report/adapterInfo.json +8 -8
  64. package/report/updateReport1691507600369.json +120 -0
  65. package/report/updateReport1692202602603.json +120 -0
  66. package/report/updateReport1694461981982.json +120 -0
  67. package/report/updateReport1698420997295.json +120 -0
  68. package/sampleProperties.json +65 -4
  69. package/test/integration/adapterTestBasicGet.js +2 -4
  70. package/test/integration/adapterTestConnectivity.js +91 -42
  71. package/test/integration/adapterTestIntegration.js +131 -3
  72. package/test/unit/adapterBaseTestUnit.js +388 -313
  73. package/test/unit/adapterTestUnit.js +339 -113
  74. package/utils/adapterInfo.js +1 -1
  75. package/utils/addAuth.js +1 -1
  76. package/utils/artifactize.js +1 -1
  77. package/utils/checkMigrate.js +1 -1
  78. package/utils/entitiesToDB.js +2 -2
  79. package/utils/findPath.js +1 -1
  80. package/utils/methodDocumentor.js +273 -0
  81. package/utils/modify.js +13 -15
  82. package/utils/packModificationScript.js +1 -1
  83. package/utils/pre-commit.sh +2 -0
  84. package/utils/taskMover.js +309 -0
  85. package/utils/tbScript.js +89 -34
  86. package/utils/tbUtils.js +41 -21
  87. package/utils/testRunner.js +1 -1
  88. package/utils/troubleshootingAdapter.js +9 -6
  89. package/workflows/README.md +0 -3
@@ -0,0 +1,24 @@
1
+
2
+ ## 0.3.3 [07-27-2022]
3
+
4
+ * Change schemas to escape . so that objectization is not done
5
+
6
+ See merge request itentialopensource/adapters/controller-orchestrator/adapter-ciena_mcp!2
7
+
8
+ ---
9
+
10
+ ## 0.3.2 [06-03-2022]
11
+
12
+ * Fix Datatype on token
13
+
14
+ See merge request itentialopensource/adapters/controller-orchestrator/adapter-ciena_mcp!1
15
+
16
+ ---
17
+
18
+ ## 0.3.1 [05-26-2022]
19
+
20
+ * Bug fixes and performance improvements
21
+
22
+ See commit 64ba74c
23
+
24
+ ---
@@ -26,7 +26,7 @@
26
26
  "type": "AES",
27
27
  "key": ""
28
28
  },
29
- "external_name": "networkConstruct.id"
29
+ "external_name": "networkConstruct\\.id"
30
30
  }
31
31
  },
32
32
  "definitions": {}
@@ -32,7 +32,7 @@
32
32
  "type": "AES",
33
33
  "key": ""
34
34
  },
35
- "external_name": "networkConstruct.id"
35
+ "external_name": "networkConstruct\\.id"
36
36
  }
37
37
  },
38
38
  "definitions": {}
@@ -38,7 +38,7 @@
38
38
  "type": "AES",
39
39
  "key": ""
40
40
  },
41
- "external_name": "networkConstruct.id"
41
+ "external_name": "networkConstruct\\.id"
42
42
  },
43
43
  "equipmentExpectationsEquipmentIntentId": {
44
44
  "type": "string",
@@ -49,7 +49,7 @@
49
49
  "type": "AES",
50
50
  "key": ""
51
51
  },
52
- "external_name": "equipmentExpectations.equipmentIntent.id"
52
+ "external_name": "equipmentExpectations\\.equipmentIntent\\.id"
53
53
  }
54
54
  },
55
55
  "definitions": {}
@@ -30,7 +30,7 @@
30
30
  "type": "AES",
31
31
  "key": ""
32
32
  },
33
- "external_name": "networkConstruct.id"
33
+ "external_name": "networkConstruct\\.id"
34
34
  },
35
35
  "equipmentId": {
36
36
  "type": "string",
@@ -41,7 +41,7 @@
41
41
  "type": "AES",
42
42
  "key": ""
43
43
  },
44
- "external_name": "equipment.id"
44
+ "external_name": "equipment\\.id"
45
45
  },
46
46
  "equipmentGroupExpectationsEquipmentIntentId": {
47
47
  "type": "string",
@@ -52,7 +52,7 @@
52
52
  "type": "AES",
53
53
  "key": ""
54
54
  },
55
- "external_name": "equipmentGroupExpectations.equipmentIntent.id"
55
+ "external_name": "equipmentGroupExpectations\\.equipmentIntent\\.id"
56
56
  }
57
57
  },
58
58
  "definitions": {}
@@ -24,7 +24,7 @@
24
24
  "type": "AES",
25
25
  "key": ""
26
26
  },
27
- "external_name": "networkConstruct.id"
27
+ "external_name": "networkConstruct\\.id"
28
28
  }
29
29
  },
30
30
  "definitions": {}
@@ -24,7 +24,7 @@
24
24
  "type": "AES",
25
25
  "key": ""
26
26
  },
27
- "external_name": "networkConstruct.id"
27
+ "external_name": "networkConstruct\\.id"
28
28
  },
29
29
  "equipmentId": {
30
30
  "type": "string",
@@ -35,7 +35,7 @@
35
35
  "type": "AES",
36
36
  "key": ""
37
37
  },
38
- "external_name": "equipment.id"
38
+ "external_name": "equipment\\.id"
39
39
  },
40
40
  "attributesCctPackageCctState": {
41
41
  "type": "string",
@@ -46,7 +46,7 @@
46
46
  "type": "AES",
47
47
  "key": ""
48
48
  },
49
- "external_name": "attributes.cctPackage.cctState"
49
+ "external_name": "attributes\\.cctPackage\\.cctState"
50
50
  }
51
51
  },
52
52
  "definitions": {}
@@ -47,7 +47,7 @@
47
47
  "type": "AES",
48
48
  "key": ""
49
49
  },
50
- "external_name": "networkConstruct.id"
50
+ "external_name": "networkConstruct\\.id"
51
51
  },
52
52
  "freExpectationsServiceIntentId": {
53
53
  "type": "string",
@@ -58,7 +58,7 @@
58
58
  "type": "AES",
59
59
  "key": ""
60
60
  },
61
- "external_name": "freExpectations.serviceIntent.id"
61
+ "external_name": "freExpectations\\.serviceIntent\\.id"
62
62
  },
63
63
  "freExpectationsEquipmentIntentId": {
64
64
  "type": "string",
@@ -69,7 +69,7 @@
69
69
  "type": "AES",
70
70
  "key": ""
71
71
  },
72
- "external_name": "freExpectations.equipmentIntent.id"
72
+ "external_name": "freExpectations\\.equipmentIntent\\.id"
73
73
  },
74
74
  "endpointTpeConcrete": {
75
75
  "type": "string",
@@ -80,7 +80,7 @@
80
80
  "type": "AES",
81
81
  "key": ""
82
82
  },
83
- "external_name": "endpoint.tpe.concrete"
83
+ "external_name": "endpoint\\.tpe\\.concrete"
84
84
  },
85
85
  "freExpectationsIntentId": {
86
86
  "type": "string",
@@ -91,7 +91,7 @@
91
91
  "type": "AES",
92
92
  "key": ""
93
93
  },
94
- "external_name": "freExpectations.intent.id"
94
+ "external_name": "freExpectations\\.intent\\.id"
95
95
  },
96
96
  "provisioningAttributes": {
97
97
  "type": "object",
@@ -42,7 +42,7 @@
42
42
  "type": "AES",
43
43
  "key": ""
44
44
  },
45
- "external_name": "networkConstructExpectations.equipmentIntent.id"
45
+ "external_name": "networkConstructExpectations\\.equipmentIntent\\.id"
46
46
  },
47
47
  "networkConstructExpectationsServiceIntentId": {
48
48
  "type": "string",
@@ -53,7 +53,7 @@
53
53
  "type": "AES",
54
54
  "key": ""
55
55
  },
56
- "external_name": "networkConstructExpectations.serviceIntent.id"
56
+ "external_name": "networkConstructExpectations\\.serviceIntent\\.id"
57
57
  }
58
58
  },
59
59
  "definitions": {}
@@ -42,7 +42,7 @@
42
42
  "type": "AES",
43
43
  "key": ""
44
44
  },
45
- "external_name": "networkConstruct.id"
45
+ "external_name": "networkConstruct\\.id"
46
46
  },
47
47
  "tpeExpectationsEquipmentIntentId": {
48
48
  "type": "string",
@@ -53,7 +53,7 @@
53
53
  "type": "AES",
54
54
  "key": ""
55
55
  },
56
- "external_name": "tpeExpectations.equipmentIntent.id"
56
+ "external_name": "tpeExpectations\\.equipmentIntent\\.id"
57
57
  },
58
58
  "tpeExpectationsServiceIntentId": {
59
59
  "type": "string",
@@ -64,7 +64,7 @@
64
64
  "type": "AES",
65
65
  "key": ""
66
66
  },
67
- "external_name": "tpeExpectations.serviceIntent.id"
67
+ "external_name": "tpeExpectations\\.serviceIntent\\.id"
68
68
  },
69
69
  "tpeExpectationsIntentId": {
70
70
  "type": "string",
@@ -75,7 +75,7 @@
75
75
  "type": "AES",
76
76
  "key": ""
77
77
  },
78
- "external_name": "tpeExpectations.intent.id"
78
+ "external_name": "tpeExpectations\\.intent\\.id"
79
79
  }
80
80
  },
81
81
  "definitions": {}
@@ -23,7 +23,7 @@
23
23
  "type": "AES",
24
24
  "key": ""
25
25
  },
26
- "external_name": "networkConstruct.id"
26
+ "external_name": "networkConstruct\\.id"
27
27
  },
28
28
  "equipmentExpectationsEquipmentIntentId": {
29
29
  "type": "string",
@@ -34,7 +34,7 @@
34
34
  "type": "AES",
35
35
  "key": ""
36
36
  },
37
- "external_name": "equipmentExpectations.equipmentIntent.id"
37
+ "external_name": "equipmentExpectations\\.equipmentIntent\\.id"
38
38
  }
39
39
  },
40
40
  "definitions": {}
@@ -25,7 +25,7 @@
25
25
  "type": "AES",
26
26
  "key": ""
27
27
  },
28
- "external_name": "networkConstruct.id"
28
+ "external_name": "networkConstruct\\.id"
29
29
  },
30
30
  "freExpectationsServiceIntentId": {
31
31
  "type": "string",
@@ -36,7 +36,7 @@
36
36
  "type": "AES",
37
37
  "key": ""
38
38
  },
39
- "external_name": "freExpectations.serviceIntent.id"
39
+ "external_name": "freExpectations\\.serviceIntent\\.id"
40
40
  },
41
41
  "freExpectationsEquipmentIntentId": {
42
42
  "type": "string",
@@ -47,7 +47,7 @@
47
47
  "type": "AES",
48
48
  "key": ""
49
49
  },
50
- "external_name": "freExpectations.equipmentIntent.id"
50
+ "external_name": "freExpectations\\.equipmentIntent\\.id"
51
51
  },
52
52
  "endpointTpeConcrete": {
53
53
  "type": "string",
@@ -58,7 +58,7 @@
58
58
  "type": "AES",
59
59
  "key": ""
60
60
  },
61
- "external_name": "endpoint.tpe.concrete"
61
+ "external_name": "endpoint\\.tpe\\.concrete"
62
62
  },
63
63
  "freExpectationsIntentId": {
64
64
  "type": "string",
@@ -69,7 +69,7 @@
69
69
  "type": "AES",
70
70
  "key": ""
71
71
  },
72
- "external_name": "freExpectations.intent.id"
72
+ "external_name": "freExpectations\\.intent\\.id"
73
73
  },
74
74
  "provisioningAttributes": {
75
75
  "type": "object",
@@ -23,7 +23,7 @@
23
23
  "type": "AES",
24
24
  "key": ""
25
25
  },
26
- "external_name": "networkConstructExpectations.equipmentIntent.id"
26
+ "external_name": "networkConstructExpectations\\.equipmentIntent\\.id"
27
27
  },
28
28
  "networkConstructExpectationsServiceIntentId": {
29
29
  "type": "string",
@@ -34,7 +34,7 @@
34
34
  "type": "AES",
35
35
  "key": ""
36
36
  },
37
- "external_name": "networkConstructExpectations.serviceIntent.id"
37
+ "external_name": "networkConstructExpectations\\.serviceIntent\\.id"
38
38
  }
39
39
  },
40
40
  "definitions": {}
@@ -26,7 +26,7 @@
26
26
  "type": "AES",
27
27
  "key": ""
28
28
  },
29
- "external_name": "networkConstruct.id"
29
+ "external_name": "networkConstruct\\.id"
30
30
  },
31
31
  "tpeExpectationsEquipmentIntentId": {
32
32
  "type": "string",
@@ -37,7 +37,7 @@
37
37
  "type": "AES",
38
38
  "key": ""
39
39
  },
40
- "external_name": "tpeExpectations.equipmentIntent.id"
40
+ "external_name": "tpeExpectations\\.equipmentIntent\\.id"
41
41
  },
42
42
  "tpeExpectationsServiceIntentId": {
43
43
  "type": "string",
@@ -48,7 +48,7 @@
48
48
  "type": "AES",
49
49
  "key": ""
50
50
  },
51
- "external_name": "tpeExpectations.serviceIntent.id"
51
+ "external_name": "tpeExpectations\\.serviceIntent\\.id"
52
52
  },
53
53
  "tpeExpectationsIntentId": {
54
54
  "type": "string",
@@ -59,7 +59,7 @@
59
59
  "type": "AES",
60
60
  "key": ""
61
61
  },
62
- "external_name": "tpeExpectations.intent.id"
62
+ "external_name": "tpeExpectations\\.intent\\.id"
63
63
  }
64
64
  },
65
65
  "definitions": {}
@@ -24,7 +24,7 @@
24
24
  "type": "AES",
25
25
  "key": ""
26
26
  },
27
- "external_name": "networkConstruct.id"
27
+ "external_name": "networkConstruct\\.id"
28
28
  }
29
29
  },
30
30
  "definitions": {}
@@ -23,7 +23,7 @@
23
23
  "type": "AES",
24
24
  "key": ""
25
25
  },
26
- "external_name": "networkConstruct.id"
26
+ "external_name": "networkConstruct\\.id"
27
27
  },
28
28
  "equipmentExpectationsEquipmentIntentId": {
29
29
  "type": "string",
@@ -34,7 +34,7 @@
34
34
  "type": "AES",
35
35
  "key": ""
36
36
  },
37
- "external_name": "equipmentExpectations.equipmentIntent.id"
37
+ "external_name": "equipmentExpectations\\.equipmentIntent\\.id"
38
38
  }
39
39
  },
40
40
  "definitions": {}
@@ -24,7 +24,7 @@
24
24
  "type": "AES",
25
25
  "key": ""
26
26
  },
27
- "external_name": "networkConstruct.id"
27
+ "external_name": "networkConstruct\\.id"
28
28
  },
29
29
  "freExpectationsServiceIntentId": {
30
30
  "type": "string",
@@ -35,7 +35,7 @@
35
35
  "type": "AES",
36
36
  "key": ""
37
37
  },
38
- "external_name": "freExpectations.serviceIntent.id"
38
+ "external_name": "freExpectations\\.serviceIntent\\.id"
39
39
  },
40
40
  "freExpectationsEquipmentIntentId": {
41
41
  "type": "string",
@@ -46,7 +46,7 @@
46
46
  "type": "AES",
47
47
  "key": ""
48
48
  },
49
- "external_name": "freExpectations.equipmentIntent.id"
49
+ "external_name": "freExpectations\\.equipmentIntent\\.id"
50
50
  },
51
51
  "endpointTpeConcrete": {
52
52
  "type": "string",
@@ -57,7 +57,7 @@
57
57
  "type": "AES",
58
58
  "key": ""
59
59
  },
60
- "external_name": "endpoint.tpe.concrete"
60
+ "external_name": "endpoint\\.tpe\\.concrete"
61
61
  },
62
62
  "freExpectationsIntentId": {
63
63
  "type": "string",
@@ -68,7 +68,7 @@
68
68
  "type": "AES",
69
69
  "key": ""
70
70
  },
71
- "external_name": "freExpectations.intent.id"
71
+ "external_name": "freExpectations\\.intent\\.id"
72
72
  }
73
73
  },
74
74
  "definitions": {}
@@ -25,7 +25,7 @@
25
25
  "type": "AES",
26
26
  "key": ""
27
27
  },
28
- "external_name": "networkConstructExpectations.equipmentIntent.id"
28
+ "external_name": "networkConstructExpectations\\.equipmentIntent\\.id"
29
29
  },
30
30
  "networkConstructExpectationsServiceIntentId": {
31
31
  "type": "string",
@@ -36,7 +36,7 @@
36
36
  "type": "AES",
37
37
  "key": ""
38
38
  },
39
- "external_name": "networkConstructExpectations.serviceIntent.id"
39
+ "external_name": "networkConstructExpectations\\.serviceIntent\\.id"
40
40
  }
41
41
  },
42
42
  "definitions": {}
@@ -25,7 +25,7 @@
25
25
  "type": "AES",
26
26
  "key": ""
27
27
  },
28
- "external_name": "networkConstruct.id"
28
+ "external_name": "networkConstruct\\.id"
29
29
  },
30
30
  "tpeExpectationsEquipmentIntentId": {
31
31
  "type": "string",
@@ -36,7 +36,7 @@
36
36
  "type": "AES",
37
37
  "key": ""
38
38
  },
39
- "external_name": "tpeExpectations.equipmentIntent.id"
39
+ "external_name": "tpeExpectations\\.equipmentIntent\\.id"
40
40
  },
41
41
  "tpeExpectationsServiceIntentId": {
42
42
  "type": "string",
@@ -47,7 +47,7 @@
47
47
  "type": "AES",
48
48
  "key": ""
49
49
  },
50
- "external_name": "tpeExpectations.serviceIntent.id"
50
+ "external_name": "tpeExpectations\\.serviceIntent\\.id"
51
51
  }
52
52
  },
53
53
  "definitions": {}
@@ -32,7 +32,7 @@
32
32
  "type": "AES",
33
33
  "key": ""
34
34
  },
35
- "external_name": "networkConstruct.id"
35
+ "external_name": "networkConstruct\\.id"
36
36
  }
37
37
  },
38
38
  "definitions": {}
@@ -24,7 +24,7 @@
24
24
  "type": "AES",
25
25
  "key": ""
26
26
  },
27
- "external_name": "networkConstruct.id"
27
+ "external_name": "networkConstruct\\.id"
28
28
  },
29
29
  "equipmentId": {
30
30
  "type": "string",
@@ -35,7 +35,7 @@
35
35
  "type": "AES",
36
36
  "key": ""
37
37
  },
38
- "external_name": "equipment.id"
38
+ "external_name": "equipment\\.id"
39
39
  },
40
40
  "attributesCctPackageCctState": {
41
41
  "type": "string",
@@ -46,7 +46,7 @@
46
46
  "type": "AES",
47
47
  "key": ""
48
48
  },
49
- "external_name": "attributes.cctPackage.cctState"
49
+ "external_name": "attributes\\.cctPackage\\.cctState"
50
50
  }
51
51
  },
52
52
  "definitions": {}
@@ -24,7 +24,7 @@
24
24
  "type": "AES",
25
25
  "key": ""
26
26
  },
27
- "external_name": "networkConstruct.name"
27
+ "external_name": "networkConstruct\\.name"
28
28
  },
29
29
  "networkConstructId": {
30
30
  "type": "string",
@@ -35,7 +35,7 @@
35
35
  "type": "AES",
36
36
  "key": ""
37
37
  },
38
- "external_name": "networkConstruct.id"
38
+ "external_name": "networkConstruct\\.id"
39
39
  },
40
40
  "equipmentExpectationsEquipmentIntentId": {
41
41
  "type": "string",
@@ -46,7 +46,7 @@
46
46
  "type": "AES",
47
47
  "key": ""
48
48
  },
49
- "external_name": "equipmentExpectations.equipmentIntent.id"
49
+ "external_name": "equipmentExpectations\\.equipmentIntent\\.id"
50
50
  },
51
51
  "networkConstructMacAddress": {
52
52
  "type": "string",
@@ -57,7 +57,7 @@
57
57
  "type": "AES",
58
58
  "key": ""
59
59
  },
60
- "external_name": "networkConstruct.macAddress"
60
+ "external_name": "networkConstruct\\.macAddress"
61
61
  }
62
62
  },
63
63
  "definitions": {}