@itentialopensource/adapter-paragon_pathfinder 1.2.7 → 1.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.
- package/.eslintignore +0 -1
- package/.jshintrc +3 -0
- package/CALLS.md +173 -211
- package/CHANGELOG.md +16 -0
- package/CONTRIBUTING.md +1 -160
- package/ENHANCE.md +2 -2
- package/README.md +31 -22
- package/adapter.js +581 -334
- package/adapterBase.js +538 -873
- package/changelogs/changelog.md +96 -0
- 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/metadata.json +47 -0
- package/package.json +22 -25
- package/pronghorn.json +2139 -281
- package/propertiesSchema.json +451 -39
- package/refs?service=git-upload-pack +0 -0
- package/report/adapter-openapi.json +69945 -0
- package/report/adapter-openapi.yaml +74294 -0
- package/report/adapterInfo.json +8 -8
- package/report/update-pathfinder-api-v2.json +31139 -0
- package/report/updateReport1691507543487.json +120 -0
- package/report/updateReport1692202561721.json +120 -0
- package/report/updateReport1694461665971.json +120 -0
- package/report/updateReport1698420920735.json +120 -0
- package/sampleProperties.json +63 -2
- package/test/integration/adapterTestBasicGet.js +1 -1
- package/test/integration/adapterTestConnectivity.js +91 -42
- package/test/integration/adapterTestIntegration.js +583 -2
- package/test/unit/adapterBaseTestUnit.js +388 -315
- package/test/unit/adapterTestUnit.js +468 -109
- package/utils/adapterInfo.js +1 -1
- package/utils/addAuth.js +1 -1
- package/utils/artifactize.js +1 -1
- package/utils/checkMigrate.js +1 -1
- package/utils/entitiesToDB.js +1 -0
- package/utils/findPath.js +1 -1
- package/utils/methodDocumentor.js +71 -23
- package/utils/modify.js +13 -15
- package/utils/packModificationScript.js +1 -1
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +3 -10
- package/utils/tbUtils.js +2 -3
- package/utils/testRunner.js +1 -1
- package/utils/troubleshootingAdapter.js +1 -3
- package/workflows/README.md +0 -3
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
|
|
2
|
+
## 1.2.8 [08-11-2023]
|
|
3
|
+
|
|
4
|
+
* Add calls and default value to schema files
|
|
5
|
+
|
|
6
|
+
See merge request itentialopensource/adapters/controller-orchestrator/adapter-paragon_pathfinder!12
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 1.2.7 [07-05-2023]
|
|
11
|
+
|
|
12
|
+
* Fix body objects for all calls
|
|
13
|
+
|
|
14
|
+
See merge request itentialopensource/adapters/controller-orchestrator/adapter-paragon_pathfinder!11
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## 1.2.6 [05-31-2023]
|
|
19
|
+
|
|
20
|
+
* Patch/add query params
|
|
21
|
+
|
|
22
|
+
See merge request itentialopensource/adapters/controller-orchestrator/adapter-paragon_pathfinder!9
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## 1.2.5 [05-25-2023]
|
|
27
|
+
|
|
28
|
+
* Patch/add query params
|
|
29
|
+
|
|
30
|
+
See merge request itentialopensource/adapters/controller-orchestrator/adapter-paragon_pathfinder!9
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## 1.2.4 [04-27-2023]
|
|
35
|
+
|
|
36
|
+
* Patch/add msa
|
|
37
|
+
|
|
38
|
+
See merge request itentialopensource/adapters/controller-orchestrator/adapter-paragon_pathfinder!7
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## 1.2.3 [04-27-2023]
|
|
43
|
+
|
|
44
|
+
* Patch/add msa
|
|
45
|
+
|
|
46
|
+
See merge request itentialopensource/adapters/controller-orchestrator/adapter-paragon_pathfinder!7
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## 1.2.2 [04-25-2023]
|
|
51
|
+
|
|
52
|
+
* Fix body and token schema
|
|
53
|
+
|
|
54
|
+
See merge request itentialopensource/adapters/controller-orchestrator/adapter-paragon_pathfinder!6
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## 1.2.1 [04-24-2023]
|
|
59
|
+
|
|
60
|
+
* Update system entity and sample properties
|
|
61
|
+
|
|
62
|
+
See merge request itentialopensource/adapters/controller-orchestrator/adapter-paragon_pathfinder!5
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## 1.2.0 [04-22-2023]
|
|
67
|
+
|
|
68
|
+
* Remove ems endpoints
|
|
69
|
+
|
|
70
|
+
See merge request itentialopensource/adapters/controller-orchestrator/adapter-paragon_pathfinder!4
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## 1.1.0 [04-21-2023]
|
|
75
|
+
|
|
76
|
+
* Remove iam endpoints
|
|
77
|
+
|
|
78
|
+
See merge request itentialopensource/adapters/controller-orchestrator/adapter-paragon_pathfinder!3
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## 1.0.0 [04-21-2023]
|
|
83
|
+
|
|
84
|
+
* Add endpoints
|
|
85
|
+
|
|
86
|
+
See merge request itentialopensource/adapters/controller-orchestrator/adapter-paragon_pathfinder!2
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## 0.1.1 [03-13-2023]
|
|
91
|
+
|
|
92
|
+
* Bug fixes and performance improvements
|
|
93
|
+
|
|
94
|
+
See commit e17c59a
|
|
95
|
+
|
|
96
|
+
---
|
|
@@ -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/metadata.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "adapter-paragon_pathfinder",
|
|
3
|
+
"webName": "Adapter for Integration to Paragon Pathfinder",
|
|
4
|
+
"vendor": "Paragon",
|
|
5
|
+
"product": "Pathfinder",
|
|
6
|
+
"osVersion": [],
|
|
7
|
+
"apiVersions": [],
|
|
8
|
+
"iapVersions": [
|
|
9
|
+
"2021.1.x",
|
|
10
|
+
"2021.2.x",
|
|
11
|
+
"2022.1.x",
|
|
12
|
+
"2023.1.x"
|
|
13
|
+
],
|
|
14
|
+
"method": "REST",
|
|
15
|
+
"type": "Adapter",
|
|
16
|
+
"domains": [],
|
|
17
|
+
"tags": [],
|
|
18
|
+
"useCases": [],
|
|
19
|
+
"deprecated": {
|
|
20
|
+
"isDeprecated": false
|
|
21
|
+
},
|
|
22
|
+
"brokerSince": "",
|
|
23
|
+
"documentation": {
|
|
24
|
+
"storeLink": "",
|
|
25
|
+
"npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-paragon_pathfinder",
|
|
26
|
+
"repoLink": "https://gitlab.com/itentialopensource/adapters/controller-orchestrator/adapter-paragon_pathfinder",
|
|
27
|
+
"docLink": "https://docs.itential.com/opensource/docs/paragon-pathfinder",
|
|
28
|
+
"demoLinks": [],
|
|
29
|
+
"trainingLinks": [],
|
|
30
|
+
"faqLink": "https://docs.itential.com/opensource/docs/troubleshooting-an-adapter",
|
|
31
|
+
"contributeLink": "https://gitlab.com/itentialopensource/adapters/contributing-guide",
|
|
32
|
+
"issueLink": "https://itential.atlassian.net/servicedesk/customer/portals",
|
|
33
|
+
"webLink": "https://www.itential.com/adapters/paragon-pathfinder/",
|
|
34
|
+
"vendorLink": "",
|
|
35
|
+
"productLink": "",
|
|
36
|
+
"apiLinks": []
|
|
37
|
+
},
|
|
38
|
+
"assets": [],
|
|
39
|
+
"relatedItems": {
|
|
40
|
+
"adapters": [],
|
|
41
|
+
"integrations": [],
|
|
42
|
+
"ecosystemApplications": [],
|
|
43
|
+
"workflowProjects": [],
|
|
44
|
+
"transformationProjects": [],
|
|
45
|
+
"exampleProjects": []
|
|
46
|
+
}
|
|
47
|
+
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-paragon_pathfinder",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "This adapter integrates with paragon pathfinder",
|
|
5
5
|
"main": "adapter.js",
|
|
6
|
-
"wizardVersion": "2.44.
|
|
7
|
-
"engineVersion": "1.
|
|
6
|
+
"wizardVersion": "2.44.7",
|
|
7
|
+
"engineVersion": "1.67.14",
|
|
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",
|
|
12
12
|
"deinstall": "node utils/removeHooks.js",
|
|
13
13
|
"lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
|
|
14
14
|
"lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
|
|
@@ -54,34 +54,31 @@
|
|
|
54
54
|
"author": "Itential",
|
|
55
55
|
"homepage": "https://gitlab.com/itentialopensource/adapters/controller-orchestrator/adapter-paragon_pathfinder#readme",
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@itentialopensource/adapter-utils": "^
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
57
|
+
"@itentialopensource/adapter-utils": "^5.3.0",
|
|
58
|
+
"acorn": "^8.10.0",
|
|
59
|
+
"ajv": "^8.12.0",
|
|
60
|
+
"axios": "^1.6.3",
|
|
61
|
+
"commander": "^11.0.0",
|
|
62
|
+
"dns-lookup-promise": "^1.0.4",
|
|
63
|
+
"fs-extra": "^11.1.1",
|
|
63
64
|
"json-query": "^2.2.2",
|
|
64
|
-
"mocha": "^
|
|
65
|
+
"mocha": "^10.2.0",
|
|
65
66
|
"mocha-param": "^2.0.1",
|
|
66
|
-
"mongodb": "^
|
|
67
|
-
"network-diagnostics": "^0.5.3",
|
|
67
|
+
"mongodb": "^4.16.0",
|
|
68
68
|
"nyc": "^15.1.0",
|
|
69
|
+
"ping": "^0.4.4",
|
|
69
70
|
"prompts": "^2.4.2",
|
|
70
71
|
"readline-sync": "^1.4.10",
|
|
71
|
-
"semver": "^7.3
|
|
72
|
-
"winston": "^3.
|
|
72
|
+
"semver": "^7.5.3",
|
|
73
|
+
"winston": "^3.9.0"
|
|
73
74
|
},
|
|
74
75
|
"devDependencies": {
|
|
75
|
-
"chai": "^4.3.
|
|
76
|
-
"eslint": "^
|
|
77
|
-
"eslint-config-airbnb-base": "^
|
|
78
|
-
"eslint-plugin-import": "^2.
|
|
79
|
-
"eslint-plugin-json": "^3.
|
|
80
|
-
"
|
|
81
|
-
"testdouble": "^3.16.1"
|
|
82
|
-
},
|
|
83
|
-
"resolutions": {
|
|
84
|
-
"minimist": "^1.2.5"
|
|
76
|
+
"chai": "^4.3.7",
|
|
77
|
+
"eslint": "^8.44.0",
|
|
78
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
79
|
+
"eslint-plugin-import": "^2.27.5",
|
|
80
|
+
"eslint-plugin-json": "^3.1.0",
|
|
81
|
+
"testdouble": "^3.18.0"
|
|
85
82
|
},
|
|
86
83
|
"private": false
|
|
87
84
|
}
|