@itentialopensource/adapter-amazon_route53 0.2.2 → 0.3.1

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.
Files changed (46) hide show
  1. package/AUTH.md +25 -22
  2. package/CALLS.md +59 -22
  3. package/CHANGELOG.md +16 -0
  4. package/CONTRIBUTING.md +1 -160
  5. package/ENHANCE.md +2 -2
  6. package/README.md +32 -23
  7. package/SYSTEMINFO.md +15 -5
  8. package/adapter.js +600 -1783
  9. package/adapterBase.js +549 -879
  10. package/changelogs/changelog.md +54 -0
  11. package/entities/.system/action.json +2 -2
  12. package/entities/Rest/action.json +109 -109
  13. package/metadata.json +70 -0
  14. package/package.json +24 -28
  15. package/pronghorn.json +981 -642
  16. package/propertiesSchema.json +439 -39
  17. package/refs?service=git-upload-pack +0 -0
  18. package/report/adapter-openapi.json +15721 -0
  19. package/report/adapter-openapi.yaml +11633 -0
  20. package/report/adapterInfo.json +8 -8
  21. package/report/updateReport1691507399893.json +120 -0
  22. package/report/updateReport1692202434448.json +120 -0
  23. package/report/updateReport1694460669097.json +120 -0
  24. package/report/updateReport1698420502742.json +120 -0
  25. package/sampleProperties.json +68 -5
  26. package/test/integration/adapterTestBasicGet.js +2 -4
  27. package/test/integration/adapterTestConnectivity.js +91 -42
  28. package/test/integration/adapterTestIntegration.js +130 -2
  29. package/test/unit/adapterBaseTestUnit.js +388 -313
  30. package/test/unit/adapterTestUnit.js +338 -112
  31. package/utils/adapterInfo.js +1 -1
  32. package/utils/addAuth.js +1 -1
  33. package/utils/artifactize.js +1 -1
  34. package/utils/checkMigrate.js +1 -1
  35. package/utils/entitiesToDB.js +2 -2
  36. package/utils/findPath.js +1 -1
  37. package/utils/methodDocumentor.js +273 -0
  38. package/utils/modify.js +13 -15
  39. package/utils/packModificationScript.js +1 -1
  40. package/utils/pre-commit.sh +2 -0
  41. package/utils/taskMover.js +309 -0
  42. package/utils/tbScript.js +89 -34
  43. package/utils/tbUtils.js +41 -21
  44. package/utils/testRunner.js +1 -1
  45. package/utils/troubleshootingAdapter.js +9 -6
  46. package/workflows/README.md +0 -3
package/metadata.json ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "adapter-amazon_route53",
3
+ "webName": "Adapter for Integration to Amazon Web Services Route53",
4
+ "vendor": "Amazon",
5
+ "product": "route53",
6
+ "osVersion": [],
7
+ "apiVersions": [
8
+ "2013-04-01"
9
+ ],
10
+ "iapVersions": [
11
+ "2021.1.x",
12
+ "2021.2.x",
13
+ "2022.1.x",
14
+ "2023.1.x"
15
+ ],
16
+ "method": "REST",
17
+ "type": "Adapter",
18
+ "domains": [
19
+ "Network Services"
20
+ ],
21
+ "tags": [
22
+ "Domain Name Service",
23
+ "DNS"
24
+ ],
25
+ "useCases": [
26
+ "Add, update, manage or remove DNS Entry"
27
+ ],
28
+ "deprecated": {
29
+ "isDeprecated": false
30
+ },
31
+ "brokerSince": "",
32
+ "documentation": {
33
+ "storeLink": "",
34
+ "npmLink": "https://www.npmjs.com/package/@itentialopensource/adapter-amazon_route53",
35
+ "repoLink": "https://gitlab.com/itentialopensource/adapters/cloud/adapter-amazon_route53",
36
+ "docLink": "https://docs.itential.com/opensource/docs/amazon-route53",
37
+ "demoLinks": [],
38
+ "faqLink": "https://docs.itential.com/opensource/docs/troubleshooting-an-adapter",
39
+ "contributeLink": "https://gitlab.com/itentialopensource/adapters/contributing-guide",
40
+ "issueLink": "https://itential.atlassian.net/servicedesk/customer/portals",
41
+ "webLink": "https://www.itential.com/adapters/amazon-route53/",
42
+ "vendorLink": "https://aws.amazon.com/",
43
+ "productLink": "https://aws.amazon.com/route53/",
44
+ "apiLinks": [
45
+ "https://docs.aws.amazon.com/Route53/latest/APIReference/Welcome.html"
46
+ ]
47
+ },
48
+ "assets": [],
49
+ "relatedItems": {
50
+ "adapters": [
51
+ {
52
+ "name": "adapter-aws_ec2",
53
+ "webName": "Adapter for Integration to Amazon Web Services Elastic Cloud Compute",
54
+ "overview": "Adapter for Integration to Amazon Web Services Elastic Cloud Compute",
55
+ "isDependency": false,
56
+ "versions": [
57
+ "^0.6.8"
58
+ ],
59
+ "repoLink": "https://gitlab.com/itentialopensource/adapters/cloud/adapter-aws_ec2",
60
+ "docLink": "https://docs.itential.com/opensource/docs/amazon-aws-ec2",
61
+ "webLink": "https://www.itential.com/adapters/amazon-ec2/"
62
+ }
63
+ ],
64
+ "integrations": [],
65
+ "ecosystemApplications": [],
66
+ "workflowProjects": [],
67
+ "transformationProjects": [],
68
+ "exampleProjects": []
69
+ }
70
+ }
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-amazon_route53",
3
- "version": "0.2.2",
3
+ "version": "0.3.1",
4
4
  "description": "This adapter integrates with system described as: Amazon Route53.",
