@itentialopensource/adapter-docker 0.8.2 → 0.8.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.8.4 [10-15-2024]
3
+
4
+ * Changes made at 2024.10.14_21:36PM
5
+
6
+ See merge request itentialopensource/adapters/adapter-docker!22
7
+
8
+ ---
9
+
10
+ ## 0.8.3 [08-25-2024]
11
+
12
+ * update dependencies and metadata
13
+
14
+ See merge request itentialopensource/adapters/adapter-docker!20
15
+
16
+ ---
17
+
2
18
  ## 0.8.2 [08-15-2024]
3
19
 
4
20
  * Changes made at 2024.08.14_19:57PM
package/TAB2.md CHANGED
@@ -66,7 +66,7 @@ Sample Properties can be used to help you configure the adapter in the Itential
66
66
  "auth_method": "basic user_password",
67
67
  "username": "username",
68
68
  "password": "password",
69
- "token": "",
69
+ "token": "token",
70
70
  "token_timeout": 180000,
71
71
  "token_cache": "local",
72
72
  "invalid_token_error": 401,
package/metadata.json CHANGED
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "name": "adapter-docker",
3
3
  "webName": "Adapter for Integration to Docker Engine",
4
+ "supportLevel": "community",
4
5
  "vendor": "Docker",
5
6
  "product": "Docker Engine",
7
+ "techAlliance": false,
6
8
  "osVersion": [],
7
9
  "apiVersions": [],
8
10
  "iapVersions": [
@@ -52,9 +54,14 @@
52
54
  "storeLink": "",
53
55
  "npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-docker",
54
56
  "repoLink": "https://gitlab.com/itentialopensource/adapters/adapter-docker",
55
- "docLink": "https://docs.itential.com/opensource/docs/docker",
57
+ "docLink": "https://gitlab.com/itentialopensource/adapters/adapter-docker/-/blob/master/README.md?ref_type=heads",
56
58
  "demoLinks": [],
57
- "trainingLinks": [],
59
+ "trainingLinks": [
60
+ {
61
+ "title": "Itential Academy",
62
+ "link": "https://www.itential.com/itential-academy/"
63
+ }
64
+ ],
58
65
  "faqLink": "https://docs.itential.com/opensource/docs/troubleshooting-an-adapter",
59
66
  "contributeLink": "https://gitlab.com/itentialopensource/adapters/contributing-guide",
60
67
  "issueLink": "https://itential.atlassian.net/servicedesk/customer/portals",
@@ -64,7 +71,7 @@
64
71
  "apiLinks": [
65
72
  {
66
73
  "title": "Docker - Docker Engine API",
67
- "link": "https://docs.docker.com/engine/api/",
74
+ "link": "https://docs.docker.com/reference/api/engine/",
68
75
  "public": true
69
76
  }
70
77
  ],
@@ -79,7 +86,5 @@
79
86
  "workflowProjects": [],
80
87
  "transformationProjects": [],
81
88
  "exampleProjects": []
82
- },
83
- "supportLevel": "community",
84
- "techAlliance": false
89
+ }
85
90
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-docker",
3
- "version": "0.8.2",
3
+ "version": "0.8.4",
4
4
  "description": "This adapter integrates with system Docker",
5
5
  "main": "adapter.js",
6
6
  "systemName": "Docker Engine",
7
7
  "wizardVersion": "2.44.7",
8
- "engineVersion": "1.67.20",
8
+ "engineVersion": "1.68.2",
9
9
  "adapterType": "http",
10
10
  "scripts": {
11
11
  "artifactize": "npm i && node utils/packModificationScript.js",
@@ -53,7 +53,7 @@
53
53
  "author": "Itential",
54
54
  "homepage": "https://gitlab.com/itentialopensource/adapters/adapter-docker#readme",
55
55
  "dependencies": {
56
- "@itentialopensource/adapter-utils": "^5.6.0",
56
+ "@itentialopensource/adapter-utils": "^5.9.4",
57
57
  "acorn": "^8.12.1",
58
58
  "ajv": "^8.17.1",
59
59
  "axios": "^1.7.4",
@@ -68,7 +68,7 @@
68
68
  "prompts": "^2.4.2",
69
69
  "readline-sync": "^1.4.10",
70
70
  "semver": "^7.6.3",
71
- "winston": "^3.13.1"
71
+ "winston": "^3.14.2"
72
72
  },
73
73
  "devDependencies": {
74
74
  "chai": "^4.3.7",
Binary file
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "0.7.6",
2
+ "version": "0.8.2",
3
3
  "configLines": 7168,
4
4
  "scriptLines": 1783,
5
5
  "codeLines": 9010,
6
- "testLines": 8841,
7
- "testCases": 418,
8
- "totalCodeLines": 19634,
6
+ "testLines": 8817,
7
+ "testCases": 417,
8
+ "totalCodeLines": 19610,
9
9
  "wfTasks": 119
10
10
  }
@@ -17,7 +17,7 @@
17
17
  "auth_method": "basic user_password",
18
18
  "username": "username",
19
19
  "password": "password",
20
- "token": "",
20
+ "token": "token",
21
21
  "token_timeout": 180000,
22
22
  "token_cache": "local",
23
23
  "invalid_token_error": 401,
@@ -133,7 +133,7 @@
133
133
  "ostypePrefix": "meraki-",
134
134
  "port": "{port}",
135
135
  "ipaddress": "{ip_addr}",
136
- "serial" : "{serial}"
136
+ "serial": "{serial}"
137
137
  }
138
138
  }
139
139
  ],
@@ -159,7 +159,7 @@
159
159
  "ostypePrefix": "meraki-",
160
160
  "port": "{port}",
161
161
  "ipaddress": "{ip_addr}",
162
- "serial" : "{serial}",
162
+ "serial": "{serial}",
163
163
  "id": "{myid}"
164
164
  }
165
165
  }
@@ -243,7 +243,7 @@
243
243
  "ostypePrefix": "meraki-",
244
244
  "port": "{port}",
245
245
  "ipaddress": "{ip_addr}",
246
- "serial" : "{serial}",
246
+ "serial": "{serial}",
247
247
  "id": "{myid}"
248
248
  }
249
249
  }
@@ -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] Docker 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
- ---------------------------------------------------------------------------------------------