@itentialopensource/adapter-amazon_route53 0.4.3 → 0.4.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 CHANGED
@@ -1,4 +1,20 @@
1
1
 
2
+ ## 0.4.5 [09-12-2024]
3
+
4
+ * add properties for sts
5
+
6
+ See merge request itentialopensource/adapters/adapter-amazon_route53!21
7
+
8
+ ---
9
+
10
+ ## 0.4.4 [08-22-2024]
11
+
12
+ * update dependencies and metadata
13
+
14
+ See merge request itentialopensource/adapters/adapter-amazon_route53!20
15
+
16
+ ---
17
+
2
18
  ## 0.4.3 [08-14-2024]
3
19
 
4
20
  * Changes made at 2024.08.14_18:18PM
package/TAB2.md CHANGED
@@ -141,7 +141,13 @@ Sample Properties can be used to help you configure the adapter in the Itential
141
141
  "aws_access_key": "aws_access_key",
142
142
  "aws_secret_key": "aws_secret_key",
143
143
  "aws_session_token": "aws_session_token",
144
- "aws_iam_role": ""
144
+ "aws_iam_role": "",
145
+ "aws_sts": {
146
+ "sslEnable": true,
147
+ "endpoint": "",
148
+ "proxy": "",
149
+ "proxyagent": ""
150
+ }
145
151
  },
146
152
  "healthcheck": {
147
153
  "type": "startup",
package/metadata.json CHANGED
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "name": "adapter-amazon_route53",
3
3
  "webName": "Adapter for Integration to Amazon Web Services Route 53",
4
+ "supportLevel": "certified",
4
5
  "vendor": "Amazon Web Services",
5
6
  "product": "Route 53",
7
+ "techAlliance": false,
6
8
  "osVersion": [],
7
9
  "apiVersions": [
8
10
  "2013-04-01"
@@ -54,7 +56,7 @@
54
56
  "storeLink": "",
55
57
  "npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-amazon_route53",
56
58
  "repoLink": "https://gitlab.com/itentialopensource/adapters/adapter-amazon_route53",
57
- "docLink": "https://docs.itential.com/opensource/docs/amazon-route53",
59
+ "docLink": "https://gitlab.com/itentialopensource/adapters/adapter-amazon_route53/-/blob/master/README.md?ref_type=heads",
58
60
  "demoLinks": [],
59
61
  "trainingLinks": [
60
62
  {
@@ -99,9 +101,5 @@
99
101
  "workflowProjects": [],
100
102
  "transformationProjects": [],
101
103
  "exampleProjects": []
102
- },
103
- "supportLevel": [
104
- "community"
105
- ],
106
- "techAlliance": false
104
+ }
107
105
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-amazon_route53",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "description": "This adapter integrates with system described as: Amazon Route53.",
5
5
  "main": "adapter.js",
6
6
  "systemName": "Amazon AWS Route53",
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",
@@ -55,7 +55,7 @@
55
55
  "author": "Itential",
56
56
  "homepage": "https://gitlab.com/itentialopensource/adapters/adapter-amazon_route53#readme",
57
57
  "dependencies": {
58
- "@itentialopensource/adapter-utils": "^5.6.0",
58
+ "@itentialopensource/adapter-utils": "^5.7.2",
59
59
  "acorn": "^8.12.1",
60
60
  "ajv": "^8.17.1",
61
61
  "axios": "^1.7.4",
@@ -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.13.1"
73
+ "winston": "^3.14.2"
74
74
  },
75
75
  "devDependencies": {
76
76
  "chai": "^4.3.7",
@@ -381,6 +381,43 @@
381
381
  "examples": [
382
382
  "roleOnAllCalls"
383
383
  ]
384
+ },
385
+ "aws_sts": {
386
+ "type": "object",
387
+ "properties": {
388
+ "sslEnable": {
389
+ "type": "boolean",
390
+ "description": "This can disable the ssl for the sts requests",
391
+ "default": true
392
+ },
393
+ "endpoint": {
394
+ "type": "string",
395
+ "description": "change the sts endpoint used for assume role",
396
+ "default": "",
397
+ "enum": [
398
+ "sts.amazonaws.com",
399
+ "sts.us-east-2.amazonaws.com",
400
+ ""
401
+ ]
402
+ },
403
+ "proxy": {
404
+ "type": "string",
405
+ "description": "add a proxy to calls used for assume role",
406
+ "default": "",
407
+ "examples": [
408
+ "https://1.1.1.1"
409
+ ]
410
+ },
411
+ "proxyagent": {
412
+ "type": "string",
413
+ "description": "define a proxy agent for calls to assume role",
414
+ "default": "",
415
+ "examples": [
416
+ "https",
417
+ "http"
418
+ ]
419
+ }
420
+ }
384
421
  }
385
422
  },
386
423
  "required": [
Binary file
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "0.3.9",
3
- "configLines": 9898,
2
+ "version": "0.4.4",
3
+ "configLines": 9935,
4
4
  "scriptLines": 1783,
5
5
  "codeLines": 9292,
6
- "testLines": 6944,
7
- "testCases": 354,
8
- "totalCodeLines": 18019,
6
+ "testLines": 6920,
7
+ "testCases": 353,
8
+ "totalCodeLines": 17995,
9
9
  "wfTasks": 153
10
10
  }
@@ -46,7 +46,13 @@
46
46
  "aws_access_key": "aws_access_key",
47
47
  "aws_secret_key": "aws_secret_key",
48
48
  "aws_session_token": "aws_session_token",
49
- "aws_iam_role": ""
49
+ "aws_iam_role": "",
50
+ "aws_sts": {
51
+ "sslEnable": true,
52
+ "endpoint": "",
53
+ "proxy": "",
54
+ "proxyagent": ""
55
+ }
50
56
  },
51
57
  "healthcheck": {
52
58
  "type": "startup",
@@ -141,7 +147,7 @@
141
147
  "ostypePrefix": "meraki-",
142
148
  "port": "{port}",
143
149
  "ipaddress": "{ip_addr}",
144
- "serial" : "{serial}"
150
+ "serial": "{serial}"
145
151
  }
146
152
  }
147
153
  ],
@@ -167,7 +173,7 @@
167
173
  "ostypePrefix": "meraki-",
168
174
  "port": "{port}",
169
175
  "ipaddress": "{ip_addr}",
170
- "serial" : "{serial}",
176
+ "serial": "{serial}",
171
177
  "id": "{myid}"
172
178
  }
173
179
  }
@@ -251,7 +257,7 @@
251
257
  "ostypePrefix": "meraki-",
252
258
  "port": "{port}",
253
259
  "ipaddress": "{ip_addr}",
254
- "serial" : "{serial}",
260
+ "serial": "{serial}",
255
261
  "id": "{myid}"
256
262
  }
257
263
  }
@@ -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] Amazon_route53 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
- ---------------------------------------------------------------------------------------------