@itentialopensource/adapter-ciena_mcp 0.5.2 → 0.5.4

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/CHANGELOG.md CHANGED
@@ -1,4 +1,20 @@
1
1
 
2
+ ## 0.5.4 [10-15-2024]
3
+
4
+ * Changes made at 2024.10.14_20:06PM
5
+
6
+ See merge request itentialopensource/adapters/adapter-ciena_mcp!15
7
+
8
+ ---
9
+
10
+ ## 0.5.3 [08-24-2024]
11
+
12
+ * update dependencies and metadata
13
+
14
+ See merge request itentialopensource/adapters/adapter-ciena_mcp!13
15
+
16
+ ---
17
+
2
18
  ## 0.5.2 [08-15-2024]
3
19
 
4
20
  * Changes made at 2024.08.14_18:14PM
package/SYSTEMINFO.md CHANGED
@@ -4,7 +4,7 @@ Vendor: Ciena
4
4
  Homepage: https://www.ciena.com/
5
5
 
6
6
  Product: Manage, Control and Plan (MPC)
7
- Product Page: https://www.ciena.com/products/manage-control-plan
7
+ Product Page: https://www.ciena.com/products/navigator-ncs
8
8
 
9
9
  ## Introduction
10
10
  We classify Ciena MCP into the Data Center domain as Ciena MCP provides the capability to get information about and make changes to infrastructure.
package/metadata.json CHANGED
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "name": "adapter-ciena_mcp",
3
3
  "webName": "Adapter for Integration to Ciena Manage, Control and Plan",
4
+ "supportLevel": "community",
4
5
  "vendor": "Ciena",
5
6
  "product": "Manage, Control and Plan (MPC)",
7
+ "techAlliance": false,
6
8
  "osVersion": [],
7
9
  "apiVersions": [
8
10
  "5.3.0"
@@ -31,7 +33,7 @@
31
33
  "Determine configuration drift",
32
34
  "Golden Configuration",
33
35
  "Port/VLAN Configuration",
34
- "EVPN & VXLA",
36
+ "EVPN & VXLAN",
35
37
  "Port Turn-up",
36
38
  "Assign Network & IP",
37
39
  "Cloud Managed Networks",
@@ -51,7 +53,7 @@
51
53
  "storeLink": "",
52
54
  "npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-ciena_mcp",
53
55
  "repoLink": "https://gitlab.com/itentialopensource/adapters/adapter-ciena_mcp",
54
- "docLink": "https://docs.itential.com/opensource/docs/ciena-manage-control-and-plan",
56
+ "docLink": "https://gitlab.com/itentialopensource/adapters/adapter-ciena_mcp/-/blob/master/README.md?ref_type=heads",
55
57
  "demoLinks": [],
56
58
  "trainingLinks": [
57
59
  {
@@ -64,7 +66,7 @@
64
66
  "issueLink": "https://itential.atlassian.net/servicedesk/customer/portals",
65
67
  "webLink": "https://www.itential.com/adapters/ciena-mcp/",
66
68
  "vendorLink": "https://www.ciena.com/",
67
- "productLink": "https://www.ciena.com/products/manage-control-plan",
69
+ "productLink": "https://www.ciena.com/products/navigator-ncs",
68
70
  "apiLinks": [
69
71
  {
70
72
  "title": "Ciena - Manage, Control and Plan (MPC) API OAuth",
@@ -83,7 +85,5 @@
83
85
  "workflowProjects": [],
84
86
  "transformationProjects": [],
85
87
  "exampleProjects": []
86
- },
87
- "supportLevel": "community",
88
- "techAlliance": false
88
+ }
89
89
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-ciena_mcp",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "description": "This adapter integrates with system described as: Ciena Mcp",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "2.44.7",
7
- "engineVersion": "1.67.19",
7
+ "engineVersion": "1.68.2",
8
8
  "adapterType": "http",
9
9
  "scripts": {
10
10
  "artifactize": "npm i && node utils/packModificationScript.js",
@@ -55,7 +55,7 @@
55
55
  "author": "Itential",
56
56
  "homepage": "https://gitlab.com/itentialopensource/adapters/adapter-ciena_mcp#readme",
57
57
  "dependencies": {
58
- "@itentialopensource/adapter-utils": "^5.6.0",
58
+ "@itentialopensource/adapter-utils": "^5.9.4",
59
59
  "acorn": "^8.12.1",
60
60
  "ajv": "^8.17.1",
61
61
  "axios": "^1.7.4",
@@ -70,7 +70,7 @@
70
70
  "prompts": "^2.4.2",
71
71
  "readline-sync": "^1.4.10",
72
72
  "semver": "^7.6.3",
73
- "winston": "^3.13.1"
73
+ "winston": "^3.14.2"
74
74
  },
75
75
  "devDependencies": {
76
76
  "chai": "^4.3.7",
Binary file
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "0.4.6",
2
+ "version": "0.5.2",
3
3
  "configLines": 603664,
4
4
  "scriptLines": 1783,
5
5
  "codeLines": 142095,
6
- "testLines": 190974,
7
- "testCases": 5083,
8
- "totalCodeLines": 334852,
6
+ "testLines": 190950,
7
+ "testCases": 5082,
8
+ "totalCodeLines": 334828,
9
9
  "wfTasks": 1688
10
10
  }
@@ -135,7 +135,7 @@
135
135
  "ostypePrefix": "meraki-",
136
136
  "port": "{port}",
137
137
  "ipaddress": "{ip_addr}",
138
- "serial" : "{serial}"
138
+ "serial": "{serial}"
139
139
  }
140
140
  }
141
141
  ],
@@ -161,7 +161,7 @@
161
161
  "ostypePrefix": "meraki-",
162
162
  "port": "{port}",
163
163
  "ipaddress": "{ip_addr}",
164
- "serial" : "{serial}",
164
+ "serial": "{serial}",
165
165
  "id": "{myid}"
166
166
  }
