@itentialopensource/adapter-nutanix_intentful 0.1.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.
- package/.eslintignore +5 -0
- package/.eslintrc.js +18 -0
- package/.jshintrc +3 -0
- package/AUTH.md +34 -0
- package/BROKER.md +211 -0
- package/CALLS.md +1677 -0
- package/CHANGELOG.md +9 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +13 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +646 -0
- package/README.md +343 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +20 -0
- package/TAB1.md +10 -0
- package/TAB2.md +303 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +26226 -0
- package/adapterBase.js +1452 -0
- package/changelogs/CHANGELOG.md +0 -0
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -0
- package/entities/.system/action.json +50 -0
- package/entities/.system/mockdatafiles/getToken-default.json +3 -0
- package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
- package/entities/.system/schema.json +19 -0
- package/entities/.system/schemaTokenReq.json +53 -0
- package/entities/.system/schemaTokenResp.json +53 -0
- package/entities/AccessControlPolicies/action.json +105 -0
- package/entities/AccessControlPolicies/schema.json +23 -0
- package/entities/AddressGroups/action.json +105 -0
- package/entities/AddressGroups/schema.json +23 -0
- package/entities/Alerts/action.json +85 -0
- package/entities/Alerts/schema.json +22 -0
- package/entities/Audits/action.json +45 -0
- package/entities/Audits/schema.json +20 -0
- package/entities/Batch/action.json +24 -0
- package/entities/Batch/schema.json +19 -0
- package/entities/Blackouts/action.json +105 -0
- package/entities/Blackouts/schema.json +23 -0
- package/entities/Categories/action.json +186 -0
- package/entities/Categories/schema.json +27 -0
- package/entities/Clusters/action.json +65 -0
- package/entities/Clusters/schema.json +21 -0
- package/entities/DirectoryServices/action.json +125 -0
- package/entities/DirectoryServices/schema.json +24 -0
- package/entities/FloatingIp/action.json +105 -0
- package/entities/FloatingIp/schema.json +23 -0
- package/entities/Hosts/action.json +45 -0
- package/entities/Hosts/schema.json +20 -0
- package/entities/IdempotenceIdentifiers/action.json +65 -0
- package/entities/IdempotenceIdentifiers/schema.json +32 -0
- package/entities/IdentityProviders/action.json +126 -0
- package/entities/IdentityProviders/schema.json +24 -0
- package/entities/ImagePlacementPolicies/action.json +105 -0
- package/entities/ImagePlacementPolicies/schema.json +23 -0
- package/entities/Images/action.json +166 -0
- package/entities/Images/schema.json +26 -0
- package/entities/NetworkFunctionChains/action.json +105 -0
- package/entities/NetworkFunctionChains/schema.json +23 -0
- package/entities/NetworkSecurityRules/action.json +166 -0
- package/entities/NetworkSecurityRules/schema.json +26 -0
- package/entities/NgtPolicies/action.json +105 -0
- package/entities/NgtPolicies/schema.json +23 -0
- package/entities/Ovas/action.json +249 -0
- package/entities/Ovas/schema.json +52 -0
- package/entities/Permissions/action.json +45 -0
- package/entities/Permissions/schema.json +20 -0
- package/entities/Projects/action.json +105 -0
- package/entities/Projects/schema.json +23 -0
- package/entities/ProtectionRules/action.json +146 -0
- package/entities/ProtectionRules/schema.json +25 -0
- package/entities/RecoveryPlanJobs/action.json +126 -0
- package/entities/RecoveryPlanJobs/schema.json +24 -0
- package/entities/RecoveryPlans/action.json +126 -0
- package/entities/RecoveryPlans/schema.json +68 -0
- package/entities/RemoteSyslogModules/action.json +105 -0
- package/entities/RemoteSyslogModules/schema.json +23 -0
- package/entities/RemoteSyslogServers/action.json +126 -0
- package/entities/RemoteSyslogServers/schema.json +24 -0
- package/entities/Reports/action.json +267 -0
- package/entities/Reports/schema.json +31 -0
- package/entities/Roles/action.json +105 -0
- package/entities/Roles/schema.json +23 -0
- package/entities/RoutingPolicies/action.json +145 -0
- package/entities/RoutingPolicies/schema.json +25 -0
- package/entities/ServiceGroups/action.json +105 -0
- package/entities/ServiceGroups/schema.json +23 -0
- package/entities/StoragePolicies/action.json +125 -0
- package/entities/StoragePolicies/schema.json +24 -0
- package/entities/Subnets/action.json +105 -0
- package/entities/Subnets/schema.json +23 -0
- package/entities/Tasks/action.json +45 -0
- package/entities/Tasks/schema.json +20 -0
- package/entities/UserGroups/action.json +85 -0
- package/entities/UserGroups/schema.json +22 -0
- package/entities/Users/action.json +127 -0
- package/entities/Users/schema.json +24 -0
- package/entities/VirtualNetwork/action.json +105 -0
- package/entities/VirtualNetwork/schema.json +23 -0
- package/entities/VmHostAffinityLegacyPolicies/action.json +44 -0
- package/entities/VmHostAffinityLegacyPolicies/schema.json +20 -0
- package/entities/VmHostAffinityPolicies/action.json +145 -0
- package/entities/VmHostAffinityPolicies/schema.json +36 -0
- package/entities/Vms/action.json +365 -0
- package/entities/Vms/schema.json +36 -0
- package/entities/Vpc/action.json +45 -0
- package/entities/Vpc/schema.json +20 -0
- package/entities/VpnConnection/action.json +168 -0
- package/entities/VpnConnection/schema.json +26 -0
- package/entities/VpnGateway/action.json +105 -0
- package/entities/VpnGateway/schema.json +23 -0
- package/entities/Whatif/action.json +188 -0
- package/entities/Whatif/schema.json +38 -0
- package/error.json +190 -0
- package/metadata.json +92 -0
- package/package.json +81 -0
- package/pronghorn.json +12449 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1574 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapter-openapi.json +85398 -0
- package/report/adapter-openapi.yaml +62985 -0
- package/report/adapterInfo.json +10 -0
- package/report/auto-adapter-openapi.json +9609 -0
- package/report/creationReport.json +2065 -0
- package/report/nutanix-openapi.json +85398 -0
- package/sampleProperties.json +257 -0
- package/test/integration/adapterTestBasicGet.js +83 -0
- package/test/integration/adapterTestConnectivity.js +118 -0
- package/test/integration/adapterTestIntegration.js +6792 -0
- package/test/unit/adapterBaseTestUnit.js +1024 -0
- package/test/unit/adapterTestUnit.js +9255 -0
- package/utils/adapterInfo.js +206 -0
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +146 -0
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +179 -0
- package/utils/findPath.js +74 -0
- package/utils/methodDocumentor.js +273 -0
- package/utils/modify.js +152 -0
- package/utils/packModificationScript.js +35 -0
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +32 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/taskMover.js +309 -0
- package/utils/tbScript.js +239 -0
- package/utils/tbUtils.js +489 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +193 -0
package/package.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@itentialopensource/adapter-nutanix_intentful",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "This adapter integrates with system described as: Nutanix Intentful.",
|
|
5
|
+
"main": "adapter.js",
|
|
6
|
+
"systemName": "Nutanix_intentful",
|
|
7
|
+
"wizardVersion": "3.3.1",
|
|
8
|
+
"engineVersion": "1.68.11",
|
|
9
|
+
"adapterType": "http",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"artifactize": "npm i && node utils/packModificationScript.js",
|
|
12
|
+
"preinstall": "node utils/setup.js",
|
|
13
|
+
"deinstall": "node utils/removeHooks.js",
|
|
14
|
+
"lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
|
|
15
|
+
"lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
|
|
16
|
+
"test:baseunit": "mocha test/unit/adapterBaseTestUnit.js --LOG=error",
|
|
17
|
+
"test:unit": "mocha test/unit/adapterTestUnit.js --LOG=error",
|
|
18
|
+
"test:integration": "mocha test/integration/adapterTestIntegration.js --LOG=error",
|
|
19
|
+
"test": "npm run test:baseunit && npm run test:unit && npm run test:integration",
|
|
20
|
+
"adapter:install": "npm i && node utils/tbScript.js install",
|
|
21
|
+
"adapter:checkMigrate": "node utils/checkMigrate.js",
|
|
22
|
+
"adapter:findPath": "node utils/findPath.js",
|
|
23
|
+
"adapter:migrate": "node utils/modify.js -m",
|
|
24
|
+
"adapter:update": "node utils/modify.js -u",
|
|
25
|
+
"adapter:revert": "node utils/modify.js -r",
|
|
26
|
+
"troubleshoot": "node utils/tbScript.js troubleshoot",
|
|
27
|
+
"healthcheck": "node utils/tbScript.js healthcheck",
|
|
28
|
+
"basicget": "node utils/tbScript.js basicget",
|
|
29
|
+
"connectivity": "node utils/tbScript.js connectivity",
|
|
30
|
+
"deploy": "npm publish --registry=https://registry.npmjs.org --access=public",
|
|
31
|
+
"build": "npm run deploy"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"Itential",
|
|
35
|
+
"IAP",
|
|
36
|
+
"Automation",
|
|
37
|
+
"Integration",
|
|
38
|
+
"App-Artifacts",
|
|
39
|
+
"Adapter",
|
|
40
|
+
"nutanix_intentful",
|
|
41
|
+
"Pre-Release"
|
|
42
|
+
],
|
|
43
|
+
"license": "Apache-2.0",
|
|
44
|
+
"engines": {
|
|
45
|
+
"node": ">= 14.0.0",
|
|
46
|
+
"npm": ">= 6.0.0"
|
|
47
|
+
},
|
|
48
|
+
"repository": {
|
|
49
|
+
"type": "git",
|
|
50
|
+
"url": "git@gitlab.com:itentialopensource/adapters/adapter-nutanix_intentful.git"
|
|
51
|
+
},
|
|
52
|
+
"author": "Itential",
|
|
53
|
+
"homepage": "https://gitlab.com/itentialopensource/adapters/adapter-nutanix_intentful#readme",
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"@itentialopensource/adapter-utils": "^5.10.1",
|
|
56
|
+
"acorn": "^8.12.1",
|
|
57
|
+
"ajv": "^8.17.1",
|
|
58
|
+
"axios": "^1.7.4",
|
|
59
|
+
"commander": "^11.0.0",
|
|
60
|
+
"dns-lookup-promise": "^1.0.4",
|
|
61
|
+
"fs-extra": "^11.2.0",
|
|
62
|
+
"json-query": "^2.2.2",
|
|
63
|
+
"mocha": "^10.7.3",
|
|
64
|
+
"mocha-param": "^2.0.1",
|
|
65
|
+
"mongodb": "^4.16.0",
|
|
66
|
+
"ping": "^0.4.4",
|
|
67
|
+
"prompts": "^2.4.2",
|
|
68
|
+
"readline-sync": "^1.4.10",
|
|
69
|
+
"semver": "^7.6.3",
|
|
70
|
+
"winston": "^3.14.2"
|
|
71
|
+
},
|
|
72
|
+
"devDependencies": {
|
|
73
|
+
"chai": "^4.3.7",
|
|
74
|
+
"eslint": "^8.44.0",
|
|
75
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
76
|
+
"eslint-plugin-import": "^2.27.5",
|
|
77
|
+
"eslint-plugin-json": "^3.1.0",
|
|
78
|
+
"testdouble": "^3.18.0"
|
|
79
|
+
},
|
|
80
|
+
"private": false
|
|
81
|
+
}
|