@itentialopensource/adapter-aws_cloudformation 0.3.4 → 0.3.5
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 +8 -0
- package/TAB2.md +1 -1
- package/metadata.json +5 -7
- package/package.json +4 -4
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +4 -4
- package/sampleProperties.json +4 -4
- package/test/integration/adapterTestConnectivity.js +0 -24
- package/test/unit/adapterTestUnit.js +1 -1
package/CHANGELOG.md
CHANGED
package/TAB2.md
CHANGED
|
@@ -123,7 +123,7 @@ Sample Properties can be used to help you configure the adapter in the Itential
|
|
|
123
123
|
"auth_method": "aws_authentication",
|
|
124
124
|
"username": "username",
|
|
125
125
|
"password": "password",
|
|
126
|
-
"token": "",
|
|
126
|
+
"token": "token",
|
|
127
127
|
"token_timeout": 180000,
|
|
128
128
|
"token_cache": "local",
|
|
129
129
|
"invalid_token_error": 401,
|
package/metadata.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adapter-aws_cloudformation",
|
|
3
|
+
"webName": "Adapter for integration to Amazon Web Services CloudFormation",
|
|
4
|
+
"supportLevel": "community",
|
|
3
5
|
"vendor": "Amazon Web Services",
|
|
4
6
|
"product": "CloudFormation",
|
|
5
|
-
"
|
|
7
|
+
"techAlliance": false,
|
|
6
8
|
"osVersion": [],
|
|
7
9
|
"apiVersions": [],
|
|
8
10
|
"iapVersions": [
|
|
@@ -52,7 +54,7 @@
|
|
|
52
54
|
"storeLink": "",
|
|
53
55
|
"npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-aws_cloudformation",
|
|
54
56
|
"repoLink": "https://gitlab.com/itentialopensource/adapters/adapter-aws_cloudformation",
|
|
55
|
-
"docLink": "https://
|
|
57
|
+
"docLink": "https://gitlab.com/itentialopensource/adapters/adapter-aws_cloudformation/-/blob/master/README.md?ref_type=heads",
|
|
56
58
|
"demoLinks": [],
|
|
57
59
|
"trainingLinks": [
|
|
58
60
|
{
|
|
@@ -83,9 +85,5 @@
|
|
|
83
85
|
"workflowProjects": [],
|
|
84
86
|
"transformationProjects": [],
|
|
85
87
|
"exampleProjects": []
|
|
86
|
-
}
|
|
87
|
-
"supportLevel": [
|
|
88
|
-
"community"
|
|
89
|
-
],
|
|
90
|
-
"techAlliance": false
|
|
88
|
+
}
|
|
91
89
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-aws_cloudformation",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "This adapter integrates with system described as: Aws_cloudformation.",
|
|
5
5
|
"main": "adapter.js",
|
|
6
6
|
"wizardVersion": "2.44.7",
|
|
7
|
-
"engineVersion": "1.
|
|
7
|
+
"engineVersion": "1.68.2",
|
|
8
8
|
"adapterType": "http",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"artifactize": "npm i && node utils/packModificationScript.js",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"author": "Itential",
|
|
55
55
|
"homepage": "https://gitlab.com/itentialopensource/adapters/adapter-aws_cloudformation#readme",
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@itentialopensource/adapter-utils": "^5.
|
|
57
|
+
"@itentialopensource/adapter-utils": "^5.7.0",
|
|
58
58
|
"acorn": "^8.12.1",
|
|
59
59
|
"ajv": "^8.17.1",
|
|
60
60
|
"aws4": "^1.9.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"prompts": "^2.4.2",
|
|
71
71
|
"readline-sync": "^1.4.10",
|
|
72
72
|
"semver": "^7.6.3",
|
|
73
|
-
"winston": "^3.
|
|
73
|
+
"winston": "^3.14.2"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"chai": "^4.3.7",
|
|
Binary file
|
package/report/adapterInfo.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.3.
|
|
2
|
+
"version": "0.3.4",
|
|
3
3
|
"configLines": 13223,
|
|
4
4
|
"scriptLines": 1783,
|
|
5
5
|
"codeLines": 11578,
|
|
6
|
-
"testLines":
|
|
7
|
-
"testCases":
|
|
8
|
-
"totalCodeLines":
|
|
6
|
+
"testLines": 7158,
|
|
7
|
+
"testCases": 344,
|
|
8
|
+
"totalCodeLines": 20519,
|
|
9
9
|
"wfTasks": 163
|
|
10
10
|
}
|
package/sampleProperties.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"auth_method": "aws_authentication",
|
|
19
19
|
"username": "username",
|
|
20
20
|
"password": "password",
|
|
21
|
-
"token": "",
|
|
21
|
+
"token": "token",
|
|
22
22
|
"token_timeout": 180000,
|
|
23
23
|
"token_cache": "local",
|
|
24
24
|
"invalid_token_error": 401,
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"ostypePrefix": "meraki-",
|
|
142
142
|
"port": "{port}",
|
|
143
143
|
"ipaddress": "{ip_addr}",
|
|
144
|
-
"serial"
|
|
144
|
+
"serial": "{serial}"
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
],
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
"ostypePrefix": "meraki-",
|
|
168
168
|
"port": "{port}",
|
|
169
169
|
"ipaddress": "{ip_addr}",
|
|
170
|
-
"serial"
|
|
170
|
+
"serial": "{serial}",
|
|
171
171
|
"id": "{myid}"
|
|
172
172
|
}
|
|
173
173
|
}
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
"ostypePrefix": "meraki-",
|
|
252
252
|
"port": "{port}",
|
|
253
253
|
"ipaddress": "{ip_addr}",
|
|
254
|
-
"serial"
|
|
254
|
+
"serial": "{serial}",
|
|
255
255
|
"id": "{myid}"
|
|
256
256
|
}
|
|
257
257
|
}
|
|
@@ -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] AwsCloudFormation 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.
|
|
326
|
+
assert.equal('^3.14.2', packageDotJson.dependencies.winston);
|
|
327
327
|
done();
|
|
328
328
|
} catch (error) {
|
|
329
329
|
log.error(`Test Failure: ${error}`);
|