167
167
  }
@@ -245,7 +245,7 @@
245
245
  "ostypePrefix": "meraki-",
246
246
  "port": "{port}",
247
247
  "ipaddress": "{ip_addr}",
248
- "serial" : "{serial}",
248
+ "serial": "{serial}",
249
249
  "id": "{myid}"
250
250
  }
251
251
  }
@@ -4,7 +4,6 @@
4
4
  /* eslint no-unused-vars: warn */
5
5
 
6
6
  const assert = require('assert');
7
- const http = require('http');
8
7
  const https = require('https');
9
8
  const mocha = require('mocha');
10
9
  const ping = require('ping');
@@ -53,29 +52,6 @@ describe('[integration] Adapter Test', () => {
53
52
  });
54
53
  });
55
54
 
56
- it('Support HTTP on port 80', (done) => {
57
- const requestOptions = {
58
- host,
59
- port: 80,
60
- method: 'HEAD'
61
- };
62
-
63
- const req = http.request(requestOptions, (res) => {
64
- try {
65
- assert.ok(res.statusCode >= 200 && res.statusCode < 400);
66
- done();
67
- } catch (error) {
68
- done(error);
69
- }
70
- });
71
-
72
- req.on('error', (err) => {
73
- done(err);
74
- });
75
-
76
- req.end();
77
- });
78
-
79
55
  it('Support HTTPS on port 443', (done) => {
80
56
  const requestOptions = {
81
57
  host,
@@ -323,7 +323,7 @@ describe('[unit] CienaMcp Adapter Test', () => {
323
323
  assert.equal('^0.4.4', packageDotJson.dependencies.ping);
324
324
  assert.equal('^1.4.10', packageDotJson.dependencies['readline-sync']);
325
325
  assert.equal('^7.6.3', packageDotJson.dependencies.semver);
326
- assert.equal('^3.13.1', packageDotJson.dependencies.winston);
326
+ assert.equal('^3.14.2', packageDotJson.dependencies.winston);
327
327
  done();
328
328
  } catch (error) {
329
329
  log.error(`Test Failure: ${error}`);
@@ -1,9 +0,0 @@
1
- {
2
- "ComplianceEntries": [
3
- {
4
- "name": "Compliance Summary",
5
- "numInvalidProjects": 0,
6
- "numValidProjects": 0
7
- }
8
- ]
9
- }
@@ -1,5 +0,0 @@
1
- ---------------------------------------------------------------------------------------------
2
- **** Project Compliance Summary ****
3
- 0 project(s) are not valid
4
- 0 project(s) are valid
5
- ---------------------------------------------------------------------------------------------