@itentialopensource/adapter-nokia_netact 0.1.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/.eslintignore +5 -0
- package/.eslintrc.js +18 -0
- package/.jshintrc +3 -0
- package/AUTH.md +32 -0
- package/BROKER.md +211 -0
- package/CALLS.md +447 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +13 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +646 -0
- package/README.md +343 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +18 -0
- package/TAB1.md +11 -0
- package/TAB2.md +303 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +4743 -0
- package/adapterBase.js +1452 -0
- package/changelogs/CHANGELOG.md +0 -0
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -0
- package/entities/.system/action.json +50 -0
- package/entities/.system/mockdatafiles/getToken-default.json +3 -0
- package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
- package/entities/.system/schema.json +19 -0
- package/entities/.system/schemaTokenReq.json +53 -0
- package/entities/.system/schemaTokenResp.json +53 -0
- package/entities/OpenCmOperationsPortBinding/action.json +64 -0
- package/entities/OpenCmOperationsPortBinding/schema.json +21 -0
- package/entities/OpenCmPersistencyPortBinding/action.json +244 -0
- package/entities/OpenCmPersistencyPortBinding/schema.json +30 -0
- package/entities/Operations/action.json +169 -0
- package/entities/Operations/schema.json +26 -0
- package/entities/Persistency/action.json +348 -0
- package/entities/Persistency/schema.json +35 -0
- package/error.json +190 -0
- package/metadata.json +78 -0
- package/package.json +81 -0
- package/pronghorn.json +2889 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1574 -0
- package/report/Nokia-NetAct-REST-SOAP-OpenAPI3.v1.json +3014 -0
- package/report/adapter-openapi.json +3014 -0
- package/report/adapter-openapi.yaml +2396 -0
- package/report/adapterInfo.json +10 -0
- package/report/auto-adapter-openapi.json +1420 -0
- package/report/creationReport.json +455 -0
- package/sampleProperties.json +257 -0
- package/test/integration/adapterTestBasicGet.js +83 -0
- package/test/integration/adapterTestConnectivity.js +118 -0
- package/test/integration/adapterTestIntegration.js +1509 -0
- package/test/unit/adapterBaseTestUnit.js +1024 -0
- package/test/unit/adapterTestUnit.js +2477 -0
- package/utils/adapterInfo.js +206 -0
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +146 -0
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +179 -0
- package/utils/findPath.js +74 -0
- package/utils/methodDocumentor.js +273 -0
- package/utils/modify.js +152 -0
- package/utils/packModificationScript.js +35 -0
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +32 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +239 -0
- package/utils/tbUtils.js +489 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +193 -0
|
@@ -0,0 +1,455 @@
|
|
|
1
|
+
{
|
|
2
|
+
"errors": [],
|
|
3
|
+
"statistics": [
|
|
4
|
+
{
|
|
5
|
+
"owner": "errorJson",
|
|
6
|
+
"description": "Standard adapter errors available for use",
|
|
7
|
+
"value": 31
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"owner": "packageJson",
|
|
11
|
+
"description": "Number of production dependencies",
|
|
12
|
+
"value": 16
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"owner": "packageJson",
|
|
16
|
+
"description": "Number of development dependencies",
|
|
17
|
+
"value": 6
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"owner": "packageJson",
|
|
21
|
+
"description": "Number of npm scripts",
|
|
22
|
+
"value": 21
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"owner": "packageJson",
|
|
26
|
+
"description": "Runtime Library dependency",
|
|
27
|
+
"value": "^5.10.1"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"owner": "propertiesSchemaJson",
|
|
31
|
+
"description": "Adapter properties defined in the propertiesSchema file",
|
|
32
|
+
"value": 78
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"owner": "adapterJS",
|
|
36
|
+
"description": "Lines of code generated in adapter.js",
|
|
37
|
+
"value": 4744
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"owner": "adapterJS",
|
|
41
|
+
"description": "Number of Functions added to adapter.js",
|
|
42
|
+
"value": 40
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"owner": "pronghornJson",
|
|
46
|
+
"description": "Number of Methods added to pronghorn.json",
|
|
47
|
+
"value": 40
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"owner": "markdown",
|
|
51
|
+
"description": "Number of lines in the README.md",
|
|
52
|
+
"value": 344
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"owner": "markdown",
|
|
56
|
+
"description": "Number of lines in the SUMMARY.md",
|
|
57
|
+
"value": 9
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"owner": "markdown",
|
|
61
|
+
"description": "Number of lines in the PROPERTIES.md",
|
|
62
|
+
"value": 647
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"owner": "markdown",
|
|
66
|
+
"description": "Number of lines in the TROUBLESHOOT.md",
|
|
67
|
+
"value": 48
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"owner": "markdown",
|
|
71
|
+
"description": "Number of lines in the ENHANCE.md",
|
|
72
|
+
"value": 70
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"owner": "markdown",
|
|
76
|
+
"description": "Number of lines in the BROKER.md",
|
|
77
|
+
"value": 212
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"owner": "markdown",
|
|
81
|
+
"description": "Number of lines in the CALLS.md",
|
|
82
|
+
"value": 208
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"owner": "markdown",
|
|
86
|
+
"description": "Number of lines in the AUTH.md",
|
|
87
|
+
"value": 40
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"owner": "markdown",
|
|
91
|
+
"description": "Number of lines in the SYSTEMINFO.md",
|
|
92
|
+
"value": 14
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"owner": "unitTestJS",
|
|
96
|
+
"description": "Number of lines of code in unit tests",
|
|
97
|
+
"value": 2478
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"owner": "unitTestJS",
|
|
101
|
+
"description": "Number of unit tests",
|
|
102
|
+
"value": 137
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"owner": "integrationTestJS",
|
|
106
|
+
"description": "Number of lines of code in integration tests",
|
|
107
|
+
"value": 1510
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"owner": "integrationTestJS",
|
|
111
|
+
"description": "Number of integration tests",
|
|
112
|
+
"value": 49
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"owner": "actionJson",
|
|
116
|
+
"description": "Number of actions for Persistency entity",
|
|
117
|
+
"value": 17
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"owner": "actionJson",
|
|
121
|
+
"description": "Number of actions for Operations entity",
|
|
122
|
+
"value": 8
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"owner": "actionJson",
|
|
126
|
+
"description": "Number of actions for OpenCmPersistencyPortBinding entity",
|
|
127
|
+
"value": 12
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"owner": "actionJson",
|
|
131
|
+
"description": "Number of actions for OpenCmOperationsPortBinding entity",
|
|
132
|
+
"value": 3
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"owner": "actionJson",
|
|
136
|
+
"description": "Total number of actions",
|
|
137
|
+
"value": 40
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"owner": "actionJson",
|
|
141
|
+
"description": "Total number of entities",
|
|
142
|
+
"value": 4
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"owner": "schemaJson",
|
|
146
|
+
"description": "Number of schemas for Persistency entity",
|
|
147
|
+
"value": 1
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"owner": "schemaJson",
|
|
151
|
+
"description": "Number of schemas for Operations entity",
|
|
152
|
+
"value": 1
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"owner": "schemaJson",
|
|
156
|
+
"description": "Number of schemas for OpenCmPersistencyPortBinding entity",
|
|
157
|
+
"value": 1
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"owner": "schemaJson",
|
|
161
|
+
"description": "Number of schemas for OpenCmOperationsPortBinding entity",
|
|
162
|
+
"value": 1
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"owner": "schemaJson",
|
|
166
|
+
"description": "Total number of schemas",
|
|
167
|
+
"value": 4
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"owner": "mockdata",
|
|
171
|
+
"description": "Number of mock data files for Persistency entity",
|
|
172
|
+
"value": 0
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"owner": "mockdata",
|
|
176
|
+
"description": "Number of mock data files for Operations entity",
|
|
177
|
+
"value": 0
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"owner": "mockdata",
|
|
181
|
+
"description": "Number of mock data files for OpenCmPersistencyPortBinding entity",
|
|
182
|
+
"value": 0
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"owner": "mockdata",
|
|
186
|
+
"description": "Number of mock data files for OpenCmOperationsPortBinding entity",
|
|
187
|
+
"value": 0
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"owner": "mockdata",
|
|
191
|
+
"description": "Total number of mock data files",
|
|
192
|
+
"value": 0
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"owner": "actionJson",
|
|
196
|
+
"description": "Number of actions for .system entity",
|
|
197
|
+
"value": 2
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"owner": "schemaJson",
|
|
201
|
+
"description": "Number of schemas for .system entity",
|
|
202
|
+
"value": 3
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"owner": "mockdata",
|
|
206
|
+
"description": "Number of mock data files for .system entity",
|
|
207
|
+
"value": 2
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"owner": "System",
|
|
211
|
+
"description": "System entity files",
|
|
212
|
+
"value": 6
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"owner": "usecases",
|
|
216
|
+
"description": "Number of workflows",
|
|
217
|
+
"value": 0
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"owner": "staticFile",
|
|
221
|
+
"description": "Number of lines of code in adapterBase.js",
|
|
222
|
+
"value": 1453
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"owner": "staticFile",
|
|
226
|
+
"description": "Number of static files added",
|
|
227
|
+
"value": 37
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"owner": "Overall",
|
|
231
|
+
"description": "Total lines of Code",
|
|
232
|
+
"value": 10185
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"owner": "Overall",
|
|
236
|
+
"description": "Total Tests",
|
|
237
|
+
"value": 186
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"owner": "Overall",
|
|
241
|
+
"description": "Total Files",
|
|
242
|
+
"value": 60
|
|
243
|
+
}
|
|
244
|
+
],
|
|
245
|
+
"warnings": [],
|
|
246
|
+
"apiParsingReport": {
|
|
247
|
+
"no_mockdata": [
|
|
248
|
+
{
|
|
249
|
+
"fnName": "getConfigurations",
|
|
250
|
+
"method": "get",
|
|
251
|
+
"path": "/persistency/v1/configuration"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"fnName": "createConfiguration",
|
|
255
|
+
"method": "post",
|
|
256
|
+
"path": "/persistency/v1/configuration"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"fnName": "deleteConfiguration",
|
|
260
|
+
"method": "delete",
|
|
261
|
+
"path": "/persistency/v1/configuration"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"fnName": "updateConfiguration",
|
|
265
|
+
"method": "patch",
|
|
266
|
+
"path": "/persistency/v1/configuration"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"fnName": "getDescendantMOLites",
|
|
270
|
+
"method": "post",
|
|
271
|
+
"path": "/persistency/v1/descendantMOLites"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"fnName": "getManagedObjects",
|
|
275
|
+
"method": "post",
|
|
276
|
+
"path": "/persistency/v1/getManagedObjects"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"fnName": "updateManagedObjects",
|
|
280
|
+
"method": "put",
|
|
281
|
+
"path": "/persistency/v1/managedObjects"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"fnName": "addManagedObjects",
|
|
285
|
+
"method": "post",
|
|
286
|
+
"path": "/persistency/v1/managedObjects"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"fnName": "removeManagedObjects",
|
|
290
|
+
"method": "delete",
|
|
291
|
+
"path": "/persistency/v1/managedObjects"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"fnName": "getMetaAdaptations",
|
|
295
|
+
"method": "get",
|
|
296
|
+
"path": "/persistency/v1/meta/adaptations"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"fnName": "getMetaClasses",
|
|
300
|
+
"method": "get",
|
|
301
|
+
"path": "/persistency/v1/meta/classes"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"fnName": "getMetaParameters",
|
|
305
|
+
"method": "post",
|
|
306
|
+
"path": "/persistency/v1/meta/parameters"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"fnName": "getMOLites",
|
|
310
|
+
"method": "post",
|
|
311
|
+
"path": "/persistency/v1/moLites"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"fnName": "query",
|
|
315
|
+
"method": "post",
|
|
316
|
+
"path": "/persistency/v1/query"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"fnName": "queryMOLites",
|
|
320
|
+
"method": "post",
|
|
321
|
+
"path": "/persistency/v1/queryMOLites"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"fnName": "getRelatedMOLites",
|
|
325
|
+
"method": "post",
|
|
326
|
+
"path": "/persistency/v1/relatedMOLites"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"fnName": "getRootMOLites",
|
|
330
|
+
"method": "get",
|
|
331
|
+
"path": "/persistency/v1/rootMOLites"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"fnName": "readOperationAttributes",
|
|
335
|
+
"method": "get",
|
|
336
|
+
"path": "/operations/v1/attributes"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"fnName": "readOperationDefinitions",
|
|
340
|
+
"method": "get",
|
|
341
|
+
"path": "/operations/v1/definitions"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"fnName": "readOperationExecutions",
|
|
345
|
+
"method": "get",
|
|
346
|
+
"path": "/operations/v1/executions"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"fnName": "readOperationFeedbacks",
|
|
350
|
+
"method": "get",
|
|
351
|
+
"path": "/operations/v1/feedbacks"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"fnName": "interruptOperation",
|
|
355
|
+
"method": "put",
|
|
356
|
+
"path": "/operations/v1/interrupt"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"fnName": "scheduleOperation",
|
|
360
|
+
"method": "post",
|
|
361
|
+
"path": "/operations/v1/schedule"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"fnName": "startOperation",
|
|
365
|
+
"method": "post",
|
|
366
|
+
"path": "/operations/v1/start"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"fnName": "readOperationStatuses",
|
|
370
|
+
"method": "get",
|
|
371
|
+
"path": "/operations/v1/statuses"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"fnName": "getOpenCmManagedObjects",
|
|
375
|
+
"method": "post",
|
|
376
|
+
"path": "/persistency/OpenCmPersistencyServiceSOAP/getManagedObjects"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"fnName": "createManagedObjects",
|
|
380
|
+
"method": "post",
|
|
381
|
+
"path": "/persistency/OpenCmPersistencyServiceSOAP/createManagedObjects"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"fnName": "updateOpenCmManagedObjects",
|
|
385
|
+
"method": "post",
|
|
386
|
+
"path": "/persistency/OpenCmPersistencyServiceSOAP/updateManagedObjects"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"fnName": "deleteManagedObjects",
|
|
390
|
+
"method": "post",
|
|
391
|
+
"path": "/persistency/OpenCmPersistencyServiceSOAP/deleteManagedObjects"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"fnName": "getOpenCmMOLites",
|
|
395
|
+
"method": "post",
|
|
396
|
+
"path": "/persistency/OpenCmPersistencyServiceSOAP/getMOLites"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"fnName": "getOpenCmRelatedMOLites",
|
|
400
|
+
"method": "post",
|
|
401
|
+
"path": "/persistency/OpenCmPersistencyServiceSOAP/getRelatedMOLites"
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"fnName": "queryOpenCmMOLites",
|
|
405
|
+
"method": "post",
|
|
406
|
+
"path": "/persistency/OpenCmPersistencyServiceSOAP/queryMOLites"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"fnName": "getPersistencyMetadata",
|
|
410
|
+
"method": "post",
|
|
411
|
+
"path": "/persistency/OpenCmPersistencyServiceSOAP/getMetadata"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"fnName": "getOpenCmConfigurations",
|
|
415
|
+
"method": "post",
|
|
416
|
+
"path": "/persistency/OpenCmPersistencyServiceSOAP/getConfigurations"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"fnName": "createOpenCmConfiguration",
|
|
420
|
+
"method": "post",
|
|
421
|
+
"path": "/persistency/OpenCmPersistencyServiceSOAP/createConfiguration"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"fnName": "postPersistencyOpenCmPersistencyServiceSOAPUpdateConfiguration",
|
|
425
|
+
"method": "post",
|
|
426
|
+
"path": "/persistency/OpenCmPersistencyServiceSOAP/updateConfiguration"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"fnName": "deleteOpenCmConfiguration",
|
|
430
|
+
"method": "post",
|
|
431
|
+
"path": "/persistency/OpenCmPersistencyServiceSOAP/deleteConfiguration"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"fnName": "getOperationsMetadata",
|
|
435
|
+
"method": "post",
|
|
436
|
+
"path": "/operations/OpenCmOperationsServiceSOAP/getMetadata"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"fnName": "startOpenCmOperation",
|
|
440
|
+
"method": "post",
|
|
441
|
+
"path": "/operations/OpenCmOperationsServiceSOAP/startOperation"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"fnName": "interruptOperationOpenCm",
|
|
445
|
+
"method": "post",
|
|
446
|
+
"path": "/operations/OpenCmOperationsServiceSOAP/interruptOperation"
|
|
447
|
+
}
|
|
448
|
+
],
|
|
449
|
+
"errors": [],
|
|
450
|
+
"warnings": [],
|
|
451
|
+
"callsTotal": 40,
|
|
452
|
+
"callsConverted": 40,
|
|
453
|
+
"no_mockdata_num": 40
|
|
454
|
+
}
|
|
455
|
+
}
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "Adapter-nokia_netact",
|
|
3
|
+
"type": "NokiaNetact",
|
|
4
|
+
"properties": {
|
|
5
|
+
"host": "localhost",
|
|
6
|
+
"port": 443,
|
|
7
|
+
"choosepath": "",
|
|
8
|
+
"base_path": "/netact/cm/open-api",
|
|
9
|
+
"version": "",
|
|
10
|
+
"cache_location": "none",
|
|
11
|
+
"encode_pathvars": true,
|
|
12
|
+
"encode_queryvars": true,
|
|
13
|
+
"save_metric": false,
|
|
14
|
+
"stub": true,
|
|
15
|
+
"protocol": "https",
|
|
16
|
+
"authentication": {
|
|
17
|
+
"auth_method": "basic user_password",
|
|
18
|
+
"username": "username",
|
|
19
|
+
"password": "password",
|
|
20
|
+
"token": "token",
|
|
21
|
+
"token_timeout": 600000,
|
|
22
|
+
"token_cache": "local",
|
|
23
|
+
"invalid_token_error": 401,
|
|
24
|
+
"auth_field": "header.headers.Authorization",
|
|
25
|
+
"auth_field_format": "Basic {b64}{username}:{password}{/b64}",
|
|
26
|
+
"auth_logging": false,
|
|
27
|
+
"client_id": "",
|
|
28
|
+
"client_secret": "",
|
|
29
|
+
"grant_type": "",
|
|
30
|
+
"sensitive": [],
|
|
31
|
+
"multiStepAuthCalls": [
|
|
32
|
+
{
|
|
33
|
+
"name": "",
|
|
34
|
+
"requestFields": {},
|
|
35
|
+
"responseFields": {},
|
|
36
|
+
"successfullResponseCode": 200
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"sso": {
|
|
40
|
+
"protocol": "",
|
|
41
|
+
"host": "",
|
|
42
|
+
"port": 0
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"healthcheck": {
|
|
46
|
+
"type": "none",
|
|
47
|
+
"frequency": 60000,
|
|
48
|
+
"query_object": {},
|
|
49
|
+
"addlHeaders": {}
|
|
50
|
+
},
|
|
51
|
+
"throttle": {
|
|
52
|
+
"throttle_enabled": false,
|
|
53
|
+
"number_pronghorns": 1,
|
|
54
|
+
"sync_async": "sync",
|
|
55
|
+
"max_in_queue": 1000,
|
|
56
|
+
"concurrent_max": 1,
|
|
57
|
+
"expire_timeout": 0,
|
|
58
|
+
"avg_runtime": 200,
|
|
59
|
+
"priorities": [
|
|
60
|
+
{
|
|
61
|
+
"value": 0,
|
|
62
|
+
"percent": 100
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
"request": {
|
|
67
|
+
"number_redirects": 0,
|
|
68
|
+
"number_retries": 3,
|
|
69
|
+
"limit_retry_error": [
|
|
70
|
+
0
|
|
71
|
+
],
|
|
72
|
+
"failover_codes": [],
|
|
73
|
+
"attempt_timeout": 5000,
|
|
74
|
+
"global_request": {
|
|
75
|
+
"payload": {},
|
|
76
|
+
"uriOptions": {},
|
|
77
|
+
"addlHeaders": {},
|
|
78
|
+
"authData": {}
|
|
79
|
+
},
|
|
80
|
+
"healthcheck_on_timeout": true,
|
|
81
|
+
"return_raw": false,
|
|
82
|
+
"archiving": false,
|
|
83
|
+
"return_request": false
|
|
84
|
+
},
|
|
85
|
+
"proxy": {
|
|
86
|
+
"enabled": false,
|
|
87
|
+
"host": "",
|
|
88
|
+
"port": 1,
|
|
89
|
+
"protocol": "http",
|
|
90
|
+
"username": "",
|
|
91
|
+
"password": ""
|
|
92
|
+
},
|
|
93
|
+
"ssl": {
|
|
94
|
+
"ecdhCurve": "",
|
|
95
|
+
"enabled": false,
|
|
96
|
+
"accept_invalid_cert": false,
|
|
97
|
+
"ca_file": "",
|
|
98
|
+
"key_file": "",
|
|
99
|
+
"cert_file": "",
|
|
100
|
+
"secure_protocol": "",
|
|
101
|
+
"ciphers": ""
|
|
102
|
+
},
|
|
103
|
+
"mongo": {
|
|
104
|
+
"host": "",
|
|
105
|
+
"port": 0,
|
|
106
|
+
"database": "",
|
|
107
|
+
"username": "",
|
|
108
|
+
"password": "",
|
|
109
|
+
"replSet": "",
|
|
110
|
+
"db_ssl": {
|
|
111
|
+
"enabled": false,
|
|
112
|
+
"accept_invalid_cert": false,
|
|
113
|
+
"ca_file": "",
|
|
114
|
+
"key_file": "",
|
|
115
|
+
"cert_file": ""
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"devicebroker": {
|
|
119
|
+
"enabled": false,
|
|
120
|
+
"getDevice": [
|
|
121
|
+
{
|
|
122
|
+
"path": "/get/devices/{id}",
|
|
123
|
+
"method": "GET",
|
|
124
|
+
"query": {},
|
|
125
|
+
"body": {},
|
|
126
|
+
"headers": {},
|
|
127
|
+
"handleFailure": "fail",
|
|
128
|
+
"requestFields": {
|
|
129
|
+
"id": "name"
|
|
130
|
+
},
|
|
131
|
+
"responseDatakey": "",
|
|
132
|
+
"responseFields": {
|
|
133
|
+
"name": "host",
|
|
134
|
+
"ostype": "os",
|
|
135
|
+
"ostypePrefix": "system-",
|
|
136
|
+
"ipaddress": "attributes.ipaddr",
|
|
137
|
+
"port": "443"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"getDevicesFiltered": [
|
|
142
|
+
{
|
|
143
|
+
"path": "/get/devices",
|
|
144
|
+
"method": "GET",
|
|
145
|
+
"pagination": {
|
|
146
|
+
"offsetVar": "",
|
|
147
|
+
"limitVar": "",
|
|
148
|
+
"incrementBy": "limit",
|
|
149
|
+
"requestLocation": "query"
|
|
150
|
+
},
|
|
151
|
+
"query": {},
|
|
152
|
+
"body": {},
|
|
153
|
+
"headers": {},
|
|
154
|
+
"handleFailure": "fail",
|
|
155
|
+
"requestFields": {},
|
|
156
|
+
"responseDatakey": "",
|
|
157
|
+
"responseFields": {
|
|
158
|
+
"name": "host",
|
|
159
|
+
"ostype": "os",
|
|
160
|
+
"ostypePrefix": "system-",
|
|
161
|
+
"ipaddress": "attributes.ipaddr",
|
|
162
|
+
"port": "443"
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
"isAlive": [
|
|
167
|
+
{
|
|
168
|
+
"path": "/get/devices/{id}/status",
|
|
169
|
+
"method": "GET",
|
|
170
|
+
"query": {},
|
|
171
|
+
"body": {},
|
|
172
|
+
"headers": {},
|
|
173
|
+
"handleFailure": "fail",
|
|
174
|
+
"requestFields": {
|
|
175
|
+
"id": "name"
|
|
176
|
+
},
|
|
177
|
+
"responseDatakey": "",
|
|
178
|
+
"responseFields": {
|
|
179
|
+
"status": "status",
|
|
180
|
+
"statusValue": "online"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"getConfig": [
|
|
185
|
+
{
|
|
186
|
+
"path": "/get/devices/{id}/configPart1",
|
|
187
|
+
"method": "GET",
|
|
188
|
+
"query": {},
|
|
189
|
+
"body": {},
|
|
190
|
+
"headers": {},
|
|
191
|
+
"handleFailure": "fail",
|
|
192
|
+
"requestFields": {
|
|
193
|
+
"id": "name"
|
|
194
|
+
},
|
|
195
|
+
"responseDatakey": "",
|
|
196
|
+
"responseFields": {}
|
|
197
|
+
}
|
|
198
|
+
],
|
|
199
|
+
"getCount": [
|
|
200
|
+
{
|
|
201
|
+
"path": "/get/devices",
|
|
202
|
+
"method": "GET",
|
|
203
|
+
"query": {},
|
|
204
|
+
"body": {},
|
|
205
|
+
"headers": {},
|
|
206
|
+
"handleFailure": "fail",
|
|
207
|
+
"requestFields": {},
|
|
208
|
+
"responseDatakey": "",
|
|
209
|
+
"responseFields": {}
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
"cache": {
|
|
214
|
+
"enabled": false,
|
|
215
|
+
"entities": [
|
|
216
|
+
{
|
|
217
|
+
"entityType": "",
|
|
218
|
+
"frequency": 1440,
|
|
219
|
+
"flushOnFail": false,
|
|
220
|
+
"limit": 1000,
|
|
221
|
+
"retryAttempts": 5,
|
|
222
|
+
"sort": true,
|
|
223
|
+
"populate": [
|
|
224
|
+
{
|
|
225
|
+
"path": "",
|
|
226
|
+
"method": "GET",
|
|
227
|
+
"pagination": {
|
|
228
|
+
"offsetVar": "",
|
|
229
|
+
"limitVar": "",
|
|
230
|
+
"incrementBy": "limit",
|
|
231
|
+
"requestLocation": "query"
|
|
232
|
+
},
|
|
233
|
+
"query": {},
|
|
234
|
+
"body": {},
|
|
235
|
+
"headers": {},
|
|
236
|
+
"handleFailure": "ignore",
|
|
237
|
+
"requestFields": {},
|
|
238
|
+
"responseDatakey": "",
|
|
239
|
+
"responseFields": {}
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
"cachedTasks": [
|
|
243
|
+
{
|
|
244
|
+
"name": "",
|
|
245
|
+
"filterField": "",
|
|
246
|
+
"filterLoc": ""
|
|
247
|
+
}
|
|
248
|
+
]
|
|
249
|
+
}
|
|
250
|
+
]
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"groups": [],
|
|
254
|
+
"brokers": [],
|
|
255
|
+
"logLevel": "none",
|
|
256
|
+
"timeout": 120000
|
|
257
|
+
}
|