@itentialopensource/adapter-paragon_insights 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 (180) 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 +2925 -0
  12. package/CHANGELOG.md +9 -0
  13. package/CODE_OF_CONDUCT.md +43 -0
  14. package/CONTRIBUTING.md +172 -0
  15. package/ENHANCE.md +69 -0
  16. package/LICENSE +201 -0
  17. package/PROPERTIES.md +641 -0
  18. package/README.md +337 -0
  19. package/SUMMARY.md +9 -0
  20. package/SYSTEMINFO.md +11 -0
  21. package/TROUBLESHOOT.md +47 -0
  22. package/adapter.js +46322 -0
  23. package/adapterBase.js +1787 -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/Administration/action.json +24 -0
  33. package/entities/Administration/schema.json +19 -0
  34. package/entities/Authentication/action.json +64 -0
  35. package/entities/Authentication/schema.json +21 -0
  36. package/entities/Config/action.json +4586 -0
  37. package/entities/Config/mockdatafiles/createHealthbotDynamicTagging-default.json +6 -0
  38. package/entities/Config/mockdatafiles/createHealthbotIngestSettingsTaggingProfiles-default.json +4 -0
  39. package/entities/Config/mockdatafiles/createHealthbotIngestTaggingProfiles-default.json +3 -0
  40. package/entities/Config/mockdatafiles/retrieveConfigurationJobs-default.json +22 -0
  41. package/entities/Config/mockdatafiles/retrieveFilesHelperFiles-default.json +4 -0
  42. package/entities/Config/mockdatafiles/retrieveHealthbotDynamicTagging-default.json +3 -0
  43. package/entities/Config/mockdatafiles/retrieveHealthbotIngestByoiDefaultPluginTliveKafkas-default.json +3 -0
  44. package/entities/Config/mockdatafiles/retrieveHealthbotIngestByoiIngestMappings-default.json +4 -0
  45. package/entities/Config/mockdatafiles/retrieveHealthbotIngestFrequencyProfile-default.json +6 -0
  46. package/entities/Config/mockdatafiles/retrieveHealthbotIngestSettingsByoiDefaultPluginTliveKafkas-default.json +4 -0
  47. package/entities/Config/mockdatafiles/retrieveHealthbotIngestSettingsByoiIngestMappings-default.json +4 -0
  48. package/entities/Config/mockdatafiles/retrieveHealthbotIngestSettingsFrequencyProfile-default.json +4 -0
  49. package/entities/Config/mockdatafiles/retrieveHealthbotIngestSettingsTaggingProfiles-default.json +5 -0
  50. package/entities/Config/mockdatafiles/retrieveHealthbotIngestSnmpNotificationV3UsmUsernames-default.json +6 -0
  51. package/entities/Config/mockdatafiles/retrieveHealthbotIngestSnmpNotificationV3UsmUsers-default.json +604 -0
  52. package/entities/Config/mockdatafiles/retrieveHealthbotIngestSyslogHeaderPatternIds-default.json +4 -0
  53. package/entities/Config/mockdatafiles/retrieveHealthbotIngestSyslogHeaderPatterns-default.json +44 -0
  54. package/entities/Config/mockdatafiles/retrieveHealthbotIngestTaggingProfiles-default.json +4 -0
  55. package/entities/Config/mockdatafiles/retrieveHealthbotOrganizationOrganization-default.json +5 -0
  56. package/entities/Config/mockdatafiles/retrieveHealthbotTopicResourceResource-default.json +4 -0
  57. package/entities/Config/mockdatafiles/retrieveIcebergIngestFlowTemplateIds-default.json +6 -0
  58. package/entities/Config/mockdatafiles/retrieveIcebergIngestSettingsFlowTemplateIds-default.json +4 -0
  59. package/entities/Config/mockdatafiles/retrieveIcebergIngestSettingsSyslogPatternIds-default.json +6 -0
  60. package/entities/Config/mockdatafiles/retrieveIcebergIngestSettingsSyslogPatternSetIds-default.json +5 -0
  61. package/entities/Config/mockdatafiles/retrieveIcebergIngestSettingsSyslogPatternSets-default.json +12 -0
  62. package/entities/Config/mockdatafiles/retrieveIcebergIngestSettingsSyslogPatterns-default.json +113 -0
  63. package/entities/Config/mockdatafiles/retrieveIcebergIngestSyslogPatternIds-default.json +3 -0
  64. package/entities/Config/mockdatafiles/retrieveIcebergIngestSyslogPatternSetIds-default.json +6 -0
  65. package/entities/Config/mockdatafiles/retrieveIcebergIngestSyslogPatternSets-default.json +27 -0
  66. package/entities/Config/mockdatafiles/retrieveIcebergIngestSyslogPatterns-default.json +151 -0
  67. package/entities/Config/mockdatafiles/retrieveIcebergProfileSecurityCaProfiles-default.json +5 -0
  68. package/entities/Config/mockdatafiles/retrieveIcebergProfileSecurityLocalCertificates-default.json +4 -0
  69. package/entities/Config/mockdatafiles/retrieveIcebergProfileSecuritySshKeyProfiles-default.json +3 -0
  70. package/entities/Config/mockdatafiles/retrieveSensors-default.json +4 -0
  71. package/entities/Config/mockdatafiles/updateHealthbotDynamicTagging-default.json +5 -0
  72. package/entities/Config/mockdatafiles/updateHealthbotIngestSettingsTaggingProfiles-default.json +4 -0
  73. package/entities/Config/mockdatafiles/updateHealthbotIngestTaggingProfiles-default.json +4 -0
  74. package/entities/Config/schema.json +452 -0
  75. package/entities/Configuration/action.json +2948 -0
  76. package/entities/Configuration/mockdatafiles/retrieveIcebergDeviceDevice-default.json +4 -0
  77. package/entities/Configuration/mockdatafiles/retrieveIcebergDeviceGroupDeviceGroup-default.json +4 -0
  78. package/entities/Configuration/mockdatafiles/retrieveIcebergNetworkGroupNetworkGroup-default.json +4 -0
  79. package/entities/Configuration/mockdatafiles/retrieveIcebergNotificationNotification-default.json +4 -0
  80. package/entities/Configuration/mockdatafiles/retrieveIcebergPlaybookPlaybook-default.json +4 -0
  81. package/entities/Configuration/mockdatafiles/retrieveIcebergRetentionPolicyRetentionPolicy-default.json +4 -0
  82. package/entities/Configuration/mockdatafiles/retrieveIcebergTopicRuleRule-default.json +4 -0
  83. package/entities/Configuration/mockdatafiles/retrieveIcebergTopicTopic-default.json +4 -0
  84. package/entities/Configuration/schema.json +361 -0
  85. package/entities/Data/action.json +67 -0
  86. package/entities/Data/mockdatafiles/retrieveDataDatabaseTable-default.json +8 -0
  87. package/entities/Data/mockdatafiles/retrieveDataDatabaseTableColumnByTableName-default.json +4 -0
  88. package/entities/Data/mockdatafiles/retrieveDataDatabaseTagsByTableName-default.json +4 -0
  89. package/entities/Data/schema.json +76 -0
  90. package/entities/DataStore/action.json +85 -0
  91. package/entities/DataStore/schema.json +33 -0
  92. package/entities/Debug/action.json +65 -0
  93. package/entities/Debug/mockdatafiles/retrieveDebugForScenario-default.json +14 -0
  94. package/entities/Debug/mockdatafiles/retrieveDebugJobs-default.json +10 -0
  95. package/entities/Debug/schema.json +43 -0
  96. package/entities/DeployedDeviceDetails/action.json +24 -0
  97. package/entities/DeployedDeviceDetails/schema.json +19 -0
  98. package/entities/Documentation/action.json +46 -0
  99. package/entities/Documentation/schema.json +20 -0
  100. package/entities/Event/action.json +130 -0
  101. package/entities/Event/mockdatafiles/retrieveEvent-default.json +20 -0
  102. package/entities/Event/mockdatafiles/retrieveEventByEventName-default.json +8 -0
  103. package/entities/Event/mockdatafiles/retrieveEventByEventNameDeviceGroup-default.json +14 -0
  104. package/entities/Event/mockdatafiles/retrieveEventByEventNameNetworkGroup-default.json +14 -0
  105. package/entities/Event/mockdatafiles/retrieveEventDeviceGroup-default.json +14 -0
  106. package/entities/Event/mockdatafiles/retrieveEventNetworkGroup-default.json +14 -0
  107. package/entities/Event/schema.json +101 -0
  108. package/entities/Events/action.json +25 -0
  109. package/entities/Events/mockdatafiles/retrieveEvents-default.json +26 -0
  110. package/entities/Events/schema.json +41 -0
  111. package/entities/Facts/action.json +67 -0
  112. package/entities/Facts/schema.json +43 -0
  113. package/entities/FieldCapture/action.json +25 -0
  114. package/entities/FieldCapture/schema.json +19 -0
  115. package/entities/Grafana/action.json +66 -0
  116. package/entities/Grafana/schema.json +32 -0
  117. package/entities/Health/action.json +25 -0
  118. package/entities/Health/schema.json +19 -0
  119. package/entities/HealthTree/action.json +67 -0
  120. package/entities/HealthTree/schema.json +54 -0
  121. package/entities/Inspect/action.json +24 -0
  122. package/entities/Inspect/schema.json +19 -0
  123. package/entities/InstanceScheduleState/action.json +45 -0
  124. package/entities/InstanceScheduleState/schema.json +42 -0
  125. package/entities/License/action.json +189 -0
  126. package/entities/License/mockdatafiles/createIcebergAddLicenseFromFile-default.json +3 -0
  127. package/entities/License/mockdatafiles/retrieveIcebergGetAllLicenseId-default.json +4 -0
  128. package/entities/License/mockdatafiles/updateIcebergReplaceLicense-default.json +3 -0
  129. package/entities/License/schema.json +49 -0
  130. package/entities/Logs/action.json +88 -0
  131. package/entities/Logs/schema.json +66 -0
  132. package/entities/Organization/action.json +166 -0
  133. package/entities/Organization/schema.json +59 -0
  134. package/entities/Services/action.json +126 -0
  135. package/entities/Services/mockdatafiles/retrieveServicesDeviceGroupsDeviceGroupDeviceGroup-default.json +4 -0
  136. package/entities/Services/mockdatafiles/retrieveServicesNetworkGroup-default.json +4 -0
  137. package/entities/Services/schema.json +46 -0
  138. package/entities/System/action.json +150 -0
  139. package/entities/System/schema.json +47 -0
  140. package/entities/Workflow/action.json +187 -0
  141. package/entities/Workflow/mockdatafiles/retrieveHealthbotWorkflowWorkflow-default.json +6 -0
  142. package/entities/Workflow/schema.json +38 -0
  143. package/entities/WorkflowInstance/action.json +146 -0
  144. package/entities/WorkflowInstance/schema.json +47 -0
  145. package/entities/WorkflowStatistics/action.json +25 -0
  146. package/entities/WorkflowStatistics/schema.json +19 -0
  147. package/error.json +190 -0
  148. package/package.json +87 -0
  149. package/pronghorn.json +21194 -0
  150. package/propertiesDecorators.json +14 -0
  151. package/propertiesSchema.json +1248 -0
  152. package/refs?service=git-upload-pack +0 -0
  153. package/report/adapterInfo.json +10 -0
  154. package/report/creationReport.json +2565 -0
  155. package/report/insightsopneapi.json +42358 -0
  156. package/sampleProperties.json +195 -0
  157. package/test/integration/adapterTestBasicGet.js +83 -0
  158. package/test/integration/adapterTestConnectivity.js +93 -0
  159. package/test/integration/adapterTestIntegration.js +12269 -0
  160. package/test/unit/adapterBaseTestUnit.js +949 -0
  161. package/test/unit/adapterTestUnit.js +14656 -0
  162. package/utils/adapterInfo.js +206 -0
  163. package/utils/addAuth.js +94 -0
  164. package/utils/artifactize.js +146 -0
  165. package/utils/basicGet.js +50 -0
  166. package/utils/checkMigrate.js +63 -0
  167. package/utils/entitiesToDB.js +178 -0
  168. package/utils/findPath.js +74 -0
  169. package/utils/methodDocumentor.js +225 -0
  170. package/utils/modify.js +154 -0
  171. package/utils/packModificationScript.js +35 -0
  172. package/utils/patches2bundledDeps.js +90 -0
  173. package/utils/pre-commit.sh +32 -0
  174. package/utils/removeHooks.js +20 -0
  175. package/utils/setup.js +33 -0
  176. package/utils/tbScript.js +246 -0
  177. package/utils/tbUtils.js +490 -0
  178. package/utils/testRunner.js +298 -0
  179. package/utils/troubleshootingAdapter.js +195 -0
  180. package/workflows/README.md +3 -0
