@itentialopensource/adapter-ciena_mcp 0.3.3 → 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 (48) hide show
  1. package/AUTH.md +9 -10
  2. package/BROKER.md +3 -3
  3. package/CALLS.md +10042 -22
  4. package/CHANGELOG.md +8 -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/metadata.json +60 -0
  16. package/package.json +23 -25
  17. package/pronghorn.json +986 -647
  18. package/propertiesSchema.json +433 -33
  19. package/refs?service=git-upload-pack +0 -0
  20. package/report/adapter-openapi.json +218608 -0
  21. package/report/adapter-openapi.yaml +159470 -0
  22. package/report/adapterInfo.json +8 -8
  23. package/report/updateReport1691507600369.json +120 -0
  24. package/report/updateReport1692202602603.json +120 -0
  25. package/report/updateReport1694461981982.json +120 -0
  26. package/report/updateReport1698420997295.json +120 -0
  27. package/sampleProperties.json +65 -4
  28. package/test/integration/adapterTestBasicGet.js +2 -4
  29. package/test/integration/adapterTestConnectivity.js +91 -42
  30. package/test/integration/adapterTestIntegration.js +131 -3
  31. package/test/unit/adapterBaseTestUnit.js +388 -313
  32. package/test/unit/adapterTestUnit.js +339 -113
  33. package/utils/adapterInfo.js +1 -1
  34. package/utils/addAuth.js +1 -1
  35. package/utils/artifactize.js +1 -1
  36. package/utils/checkMigrate.js +1 -1
  37. package/utils/entitiesToDB.js +2 -2
  38. package/utils/findPath.js +1 -1
  39. package/utils/methodDocumentor.js +273 -0
  40. package/utils/modify.js +13 -15
  41. package/utils/packModificationScript.js +1 -1
  42. package/utils/pre-commit.sh +2 -0
  43. package/utils/taskMover.js +309 -0
  44. package/utils/tbScript.js +89 -34
  45. package/utils/tbUtils.js +41 -21
  46. package/utils/testRunner.js +1 -1
  47. package/utils/troubleshootingAdapter.js +9 -6
  48. 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
+ ---
package/metadata.json ADDED
@@ -0,0 +1,60 @@
1
+ {
2
+ "name": "adapter-ciena_mcp",
3
+ "webName": "Adapter for Integration to Ciena Manage, Control and Plan",
4
+ "vendor": "Ciena",
5
+ "product": "Manage, Control and Plan (MPC)",
6
+ "osVersion": [],
7
+ "apiVersions": [
8
+ "5.3.0"
9
+ ],
10
+ "iapVersions": [
11
+ "2021.1.x",
12
+ "2021.2.x",
13
+ "2022.1.x",
14
+ "2023.1.x"
15
+ ],
16
+ "method": "REST",
17
+ "type": "Adapter",
18
+ "domains": [
19
+ "Data Center"
20
+ ],
21
+ "tags": [
22
+ "Network Orchestration",
23
+ "Network Provisioning",
24
+ "Optical Networking"
25
+ ],
26
+ "useCases": [
27
+ "Provision, update, manage or remove Overlay Networks",
28
+ "Automate the configuration of items to provision, update, manage or remove Services",
29
+ "Provisioning and Management of Optical Service"
30
+ ],
31
+ "deprecated": {
32
+ "isDeprecated": false
33
+ },
34
+ "brokerSince": "",
35
+ "documentation": {
36
+ "storeLink": "",
37
+ "npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-ciena_mcp",
38
+ "repoLink": "https://gitlab.com/itentialopensource/adapters/controller-orchestrator/adapter-ciena_mcp",
39
+ "docLink": "https://docs.itential.com/opensource/docs/ciena-manage-control-and-plan",
40
+ "demoLinks": [],
41
+ "faqLink": "https://docs.itential.com/opensource/docs/troubleshooting-an-adapter",
42
+ "contributeLink": "https://gitlab.com/itentialopensource/adapters/contributing-guide",
43
+ "issueLink": "https://itential.atlassian.net/servicedesk/customer/portals",
44
+ "webLink": "https://www.itential.com/adapters/ciena-mcp/",
45
+ "vendorLink": "https://www.ciena.com/",
46
+ "productLink": "https://www.ciena.com/products/manage-control-plan",
47
+ "apiLinks": [
48
+ "https://software.ciena.com/releasenotes/MCP-DOCS_5.2-217/build/site/mcp-docs/release-notes.html"
49
+ ]
50
+ },
51
+ "assets": [],
52
+ "relatedItems": {
53
+ "adapters": [],
54
+ "integrations": [],
55
+ "ecosystemApplications": [],
56
+ "workflowProjects": [],
57
+ "transformationProjects": [],
58
+ "exampleProjects": []
59
+ }
60
+ }
package/package.json CHANGED
@@ -1,15 +1,14 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-ciena_mcp",
3
- "version": "0.3.3",
3
+ "version": "0.4.0",
4
4
  "description": "This adapter integrates with system described as: Ciena Mcp",
