@itentialopensource/adapter-aruba_airwave 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 +6 -0
- package/.eslintrc.js +18 -0
- package/.gitlab/.gitkeep +0 -0
- package/.gitlab/issue_templates/.gitkeep +0 -0
- package/.gitlab/issue_templates/Default.md +17 -0
- package/.gitlab/issue_templates/bugReportTemplate.md +76 -0
- package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
- package/.jshintrc +0 -0
- package/CHANGELOG.md +9 -0
- package/CODE_OF_CONDUCT.md +48 -0
- package/CONTRIBUTING.md +158 -0
- package/LICENSE +201 -0
- package/README.md +544 -0
- package/adapter.js +2860 -0
- package/adapterBase.js +906 -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 +77 -0
- package/entities/.system/schemaTokenResp.json +65 -0
- package/entities/BatchExecuteAPCommandsAPIS/action.json +45 -0
- package/entities/BatchExecuteAPCommandsAPIS/schema.json +20 -0
- package/entities/ConfigurationAPIS/action.json +126 -0
- package/entities/ConfigurationAPIS/schema.json +90 -0
- package/entities/DeviceAPIS/action.json +46 -0
- package/entities/DeviceAPIS/schema.json +20 -0
- package/entities/LOGIN/action.json +24 -0
- package/entities/LOGIN/schema.json +41 -0
- package/entities/QueryAPIS/action.json +298 -0
- package/entities/QueryAPIS/schema.json +32 -0
- package/entities/ReportAPIS/action.json +25 -0
- package/entities/ReportAPIS/schema.json +30 -0
- package/entities/SearchAPIS/action.json +67 -0
- package/entities/SearchAPIS/schema.json +21 -0
- package/error.json +184 -0
- package/package.json +86 -0
- package/pronghorn.json +1589 -0
- package/propertiesSchema.json +801 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/ArubaAirwavePostman.json-OpenApi3Json.json +1583 -0
- package/report/creationReport.json +381 -0
- package/sampleProperties.json +97 -0
- package/test/integration/adapterTestBasicGet.js +85 -0
- package/test/integration/adapterTestConnectivity.js +93 -0
- package/test/integration/adapterTestIntegration.js +1125 -0
- package/test/unit/adapterBaseTestUnit.js +929 -0
- package/test/unit/adapterTestUnit.js +1413 -0
- package/utils/artifactize.js +146 -0
- package/utils/basicGet.js +63 -0
- package/utils/packModificationScript.js +35 -0
- package/utils/pre-commit.sh +27 -0
- package/utils/setup.js +33 -0
- package/utils/tbScript.js +163 -0
- package/utils/tbUtils.js +372 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +219 -0
- package/workflows/README.md +3 -0
package/package.json
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@itentialopensource/adapter-aruba_airwave",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "This adapter integrates with system described as: Aruba Airwave",
|
|
5
|
+
"main": "adapter.js",
|
|
6
|
+
"wizardVersion": "2.43.5",
|
|
7
|
+
"engineVersion": "1.56.16",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"artifactize": "npm i && node utils/packModificationScript.js",
|
|
10
|
+
"preinstall": "node utils/setup.js && npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions",
|
|
11
|
+
"deinstall": "node utils/removeHooks.js",
|
|
12
|
+
"lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
|
|
13
|
+
"lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
|
|
14
|
+
"test:baseunit": "mocha test/unit/adapterBaseTestUnit.js --LOG=error",
|
|
15
|
+
"test:unit": "mocha test/unit/adapterTestUnit.js --LOG=error",
|
|
16
|
+
"test:integration": "mocha test/integration/adapterTestIntegration.js --LOG=error",
|
|
17
|
+
"test:cover": "nyc --reporter html --reporter text mocha --reporter dot test/*",
|
|
18
|
+
"test": "npm run test:baseunit && npm run test:unit && npm run test:integration",
|
|
19
|
+
"adapter:install": "npm i && node utils/tbScript.js install",
|
|
20
|
+
"adapter:checkMigrate": "node utils/checkMigrate.js",
|
|
21
|
+
"adapter:findPath": "node utils/findPath.js",
|
|
22
|
+
"adapter:migrate": "node utils/modify.js -m",
|
|
23
|
+
"adapter:update": "node utils/modify.js -u",
|
|
24
|
+
"adapter:revert": "node utils/modify.js -r",
|
|
25
|
+
"troubleshoot": "node utils/tbScript.js troubleshoot",
|
|
26
|
+
"healthcheck": "node utils/tbScript.js healthcheck",
|
|
27
|
+
"basicget": "node utils/tbScript.js basicget",
|
|
28
|
+
"connectivity": "node utils/tbScript.js connectivity",
|
|
29
|
+
"deploy": "npm publish --registry=https://registry.npmjs.org --access=public",
|
|
30
|
+
"build": "npm run deploy"
|
|
31
|
+
},
|
|
32
|
+
"keywords": [
|
|
33
|
+
"Itential",
|
|
34
|
+
"IAP",
|
|
35
|
+
"Automation",
|
|
36
|
+
"Integration",
|
|
37
|
+
"App-Artifacts",
|
|
38
|
+
"Adapter",
|
|
39
|
+
"Controller",
|
|
40
|
+
"Orchestrator",
|
|
41
|
+
"aruba_airwave",
|
|
42
|
+
"Pre-Release"
|
|
43
|
+
],
|
|
44
|
+
"license": "Apache-2.0",
|
|
45
|
+
"engines": {
|
|
46
|
+
"node": ">= 8.0.0",
|
|
47
|
+
"npm": ">= 6.0.0"
|
|
48
|
+
},
|
|
49
|
+
"repository": {
|
|
50
|
+
"type": "git",
|
|
51
|
+
"url": "git@gitlab.com:itentialopensource/adapters/controller-orchestrator/adapter-aruba_airwave.git"
|
|
52
|
+
},
|
|
53
|
+
"author": "Itential",
|
|
54
|
+
"homepage": "https://gitlab.com/itentialopensource/adapters/controller-orchestrator/adapter-aruba_airwave#readme",
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@itentialopensource/adapter-utils": "^4.48.0",
|
|
57
|
+
"ajv": "^6.12.0",
|
|
58
|
+
"axios": "^0.21.0",
|
|
59
|
+
"commander": "^2.20.0",
|
|
60
|
+
"esprima": "^4.0.1",
|
|
61
|
+
"fs-extra": "^8.1.0",
|
|
62
|
+
"json-query": "^2.2.2",
|
|
63
|
+
"mocha": "^9.0.1",
|
|
64
|
+
"mocha-param": "^2.0.1",
|
|
65
|
+
"mongodb": "^4.1.0",
|
|
66
|
+
"network-diagnostics": "^0.5.3",
|
|
67
|
+
"nyc": "^15.1.0",
|
|
68
|
+
"prompts": "^2.4.2",
|
|
69
|
+
"readline-sync": "^1.4.10",
|
|
70
|
+
"semver": "^7.3.2",
|
|
71
|
+
"winston": "^3.3.3"
|
|
72
|
+
},
|
|
73
|
+
"devDependencies": {
|
|
74
|
+
"chai": "^4.3.4",
|
|
75
|
+
"eslint": "^7.29.0",
|
|
76
|
+
"eslint-config-airbnb-base": "^14.2.1",
|
|
77
|
+
"eslint-plugin-import": "^2.23.4",
|
|
78
|
+
"eslint-plugin-json": "^3.0.0",
|
|
79
|
+
"package-json-validator": "^0.6.3",
|
|
80
|
+
"testdouble": "^3.16.1"
|
|
81
|
+
},
|
|
82
|
+
"resolutions": {
|
|
83
|
+
"minimist": "^1.2.5"
|
|
84
|
+
},
|
|
85
|
+
"private": false
|
|
86
|
+
}
|