@itentialopensource/adapter-amazon_route53 0.3.2 → 0.3.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 +16 -0
- package/adapter.js +17 -3
- package/package.json +4 -4
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +3 -3
- package/test/unit/adapterTestUnit.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
|
|
2
|
+
## 0.3.4 [02-28-2024]
|
|
3
|
+
|
|
4
|
+
* Changes made at 2024.02.28_11:42AM
|
|
5
|
+
|
|
6
|
+
See merge request itentialopensource/adapters/cloud/adapter-amazon_route53!10
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 0.3.3 [01-27-2024]
|
|
11
|
+
|
|
12
|
+
* make changes non breaking
|
|
13
|
+
|
|
14
|
+
See merge request itentialopensource/adapters/cloud/adapter-amazon_route53!9
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
2
18
|
## 0.3.2 [12-26-2023]
|
|
3
19
|
|
|
4
20
|
* update axios and metadata
|
package/adapter.js
CHANGED
|
@@ -18,6 +18,7 @@ const callOptions = {
|
|
|
18
18
|
response: 'XML2JSON'
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
|
+
const authMethod = 'aws_authentication';
|
|
21
22
|
|
|
22
23
|
/* Fetch in the other needed components for the this Adaptor */
|
|
23
24
|
const AdapterBaseCl = require(path.join(__dirname, 'adapterBase.js'));
|
|
@@ -32,11 +33,24 @@ class AmazonRoute53 extends AdapterBaseCl {
|
|
|
32
33
|
* AmazonRoute53 Adapter
|
|
33
34
|
* @constructor
|
|
34
35
|
*/
|
|
35
|
-
/* Working on changing the way we do Emit methods due to size and time constrainsts
|
|
36
36
|
constructor(prongid, properties) {
|
|
37
|
+
// make sure properties are set - so that we do not break
|
|
38
|
+
const myProperties = properties;
|
|
39
|
+
|
|
40
|
+
// service should exist and be ec2
|
|
41
|
+
if (myProperties && !myProperties.service) {
|
|
42
|
+
myProperties.service = callOptions.service;
|
|
43
|
+
}
|
|
44
|
+
// auth_method should now be aws_authentication
|
|
45
|
+
if (myProperties && myProperties.authentication && (!myProperties.authentication.auth_method
|
|
46
|
+
|| myProperties.authentication.auth_method === 'no_authentication')) {
|
|
47
|
+
myProperties.authentication.auth_method = authMethod;
|
|
48
|
+
}
|
|
49
|
+
|
|
37
50
|
// Instantiate the AdapterBase super class
|
|
38
|
-
super(prongid,
|
|
51
|
+
super(prongid, myProperties);
|
|
39
52
|
|
|
53
|
+
/*
|
|
40
54
|
const restFunctionNames = this.iapGetAdapterWorkflowFunctions();
|
|
41
55
|
|
|
42
56
|
// Dynamically bind emit functions
|
|
@@ -72,8 +86,8 @@ class AmazonRoute53 extends AdapterBaseCl {
|
|
|
72
86
|
// if (this.allProps && this.allProps.myownproperty) {
|
|
73
87
|
// mypropvariable = this.allProps.myownproperty;
|
|
74
88
|
// }
|
|
89
|
+
*/
|
|
75
90
|
}
|
|
76
|
-
*/
|
|
77
91
|
|
|
78
92
|
/**
|
|
79
93
|
* @callback healthCallback
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-amazon_route53",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "This adapter integrates with system described as: Amazon Route53.",
|
|
5
5
|
"main": "adapter.js",
|
|
6
6
|
"systemName": "Amazon AWS Route53",
|
|
@@ -56,15 +56,15 @@
|
|
|
56
56
|
"author": "Itential",
|
|
57
57
|
"homepage": "https://gitlab.com/itentialopensource/adapters/cloud/adapter-amazon_route53#readme",
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@itentialopensource/adapter-utils": "^5.3.
|
|
59
|
+
"@itentialopensource/adapter-utils": "^5.3.8",
|
|
60
60
|
"acorn": "^8.10.0",
|
|
61
61
|
"ajv": "^8.12.0",
|
|
62
|
-
"axios": "^1.6.
|
|
62
|
+
"axios": "^1.6.7",
|
|
63
63
|
"commander": "^11.0.0",
|
|
64
64
|
"dns-lookup-promise": "^1.0.4",
|
|
65
65
|
"fs-extra": "^11.1.1",
|
|
66
66
|
"json-query": "^2.2.2",
|
|
67
|
-
"mocha": "^10.
|
|
67
|
+
"mocha": "^10.3.0",
|
|
68
68
|
"mocha-param": "^2.0.1",
|
|
69
69
|
"mongodb": "^4.16.0",
|
|
70
70
|
"nyc": "^15.1.0",
|
|
Binary file
|
package/report/adapterInfo.json
CHANGED
|
@@ -316,10 +316,10 @@ describe('[unit] Amazon_route53 Adapter Test', () => {
|
|
|
316
316
|
assert.notEqual(null, packageDotJson.dependencies);
|
|
317
317
|
assert.notEqual('', packageDotJson.dependencies);
|
|
318
318
|
assert.equal('^8.12.0', packageDotJson.dependencies.ajv);
|
|
319
|
-
assert.equal('^1.6.
|
|
319
|
+
assert.equal('^1.6.7', packageDotJson.dependencies.axios);
|
|
320
320
|
assert.equal('^11.0.0', packageDotJson.dependencies.commander);
|
|
321
321
|
assert.equal('^11.1.1', packageDotJson.dependencies['fs-extra']);
|
|
322
|
-
assert.equal('^10.
|
|
322
|
+
assert.equal('^10.3.0', packageDotJson.dependencies.mocha);
|
|
323
323
|
assert.equal('^2.0.1', packageDotJson.dependencies['mocha-param']);
|
|
324
324
|
assert.equal('^15.1.0', packageDotJson.dependencies.nyc);
|
|
325
325
|
assert.equal('^0.4.4', packageDotJson.dependencies.ping);
|