5
5
  "main": "adapter.js",
6
- "systemName": "Ciena Manage, Control and Plan",
7
6
  "wizardVersion": "2.44.7",
8
- "engineVersion": "1.61.6",
7
+ "engineVersion": "1.67.10",
9
8
  "adapterType": "http",
10
9
  "scripts": {
11
10
  "artifactize": "npm i && node utils/packModificationScript.js",
12
- "preinstall": "node utils/setup.js && npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions",
11
+ "preinstall": "node utils/setup.js",
13
12
  "deinstall": "node utils/removeHooks.js",
14
13
  "lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
15
14
  "lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
@@ -24,7 +23,7 @@
24
23
  "adapter:migrate": "node utils/modify.js -m",
25
24
  "adapter:update": "node utils/modify.js -u",
26
25
  "adapter:revert": "node utils/modify.js -r",
27
- "troubleshoot": "node utils/tbScript.js",
26
+ "troubleshoot": "node utils/tbScript.js troubleshoot",
28
27
  "healthcheck": "node utils/tbScript.js healthcheck",
29
28
  "basicget": "node utils/tbScript.js basicget",
30
29
  "connectivity": "node utils/tbScript.js connectivity",
@@ -57,32 +56,31 @@
57
56
  "author": "Itential",
58
57
  "homepage": "https://gitlab.com/itentialopensource/adapters/controller-orchestrator/adapter-ciena_mcp#readme",
59
58
  "dependencies": {
60
- "@itentialopensource/adapter-utils": "^4.46.0",
61
- "ajv": "^6.12.0",
62
- "axios": "^0.21.0",
63
- "commander": "^2.20.0",
64
- "fs-extra": "^8.1.0",
59
+ "@itentialopensource/adapter-utils": "^5.3.0",
60
+ "acorn": "^8.10.0",
61
+ "ajv": "^8.12.0",
62
+ "axios": "^1.4.0",
63
+ "commander": "^11.0.0",
64
+ "dns-lookup-promise": "^1.0.4",
65
+ "fs-extra": "^11.1.1",
65
66
  "json-query": "^2.2.2",
66
- "mocha": "^9.0.1",
67
+ "mocha": "^10.2.0",
67
68
  "mocha-param": "^2.0.1",
68
- "mongodb": "^4.1.0",
69
- "network-diagnostics": "^0.5.3",
69
+ "mongodb": "^4.16.0",
70
70
  "nyc": "^15.1.0",
71
+ "ping": "^0.4.4",
72
+ "prompts": "^2.4.2",
71
73
  "readline-sync": "^1.4.10",
72
- "semver": "^7.3.2",
73
- "winston": "^3.3.3"
74
+ "semver": "^7.5.3",
75
+ "winston": "^3.9.0"
74
76
  },
75
77
  "devDependencies": {
76
- "chai": "^4.3.4",
77
- "eslint": "^7.29.0",
78
- "eslint-config-airbnb-base": "^14.2.1",
79
- "eslint-plugin-import": "^2.23.4",
80
- "eslint-plugin-json": "^3.0.0",
81
- "package-json-validator": "^0.6.3",
82
- "testdouble": "^3.16.1"
83
- },
84
- "resolutions": {
85
- "minimist": "^1.2.5"
78
+ "chai": "^4.3.7",
79
+ "eslint": "^8.44.0",
80
+ "eslint-config-airbnb-base": "^15.0.0",
81
+ "eslint-plugin-import": "^2.27.5",
82
+ "eslint-plugin-json": "^3.1.0",
83
+ "testdouble": "^3.18.0"
86
84
  },
87
85
  "private": false
88
86
  }