@itentialopensource/adapter-f5_bigiq 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 [08-26-2024]
3
+
4
+ * update dependencies and metadata
5
+
6
+ See merge request itentialopensource/adapters/adapter-f5_bigiq!22
7
+
8
+ ---
9
+
10
+ ## 0.5.3 [08-14-2024]
11
+
12
+ * Changes made at 2024.08.14_18:39PM
13
+
14
+ See merge request itentialopensource/adapters/adapter-f5_bigiq!21
15
+
16
+ ---
17
+
2
18
  ## 0.5.2 [08-07-2024]
3
19
 
4
20
  * Changes made at 2024.08.06_19:51PM
package/metadata.json CHANGED
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "name": "adapter-f5_bigiq",
3
3
  "webName": "Adapter for Integration to F5 BIG-IQ",
4
+ "supportLevel": "community",
4
5
  "vendor": "F5",
5
6
  "product": "BIG-IQ",
7
+ "techAlliance": true,
6
8
  "osVersion": [],
7
9
  "apiVersions": [
8
10
  "v6.0.1"
@@ -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-f5_bigiq",
53
55
  "repoLink": "https://gitlab.com/itentialopensource/adapters/adapter-f5_bigiq",
54
- "docLink": "https://docs.itential.com/opensource/docs/f5-big-iq",
56
+ "docLink": "https://gitlab.com/itentialopensource/adapters/adapter-f5_bigiq/-/blob/master/README.md?ref_type=heads",
55
57
  "demoLinks": [],
56
58
  "trainingLinks": [
57
59
  {
@@ -71,7 +73,9 @@
71
73
  "link": "https://clouddocs.f5.com/products/big-iq/mgmt-api/v6.0.1/",
72
74
  "public": true
73
75
  }
74
- ]
76
+ ],
77
+ "workshopLinks": [],
78
+ "workshopHomePage": "https://www.itential.com/get-started/"
75
79
  },
76
80
  "assets": [],
77
81
  "relatedItems": {
@@ -94,6 +98,5 @@
94
98
  ],
95
99
  "transformationProjects": [],
96
100
  "exampleProjects": []
97
- },
98
- "supportLevel": "community"
101
+ }
99
102
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-f5_bigiq",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "description": "This adapter integrates with system described as: f5Big-iqApi.",
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",
@@ -54,22 +54,22 @@
54
54
  "author": "Itential",
55
55
  "homepage": "https://gitlab.com/itentialopensource/adapters/adapter-f5_bigiq#readme",
56
56
  "dependencies": {
57
- "@itentialopensource/adapter-utils": "^5.6.0",
57
+ "@itentialopensource/adapter-utils": "^5.7.0",
58
58
  "acorn": "^8.12.1",
59
59
  "ajv": "^8.17.1",
60
- "axios": "^1.7.2",
60
+ "axios": "^1.7.4",
61
61
  "commander": "^11.0.0",
62
62
  "dns-lookup-promise": "^1.0.4",
63
63
  "fs-extra": "^11.2.0",
64
64
  "json-query": "^2.2.2",
65
- "mocha": "^10.7.0",
65
+ "mocha": "^10.7.3",
66
66
  "mocha-param": "^2.0.1",
67
67
  "mongodb": "^4.16.0",
68
68
  "ping": "^0.4.4",
69
69
  "prompts": "^2.4.2",
70
70
  "readline-sync": "^1.4.10",
71
71
  "semver": "^7.6.3",
72
- "winston": "^3.13.1"
72
+ "winston": "^3.14.2"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@babel/helper-function-name": "^7.14.2",
Binary file
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "0.4.9",
2
+ "version": "0.5.3",
3
3
  "configLines": 16711,
4
4
  "scriptLines": 1783,
5
5
  "codeLines": 33712,
6
- "testLines": 25517,
7
- "testCases": 1367,
8
- "totalCodeLines": 61012,
6
+ "testLines": 25497,
7
+ "testCases": 1366,
8
+ "totalCodeLines": 60992,
9
9
  "wfTasks": 404
10
10
  }
@@ -137,7 +137,7 @@
137
137
  "ostypePrefix": "meraki-",
138
138
  "port": "{port}",
