@itentialopensource/adapter-paragon_pathfinder 1.2.6 → 1.2.8
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/CALLS.md +33 -3
- package/CHANGELOG.md +16 -0
- package/adapter.js +450 -32
- package/entities/Config/schema.json +1 -1
- package/entities/Netconf/schema.json +1 -1
- package/entities/Scheduler/schema.json +1 -1
- package/entities/Topology/action.json +102 -0
- package/entities/Topology/schema.json +7 -2
- package/entities/TransportControllerGroups/schema.json +1 -1
- package/entities/TransportControllers/schema.json +1 -1
- package/package.json +2 -2
- package/pronghorn.json +1593 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +7 -7
- package/report/update-pathfinder-api-v2.json +31139 -0
- package/test/integration/adapterTestIntegration.js +453 -0
- package/test/unit/adapterTestUnit.js +162 -0
|
@@ -2397,6 +2397,108 @@
|
|
|
2397
2397
|
"mockFile": ""
|
|
2398
2398
|
}
|
|
2399
2399
|
]
|
|
2400
|
+
},
|
|
2401
|
+
{
|
|
2402
|
+
"name": "getTopologyV2TopologyIdIpePolicy",
|
|
2403
|
+
"protocol": "REST",
|
|
2404
|
+
"method": "GET",
|
|
2405
|
+
"entitypath": "{base_path}/{version}/topology/v2/{pathv1}/ipe/policy?{query}",
|
|
2406
|
+
"requestSchema": "schema.json",
|
|
2407
|
+
"responseSchema": "schema.json",
|
|
2408
|
+
"timeout": 0,
|
|
2409
|
+
"sendEmpty": false,
|
|
2410
|
+
"sendGetBody": false,
|
|
2411
|
+
"requestDatatype": "JSON",
|
|
2412
|
+
"responseDatatype": "JSON",
|
|
2413
|
+
"headers": {},
|
|
2414
|
+
"responseObjects": [
|
|
2415
|
+
{
|
|
2416
|
+
"type": "default",
|
|
2417
|
+
"key": "",
|
|
2418
|
+
"mockFile": ""
|
|
2419
|
+
}
|
|
2420
|
+
]
|
|
2421
|
+
},
|
|
2422
|
+
{
|
|
2423
|
+
"name": "postTopologyV2TopologyIdIpePolicy",
|
|
2424
|
+
"protocol": "REST",
|
|
2425
|
+
"method": "POST",
|
|
2426
|
+
"entitypath": "{base_path}/{version}/topology/v2/{pathv1}/ipe/policy?{query}",
|
|
2427
|
+
"requestSchema": "schema.json",
|
|
2428
|
+
"responseSchema": "schema.json",
|
|
2429
|
+
"timeout": 0,
|
|
2430
|
+
"sendEmpty": false,
|
|
2431
|
+
"requestDatatype": "JSON",
|
|
2432
|
+
"responseDatatype": "JSON",
|
|
2433
|
+
"headers": {},
|
|
2434
|
+
"responseObjects": [
|
|
2435
|
+
{
|
|
2436
|
+
"type": "default",
|
|
2437
|
+
"key": "",
|
|
2438
|
+
"mockFile": ""
|
|
2439
|
+
}
|
|
2440
|
+
]
|
|
2441
|
+
},
|
|
2442
|
+
{
|
|
2443
|
+
"name": "putTopologyV2TopologyIdIpePolicy",
|
|
2444
|
+
"protocol": "REST",
|
|
2445
|
+
"method": "PUT",
|
|
2446
|
+
"entitypath": "{base_path}/{version}/topology/v2/{pathv1}/ipe/policy?{query}",
|
|
2447
|
+
"requestSchema": "schema.json",
|
|
2448
|
+
"responseSchema": "schema.json",
|
|
2449
|
+
"timeout": 0,
|
|
2450
|
+
"sendEmpty": false,
|
|
2451
|
+
"requestDatatype": "JSON",
|
|
2452
|
+
"responseDatatype": "JSON",
|
|
2453
|
+
"headers": {},
|
|
2454
|
+
"responseObjects": [
|
|
2455
|
+
{
|
|
2456
|
+
"type": "default",
|
|
2457
|
+
"key": "",
|
|
2458
|
+
"mockFile": ""
|
|
2459
|
+
}
|
|
2460
|
+
]
|
|
2461
|
+
},
|
|
2462
|
+
{
|
|
2463
|
+
"name": "deleteTopologyV2TopologyIdIpePolicy",
|
|
2464
|
+
"protocol": "REST",
|
|
2465
|
+
"method": "DELETE",
|
|
2466
|
+
"entitypath": "{base_path}/{version}/topology/v2/{pathv1}/ipe/policy?{query}",
|
|
2467
|
+
"requestSchema": "schema.json",
|
|
2468
|
+
"responseSchema": "schema.json",
|
|
2469
|
+
"timeout": 0,
|
|
2470
|
+
"sendEmpty": false,
|
|
2471
|
+
"requestDatatype": "JSON",
|
|
2472
|
+
"responseDatatype": "JSON",
|
|
2473
|
+
"headers": {},
|
|
2474
|
+
"responseObjects": [
|
|
2475
|
+
{
|
|
2476
|
+
"type": "default",
|
|
2477
|
+
"key": "",
|
|
2478
|
+
"mockFile": ""
|
|
2479
|
+
}
|
|
2480
|
+
]
|
|
2481
|
+
},
|
|
2482
|
+
{
|
|
2483
|
+
"name": "getTopologyV2TopologyIdIpePolicyIpePolicyId",
|
|
2484
|
+
"protocol": "REST",
|
|
2485
|
+
"method": "GET",
|
|
2486
|
+
"entitypath": "{base_path}/{version}/topology/v2/{pathv1}/ipe/policy/{pathv2}?{query}",
|
|
2487
|
+
"requestSchema": "schema.json",
|
|
2488
|
+
"responseSchema": "schema.json",
|
|
2489
|
+
"timeout": 0,
|
|
2490
|
+
"sendEmpty": false,
|
|
2491
|
+
"sendGetBody": false,
|
|
2492
|
+
"requestDatatype": "JSON",
|
|
2493
|
+
"responseDatatype": "JSON",
|
|
2494
|
+
"headers": {},
|
|
2495
|
+
"responseObjects": [
|
|
2496
|
+
{
|
|
2497
|
+
"type": "default",
|
|
2498
|
+
"key": "",
|
|
2499
|
+
"mockFile": ""
|
|
2500
|
+
}
|
|
2501
|
+
]
|
|
2400
2502
|
}
|
|
2401
2503
|
]
|
|
2402
2504
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"ph_request_type": {
|
|
9
9
|
"type": "string",
|
|
10
10
|
"description": "type of request (internal to adapter)",
|
|
11
|
-
"default": "",
|
|
11
|
+
"default": "getTopologyV2",
|
|
12
12
|
"enum": [
|
|
13
13
|
"getTopologyV2",
|
|
14
14
|
"getTopologyV2TopologyId",
|
|
@@ -126,7 +126,12 @@
|
|
|
126
126
|
"getTopologyV2RpcSimulationUuidReportName",
|
|
127
127
|
"postTopologyV2RpcDiverseTreeDesign",
|
|
128
128
|
"getTopologyV2RpcDiverseTreeDesign",
|
|
129
|
-
"getTopologyV2RpcDiverseTreeDesignUuid"
|
|
129
|
+
"getTopologyV2RpcDiverseTreeDesignUuid",
|
|
130
|
+
"getTopologyV2TopologyIdIpePolicy",
|
|
131
|
+
"postTopologyV2TopologyIdIpePolicy",
|
|
132
|
+
"putTopologyV2TopologyIdIpePolicy",
|
|
133
|
+
"deleteTopologyV2TopologyIdIpePolicy",
|
|
134
|
+
"getTopologyV2TopologyIdIpePolicyIpePolicyId"
|
|
130
135
|
],
|
|
131
136
|
"external_name": "ph_request_type"
|
|
132
137
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-paragon_pathfinder",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.8",
|
|
4
4
|
"description": "This adapter integrates with paragon pathfinder",
|
|
5
5
|
"main": "adapter.js",
|
|
6
6
|
"wizardVersion": "2.44.15",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"json-query": "^2.2.2",
|
|
64
64
|
"mocha": "^9.0.1",
|
|
65
65
|
"mocha-param": "^2.0.1",
|
|
66
|
-
"mongodb": "^
|
|
66
|
+
"mongodb": "^5.6.0",
|
|
67
67
|
"network-diagnostics": "^0.5.3",
|
|
68
68
|
"nyc": "^15.1.0",
|
|
69
69
|
"prompts": "^2.4.2",
|