@itentialopensource/adapter-viavi_xpertrak 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/AUTH.md +39 -0
- package/BROKER.md +199 -0
- package/CALLS.md +170 -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 +641 -0
- package/README.md +346 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +11 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +7887 -0
- package/adapterBase.js +1452 -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/AssetManagementCMTS/action.json +127 -0
- package/entities/AssetManagementCMTS/mockdatafiles/getAllCmtsLiteUsingGET1-default.json +152 -0
- package/entities/AssetManagementCMTS/mockdatafiles/getAllCmtsUsingGET1-default.json +68 -0
- package/entities/AssetManagementCMTS/schema.json +24 -0
- package/entities/AssetManagementCMTSUSPort/action.json +65 -0
- package/entities/AssetManagementCMTSUSPort/schema.json +21 -0
- package/entities/AssetManagementHCU/action.json +66 -0
- package/entities/AssetManagementHCU/schema.json +21 -0
- package/entities/AssetManagementHCUHSM/action.json +46 -0
- package/entities/AssetManagementHCUHSM/schema.json +20 -0
- package/entities/AssetManagementHCURPM/action.json +46 -0
- package/entities/AssetManagementHCURPM/schema.json +20 -0
- package/entities/AssetManagementHCURPMPort/action.json +46 -0
- package/entities/AssetManagementHCURPMPort/schema.json +20 -0
- package/entities/AssetManagementNode/action.json +45 -0
- package/entities/AssetManagementNode/mockdatafiles/getNodesUsingGET2-default.json +37 -0
- package/entities/AssetManagementNode/schema.json +20 -0
- package/entities/AssetManagementNoiseTrak/action.json +25 -0
- package/entities/AssetManagementNoiseTrak/schema.json +19 -0
- package/entities/AssetManagementOTU/action.json +46 -0
- package/entities/AssetManagementOTU/mockdatafiles/getAllOtusUsingGET1-default.json +59 -0
- package/entities/AssetManagementOTU/schema.json +20 -0
- package/entities/AssetManagementOTUPort/action.json +25 -0
- package/entities/AssetManagementOTUPort/mockdatafiles/getAllPortsUsingGET1-default.json +18 -0
- package/entities/AssetManagementOTUPort/schema.json +19 -0
- package/entities/AssetManagementRCI/action.json +46 -0
- package/entities/AssetManagementRCI/mockdatafiles/getAllRcisUsingGET1-default.json +41960 -0
- package/entities/AssetManagementRCI/schema.json +20 -0
- package/entities/Authentication/action.json +45 -0
- package/entities/Authentication/schema.json +20 -0
- package/entities/CableModem/action.json +171 -0
- package/entities/CableModem/mockdatafiles/getModemDescriptionUsingGET1-default.json +38 -0
- package/entities/CableModem/mockdatafiles/getModemExclusionDescriptionsUsingGET1-default.json +7 -0
- package/entities/CableModem/mockdatafiles/getModemWatchByNodeUsingGET1-default.json +15 -0
- package/entities/CableModem/mockdatafiles/getModemWatchUsingGET1-default.json +54 -0
- package/entities/CableModem/schema.json +48 -0
- package/entities/CollectionScheduleDetails/action.json +67 -0
- package/entities/CollectionScheduleDetails/schema.json +21 -0
- package/entities/Container/action.json +25 -0
- package/entities/Container/mockdatafiles/getNodeContainersUsingGET1-default.json +10 -0
- package/entities/Container/schema.json +19 -0
- package/entities/DeviceSettings/action.json +44 -0
- package/entities/DeviceSettings/schema.json +20 -0
- package/entities/EventsAndAlarmsAlarms/action.json +127 -0
- package/entities/EventsAndAlarmsAlarms/schema.json +24 -0
- package/entities/EventsAndAlarmsEvents/action.json +25 -0
- package/entities/EventsAndAlarmsEvents/mockdatafiles/getEventsUsingGET2-default.json +38 -0
- package/entities/EventsAndAlarmsEvents/schema.json +19 -0
- package/entities/GraphQL/action.json +24 -0
- package/entities/GraphQL/schema.json +19 -0
- package/entities/MACTrakDetail/action.json +25 -0
- package/entities/MACTrakDetail/mockdatafiles/getMactrakDetailsUsingGET1-default.json +27 -0
- package/entities/MACTrakDetail/schema.json +19 -0
- package/entities/MACTrakPerformance/action.json +67 -0
- package/entities/MACTrakPerformance/mockdatafiles/getChannelPerformanceUsingGET2-default.json +271 -0
- package/entities/MACTrakPerformance/schema.json +21 -0
- package/entities/MACTrakRanking/action.json +25 -0
- package/entities/MACTrakRanking/mockdatafiles/getLatestRankingsUsingGET2-default.json +58 -0
- package/entities/MACTrakRanking/schema.json +19 -0
- package/entities/ModemAnalysisLiveAndHistory/action.json +66 -0
- package/entities/ModemAnalysisLiveAndHistory/schema.json +21 -0
- package/entities/NoiseTrakImport/action.json +65 -0
- package/entities/NoiseTrakImport/schema.json +21 -0
- package/entities/PreeqApiService/action.json +25 -0
- package/entities/PreeqApiService/schema.json +19 -0
- package/entities/QoE/action.json +46 -0
- package/entities/QoE/schema.json +20 -0
- package/entities/QoENodeSummary/action.json +25 -0
- package/entities/QoENodeSummary/mockdatafiles/getSpectrumDetailsUsingGET3-default.json +40 -0
- package/entities/QoENodeSummary/schema.json +19 -0
- package/entities/QoERanking/action.json +25 -0
- package/entities/QoERanking/mockdatafiles/getQoeNodeRankingsUsingGET1-default.json +25 -0
- package/entities/QoERanking/schema.json +19 -0
- package/entities/RCISweep/action.json +65 -0
- package/entities/RCISweep/mockdatafiles/rCISweepPlanAPI1-default.json +30 -0
- package/entities/RCISweep/schema.json +21 -0
- package/entities/RPMPortBroadcast/action.json +65 -0
- package/entities/RPMPortBroadcast/schema.json +21 -0
- package/entities/Ranking/action.json +25 -0
- package/entities/Ranking/schema.json +19 -0
- package/entities/RankingSummary/action.json +25 -0
- package/entities/RankingSummary/schema.json +19 -0
- package/entities/SearchNetworkElementsAndProperties/action.json +88 -0
- package/entities/SearchNetworkElementsAndProperties/mockdatafiles/searchAlarmableModemsUsingGET1-default.json +26 -0
- package/entities/SearchNetworkElementsAndProperties/mockdatafiles/searchElementsUsingGET1-default.json +8 -0
- package/entities/SearchNetworkElementsAndProperties/mockdatafiles/searchModemWatchModemsUsingGET1-default.json +20 -0
- package/entities/SearchNetworkElementsAndProperties/schema.json +22 -0
- package/entities/Site/action.json +25 -0
- package/entities/Site/mockdatafiles/getAllUsingGET6-default.json +8 -0
- package/entities/Site/schema.json +19 -0
- package/entities/SpectrumAll/action.json +25 -0
- package/entities/SpectrumAll/schema.json +19 -0
- package/entities/SpectrumDetail/action.json +25 -0
- package/entities/SpectrumDetail/mockdatafiles/getSpectrumDetailsUsingGET5-default.json +37 -0
- package/entities/SpectrumDetail/schema.json +19 -0
- package/entities/SpectrumRanking/action.json +25 -0
- package/entities/SpectrumRanking/mockdatafiles/getLatestRankingsUsingGET3-default.json +61 -0
- package/entities/SpectrumRanking/schema.json +19 -0
- package/entities/TopologyImport/action.json +85 -0
- package/entities/TopologyImport/schema.json +22 -0
- package/entities/UserActionLogging/action.json +46 -0
- package/entities/UserActionLogging/schema.json +20 -0
- package/entities/UserActionSummary/action.json +25 -0
- package/entities/UserActionSummary/schema.json +19 -0
- package/error.json +190 -0
- package/metadata.json +45 -0
- package/package.json +86 -0
- package/pronghorn.json +7886 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1569 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/creationReport.json +1120 -0
- package/report/xpertrak_API.json-OpenApi3Json.json +11962 -0
- package/sampleProperties.json +256 -0
- package/test/integration/adapterTestBasicGet.js +83 -0
- package/test/integration/adapterTestConnectivity.js +142 -0
- package/test/integration/adapterTestIntegration.js +2777 -0
- package/test/unit/adapterBaseTestUnit.js +1024 -0
- package/test/unit/adapterTestUnit.js +3369 -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
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": false,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "getAllRcisUsingGET1",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getAllRcisUsingGET1",
|
|
14
|
+
"getRciUsingGET1"
|
|
15
|
+
],
|
|
16
|
+
"external_name": "ph_request_type"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"definitions": {}
|
|
20
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "loginUsingPOST1",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/auth/login?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"requestDatatype": "JSON",
|
|
13
|
+
"responseDatatype": "JSON",
|
|
14
|
+
"headers": {},
|
|
15
|
+
"responseObjects": [
|
|
16
|
+
{
|
|
17
|
+
"type": "default",
|
|
18
|
+
"key": "",
|
|
19
|
+
"mockFile": ""
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "logoutUsingGET1",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "GET",
|
|
27
|
+
"entitypath": "{base_path}/{version}/auth/logout?{query}",
|
|
28
|
+
"requestSchema": "schema.json",
|
|
29
|
+
"responseSchema": "schema.json",
|
|
30
|
+
"timeout": 0,
|
|
31
|
+
"sendEmpty": false,
|
|
32
|
+
"sendGetBody": false,
|
|
33
|
+
"requestDatatype": "JSON",
|
|
34
|
+
"responseDatatype": "JSON",
|
|
35
|
+
"headers": {},
|
|
36
|
+
"responseObjects": [
|
|
37
|
+
{
|
|
38
|
+
"type": "default",
|
|
39
|
+
"key": "",
|
|
40
|
+
"mockFile": ""
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": false,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "loginUsingPOST1",
|
|
12
|
+
"enum": [
|
|
13
|
+
"loginUsingPOST1",
|
|
14
|
+
"logoutUsingGET1"
|
|
15
|
+
],
|
|
16
|
+
"external_name": "ph_request_type"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"definitions": {}
|
|
20
|
+
}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getModemInclusionsExclusionsUsingGET1",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/modem/exclusion?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"sendGetBody": false,
|
|
13
|
+
"requestDatatype": "JSON",
|
|
14
|
+
"responseDatatype": "JSON",
|
|
15
|
+
"headers": {},
|
|
16
|
+
"responseObjects": [
|
|
17
|
+
{
|
|
18
|
+
"type": "default",
|
|
19
|
+
"key": "",
|
|
20
|
+
"mockFile": ""
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "getModemExclusionDescriptionsUsingGET1",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "GET",
|
|
28
|
+
"entitypath": "{base_path}/{version}/modem/exclusion/descriptions?{query}",
|
|
29
|
+
"requestSchema": "schema.json",
|
|
30
|
+
"responseSchema": "schema.json",
|
|
31
|
+
"timeout": 0,
|
|
32
|
+
"sendEmpty": false,
|
|
33
|
+
"sendGetBody": false,
|
|
34
|
+
"requestDatatype": "JSON",
|
|
35
|
+
"responseDatatype": "JSON",
|
|
36
|
+
"headers": {},
|
|
37
|
+
"responseObjects": [
|
|
38
|
+
{
|
|
39
|
+
"type": "default",
|
|
40
|
+
"key": "",
|
|
41
|
+
"mockFile": "mockdatafiles/getModemExclusionDescriptionsUsingGET1-default.json"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "getModemKpiPerformanceHistoryUsingGET3",
|
|
47
|
+
"protocol": "REST",
|
|
48
|
+
"method": "GET",
|
|
49
|
+
"entitypath": "{base_path}/{version}/modem/kpi/history?{query}",
|
|
50
|
+
"requestSchema": "schema.json",
|
|
51
|
+
"responseSchema": "schema.json",
|
|
52
|
+
"timeout": 0,
|
|
53
|
+
"sendEmpty": false,
|
|
54
|
+
"sendGetBody": false,
|
|
55
|
+
"requestDatatype": "JSON",
|
|
56
|
+
"responseDatatype": "JSON",
|
|
57
|
+
"headers": {},
|
|
58
|
+
"responseObjects": [
|
|
59
|
+
{
|
|
60
|
+
"type": "default",
|
|
61
|
+
"key": "",
|
|
62
|
+
"mockFile": ""
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "getModemKpiTypesUsingGET1",
|
|
68
|
+
"protocol": "REST",
|
|
69
|
+
"method": "GET",
|
|
70
|
+
"entitypath": "{base_path}/{version}/modem/kpi/types?{query}",
|
|
71
|
+
"requestSchema": "schema.json",
|
|
72
|
+
"responseSchema": "schema.json",
|
|
73
|
+
"timeout": 0,
|
|
74
|
+
"sendEmpty": false,
|
|
75
|
+
"sendGetBody": false,
|
|
76
|
+
"requestDatatype": "JSON",
|
|
77
|
+
"responseDatatype": "JSON",
|
|
78
|
+
"headers": {},
|
|
79
|
+
"responseObjects": [
|
|
80
|
+
{
|
|
81
|
+
"type": "default",
|
|
82
|
+
"key": "",
|
|
83
|
+
"mockFile": ""
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "getModemDescriptionUsingGET1",
|
|
89
|
+
"protocol": "REST",
|
|
90
|
+
"method": "GET",
|
|
91
|
+
"entitypath": "{base_path}/{version}/modem/summary?{query}",
|
|
92
|
+
"requestSchema": "schema.json",
|
|
93
|
+
"responseSchema": "schema.json",
|
|
94
|
+
"timeout": 0,
|
|
95
|
+
"sendEmpty": false,
|
|
96
|
+
"sendGetBody": false,
|
|
97
|
+
"requestDatatype": "JSON",
|
|
98
|
+
"responseDatatype": "JSON",
|
|
99
|
+
"headers": {},
|
|
100
|
+
"responseObjects": [
|
|
101
|
+
{
|
|
102
|
+
"type": "default",
|
|
103
|
+
"key": "",
|
|
104
|
+
"mockFile": "mockdatafiles/getModemDescriptionUsingGET1-default.json"
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "getModemWatchUsingGET1",
|
|
110
|
+
"protocol": "REST",
|
|
111
|
+
"method": "GET",
|
|
112
|
+
"entitypath": "{base_path}/{version}/modemwatch?{query}",
|
|
113
|
+
"requestSchema": "schema.json",
|
|
114
|
+
"responseSchema": "schema.json",
|
|
115
|
+
"timeout": 0,
|
|
116
|
+
"sendEmpty": false,
|
|
117
|
+
"sendGetBody": false,
|
|
118
|
+
"requestDatatype": "JSON",
|
|
119
|
+
"responseDatatype": "JSON",
|
|
120
|
+
"headers": {},
|
|
121
|
+
"responseObjects": [
|
|
122
|
+
{
|
|
123
|
+
"type": "default",
|
|
124
|
+
"key": "",
|
|
125
|
+
"mockFile": "mockdatafiles/getModemWatchUsingGET1-default.json"
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "getModemWatchByNodeUsingGET1",
|
|
131
|
+
"protocol": "REST",
|
|
132
|
+
"method": "GET",
|
|
133
|
+
"entitypath": "{base_path}/{version}/modemwatch/node/{pathv1}?{query}",
|
|
134
|
+
"requestSchema": "schema.json",
|
|
135
|
+
"responseSchema": "schema.json",
|
|
136
|
+
"timeout": 0,
|
|
137
|
+
"sendEmpty": false,
|
|
138
|
+
"sendGetBody": false,
|
|
139
|
+
"requestDatatype": "JSON",
|
|
140
|
+
"responseDatatype": "JSON",
|
|
141
|
+
"headers": {},
|
|
142
|
+
"responseObjects": [
|
|
143
|
+
{
|
|
144
|
+
"type": "default",
|
|
145
|
+
"key": "",
|
|
146
|
+
"mockFile": "mockdatafiles/getModemWatchByNodeUsingGET1-default.json"
|
|
147
|
+
}
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "deleteModemWatchByNodeUsingDELETE1",
|
|
152
|
+
"protocol": "REST",
|
|
153
|
+
"method": "DELETE",
|
|
154
|
+
"entitypath": "{base_path}/{version}/modemwatch/node/{pathv1}?{query}",
|
|
155
|
+
"requestSchema": "schema.json",
|
|
156
|
+
"responseSchema": "schema.json",
|
|
157
|
+
"timeout": 0,
|
|
158
|
+
"sendEmpty": false,
|
|
159
|
+
"requestDatatype": "JSON",
|
|
160
|
+
"responseDatatype": "JSON",
|
|
161
|
+
"headers": {},
|
|
162
|
+
"responseObjects": [
|
|
163
|
+
{
|
|
164
|
+
"type": "default",
|
|
165
|
+
"key": "",
|
|
166
|
+
"mockFile": ""
|
|
167
|
+
}
|
|
168
|
+
]
|
|
169
|
+
}
|
|
170
|
+
]
|
|
171
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"bootRom": "string",
|
|
4
|
+
"docsisVersion": "string",
|
|
5
|
+
"hardwareVersion": "string",
|
|
6
|
+
"model": "string",
|
|
7
|
+
"modemCount": 7,
|
|
8
|
+
"softwareVersion": "string",
|
|
9
|
+
"vendor": "string"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"bootRom": "string",
|
|
13
|
+
"docsisVersion": "string",
|
|
14
|
+
"hardwareVersion": "string",
|
|
15
|
+
"model": "string",
|
|
16
|
+
"modemCount": 7,
|
|
17
|
+
"softwareVersion": "string",
|
|
18
|
+
"vendor": "string"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"bootRom": "string",
|
|
22
|
+
"docsisVersion": "string",
|
|
23
|
+
"hardwareVersion": "string",
|
|
24
|
+
"model": "string",
|
|
25
|
+
"modemCount": 8,
|
|
26
|
+
"softwareVersion": "string",
|
|
27
|
+
"vendor": "string"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"bootRom": "string",
|
|
31
|
+
"docsisVersion": "string",
|
|
32
|
+
"hardwareVersion": "string",
|
|
33
|
+
"model": "string",
|
|
34
|
+
"modemCount": 7,
|
|
35
|
+
"softwareVersion": "string",
|
|
36
|
+
"vendor": "string"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"addType": "USER",
|
|
4
|
+
"customerName": "string",
|
|
5
|
+
"debug": true,
|
|
6
|
+
"elementId": 8,
|
|
7
|
+
"expirationTime": "string",
|
|
8
|
+
"latestError": 10,
|
|
9
|
+
"mac": "string",
|
|
10
|
+
"nodeName": "string",
|
|
11
|
+
"phoneNumber": "string",
|
|
12
|
+
"startTime": "string",
|
|
13
|
+
"totalErrors": 7
|
|
14
|
+
}
|
|
15
|
+
]
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"addType": "UNKNOWN",
|
|
4
|
+
"customerName": "string",
|
|
5
|
+
"debug": false,
|
|
6
|
+
"elementId": 6,
|
|
7
|
+
"expirationTime": "string",
|
|
8
|
+
"latestError": 10,
|
|
9
|
+
"mac": "string",
|
|
10
|
+
"nodeName": "string",
|
|
11
|
+
"phoneNumber": "string",
|
|
12
|
+
"startTime": "string",
|
|
13
|
+
"totalErrors": 5
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"addType": "USER",
|
|
17
|
+
"customerName": "string",
|
|
18
|
+
"debug": true,
|
|
19
|
+
"elementId": 6,
|
|
20
|
+
"expirationTime": "string",
|
|
21
|
+
"latestError": 3,
|
|
22
|
+
"mac": "string",
|
|
23
|
+
"nodeName": "string",
|
|
24
|
+
"phoneNumber": "string",
|
|
25
|
+
"startTime": "string",
|
|
26
|
+
"totalErrors": 7
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"addType": "VIP",
|
|
30
|
+
"customerName": "string",
|
|
31
|
+
"debug": true,
|
|
32
|
+
"elementId": 1,
|
|
33
|
+
"expirationTime": "string",
|
|
34
|
+
"latestError": 5,
|
|
35
|
+
"mac": "string",
|
|
36
|
+
"nodeName": "string",
|
|
37
|
+
"phoneNumber": "string",
|
|
38
|
+
"startTime": "string",
|
|
39
|
+
"totalErrors": 3
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"addType": "UNKNOWN",
|
|
43
|
+
"customerName": "string",
|
|
44
|
+
"debug": false,
|
|
45
|
+
"elementId": 9,
|
|
46
|
+
"expirationTime": "string",
|
|
47
|
+
"latestError": 4,
|
|
48
|
+
"mac": "string",
|
|
49
|
+
"nodeName": "string",
|
|
50
|
+
"phoneNumber": "string",
|
|
51
|
+
"startTime": "string",
|
|
52
|
+
"totalErrors": 3
|
|
53
|
+
}
|
|
54
|
+
]
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": true,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "getModemInclusionsExclusionsUsingGET1",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getModemInclusionsExclusionsUsingGET1",
|
|
14
|
+
"getModemExclusionDescriptionsUsingGET1",
|
|
15
|
+
"getModemKpiPerformanceHistoryUsingGET3",
|
|
16
|
+
"getModemKpiTypesUsingGET1",
|
|
17
|
+
"getModemDescriptionUsingGET1",
|
|
18
|
+
"getModemWatchUsingGET1",
|
|
19
|
+
"getModemWatchByNodeUsingGET1",
|
|
20
|
+
"deleteModemWatchByNodeUsingDELETE1"
|
|
21
|
+
],
|
|
22
|
+
"external_name": "ph_request_type"
|
|
23
|
+
},
|
|
24
|
+
"fREQ": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"description": "Frequencies in HZ",
|
|
27
|
+
"parse": false,
|
|
28
|
+
"encode": false,
|
|
29
|
+
"encrypt": {
|
|
30
|
+
"type": "AES",
|
|
31
|
+
"key": ""
|
|
32
|
+
},
|
|
33
|
+
"external_name": "FREQ"
|
|
34
|
+
},
|
|
35
|
+
"kPI": {
|
|
36
|
+
"type": "array",
|
|
37
|
+
"description": "Get KPI types from another API /kpi/types",
|
|
38
|
+
"parse": false,
|
|
39
|
+
"encode": false,
|
|
40
|
+
"encrypt": {
|
|
41
|
+
"type": "AES",
|
|
42
|
+
"key": ""
|
|
43
|
+
},
|
|
44
|
+
"external_name": "KPI"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"definitions": {}
|
|
48
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getAllCollectionsUsingGET1",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/schedule?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"sendGetBody": false,
|
|
13
|
+
"requestDatatype": "JSON",
|
|
14
|
+
"responseDatatype": "JSON",
|
|
15
|
+
"headers": {},
|
|
16
|
+
"responseObjects": [
|
|
17
|
+
{
|
|
18
|
+
"type": "default",
|
|
19
|
+
"key": "",
|
|
20
|
+
"mockFile": ""
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "getScheduleByHourForCollectionUsingGET1",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "GET",
|
|
28
|
+
"entitypath": "{base_path}/{version}/schedule/hour/{pathv1}?{query}",
|
|
29
|
+
"requestSchema": "schema.json",
|
|
30
|
+
"responseSchema": "schema.json",
|
|
31
|
+
"timeout": 0,
|
|
32
|
+
"sendEmpty": false,
|
|
33
|
+
"sendGetBody": false,
|
|
34
|
+
"requestDatatype": "JSON",
|
|
35
|
+
"responseDatatype": "JSON",
|
|
36
|
+
"headers": {},
|
|
37
|
+
"responseObjects": [
|
|
38
|
+
{
|
|
39
|
+
"type": "default",
|
|
40
|
+
"key": "",
|
|
41
|
+
"mockFile": ""
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "getScheduleForCollectionUsingGET1",
|
|
47
|
+
"protocol": "REST",
|
|
48
|
+
"method": "GET",
|
|
49
|
+
"entitypath": "{base_path}/{version}/schedule/{pathv1}?{query}",
|
|
50
|
+
"requestSchema": "schema.json",
|
|
51
|
+
"responseSchema": "schema.json",
|
|
52
|
+
"timeout": 0,
|
|
53
|
+
"sendEmpty": false,
|
|
54
|
+
"sendGetBody": false,
|
|
55
|
+
"requestDatatype": "JSON",
|
|
56
|
+
"responseDatatype": "JSON",
|
|
57
|
+
"headers": {},
|
|
58
|
+
"responseObjects": [
|
|
59
|
+
{
|
|
60
|
+
"type": "default",
|
|
61
|
+
"key": "",
|
|
62
|
+
"mockFile": ""
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": false,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "getAllCollectionsUsingGET1",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getAllCollectionsUsingGET1",
|
|
14
|
+
"getScheduleByHourForCollectionUsingGET1",
|
|
15
|
+
"getScheduleForCollectionUsingGET1"
|
|
16
|
+
],
|
|
17
|
+
"external_name": "ph_request_type"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"definitions": {}
|
|
21
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getNodeContainersUsingGET1",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/container/nodeContainers?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"sendGetBody": false,
|
|
13
|
+
"requestDatatype": "JSON",
|
|
14
|
+
"responseDatatype": "JSON",
|
|
15
|
+
"headers": {},
|
|
16
|
+
"responseObjects": [
|
|
17
|
+
{
|
|
18
|
+
"type": "default",
|
|
19
|
+
"key": "",
|
|
20
|
+
"mockFile": "mockdatafiles/getNodeContainersUsingGET1-default.json"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": false,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "getNodeContainersUsingGET1",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getNodeContainersUsingGET1"
|
|
14
|
+
],
|
|
15
|
+
"external_name": "ph_request_type"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"definitions": {}
|
|
19
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "bulkUpdateDeviceAttributesUsingPOST1",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"entitypath": "{base_path}/{version}/deviceSettings/bulkUpdate?{query}",
|
|
8
|
+
"requestSchema": "schema.json",
|
|
9
|
+
"responseSchema": "schema.json",
|
|
10
|
+
"timeout": 0,
|
|
11
|
+
"sendEmpty": false,
|
|
12
|
+
"requestDatatype": "JSON",
|
|
13
|
+
"responseDatatype": "JSON",
|
|
14
|
+
"headers": {},
|
|
15
|
+
"responseObjects": [
|
|
16
|
+
{
|
|
17
|
+
"type": "default",
|
|
18
|
+
"key": "",
|
|
19
|
+
"mockFile": ""
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "bulkDeleteDeviceAttributesUsingDELETE1",
|
|
25
|
+
"protocol": "REST",
|
|
26
|
+
"method": "DELETE",
|
|
27
|
+
"entitypath": "{base_path}/{version}/deviceSettings/reset?{query}",
|
|
28
|
+
"requestSchema": "schema.json",
|
|
29
|
+
"responseSchema": "schema.json",
|
|
30
|
+
"timeout": 0,
|
|
31
|
+
"sendEmpty": false,
|
|
32
|
+
"requestDatatype": "JSON",
|
|
33
|
+
"responseDatatype": "JSON",
|
|
34
|
+
"headers": {},
|
|
35
|
+
"responseObjects": [
|
|
36
|
+
{
|
|
37
|
+
"type": "default",
|
|
38
|
+
"key": "",
|
|
39
|
+
"mockFile": ""
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "schema.json",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
|
5
|
+
"translate": false,
|
|
6
|
+
"dynamicfields": true,
|
|
7
|
+
"properties": {
|
|
8
|
+
"ph_request_type": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "type of request (internal to adapter)",
|
|
11
|
+
"default": "bulkUpdateDeviceAttributesUsingPOST1",
|
|
12
|
+
"enum": [
|
|
13
|
+
"bulkUpdateDeviceAttributesUsingPOST1",
|
|
14
|
+
"bulkDeleteDeviceAttributesUsingDELETE1"
|
|
15
|
+
],
|
|
16
|
+
"external_name": "ph_request_type"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"definitions": {}
|
|
20
|
+
}
|