@@ -0,0 +1,41 @@
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": "retrieveEvents",
12
+ "enum": [
13
+ "retrieveEvents"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ },
17
+ "fromTimestamp": {
18
+ "type": "string",
19
+ "description": "Starting timestamp",
20
+ "parse": false,
21
+ "encode": false,
22
+ "encrypt": {
23
+ "type": "AES",
24
+ "key": ""
25
+ },
26
+ "external_name": "from_timestamp"
27
+ },
28
+ "toTimestamp": {
29
+ "type": "string",
30
+ "description": "Ending timestamp",
31
+ "parse": false,
32
+ "encode": false,
33
+ "encrypt": {
34
+ "type": "AES",
35
+ "key": ""
36
+ },
37
+ "external_name": "to_timestamp"
38
+ }
39
+ },
40
+ "definitions": {}
41
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "retrieveIcebergDevicesFactsByGroup",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/config/device-group/{pathv1}/facts/?{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": "retrieveIcebergDeviceDeviceFactsById",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/config/device/{pathv1}/facts/?{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": "retrieveIcebergDevicesDevicesFacts",
47
+ "protocol": "REST",
48
+ "method": "GET",
49
+ "entitypath": "{base_path}/{version}/config/devices/facts/?{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,43 @@
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": "retrieveIcebergDevicesFactsByGroup",
12
+ "enum": [
13
+ "retrieveIcebergDevicesFactsByGroup",
14
+ "retrieveIcebergDeviceDeviceFactsById",
15
+ "retrieveIcebergDevicesDevicesFacts"
16
+ ],
17
+ "external_name": "ph_request_type"
18
+ },
19
+ "deviceGroupName": {
20
+ "type": "string",
21
+ "description": "ID of group",
22
+ "parse": false,
23
+ "encode": false,
24
+ "encrypt": {
25
+ "type": "AES",
26
+ "key": ""
27
+ },
28
+ "external_name": "device_group_name"
29
+ },
30
+ "deviceId": {
31
+ "type": "string",
32
+ "description": "ID of device-id",
33
+ "parse": false,
34
+ "encode": false,
35
+ "encrypt": {
36
+ "type": "AES",
37
+ "key": ""
38
+ },
39
+ "external_name": "device_id"
40
+ }
41
+ },
42
+ "definitions": {}
43
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getFieldsFromXpath",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/field-capture/?{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": "getFieldsFromXpath",
12
+ "enum": [
13
+ "getFieldsFromXpath"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "restoreGrafana",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/grafana/restore/?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "FORM",
13
+ "responseDatatype": "JSON",
14
+ "headers": {},
15
+ "responseObjects": [
16
+ {
17
+ "type": "default",
18
+ "key": "",
19
+ "mockFile": ""
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "name": "backupGrafana",
25
+ "protocol": "REST",
26
+ "method": "GET",
27
+ "entitypath": "{base_path}/{version}/grafana/backup/?{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
+ "name": "getGrafanaLogin",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/grafana/login/?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "sendGetBody": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": ""
62
+ }
63
+ ]
64
+ }
65
+ ]
66
+ }
@@ -0,0 +1,32 @@
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": "restoreGrafana",
12
+ "enum": [
13
+ "restoreGrafana",
14
+ "backupGrafana",
15
+ "getGrafanaLogin"
16
+ ],
17
+ "external_name": "ph_request_type"
18
+ },
19
+ "restoreFile": {
20
+ "type": "string",
21
+ "description": "File content",
22
+ "parse": false,
23
+ "encode": false,
24
+ "encrypt": {
25
+ "type": "AES",
26
+ "key": ""
27
+ },
28
+ "external_name": "restore_file"
29
+ }
30
+ },
31
+ "definitions": {}
32
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "retrieveHealthAll",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/health/?{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": "retrieveHealthAll",
12
+ "enum": [
13
+ "retrieveHealthAll"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "retrieveHealthTreeByDeviceGroup",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/health-tree/device-group/{pathv1}/?{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": "retrieveHealthTreeByNetworkGroup",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/health-tree/network-group/{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": "retrieveHealthTreeById",
47
+ "protocol": "REST",
48
+ "method": "GET",
49
+ "entitypath": "{base_path}/{version}/health-tree/{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,54 @@
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": "retrieveHealthTreeByDeviceGroup",
12
+ "enum": [
13
+ "retrieveHealthTreeByDeviceGroup",
14
+ "retrieveHealthTreeByNetworkGroup",
15
+ "retrieveHealthTreeById"
16
+ ],
17
+ "external_name": "ph_request_type"
18
+ },
19
+ "deviceGroupName": {
20
+ "type": "string",
21
+ "description": "`device-group-name` of device-group",
22
+ "parse": false,
23
+ "encode": false,
24
+ "encrypt": {
25
+ "type": "AES",
26
+ "key": ""
27
+ },
28
+ "external_name": "device_group_name"
29
+ },
30
+ "networkGroupName": {
31
+ "type": "string",
32
+ "description": "`network-group-name` of network-group",
33
+ "parse": false,
34
+ "encode": false,
35
+ "encrypt": {
36
+ "type": "AES",
37
+ "key": ""
38
+ },
39
+ "external_name": "network_group_name"
40
+ },
41
+ "deviceId": {
42
+ "type": "string",
43
+ "description": "`device-id` of device",
44
+ "parse": false,
45
+ "encode": false,
46
+ "encrypt": {
47
+ "type": "AES",
48
+ "key": ""
49
+ },
50
+ "external_name": "device_id"
51
+ }
52
+ },
53
+ "definitions": {}
54
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "postInspectCommandRpcTable",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/inspect/command-rpc/table/?{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
+ }
@@ -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": "postInspectCommandRpcTable",
12
+ "enum": [
13
+ "postInspectCommandRpcTable"
14
+ ],
15
+ "external_name": "ph_request_type"
16
+ }
17
+ },
18
+ "definitions": {}
19
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "retrieveInstancesScheduleState",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/config/instances-schedule-state/{pathv1}/{pathv2}/?{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": "updateInstancesScheduleState",
26
+ "protocol": "REST",
27
+ "method": "PUT",
28
+ "entitypath": "{base_path}/{version}/config/instances-schedule-state/{pathv1}/{pathv2}/?{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
+ }
@@ -0,0 +1,42 @@
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": "retrieveInstancesScheduleState",
12
+ "enum": [
13
+ "retrieveInstancesScheduleState",
14
+ "updateInstancesScheduleState"
15
+ ],
16
+ "external_name": "ph_request_type"
17
+ },
18
+ "groupName": {
19
+ "type": "string",
20
+ "description": "Group name",
21
+ "parse": false,
22
+ "encode": false,
23
+ "encrypt": {
24
+ "type": "AES",
25
+ "key": ""
26
+ },
27
+ "external_name": "group_name"
28
+ },
29
+ "groupType": {
30
+ "type": "string",
31
+ "description": "Group type",
32
+ "parse": false,
33
+ "encode": false,
34
+ "encrypt": {
35
+ "type": "AES",
36
+ "key": ""
37
+ },
38
+ "external_name": "group_type"
39
+ }
40
+ },
41
+ "definitions": {}
42
+ }