@itentialopensource/adapter-nokia_altiplano 0.1.1 → 0.3.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.
@@ -46,7 +46,7 @@
46
46
  "type": "AES",
47
47
  "key": ""
48
48
  },
49
- "external_name": "token"
49
+ "external_name": "accessToken"
50
50
  }
51
51
  },
52
52
  "definitions": {}
@@ -11,7 +11,10 @@
11
11
  "sendEmpty": false,
12
12
  "requestDatatype": "JSON",
13
13
  "responseDatatype": "JSON",
14
- "headers": {},
14
+ "headers": {
15
+ "Content-Type": "application/yang-data+json",
16
+ "Accept": "application/yang-data+json"
17
+ },
15
18
  "responseObjects": [
16
19
  {
17
20
  "type": "default",
@@ -24,14 +27,17 @@
24
27
  "name": "dependentsSummaryForDevice",
25
28
  "protocol": "REST",
26
29
  "method": "POST",
27
- "entitypath": "{base_path}/{version}/conf/data/ibn:ibn/{pathv1}/dependents-summary?{query}",
30
+ "entitypath": "{base_path}/{version}/restconf/data/ibn:ibn/{pathv1}/dependents-summary?{query}",
28
31
  "requestSchema": "schema.json",
29
32
  "responseSchema": "schema.json",
30
33
  "timeout": 0,
31
34
  "sendEmpty": false,
32
35
  "requestDatatype": "JSON",
33
36
  "responseDatatype": "JSON",
34
- "headers": {},
37
+ "headers": {
38
+ "Content-Type": "application/yang-data+json",
39
+ "Accept": "application/yang-data+json"
40
+ },
35
41
  "responseObjects": [
36
42
  {
37
43
  "type": "default",
@@ -44,14 +50,17 @@
44
50
  "name": "getuplinkConnectionConfiguration",
45
51
  "protocol": "REST",
46
52
  "method": "POST",
47
- "entitypath": "{base_path}/{version}/conf/operations/ibn:search-intents?{query}",
53
+ "entitypath": "{base_path}/{version}/restconf/operations/ibn:search-intents?{query}",
48
54
  "requestSchema": "schema.json",
49
55
  "responseSchema": "schema.json",
50
56
  "timeout": 0,
51
57
  "sendEmpty": false,
52
58
  "requestDatatype": "JSON",
53
59
  "responseDatatype": "JSON",
54
- "headers": {},
60
+ "headers": {
61
+ "Content-Type": "application/yang-data+json",
62
+ "Accept": "application/yang-data+json"
63
+ },
55
64
  "responseObjects": [
56
65
  {
57
66
  "type": "default",
@@ -64,14 +73,17 @@
64
73
  "name": "dependentsSummaryFiber",
65
74
  "protocol": "REST",
66
75
  "method": "POST",
67
- "entitypath": "{base_path}/{version}/conf/data/ibn:ibn/{pathv1},fiber/dependents-summary?{query}",
76
+ "entitypath": "{base_path}/{version}/restconf/data/ibn:ibn/{pathv1},fiber/dependents-summary?{query}",
68
77
  "requestSchema": "schema.json",
69
78
  "responseSchema": "schema.json",
70
79
  "timeout": 0,
71
80
  "sendEmpty": false,
72
81
  "requestDatatype": "JSON",
73
82
  "responseDatatype": "JSON",
74
- "headers": {},
83
+ "headers": {
84
+ "Content-Type": "application/yang-data+json",
85
+ "Accept": "application/yang-data+json"
86
+ },
75
87
  "responseObjects": [
76
88
  {
77
89
  "type": "default",
@@ -84,14 +96,17 @@
84
96
  "name": "createOnt",
85
97
  "protocol": "REST",
86
98
  "method": "POST",
87
- "entitypath": "{base_path}/{version}/conf/data/ibn:ibn?{query}",
99
+ "entitypath": "{base_path}/{version}/restconf/data/ibn:ibn?{query}",
88
100
  "requestSchema": "schema.json",
89
101
  "responseSchema": "schema.json",
90
102
  "timeout": 0,
91
103
  "sendEmpty": false,
92
104
  "requestDatatype": "JSON",
93
105
  "responseDatatype": "JSON",
94
- "headers": {},
106
+ "headers": {
107
+ "Content-Type": "application/yang-data+json",
108
+ "Accept": "application/yang-data+json"
109
+ },
95
110
  "responseObjects": [
96
111
  {
97
112
  "type": "default",
@@ -104,7 +119,7 @@
104
119
  "name": "getOnt",
105
120
  "protocol": "REST",
106
121
  "method": "GET",
107
- "entitypath": "{base_path}/{version}/conf/data/ibn:ibn/{pathv1},ont?{query}",
122
+ "entitypath": "{base_path}/{version}/restconf/data/ibn:ibn/{pathv1},ont?{query}",
108
123
  "requestSchema": "schema.json",
109
124
  "responseSchema": "schema.json",
110
125
  "timeout": 0,
@@ -112,7 +127,10 @@
112
127
  "sendGetBody": false,
113
128
  "requestDatatype": "JSON",
114
129
  "responseDatatype": "JSON",
115
- "headers": {},
130
+ "headers": {
131
+ "Content-Type": "application/yang-data+json",
132
+ "Accept": "application/yang-data+json"
133
+ },
116
134
  "responseObjects": [
117
135
  {
118
136
  "type": "default",
@@ -125,14 +143,17 @@
125
143
  "name": "lockOnt",
126
144
  "protocol": "REST",
127
145
  "method": "PATCH",
128
- "entitypath": "{base_path}/{version}/conf/data/ibn:ibn/{pathv1},ont?{query}",
146
+ "entitypath": "{base_path}/{version}/restconf/data/ibn:ibn/{pathv1},ont?{query}",
129
147
  "requestSchema": "schema.json",
130
148
  "responseSchema": "schema.json",
131
149
  "timeout": 0,
132
150
  "sendEmpty": false,
133
151
  "requestDatatype": "JSON",
134
152
  "responseDatatype": "JSON",
135
- "headers": {},
153
+ "headers": {
154
+ "Content-Type": "application/yang-data+json",
155
+ "Accept": "application/yang-data+json"
156
+ },
136
157
  "responseObjects": [
137
158
  {
138
159
  "type": "default",
@@ -145,14 +166,17 @@
145
166
  "name": "deleteOnt",
146
167
  "protocol": "REST",
147
168
  "method": "DELETE",
148
- "entitypath": "{base_path}/{version}/conf/data/ibn:ibn/{pathv1},ont?{query}",
169
+ "entitypath": "{base_path}/{version}/restconf/data/ibn:ibn/{pathv1},ont?{query}",
149
170
  "requestSchema": "schema.json",
150
171
  "responseSchema": "schema.json",
151
172
  "timeout": 0,
152
173
  "sendEmpty": false,
153
174
  "requestDatatype": "JSON",
154
175
  "responseDatatype": "JSON",
155
- "headers": {},
176
+ "headers": {
177
+ "Content-Type": "application/yang-data+json",
178
+ "Accept": "application/yang-data+json"
179
+ },
156
180
  "responseObjects": [
157
181
  {
158
182
  "type": "default",
@@ -165,14 +189,17 @@
165
189
  "name": "synchronizeOnt",
166
190
  "protocol": "REST",
167
191
  "method": "POST",
168
- "entitypath": "{base_path}/{version}/conf/data/ibn:ibn/{pathv1},ont/synchronize?{query}",
192
+ "entitypath": "{base_path}/{version}/restconf/data/ibn:ibn/{pathv1},ont/synchronize?{query}",
169
193
  "requestSchema": "schema.json",
170
194
  "responseSchema": "schema.json",
171
195
  "timeout": 0,
172
196
  "sendEmpty": false,
173
197
  "requestDatatype": "JSON",
174
198
  "responseDatatype": "JSON",
175
- "headers": {},
199
+ "headers": {
200
+ "Content-Type": "application/yang-data+json",
201
+ "Accept": "application/yang-data+json"
202
+ },
176
203
  "responseObjects": [
177
204
  {
178
205
  "type": "default",
@@ -185,14 +212,17 @@
185
212
  "name": "auditOnt",
186
213
  "protocol": "REST",
187
214
  "method": "POST",
188
- "entitypath": "{base_path}/{version}/conf/data/ibn:ibn/{pathv1},ont/audit?{query}",
215
+ "entitypath": "{base_path}/{version}/restconf/data/ibn:ibn/{pathv1},ont/audit?{query}",
189
216
  "requestSchema": "schema.json",
190
217
  "responseSchema": "schema.json",
191
218
  "timeout": 0,
192
219
  "sendEmpty": false,
193
220
  "requestDatatype": "JSON",
194
221
  "responseDatatype": "JSON",
195
- "headers": {},
222
+ "headers": {
223
+ "Content-Type": "application/yang-data+json",
224
+ "Accept": "application/yang-data+json"
225
+ },
196
226
  "responseObjects": [
197
227
  {
198
228
  "type": "default",
@@ -205,14 +235,17 @@
205
235
  "name": "synchronizel2User",
206
236
  "protocol": "REST",
207
237
  "method": "POST",
208
- "entitypath": "{base_path}/{version}/conf/data/ibn:ibn/{pathv1},l2-user/synchronize?{query}",
238
+ "entitypath": "{base_path}/{version}/restconf/data/ibn:ibn/{pathv1},l2-user/synchronize?{query}",
209
239
  "requestSchema": "schema.json",
210
240
  "responseSchema": "schema.json",
211
241
  "timeout": 0,
212
242
  "sendEmpty": false,
213
243
  "requestDatatype": "JSON",
214
244
  "responseDatatype": "JSON",
215
- "headers": {},
245
+ "headers": {
246
+ "Content-Type": "application/yang-data+json",
247
+ "Accept": "application/yang-data+json"
248
+ },
216
249
  "responseObjects": [
217
250
  {
218
251
  "type": "default",
@@ -225,7 +258,7 @@
225
258
  "name": "getl2User",
226
259
  "protocol": "REST",
227
260
  "method": "GET",
228
- "entitypath": "{base_path}/{version}/conf/data/ibn:ibn/{pathv1},l2-user?{query}",
261
+ "entitypath": "{base_path}/{version}/restconf/data/ibn:ibn/{pathv1},l2-user?{query}",
229
262
  "requestSchema": "schema.json",
230
263
  "responseSchema": "schema.json",
231
264
  "timeout": 0,
@@ -233,7 +266,10 @@
233
266
  "sendGetBody": false,
234
267
  "requestDatatype": "JSON",
235
268
  "responseDatatype": "JSON",
236
- "headers": {},
269
+ "headers": {
270
+ "Content-Type": "application/yang-data+json",
271
+ "Accept": "application/yang-data+json"
272
+ },
237
273
  "responseObjects": [
238
274
  {
239
275
  "type": "default",
@@ -246,14 +282,17 @@
246
282
  "name": "modifyl2User",
247
283
  "protocol": "REST",
248
284
  "method": "PATCH",
249
- "entitypath": "{base_path}/{version}/conf/data/ibn:ibn/{pathv1},l2-user?{query}",
285
+ "entitypath": "{base_path}/{version}/restconf/data/ibn:ibn/{pathv1},l2-user?{query}",
250
286
  "requestSchema": "schema.json",
251
287
  "responseSchema": "schema.json",
252
288
  "timeout": 0,
253
289
  "sendEmpty": false,
254
290
  "requestDatatype": "JSON",
255
291
  "responseDatatype": "JSON",
256
- "headers": {},
292
+ "headers": {
293
+ "Content-Type": "application/yang-data+json",
294
+ "Accept": "application/yang-data+json"
295
+ },
257
296
  "responseObjects": [
258
297
  {
259
298
  "type": "default",
@@ -266,14 +305,17 @@
266
305
  "name": "deletel2User",
267
306
  "protocol": "REST",
268
307
  "method": "DELETE",
269
- "entitypath": "{base_path}/{version}/conf/data/ibn:ibn/{pathv1},l2-user?{query}",
308
+ "entitypath": "{base_path}/{version}/restconf/data/ibn:ibn/{pathv1},l2-user?{query}",
270
309
  "requestSchema": "schema.json",
271
310
  "responseSchema": "schema.json",
272
311
  "timeout": 0,
273
312
  "sendEmpty": false,
274
313
  "requestDatatype": "JSON",
275
314
  "responseDatatype": "JSON",
276
- "headers": {},
315
+ "headers": {
316
+ "Content-Type": "application/yang-data+json",
317
+ "Accept": "application/yang-data+json"
318
+ },
277
319
  "responseObjects": [
278
320
  {
279
321
  "type": "default",
@@ -286,14 +328,17 @@
286
328
  "name": "auditl2User",
287
329
  "protocol": "REST",
288
330
  "method": "POST",
289
- "entitypath": "{base_path}/{version}/conf/data/ibn:ibn/{pathv1},l2-user/audit?{query}",
331
+ "entitypath": "{base_path}/{version}/restconf/data/ibn:ibn/{pathv1},l2-user/audit?{query}",
290
332
  "requestSchema": "schema.json",
291
333
  "responseSchema": "schema.json",
292
334
  "timeout": 0,
293
335
  "sendEmpty": false,
294
336
  "requestDatatype": "JSON",
295
337
  "responseDatatype": "JSON",
296
- "headers": {},
338
+ "headers": {
339
+ "Content-Type": "application/yang-data+json",
340
+ "Accept": "application/yang-data+json"
341
+ },
297
342
  "responseObjects": [
298
343
  {
299
344
  "type": "default",
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-nokia_altiplano",
3
- "version": "0.1.1",
3
+ "version": "0.3.0",
4
4
  "description": "This adapter integrates with system described as: Nokia Altiplano.",
5
5
  "main": "adapter.js",
6
- "wizardVersion": "2.44.5",
7
- "engineVersion": "1.59.28",
6
+ "wizardVersion": "2.44.7",
7
+ "engineVersion": "1.59.55",
8
8
  "adapterType": "http",
9
9
  "scripts": {
10
10
  "artifactize": "npm i && node utils/packModificationScript.js",
11
- "preinstall": "node utils/setup.js",
11
+ "preinstall": "node utils/setup.js && npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions",
12
12
  "lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
13
13
  "lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
14
14
  "test:baseunit": "mocha test/unit/adapterBaseTestUnit.js --LOG=error",
@@ -16,7 +16,7 @@
16
16
  "test:integration": "mocha test/integration/adapterTestIntegration.js --LOG=error",
17
17
  "test:cover": "nyc --reporter html --reporter text mocha --reporter dot test/*",
18
18
  "test": "npm run test:baseunit && npm run test:unit && npm run test:integration",
19
- "adapter:install": "node utils/tbScript.js install",
19
+ "adapter:install": "npm i && node utils/tbScript.js install",
20
20
  "adapter:checkMigrate": "node utils/checkMigrate.js",
21
21
  "adapter:findPath": "node utils/findPath.js",
22
22
  "adapter:migrate": "node utils/modify.js -m",
@@ -26,7 +26,7 @@
26
26
  "healthcheck": "node utils/tbScript.js healthcheck",
27
27
  "basicget": "node utils/tbScript.js basicget",
28
28
  "connectivity": "node utils/tbScript.js connectivity",
29
- "deploy": "npm publish --registry=http://registry.npmjs.org --access=public",
29
+ "deploy": "npm publish --registry=https://registry.npmjs.org --access=public",
30
30
  "build": "npm run deploy"
31
31
  },
32
32
  "keywords": [
@@ -54,13 +54,14 @@
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.0",
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",
61
61
  "fs-extra": "^8.1.0",
62
62
  "mocha": "^9.0.1",
63
63
  "mocha-param": "^2.0.1",
64
+ "mongodb": "^4.1.0",
64
65
  "network-diagnostics": "^0.5.3",
65
66
  "nyc": "^15.1.0",
66
67
  "readline-sync": "^1.4.10",
@@ -76,5 +77,8 @@
76
77
  "package-json-validator": "^0.6.3",
77
78
  "testdouble": "^3.16.1"
78
79
  },
80
+ "resolutions": {
81
+ "minimist": "^1.2.5"
82
+ },
79
83
  "private": false
80
84
  }