139
139
  "ipaddress": "{ip_addr}",
140
- "serial" : "{serial}"
140
+ "serial": "{serial}"
141
141
  }
142
142
  }
143
143
  ],
@@ -163,7 +163,7 @@
163
163
  "ostypePrefix": "meraki-",
164
164
  "port": "{port}",
165
165
  "ipaddress": "{ip_addr}",
166
- "serial" : "{serial}",
166
+ "serial": "{serial}",
167
167
  "id": "{myid}"
168
168
  }
169
169
  }
@@ -247,7 +247,7 @@
247
247
  "ostypePrefix": "meraki-",
248
248
  "port": "{port}",
249
249
  "ipaddress": "{ip_addr}",
250
- "serial" : "{serial}",
250
+ "serial": "{serial}",
251
251
  "id": "{myid}"
252
252
  }
253
253
  }
@@ -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,
@@ -36,13 +36,17 @@ const samProps = require(`${adaptdir}/sampleProperties.json`).properties;
36
36
  // these variables can be changed to run in integrated mode so easier to set them here
37
37
  // always check these in with bogus data!!!
38
38
  samProps.stub = true;
39
- samProps.host = 'replace.hostorip.here';
40
- samProps.authentication.username = 'username';
41
- samProps.authentication.password = 'password';
42
- samProps.protocol = 'http';
43
- samProps.port = 80;
44
- samProps.ssl.enabled = false;
45
- samProps.ssl.accept_invalid_cert = false;
39
+
40
+ // uncomment if connecting
41
+ // samProps.host = 'replace.hostorip.here';
42
+ // samProps.authentication.username = 'username';
43
+ // samProps.authentication.password = 'password';
44
+ // samProps.authentication.token = 'password';
45
+ // samProps.protocol = 'http';
46
+ // samProps.port = 80;
47
+ // samProps.ssl.enabled = false;
48
+ // samProps.ssl.accept_invalid_cert = false;
49
+
46
50
  if (samProps.request.attempt_timeout < 30000) {
47
51
  samProps.request.attempt_timeout = 30000;
48
52
  }
@@ -8283,7 +8287,7 @@ describe('[integration] F5BigIQ Adapter Test', () => {
8283
8287
  displayName: 'ihealth2-testing',
8284
8288
  description: 'Testing for Itential',
8285
8289
  username: '0oas5oa1j8C1vDEyV357',
8286
- encryptedPassword: 'ttZNs4dlnYnR6afp8yrDuhqJmOCN5yNG3ou6NSJjYuu0o7UC0L93hiBFZc9bA+rUTOaATvZc8CBbj1zkIr4R0Q=='
8290
+ encryptedPassword: samProps.authentication.password
8287
8291
  };
8288
8292
  describe('#modifyTestBIGIPiHealthCredentials - errors', () => {
8289
8293
  it('should work if integrated but since no mockdata should error when run standalone', (done) => {
@@ -315,15 +315,15 @@ describe('[unit] F5BigIQ Adapter Test', () => {
315
315
  assert.notEqual(null, packageDotJson.dependencies);
316
316
  assert.notEqual('', packageDotJson.dependencies);
317
317
  assert.equal('^8.17.1', packageDotJson.dependencies.ajv);
318
- assert.equal('^1.7.2', packageDotJson.dependencies.axios);
318
+ assert.equal('^1.7.4', packageDotJson.dependencies.axios);
319
319
  assert.equal('^11.0.0', packageDotJson.dependencies.commander);
320
320
  assert.equal('^11.2.0', packageDotJson.dependencies['fs-extra']);
321
- assert.equal('^10.7.0', packageDotJson.dependencies.mocha);
321
+ assert.equal('^10.7.3', packageDotJson.dependencies.mocha);
322
322
  assert.equal('^2.0.1', packageDotJson.dependencies['mocha-param']);
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}`);
@@ -561,7 +561,7 @@ describe('[unit] F5BigIQ Adapter Test', () => {
561
561
  log.error(`Adapter Exception: ${error}`);
562
562
  done(error);
563
563
  }
564
- });
564
+ }).timeout(attemptTimeout);
565
565
  });
566
566
 
567
567
  describe('propertiesSchema.json', () => {