@itentialopensource/adapter-infoblox 1.9.3 → 1.11.0

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 (63) hide show
  1. package/AUTH.md +39 -0
  2. package/BROKER.md +199 -0
  3. package/CALLS.md +169 -0
  4. package/CHANGELOG.md +71 -52
  5. package/CODE_OF_CONDUCT.md +12 -17
  6. package/CONTRIBUTING.md +88 -74
  7. package/ENHANCE.md +69 -0
  8. package/PROPERTIES.md +641 -0
  9. package/README.md +225 -502
  10. package/SUMMARY.md +9 -0
  11. package/SYSTEMINFO.md +11 -0
  12. package/TROUBLESHOOT.md +47 -0
  13. package/adapter.js +20046 -542
  14. package/adapterBase.js +1022 -246
  15. package/entities/.generic/action.json +110 -5
  16. package/entities/.generic/schema.json +6 -1
  17. package/entities/DNS/action.json +4177 -0
  18. package/entities/DNS/mockdatafiles/createGridDnsByReference-default.json +10 -0
  19. package/entities/DNS/mockdatafiles/createMemberDnsByReference-default.json +7 -0
  20. package/entities/DNS/mockdatafiles/createViewByReference-default.json +10 -0
  21. package/entities/DNS/mockdatafiles/createZoneDelegatedByReference-default.json +8 -0
  22. package/entities/DNS/mockdatafiles/createZoneForwardByReference-default.json +8 -0
  23. package/entities/DNS/mockdatafiles/createZoneRpByReference-default.json +37 -0
  24. package/entities/DNS/mockdatafiles/createZoneStubByReference-default.json +8 -0
  25. package/entities/DNS/schema.json +222 -0
  26. package/entities/DNSProperties/action.json +1 -1
  27. package/entities/DNSProperties/mockdatafiles/getGridDnsData.json +3 -0
  28. package/entities/ExtensibleAttributes/action.json +63 -0
  29. package/entities/ExtensibleAttributes/schema.json +4 -1
  30. package/entities/NetworkViewsAndDNSViews/action.json +63 -0
  31. package/entities/NetworkViewsAndDNSViews/schema.json +4 -1
  32. package/entities/Networks/action.json +42 -0
  33. package/entities/Networks/requestSchema.json +3 -1
  34. package/entities/Networks/responseSchema.json +3 -1
  35. package/entities/Services/action.json +21 -0
  36. package/entities/Services/schema.json +1 -0
  37. package/error.json +12 -0
  38. package/package.json +20 -13
  39. package/pronghorn.json +17142 -832
  40. package/propertiesDecorators.json +14 -0
  41. package/propertiesSchema.json +436 -0
  42. package/refs?service=git-upload-pack +0 -0
  43. package/report/adapterInfo.json +10 -0
  44. package/report/updateReport1646675873230.json +95 -0
  45. package/report/updateReport1653911824054.json +120 -0
  46. package/sampleProperties.json +94 -2
  47. package/test/integration/adapterTestBasicGet.js +2 -2
  48. package/test/integration/adapterTestIntegration.js +6866 -191
  49. package/test/unit/adapterBaseTestUnit.js +35 -27
  50. package/test/unit/adapterTestUnit.js +7202 -252
  51. package/utils/adapterInfo.js +206 -0
  52. package/utils/addAuth.js +94 -0
  53. package/utils/basicGet.js +1 -14
  54. package/utils/entitiesToDB.js +179 -0
  55. package/utils/modify.js +1 -1
  56. package/utils/packModificationScript.js +1 -1
  57. package/utils/patches2bundledDeps.js +90 -0
  58. package/utils/pre-commit.sh +3 -0
  59. package/utils/removeHooks.js +20 -0
  60. package/utils/tbScript.js +43 -22
  61. package/utils/tbUtils.js +126 -29
  62. package/utils/testRunner.js +16 -16
  63. package/utils/troubleshootingAdapter.js +2 -26
