@itentialopensource/adapter-dna_center 0.11.3 → 0.11.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,12 @@
1
1
 
2
+ ## 0.11.4 [08-25-2024]
3
+
4
+ * fix vulnerabilities
5
+
6
+ See merge request itentialopensource/adapters/adapter-dna_center!29
7
+
8
+ ---
9
+
2
10
  ## 0.11.3 [08-25-2024]
3
11
 
4
12
  * update dependencies and metadata
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-dna_center",
3
- "version": "0.11.3",
3
+ "version": "0.11.4",
4
4
  "description": "This adapter integrates with system Dna_center",
5
5
  "main": "adapter.js",
6
6
  "systemName": "Cisco DNA Center",
Binary file
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "0.11.2",
2
+ "version": "0.11.3",
3
3
  "configLines": 28949,
4
4
  "scriptLines": 1783,
5
5
  "codeLines": 44128,
6
- "testLines": 39637,
6
+ "testLines": 39641,
7
7
  "testCases": 1703,
8
- "totalCodeLines": 85548,
8
+ "totalCodeLines": 85552,
9
9
  "wfTasks": 530
10
10
  }
@@ -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
  }