@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.
Files changed (169) hide show
  1. package/.eslintignore +6 -0
  2. package/.eslintrc.js +18 -0
  3. package/.gitlab/.gitkeep +0 -0
  4. package/.gitlab/issue_templates/.gitkeep +0 -0
  5. package/.gitlab/issue_templates/Default.md +17 -0
  6. package/.gitlab/issue_templates/bugReportTemplate.md +76 -0
  7. package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
  8. package/.jshintrc +0 -0
  9. package/AUTH.md +39 -0
  10. package/BROKER.md +199 -0
  11. package/CALLS.md +170 -0
  12. package/CHANGELOG.md +9 -0
  13. package/CODE_OF_CONDUCT.md +43 -0
  14. package/CONTRIBUTING.md +13 -0
  15. package/ENHANCE.md +69 -0
  16. package/LICENSE +201 -0
  17. package/PROPERTIES.md +641 -0
  18. package/README.md +346 -0
  19. package/SUMMARY.md +9 -0
  20. package/SYSTEMINFO.md +11 -0
  21. package/TROUBLESHOOT.md +47 -0
  22. package/adapter.js +7887 -0
  23. package/adapterBase.js +1452 -0
  24. package/entities/.generic/action.json +214 -0
  25. package/entities/.generic/schema.json +28 -0
  26. package/entities/.system/action.json +50 -0
  27. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  28. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  29. package/entities/.system/schema.json +19 -0
  30. package/entities/.system/schemaTokenReq.json +53 -0
  31. package/entities/.system/schemaTokenResp.json +53 -0
  32. package/entities/AssetManagementCMTS/action.json +127 -0
  33. package/entities/AssetManagementCMTS/mockdatafiles/getAllCmtsLiteUsingGET1-default.json +152 -0
  34. package/entities/AssetManagementCMTS/mockdatafiles/getAllCmtsUsingGET1-default.json +68 -0
  35. package/entities/AssetManagementCMTS/schema.json +24 -0
  36. package/entities/AssetManagementCMTSUSPort/action.json +65 -0
  37. package/entities/AssetManagementCMTSUSPort/schema.json +21 -0
  38. package/entities/AssetManagementHCU/action.json +66 -0
  39. package/entities/AssetManagementHCU/schema.json +21 -0
  40. package/entities/AssetManagementHCUHSM/action.json +46 -0
  41. package/entities/AssetManagementHCUHSM/schema.json +20 -0
  42. package/entities/AssetManagementHCURPM/action.json +46 -0
  43. package/entities/AssetManagementHCURPM/schema.json +20 -0
  44. package/entities/AssetManagementHCURPMPort/action.json +46 -0
  45. package/entities/AssetManagementHCURPMPort/schema.json +20 -0
  46. package/entities/AssetManagementNode/action.json +45 -0
  47. package/entities/AssetManagementNode/mockdatafiles/getNodesUsingGET2-default.json +37 -0
  48. package/entities/AssetManagementNode/schema.json +20 -0
  49. package/entities/AssetManagementNoiseTrak/action.json +25 -0
  50. package/entities/AssetManagementNoiseTrak/schema.json +19 -0
  51. package/entities/AssetManagementOTU/action.json +46 -0
  52. package/entities/AssetManagementOTU/mockdatafiles/getAllOtusUsingGET1-default.json +59 -0
  53. package/entities/AssetManagementOTU/schema.json +20 -0
  54. package/entities/AssetManagementOTUPort/action.json +25 -0
  55. package/entities/AssetManagementOTUPort/mockdatafiles/getAllPortsUsingGET1-default.json +18 -0
  56. package/entities/AssetManagementOTUPort/schema.json +19 -0
  57. package/entities/AssetManagementRCI/action.json +46 -0
  58. package/entities/AssetManagementRCI/mockdatafiles/getAllRcisUsingGET1-default.json +41960 -0
  59. package/entities/AssetManagementRCI/schema.json +20 -0
  60. package/entities/Authentication/action.json +45 -0
  61. package/entities/Authentication/schema.json +20 -0
  62. package/entities/CableModem/action.json +171 -0
  63. package/entities/CableModem/mockdatafiles/getModemDescriptionUsingGET1-default.json +38 -0
  64. package/entities/CableModem/mockdatafiles/getModemExclusionDescriptionsUsingGET1-default.json +7 -0
  65. package/entities/CableModem/mockdatafiles/getModemWatchByNodeUsingGET1-default.json +15 -0
  66. package/entities/CableModem/mockdatafiles/getModemWatchUsingGET1-default.json +54 -0
  67. package/entities/CableModem/schema.json +48 -0
  68. package/entities/CollectionScheduleDetails/action.json +67 -0
  69. package/entities/CollectionScheduleDetails/schema.json +21 -0
  70. package/entities/Container/action.json +25 -0
  71. package/entities/Container/mockdatafiles/getNodeContainersUsingGET1-default.json +10 -0
  72. package/entities/Container/schema.json +19 -0
  73. package/entities/DeviceSettings/action.json +44 -0
  74. package/entities/DeviceSettings/schema.json +20 -0
  75. package/entities/EventsAndAlarmsAlarms/action.json +127 -0
  76. package/entities/EventsAndAlarmsAlarms/schema.json +24 -0
  77. package/entities/EventsAndAlarmsEvents/action.json +25 -0
  78. package/entities/EventsAndAlarmsEvents/mockdatafiles/getEventsUsingGET2-default.json +38 -0
  79. package/entities/EventsAndAlarmsEvents/schema.json +19 -0
  80. package/entities/GraphQL/action.json +24 -0
  81. package/entities/GraphQL/schema.json +19 -0
  82. package/entities/MACTrakDetail/action.json +25 -0
  83. package/entities/MACTrakDetail/mockdatafiles/getMactrakDetailsUsingGET1-default.json +27 -0
  84. package/entities/MACTrakDetail/schema.json +19 -0
  85. package/entities/MACTrakPerformance/action.json +67 -0
  86. package/entities/MACTrakPerformance/mockdatafiles/getChannelPerformanceUsingGET2-default.json +271 -0
  87. package/entities/MACTrakPerformance/schema.json +21 -0
  88. package/entities/MACTrakRanking/action.json +25 -0
  89. package/entities/MACTrakRanking/mockdatafiles/getLatestRankingsUsingGET2-default.json +58 -0
  90. package/entities/MACTrakRanking/schema.json +19 -0
  91. package/entities/ModemAnalysisLiveAndHistory/action.json +66 -0
  92. package/entities/ModemAnalysisLiveAndHistory/schema.json +21 -0
  93. package/entities/NoiseTrakImport/action.json +65 -0
  94. package/entities/NoiseTrakImport/schema.json +21 -0
  95. package/entities/PreeqApiService/action.json +25 -0
  96. package/entities/PreeqApiService/schema.json +19 -0
  97. package/entities/QoE/action.json +46 -0
  98. package/entities/QoE/schema.json +20 -0
  99. package/entities/QoENodeSummary/action.json +25 -0
  100. package/entities/QoENodeSummary/mockdatafiles/getSpectrumDetailsUsingGET3-default.json +40 -0
  101. package/entities/QoENodeSummary/schema.json +19 -0
  102. package/entities/QoERanking/action.json +25 -0
  103. package/entities/QoERanking/mockdatafiles/getQoeNodeRankingsUsingGET1-default.json +25 -0
  104. package/entities/QoERanking/schema.json +19 -0
  105. package/entities/RCISweep/action.json +65 -0
  106. package/entities/RCISweep/mockdatafiles/rCISweepPlanAPI1-default.json +30 -0
  107. package/entities/RCISweep/schema.json +21 -0
  108. package/entities/RPMPortBroadcast/action.json +65 -0
  109. package/entities/RPMPortBroadcast/schema.json +21 -0
  110. package/entities/Ranking/action.json +25 -0
  111. package/entities/Ranking/schema.json +19 -0
  112. package/entities/RankingSummary/action.json +25 -0
  113. package/entities/RankingSummary/schema.json +19 -0
  114. package/entities/SearchNetworkElementsAndProperties/action.json +88 -0
  115. package/entities/SearchNetworkElementsAndProperties/mockdatafiles/searchAlarmableModemsUsingGET1-default.json +26 -0
  116. package/entities/SearchNetworkElementsAndProperties/mockdatafiles/searchElementsUsingGET1-default.json +8 -0
  117. package/entities/SearchNetworkElementsAndProperties/mockdatafiles/searchModemWatchModemsUsingGET1-default.json +20 -0
  118. package/entities/SearchNetworkElementsAndProperties/schema.json +22 -0
  119. package/entities/Site/action.json +25 -0
  120. package/entities/Site/mockdatafiles/getAllUsingGET6-default.json +8 -0
  121. package/entities/Site/schema.json +19 -0
  122. package/entities/SpectrumAll/action.json +25 -0
  123. package/entities/SpectrumAll/schema.json +19 -0
  124. package/entities/SpectrumDetail/action.json +25 -0
  125. package/entities/SpectrumDetail/mockdatafiles/getSpectrumDetailsUsingGET5-default.json +37 -0
  126. package/entities/SpectrumDetail/schema.json +19 -0
  127. package/entities/SpectrumRanking/action.json +25 -0
  128. package/entities/SpectrumRanking/mockdatafiles/getLatestRankingsUsingGET3-default.json +61 -0
  129. package/entities/SpectrumRanking/schema.json +19 -0
  130. package/entities/TopologyImport/action.json +85 -0
  131. package/entities/TopologyImport/schema.json +22 -0
  132. package/entities/UserActionLogging/action.json +46 -0
  133. package/entities/UserActionLogging/schema.json +20 -0
  134. package/entities/UserActionSummary/action.json +25 -0
  135. package/entities/UserActionSummary/schema.json +19 -0
  136. package/error.json +190 -0
  137. package/metadata.json +45 -0
  138. package/package.json +86 -0
  139. package/pronghorn.json +7886 -0
  140. package/propertiesDecorators.json +14 -0
  141. package/propertiesSchema.json +1569 -0
  142. package/refs?service=git-upload-pack +0 -0
  143. package/report/creationReport.json +1120 -0
  144. package/report/xpertrak_API.json-OpenApi3Json.json +11962 -0
  145. package/sampleProperties.json +256 -0
  146. package/test/integration/adapterTestBasicGet.js +83 -0
  147. package/test/integration/adapterTestConnectivity.js +142 -0
  148. package/test/integration/adapterTestIntegration.js +2777 -0
  149. package/test/unit/adapterBaseTestUnit.js +1024 -0
  150. package/test/unit/adapterTestUnit.js +3369 -0
  151. package/utils/adapterInfo.js +206 -0
  152. package/utils/addAuth.js +94 -0
  153. package/utils/artifactize.js +146 -0
  154. package/utils/basicGet.js +50 -0
  155. package/utils/checkMigrate.js +63 -0
  156. package/utils/entitiesToDB.js +179 -0
  157. package/utils/findPath.js +74 -0
  158. package/utils/methodDocumentor.js +273 -0
  159. package/utils/modify.js +152 -0
  160. package/utils/packModificationScript.js +35 -0
  161. package/utils/patches2bundledDeps.js +90 -0
  162. package/utils/pre-commit.sh +32 -0
  163. package/utils/removeHooks.js +20 -0
  164. package/utils/setup.js +33 -0
  165. package/utils/taskMover.js +309 -0
  166. package/utils/tbScript.js +239 -0
  167. package/utils/tbUtils.js +489 -0
  168. package/utils/testRunner.js +298 -0
  169. package/utils/troubleshootingAdapter.js +193 -0
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getSpectrumDetailsUsingGET3",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/qoesummary?{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/getSpectrumDetailsUsingGET3-default.json"
21
+ }
22
+ ]
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,40 @@
1
+ [
2
+ {
3
+ "chronicModems": 7,
4
+ "dsQoeScore": 6,
5
+ "impactedModems": 6,
6
+ "nodeId": 7,
7
+ "ofdmCapableModems": 3,
8
+ "ofdmImpactedModems": 6,
9
+ "ofdmProfileA": 5,
10
+ "ofdmProfileB": 2,
11
+ "ofdmProfileC": 1,
12
+ "ofdmProfileOther": 9,
13
+ "offlineModems": 9,
14
+ "qoeRank": 4,
15
+ "qoeScore": 3,
16
+ "stressedModems": 7,
17
+ "timestamp": "string",
18
+ "totalModems": 6,
19
+ "usQoeScore": 9
20
+ },
21
+ {
22
+ "chronicModems": 4,
23
+ "dsQoeScore": 6,
24
+ "impactedModems": 9,
25
+ "nodeId": 8,
26
+ "ofdmCapableModems": 10,
27
+ "ofdmImpactedModems": 4,
28
+ "ofdmProfileA": 7,
29
+ "ofdmProfileB": 7,
30
+ "ofdmProfileC": 1,
31
+ "ofdmProfileOther": 8,
32
+ "offlineModems": 4,
33
+ "qoeRank": 8,
34
+ "qoeScore": 6,
35
+ "stressedModems": 10,
36
+ "timestamp": "string",
37
+ "totalModems": 3,
38
+ "usQoeScore": 5
39
+ }
40
+ ]
@@ -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": "getSpectrumDetailsUsingGET3",
12
+ "enum": [
13
+ "getSpectrumDetailsUsingGET3"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getQoeNodeRankingsUsingGET1",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/qoeranking?{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/getQoeNodeRankingsUsingGET1-default.json"
21
+ }
22
+ ]
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,25 @@
1
+ [
2
+ {
3
+ "cmts": "string",
4
+ "failedOnly": false,
5
+ "port": "string",
6
+ "portId": 1,
7
+ "scores": [
8
+ 5,
9
+ 7,
10
+ 8,
11
+ 8,
12
+ 9
13
+ ]
14
+ },
15
+ {
16
+ "cmts": "string",
17
+ "failedOnly": true,
18
+ "port": "string",
19
+ "portId": 2,
20
+ "scores": [
21
+ 3,
22
+ 6
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": "getQoeNodeRankingsUsingGET1",
12
+ "enum": [
13
+ "getQoeNodeRankingsUsingGET1"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "disableSweepUsingPUT3",
5
+ "protocol": "REST",
6
+ "method": "PUT",
7
+ "entitypath": "{base_path}/{version}/rcisweep/disablesweep/{pathv1}?{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": "enableSweepUsingPOST3",
25
+ "protocol": "REST",
26
+ "method": "POST",
27
+ "entitypath": "{base_path}/{version}/rcisweep/enablesweep?{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
+ "name": "rCISweepPlanAPI1",
45
+ "protocol": "REST",
46
+ "method": "GET",
47
+ "entitypath": "{base_path}/{version}/rcisweep/getsweepplans?{query}",
48
+ "requestSchema": "schema.json",
49
+ "responseSchema": "schema.json",
50
+ "timeout": 0,
51
+ "sendEmpty": false,
52
+ "sendGetBody": false,
53
+ "requestDatatype": "JSON",
54
+ "responseDatatype": "JSON",
55
+ "headers": {},
56
+ "responseObjects": [
57
+ {
58
+ "type": "default",
59
+ "key": "",
60
+ "mockFile": "mockdatafiles/rCISweepPlanAPI1-default.json"
61
+ }
62
+ ]
63
+ }
64
+ ]
65
+ }
@@ -0,0 +1,30 @@
1
+ [
2
+ {
3
+ "id": 9,
4
+ "name": "string",
5
+ "points": {
6
+ "freqHz": [
7
+ 3,
8
+ 7,
9
+ 7,
10
+ 2,
11
+ 2,
12
+ 4,
13
+ 7
14
+ ]
15
+ }
16
+ },
17
+ {
18
+ "id": 6,
19
+ "name": "string",
20
+ "points": {
21
+ "freqHz": [
22
+ 5,
23
+ 5,
24
+ 3,
25
+ 7,
26
+ 5
27
+ ]
28
+ }
29
+ }
30
+ ]
@@ -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": "disableSweepUsingPUT3",
12
+ "enum": [
13
+ "disableSweepUsingPUT3",
14
+ "enableSweepUsingPOST3",
15
+ "rCISweepPlanAPI1"
16
+ ],
17
+ "external_name": "ph_request_type"
18
+ }
19
+ },
20
+ "definitions": {}
21
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getElementBroadcastStatusResponsesUsingGET1",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/broadcast?{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": "putRpmPortBroadcastUsingPUT2",
26
+ "protocol": "REST",
27
+ "method": "PUT",
28
+ "entitypath": "{base_path}/{version}/broadcast/type/port/id/{pathv1}?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "deleteRpmPortBroadcastUsingDELETE1",
46
+ "protocol": "REST",
47
+ "method": "DELETE",
48
+ "entitypath": "{base_path}/{version}/broadcast/type/port/id/{pathv1}?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "requestDatatype": "JSON",
54
+ "responseDatatype": "JSON",
55
+ "headers": {},
56
+ "responseObjects": [
57
+ {
58
+ "type": "default",
59
+ "key": "",
60
+ "mockFile": ""
61
+ }
62
+ ]
63
+ }
64
+ ]
65
+ }
@@ -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": "getElementBroadcastStatusResponsesUsingGET1",
12
+ "enum": [
13
+ "getElementBroadcastStatusResponsesUsingGET1",
14
+ "putRpmPortBroadcastUsingPUT2",
15
+ "deleteRpmPortBroadcastUsingDELETE1"
16
+ ],
17
+ "external_name": "ph_request_type"
18
+ }
19
+ },
20
+ "definitions": {}
21
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getRankingDetailsUsingGET2",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/ranking/details?{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
+ }
@@ -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": "getRankingDetailsUsingGET2",
12
+ "enum": [
13
+ "getRankingDetailsUsingGET2"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getRankingSummaryUsingGET1",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/summary/ranking?{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
+ }
@@ -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": "getRankingSummaryUsingGET1",
12
+ "enum": [
13
+ "getRankingSummaryUsingGET1"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }
@@ -0,0 +1,88 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "searchAlarmableModemsUsingGET1",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/elements/search/type/alarmablemodem/**?{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/searchAlarmableModemsUsingGET1-default.json"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "searchModemWatchModemsUsingGET1",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/elements/search/type/modemwatch/**?{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/searchModemWatchModemsUsingGET1-default.json"
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "name": "searchElementsUsingGET1",
47
+ "protocol": "REST",
48
+ "method": "GET",
49
+ "entitypath": "{base_path}/{version}/elements/search/type/{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": "mockdatafiles/searchElementsUsingGET1-default.json"
63
+ }
64
+ ]
65
+ },
66
+ {
67
+ "name": "getElementDetailUsingGET1",
68
+ "protocol": "REST",
69
+ "method": "GET",
70
+ "entitypath": "{base_path}/{version}/elements/type/{pathv1}/id/{pathv2}?{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
+ }
@@ -0,0 +1,26 @@
1
+ [
2
+ {
3
+ "id": 3,
4
+ "matchedResult": "string",
5
+ "name": "string",
6
+ "type": "string"
7
+ },
8
+ {
9
+ "id": 10,
10
+ "matchedResult": "string",
11
+ "name": "string",
12
+ "type": "string"
13
+ },
14
+ {
15
+ "id": 7,
16
+ "matchedResult": "string",
17
+ "name": "string",
18
+ "type": "string"
19
+ },
20
+ {
21
+ "id": 2,
22
+ "matchedResult": "string",
23
+ "name": "string",
24
+ "type": "string"
25
+ }
26
+ ]
@@ -0,0 +1,8 @@
1
+ [
2
+ {
3
+ "id": 1,
4
+ "matchedResult": "string",
5
+ "name": "string",
6
+ "type": "string"
7
+ }
8
+ ]
@@ -0,0 +1,20 @@
1
+ [
2
+ {
3
+ "id": 2,
4
+ "matchedResult": "string",
5
+ "name": "string",
6
+ "type": "string"
7
+ },
8
+ {
9
+ "id": 2,
10
+ "matchedResult": "string",
11
+ "name": "string",
12
+ "type": "string"
13
+ },
14
+ {
15
+ "id": 6,
16
+ "matchedResult": "string",
17
+ "name": "string",
18
+ "type": "string"
19
+ }
20
+ ]
@@ -0,0 +1,22 @@
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": "searchAlarmableModemsUsingGET1",
12
+ "enum": [
13
+ "searchAlarmableModemsUsingGET1",
14
+ "searchModemWatchModemsUsingGET1",
15
+ "searchElementsUsingGET1",
16
+ "getElementDetailUsingGET1"
17
+ ],
18
+ "external_name": "ph_request_type"
19
+ }
20
+ },
21
+ "definitions": {}
22
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getAllUsingGET6",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/site?{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/getAllUsingGET6-default.json"
21
+ }
22
+ ]
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,8 @@
1
+ [
2
+ {
3
+ "address": "string",
4
+ "hardwareCount": 4,
5
+ "id": 3,
6
+ "name": "string"
7
+ }
8
+ ]