package/package.json CHANGED
@@ -1,13 +1,15 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-infoblox",
3
- "version": "1.9.3",
3
+ "version": "1.11.0",
4
4
  "description": "Itential Infoblox Adapter",
5
5
  "main": "adapter.js",
6
- "wizardVersion": "2.43.12",
7
- "engineVersion": "1.58.3",
6
+ "systemName": "Infoblox",
7
+ "wizardVersion": "2.44.7",
8
+ "engineVersion": "1.61.6",
9
+ "adapterType": "http",
8
10
  "scripts": {
9
11
  "artifactize": "npm i && node utils/packModificationScript.js",
10
- "preinstall": "node utils/setup.js",
12
+ "preinstall": "node utils/setup.js && npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions",
11
13
  "lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
12
14
  "lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
13
15
  "test:baseunit": "mocha test/unit/adapterBaseTestUnit.js --LOG=error",
@@ -15,7 +17,7 @@
15
17
  "test:integration": "mocha test/integration/adapterTestIntegration.js --LOG=error",
16
18
  "test:cover": "nyc --reporter html --reporter text mocha --reporter dot test/*",
17
19
  "test": "npm run test:baseunit && npm run test:unit && npm run test:integration",
18
- "adapter:install": "node utils/tbScript.js install",
20
+ "adapter:install": "npm i && node utils/tbScript.js install",
19
21
  "adapter:checkMigrate": "node utils/checkMigrate.js",
20
22
  "adapter:findPath": "node utils/findPath.js",
21
23
  "adapter:migrate": "node utils/modify.js -m",
@@ -25,7 +27,7 @@
25
27
  "healthcheck": "node utils/tbScript.js healthcheck",
26
28
  "basicget": "node utils/tbScript.js basicget",
27
29
  "connectivity": "node utils/tbScript.js connectivity",
28
- "deploy": "npm publish --registry=http://registry.npmjs.org --access=public",
30
+ "deploy": "npm publish --registry=https://registry.npmjs.org --access=public",
29
31
  "build": "npm run deploy"
30
32
  },
31
33
  "keywords": [
@@ -55,13 +57,15 @@
55
57
  "author": "Itential",
56
58
  "homepage": "https://gitlab.com/itentialopensource/adapters/inventory/adapter-infoblox#readme",
57
59
  "dependencies": {
58
- "@itentialopensource/adapter-utils": "^4.39.1",
60
+ "@itentialopensource/adapter-utils": "^4.45.6",
59
61
  "ajv": "^6.12.0",
60
62
  "axios": "^0.21.0",
61
63
  "commander": "^2.20.0",
62
64
  "fs-extra": "^8.1.0",
63
- "mocha": "^8.1.1",
65
+ "json-query": "^2.2.2",
66
+ "mocha": "^9.0.1",
64
67
  "mocha-param": "^2.0.1",
68
+ "mongodb": "^4.1.0",
65
69
  "network-diagnostics": "^0.5.3",
66
70
  "nyc": "^15.1.0",
67
71
  "readline-sync": "^1.4.10",
@@ -69,13 +73,16 @@
69
73
  "winston": "^3.3.3"
70
74
  },
71
75
  "devDependencies": {
72
- "chai": "^4.2.0",
73
- "eslint": "^7.2.0",
74
- "eslint-config-airbnb-base": "^14.2.0",
75
- "eslint-plugin-import": "^2.21.2",
76
- "eslint-plugin-json": "^2.1.1",
76
+ "chai": "^4.3.4",
77
+ "eslint": "^7.29.0",
78
+ "eslint-config-airbnb-base": "^14.2.1",
79
+ "eslint-plugin-import": "^2.23.4",
80
+ "eslint-plugin-json": "^3.0.0",
77
81
  "package-json-validator": "^0.6.3",
78
82
  "testdouble": "^3.16.1"
79
83
  },
84
+ "resolutions": {
85
+ "minimist": "^1.2.5"
86
+ },
80
87
  "private": false
81
88
  }