5
5
  "main": "adapter.js",
6
- "systemName": "Amazon Route53",
6
+ "systemName": "Amazon AWS Route53",
7
7
  "wizardVersion": "2.44.7",
8
- "engineVersion": "1.61.6",
8
+ "engineVersion": "1.67.10",
9
9
  "adapterType": "http",
10
10
  "scripts": {
11
11
  "artifactize": "npm i && node utils/packModificationScript.js",
12
- "preinstall": "node utils/setup.js && npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions",
12
+ "preinstall": "node utils/setup.js",
13
13
  "deinstall": "node utils/removeHooks.js",
14
14
  "lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
15
15
  "lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
@@ -25,7 +25,7 @@
25
25
  "adapter:migrate": "node utils/modify.js -m",
26
26
  "adapter:update": "node utils/modify.js -u",
27
27
  "adapter:revert": "node utils/modify.js -r",
28
- "troubleshoot": "node utils/tbScript.js",
28
+ "troubleshoot": "node utils/tbScript.js troubleshoot",
29
29
  "healthcheck": "node utils/tbScript.js healthcheck",
30
30
  "basicget": "node utils/tbScript.js basicget",
31
31
  "connectivity": "node utils/tbScript.js connectivity",
@@ -56,35 +56,31 @@
56
56
  "author": "Itential",
57
57
  "homepage": "https://gitlab.com/itentialopensource/adapters/cloud/adapter-amazon_route53#readme",
58
58
  "dependencies": {
59
- "@itentialopensource/adapter-utils": "^4.45.5",
60
- "ajv": "^6.12.0",
61
- "aws-sdk": "^2.1097.0",
62
- "aws4": "^1.9.0",
63
- "axios": "^0.21.0",
64
- "commander": "^2.20.0",
65
- "fs-extra": "^8.1.0",
59
+ "@itentialopensource/adapter-utils": "^5.3.0",
60
+ "acorn": "^8.10.0",
61
+ "ajv": "^8.12.0",
62
+ "axios": "^1.4.0",
63
+ "commander": "^11.0.0",
64
+ "dns-lookup-promise": "^1.0.4",
65
+ "fs-extra": "^11.1.1",
66
66
  "json-query": "^2.2.2",
67
- "mocha": "^9.0.1",
67
+ "mocha": "^10.2.0",
68
68
  "mocha-param": "^2.0.1",
69
- "mongodb": "^4.1.0",
70
- "network-diagnostics": "^0.5.3",
69
+ "mongodb": "^4.16.0",
71
70
  "nyc": "^15.1.0",
71
+ "ping": "^0.4.4",
72
+ "prompts": "^2.4.2",
72
73
  "readline-sync": "^1.4.10",
73
- "request": "^2.88.2",
74
- "semver": "^7.3.2",
75
- "winston": "^3.3.3"
74
+ "semver": "^7.5.3",
75
+ "winston": "^3.9.0"
76
76
  },
77
77
  "devDependencies": {
78
- "chai": "^4.3.4",
79
- "eslint": "^7.29.0",
80
- "eslint-config-airbnb-base": "^14.2.1",
81
- "eslint-plugin-import": "^2.23.4",
82
- "eslint-plugin-json": "^3.0.0",
83
- "package-json-validator": "^0.6.3",
84
- "testdouble": "^3.16.1"
85
- },
86
- "resolutions": {
87
- "minimist": "^1.2.5"
78
+ "chai": "^4.3.7",
79
+ "eslint": "^8.44.0",
80
+ "eslint-config-airbnb-base": "^15.0.0",
81
+ "eslint-plugin-import": "^2.27.5",
82
+ "eslint-plugin-json": "^3.1.0",
83
+ "testdouble": "^3.18.0"
88
84
  },
89
85
  "private": false
90
86
  }