@itentialopensource/adapter-kentik_v5 0.2.0 → 0.3.1

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.3.1 [02-26-2024]
3
+
4
+ * Changes made at 2024.02.26_10:40AM
5
+
6
+ See merge request itentialopensource/adapters/observability/adapter-kentik_v5!3
7
+
8
+ ---
9
+
10
+ ## 0.3.0 [01-02-2024]
11
+
12
+ * updated findDevice to support both device id and device_name
13
+
14
+ See merge request itentialopensource/adapters/observability/adapter-kentik_v5!1
15
+
16
+ ---
17
+
2
18
  ## 0.2.0 [01-01-2024]
3
19
 
4
20
  * More migration changes
package/adapter.js CHANGED
@@ -1490,7 +1490,7 @@ class KentikV5 extends AdapterBaseCl {
1490
1490
  * @name findDevice
1491
1491
  * @summary findDevice
1492
1492
  *
1493
- * @param {number} deviceId - The id of the device whose information will be returned.
1493
+ * @param {string} deviceId - The name or id of the device whose information will be returned.
1494
1494
  * @param {getCallback} callback - a callback function to return the result
1495
1495
  * @return {object} results - An object containing the response of the action
1496
1496
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-kentik_v5",
3
- "version": "0.2.0",
3
+ "version": "0.3.1",
4
4
  "description": "This adapter integrates with system described as: kentikV5Api.",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "2.44.7",
@@ -53,15 +53,15 @@
53
53
  "author": "Itential",
54
54
  "homepage": "https://gitlab.com/itentialopensource/adapters/observability/adapter-kentik_v5#readme",
55
55
  "dependencies": {
56
- "@itentialopensource/adapter-utils": "^5.3.0",
56
+ "@itentialopensource/adapter-utils": "^5.3.8",
57
57
  "acorn": "^8.10.0",
58
58
  "ajv": "^8.12.0",
59
- "axios": "^1.6.3",
59
+ "axios": "^1.6.7",
60
60
  "commander": "^11.0.0",
61
61
  "dns-lookup-promise": "^1.0.4",
62
62
  "fs-extra": "^11.1.1",
63
63
  "json-query": "^2.2.2",
64
- "mocha": "^10.2.0",
64
+ "mocha": "^10.3.0",
65
65
  "mocha-param": "^2.0.1",
66
66
  "mongodb": "^4.16.0",
67
67
  "nyc": "^15.1.0",
package/pronghorn.json CHANGED
@@ -3075,12 +3075,12 @@
3075
3075
  "input": [
3076
3076
  {
3077
3077
  "name": "deviceId",
3078
- "type": "number",
3079
- "info": "The id of the device whose information will be returned.: 123",
3078
+ "type": "string",
3079
+ "info": "The name or id of the device whose information will be returned.: atlswitch01 or 123",
3080
3080
  "required": true,
3081
3081
  "schema": {
3082
3082
  "title": "deviceId",
3083
- "type": "number"
3083
+ "type": "string"
3084
3084
  }
3085
3085
  }
3086
3086
  ],
Binary file
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.2",
2
+ "version": "0.2.0",
3
3
  "configLines": 8395,
4
4
  "scriptLines": 1783,
5
5
  "codeLines": 7198,
@@ -316,10 +316,10 @@ describe('[unit] Kentik_v5 Adapter Test', () => {
316
316
  assert.notEqual(null, packageDotJson.dependencies);
317
317
  assert.notEqual('', packageDotJson.dependencies);
318
318
  assert.equal('^8.12.0', packageDotJson.dependencies.ajv);
319
- assert.equal('^1.6.3', packageDotJson.dependencies.axios);
319
+ assert.equal('^1.6.7', packageDotJson.dependencies.axios);
320
320
  assert.equal('^11.0.0', packageDotJson.dependencies.commander);
321
321
  assert.equal('^11.1.1', packageDotJson.dependencies['fs-extra']);
322
- assert.equal('^10.2.0', packageDotJson.dependencies.mocha);
322
+ assert.equal('^10.3.0', packageDotJson.dependencies.mocha);
323
323
  assert.equal('^2.0.1', packageDotJson.dependencies['mocha-param']);
324
324
  assert.equal('^15.1.0', packageDotJson.dependencies.nyc);
325
325
  assert.equal('^0.4.4', packageDotJson.dependencies.ping);