@itentialopensource/adapter-netbox_v33 2.5.4 → 2.6.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/PROPERTIES.md CHANGED
@@ -54,7 +54,8 @@ This section defines **all** the properties that are available for the adapter,
54
54
  "healthcheck_on_timeout": false,
55
55
  "return_raw": false,
56
56
  "archiving": false,
57
- "return_request": false
57
+ "return_request": false,
58
+ "keep_alive_interval": 0
58
59
  },
59
60
  "ssl": {
60
61
  "ecdhCurve": "",
@@ -403,6 +404,10 @@ The request section defines properties to help handle requests.
403
404
  <td style="padding:15px">return_request</td>
404
405
  <td style="padding:15px">Optional flag. Default is false. Will return the actual request that is made including headers. This should only be used during debugging issues as there could be credentials in the actual request.</td>
405
406
  </tr>
407
+ <tr>
408
+ <td style="padding:15px">keep_alive_interval</td>
409
+ <td style="padding:15px">Optional. TCP keep-alive interval in seconds for long-lived connections. Set to 0 to disable keep-alive (default). When enabled, minimum value is 30 seconds.</td>
410
+ </tr>
406
411
  </table>
407
412
  <br>
408
413
 
package/README.md CHANGED
@@ -1,17 +1,9 @@
1
- # Adapter for Netbox_v33
2
-
3
- ## Supported NetBox API Versions
4
-
5
- This adapter supports multiple NetBox API versions:
6
- - **NetBox API v3.3** (original version)
7
- - **NetBox API v3.4**
8
- - **NetBox API v4.2.1** (latest supported version)
1
+ # Adapter for Netbox_v33
9
2
 
10
3
  ## Table of Contents
11
4
 
12
5
  Some of the page links in this document and links to other GitLab files do not work in Confluence however, the information is available in other sections of the Confluence material.
13
6
 
14
- - [Supported NetBox API Versions](#supported-netbox-api-versions)
15
7
  - [Specific to this Adapter](#specific-to-this-adapter)
16
8
  - [Authentication](./AUTH.md)
17
9
  - [Sample Properties](./sampleProperties.json)
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-netbox_v33",
3
- "version": "2.5.4",
3
+ "version": "2.6.0",
4
4
  "description": "This adapter integrates with system described as: Netbox v3.3",
5
5
  "main": "adapter.js",
6
6
  "wizardVersion": "3.8.0",
7
- "engineVersion": "1.79.2",
7
+ "engineVersion": "1.80.0",
8
8
  "adapterType": "http",
9
9
  "scripts": {
10
10
  "preinstall": "node utils/setup.js",
@@ -47,7 +47,7 @@
47
47
  "author": "Itential",
48
48
  "homepage": "https://gitlab.com/itentialopensource/adapters/adapter-netbox_v33#readme",
49
49
  "dependencies": {
50
- "@itentialopensource/adapter-utils": "6.0.3",
50
+ "@itentialopensource/adapter-utils": "6.1.7",
51
51
  "acorn": "8.14.1",
52
52
  "ajv": "8.17.1",
53
53
  "axios": "1.12.2",
@@ -695,6 +695,12 @@
695
695
  "type": "boolean",
696
696
  "description": "This property turns on returning the response information - need to be carefull in case credentials are in the path",
697
697
  "default": false
698
+ },
699
+ "keep_alive_interval": {
700
+ "type": "integer",
701
+ "description": "TCP keep-alive interval in seconds for long-lived connections. Set to 0 to disable (default). Minimum 30 seconds when enabled.",
702
+ "default": 0,
703
+ "minimum": 0
698
704
  }
699
705
  },
700
706
  "required": [
@@ -1762,4 +1768,4 @@
1762
1768
  }
1763
1769
  }
1764
1770
  }
1765
- }
1771
+ }
@@ -0,0 +1,120 @@
1
+ {
2
+ "errors": [],
3
+ "statistics": [
4
+ {
5
+ "owner": "errorJson",
6
+ "description": "New adapter errors available for use",
7
+ "value": 0
8
+ },
9
+ {
10
+ "owner": "errorJson",
11
+ "description": "Adapter errors no longer available for use",
12
+ "value": 0
13
+ },
14
+ {
15
+ "owner": "errorJson",
16
+ "description": "Adapter errors that have been updated (e.g. recommendation changes)",
17
+ "value": 31
18
+ },
19
+ {
20
+ "owner": "packageJson",
21
+ "description": "Number of production dependencies",
22
+ "value": 15
23
+ },
24
+ {
25
+ "owner": "packageJson",
26
+ "description": "Number of development dependencies",
27
+ "value": 6
28
+ },
29
+ {
30
+ "owner": "packageJson",
31
+ "description": "Number of npm scripts",
32
+ "value": 17
33
+ },
34
+ {
35
+ "owner": "packageJson",
36
+ "description": "Runtime Library dependency",
37
+ "value": "6.1.7"
38
+ },
39
+ {
40
+ "owner": "propertiesSchemaJson",
41
+ "description": "Adapter properties defined in the propertiesSchema file",
42
+ "value": 83
43
+ },
44
+ {
45
+ "owner": "markdown",
46
+ "description": "Number of lines in the README.md",
47
+ "value": 345
48
+ },
49
+ {
50
+ "owner": "markdown",
51
+ "description": "Number of lines in the SUMMARY.md",
52
+ "value": 9
53
+ },
54
+ {
55
+ "owner": "markdown",
56
+ "description": "Number of lines in the PROPERTIES.md",
57
+ "value": 682
58
+ },
59
+ {
60
+ "owner": "markdown",
61
+ "description": "Number of lines in the TROUBLESHOOT.md",
62
+ "value": 57
63
+ },
64
+ {
65
+ "owner": "markdown",
66
+ "description": "Number of lines in the ENHANCE.md",
67
+ "value": 70
68
+ },
69
+ {
70
+ "owner": "markdown",
71
+ "description": "Number of lines in the BROKER.md",
72
+ "value": 70
73
+ },
74
+ {
75
+ "owner": "unitTestJS",
76
+ "description": "Number of lines of code in unit tests",
77
+ "value": 35608
78
+ },
79
+ {
80
+ "owner": "unitTestJS",
81
+ "description": "Number of unit tests",
82
+ "value": 2423
83
+ },
84
+ {
85
+ "owner": "integrationTestJS",
86
+ "description": "Number of lines of code in integration tests",
87
+ "value": 33107
88
+ },
89
+ {
90
+ "owner": "integrationTestJS",
91
+ "description": "Number of integration tests",
92
+ "value": 1190
93
+ },
94
+ {
95
+ "owner": "staticFile",
96
+ "description": "Number of lines of code in adapterBase.js",
97
+ "value": 1527
98
+ },
99
+ {
100
+ "owner": "staticFile",
101
+ "description": "Number of static files added",
102
+ "value": 37
103
+ },
104
+ {
105
+ "owner": "Overall",
106
+ "description": "Total lines of Code",
107
+ "value": 70242
108
+ },
109
+ {
110
+ "owner": "Overall",
111
+ "description": "Total Tests",
112
+ "value": 3613
113
+ },
114
+ {
115
+ "owner": "Overall",
116
+ "description": "Total Files",
117
+ "value": 6
118
+ }
119
+ ]
120
+ }
@@ -272,4 +272,4 @@
272
272
  "brokers": [],
273
273
  "logLevel": "none",
274
274
  "timeout": 120000
275
- }
275
+ }