@itentialopensource/adapter-calix_smx 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 +19 -0
- package/.jshintrc +3 -0
- package/AUTH.md +42 -0
- package/BROKER.md +211 -0
- package/CALLS.md +207 -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 +676 -0
- package/README.md +344 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +35 -0
- package/TROUBLESHOOT.md +56 -0
- package/UTILITIES.md +473 -0
- package/adapter.js +189915 -0
- package/adapterBase.js +1526 -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/Config/action.json +861 -0
- package/entities/Config/schema.json +136 -0
- package/entities/ConfigDevice/action.json +12813 -0
- package/entities/ConfigDevice/schema.json +1281 -0
- package/entities/ConfigProfile/action.json +2608 -0
- package/entities/ConfigProfile/schema.json +164 -0
- package/entities/ConfigTemplate/action.json +841 -0
- package/entities/ConfigTemplate/schema.json +147 -0
- package/entities/EMS/action.json +1565 -0
- package/entities/EMS/schema.json +182 -0
- package/entities/EMSProfile/action.json +14871 -0
- package/entities/EMSProfile/schema.json +1001 -0
- package/entities/EMSRegion/action.json +127 -0
- package/entities/EMSRegion/schema.json +24 -0
- package/entities/EMSService/action.json +855 -0
- package/entities/EMSService/schema.json +269 -0
- package/entities/EMSSubscriber/action.json +190 -0
- package/entities/EMSSubscriber/schema.json +104 -0
- package/entities/Fault/action.json +209 -0
- package/entities/Fault/schema.json +61 -0
- package/entities/Log/action.json +25 -0
- package/entities/Log/schema.json +19 -0
- package/entities/PerformanceMonitoring/action.json +1114 -0
- package/entities/PerformanceMonitoring/schema.json +302 -0
- package/entities/Port/action.json +24 -0
- package/entities/Port/schema.json +30 -0
- package/error.json +190 -0
- package/metadata.json +81 -0
- package/package.json +76 -0
- package/pronghorn.json +119022 -0
- package/propertiesDecorators.json +18 -0
- package/propertiesSchema.json +1765 -0
- package/report/creationReport.json +9189 -0
- package/report/smx_modified_rename.json +97860 -0
- package/report/updateReport1766175812348.json +120 -0
- package/sampleProperties.json +263 -0
- package/test/integration/adapterTestBasicGet.js +117 -0
- package/test/integration/adapterTestConnectivity.js +117 -0
- package/test/integration/adapterTestIntegration.js +45491 -0
- package/test/unit/adapterBaseTestUnit.js +1628 -0
- package/test/unit/adapterTestUnit.js +66088 -0
- package/utils/adapterInfo.js +156 -0
- package/utils/argParser.js +44 -0
- package/utils/checkMigrate.js +102 -0
- package/utils/entitiesToDB.js +190 -0
- package/utils/findPath.js +74 -0
- package/utils/logger.js +26 -0
- package/utils/methodDocumentor.js +273 -0
- package/utils/modify.js +153 -0
- package/utils/mongoDbConnection.js +79 -0
- package/utils/mongoUtils.js +162 -0
- package/utils/pre-commit.sh +32 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/taskMover.js +308 -0
- package/utils/tbScript.js +103 -0
- package/utils/tbUtils.js +347 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +177 -0
- package/utils/updateAdapterConfig.js +158 -0
package/package.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@itentialopensource/adapter-calix_smx",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "This adapter integrates with system described as: Calix SMx Northbound API.",
|
|
5
|
+
"main": "adapter.js",
|
|
6
|
+
"systemName": "Calixsmx",
|
|
7
|
+
"wizardVersion": "3.8.0",
|
|
8
|
+
"engineVersion": "1.79.3",
|
|
9
|
+
"adapterType": "http",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"preinstall": "node utils/setup.js",
|
|
12
|
+
"deinstall": "node utils/removeHooks.js",
|
|
13
|
+
"lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
|
|
14
|
+
"lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
|
|
15
|
+
"test:baseunit": "mocha test/unit/adapterBaseTestUnit.js --LOG=error",
|
|
16
|
+
"test:unit": "mocha test/unit/adapterTestUnit.js --LOG=error",
|
|
17
|
+
"test:integration": "mocha test/integration/adapterTestIntegration.js --LOG=error",
|
|
18
|
+
"test": "npm run test:baseunit && npm run test:unit && npm run test:integration",
|
|
19
|
+
"adapter:checkMigrate": "node utils/checkMigrate.js",
|
|
20
|
+
"adapter:findPath": "node utils/findPath.js",
|
|
21
|
+
"adapter:migrate": "node utils/modify.js -m",
|
|
22
|
+
"adapter:update": "node utils/modify.js -u",
|
|
23
|
+
"adapter:revert": "node utils/modify.js -r",
|
|
24
|
+
"troubleshoot": "node utils/tbScript.js troubleshoot",
|
|
25
|
+
"healthcheck": "node utils/tbScript.js healthcheck",
|
|
26
|
+
"basicget": "node utils/tbScript.js basicget",
|
|
27
|
+
"connectivity": "node utils/tbScript.js connectivity"
|
|
28
|
+
},
|
|
29
|
+
"keywords": [
|
|
30
|
+
"Itential",
|
|
31
|
+
"Itential Platform",
|
|
32
|
+
"Automation",
|
|
33
|
+
"Integration",
|
|
34
|
+
"Adapter",
|
|
35
|
+
"Calix",
|
|
36
|
+
"SMX",
|
|
37
|
+
"Pre-Release"
|
|
38
|
+
],
|
|
39
|
+
"license": "Apache-2.0",
|
|
40
|
+
"engines": {
|
|
41
|
+
"node": ">= 14.0.0",
|
|
42
|
+
"npm": ">= 6.0.0"
|
|
43
|
+
},
|
|
44
|
+
"repository": {
|
|
45
|
+
"type": "git",
|
|
46
|
+
"url": "git@gitlab.com:itentialopensource/adapters/adapter-calix_smx.git"
|
|
47
|
+
},
|
|
48
|
+
"author": "Itential",
|
|
49
|
+
"homepage": "https://gitlab.com/itentialopensource/adapters/adapter-calix_smx#readme",
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@itentialopensource/adapter-utils": "6.0.3",
|
|
52
|
+
"acorn": "8.14.1",
|
|
53
|
+
"ajv": "8.17.1",
|
|
54
|
+
"axios": "1.12.2",
|
|
55
|
+
"commander": "11.1.0",
|
|
56
|
+
"fs-extra": "11.3.0",
|
|
57
|
+
"json-query": "2.2.2",
|
|
58
|
+
"mocha": "10.8.2",
|
|
59
|
+
"mocha-param": "2.0.1",
|
|
60
|
+
"mongodb": "4.17.2",
|
|
61
|
+
"ping": "0.4.4",
|
|
62
|
+
"prompts": "2.4.2",
|
|
63
|
+
"readline-sync": "1.4.10",
|
|
64
|
+
"semver": "7.7.2",
|
|
65
|
+
"winston": "3.17.0"
|
|
66
|
+
},
|
|
67
|
+
"devDependencies": {
|
|
68
|
+
"chai": "4.5.0",
|
|
69
|
+
"eslint": "8.57.0",
|
|
70
|
+
"eslint-config-airbnb-base": "15.0.0",
|
|
71
|
+
"eslint-plugin-import": "2.31.0",
|
|
72
|
+
"eslint-plugin-json": "3.1.0",
|
|
73
|
+
"testdouble": "3.18.0"
|
|
74
|
+
},
|
|
75
|
+
"private": false
|
|
76
|
+
}
|