@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,189 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "deleteIcebergDeleteAllLicense",
5
+ "protocol": "REST",
6
+ "method": "DELETE",
7
+ "entitypath": "{base_path}/{version}/license/keys/?{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": "createIcebergAddLicenseFromFile",
25
+ "protocol": "REST",
26
+ "method": "POST",
27
+ "entitypath": "{base_path}/{version}/license/keys/?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "requestDatatype": "FORM",
33
+ "responseDatatype": "JSON",
34
+ "headers": {},
35
+ "responseObjects": [
36
+ {
37
+ "type": "default",
38
+ "key": "",
39
+ "mockFile": "mockdatafiles/createIcebergAddLicenseFromFile-default.json"
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ "name": "retrieveIcebergGetAllLicenseId",
45
+ "protocol": "REST",
46
+ "method": "GET",
47
+ "entitypath": "{base_path}/{version}/license/keys/?{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/retrieveIcebergGetAllLicenseId-default.json"
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "updateIcebergReplaceLicense",
66
+ "protocol": "REST",
67
+ "method": "PUT",
68
+ "entitypath": "{base_path}/{version}/license/keys/?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "requestDatatype": "JSON",
74
+ "responseDatatype": "JSON",
75
+ "headers": {},
76
+ "responseObjects": [
77
+ {
78
+ "type": "default",
79
+ "key": "",
80
+ "mockFile": "mockdatafiles/updateIcebergReplaceLicense-default.json"
81
+ }
82
+ ]
83
+ },
84
+ {
85
+ "name": "deleteIcebergDeleteLicenseById",
86
+ "protocol": "REST",
87
+ "method": "DELETE",
88
+ "entitypath": "{base_path}/{version}/license/key/{pathv1}/?{query}",
89
+ "requestSchema": "schema.json",
90
+ "responseSchema": "schema.json",
91
+ "timeout": 0,
92
+ "sendEmpty": false,
93
+ "requestDatatype": "JSON",
94
+ "responseDatatype": "JSON",
95
+ "headers": {},
96
+ "responseObjects": [
97
+ {
98
+ "type": "default",
99
+ "key": "",
100
+ "mockFile": ""
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ "name": "retrieveIcebergLicenseFileByLicenseId",
106
+ "protocol": "REST",
107
+ "method": "GET",
108
+ "entitypath": "{base_path}/{version}/license/key/{pathv1}/?{query}",
109
+ "requestSchema": "schema.json",
110
+ "responseSchema": "schema.json",
111
+ "timeout": 0,
112
+ "sendEmpty": false,
113
+ "sendGetBody": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "name": "retrieveIcebergLicenseKeyContents",
127
+ "protocol": "REST",
128
+ "method": "GET",
129
+ "entitypath": "{base_path}/{version}/license/keys/contents/?{query}",
130
+ "requestSchema": "schema.json",
131
+ "responseSchema": "schema.json",
132
+ "timeout": 0,
133
+ "sendEmpty": false,
134
+ "sendGetBody": false,
135
+ "requestDatatype": "JSON",
136
+ "responseDatatype": "JSON",
137
+ "headers": {},
138
+ "responseObjects": [
139
+ {
140
+ "type": "default",
141
+ "key": "",
142
+ "mockFile": ""
143
+ }
144
+ ]
145
+ },
146
+ {
147
+ "name": "retrieveIcebergLicenseKeyContentsById",
148
+ "protocol": "REST",
149
+ "method": "GET",
150
+ "entitypath": "{base_path}/{version}/license/key/{pathv1}/contents/?{query}",
151
+ "requestSchema": "schema.json",
152
+ "responseSchema": "schema.json",
153
+ "timeout": 0,
154
+ "sendEmpty": false,
155
+ "sendGetBody": false,
156
+ "requestDatatype": "JSON",
157
+ "responseDatatype": "JSON",
158
+ "headers": {},
159
+ "responseObjects": [
160
+ {
161
+ "type": "default",
162
+ "key": "",
163
+ "mockFile": ""
164
+ }
165
+ ]
166
+ },
167
+ {
168
+ "name": "retrieveIcebergLicenseFeaturesInfo",
169
+ "protocol": "REST",
170
+ "method": "GET",
171
+ "entitypath": "{base_path}/{version}/license/status/?{query}",
172
+ "requestSchema": "schema.json",
173
+ "responseSchema": "schema.json",
174
+ "timeout": 0,
175
+ "sendEmpty": false,
176
+ "sendGetBody": false,
177
+ "requestDatatype": "JSON",
178
+ "responseDatatype": "JSON",
179
+ "headers": {},
180
+ "responseObjects": [
181
+ {
182
+ "type": "default",
183
+ "key": "",
184
+ "mockFile": ""
185
+ }
186
+ ]
187
+ }
188
+ ]
189
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "license-id": "license-id-string"
3
+ }
@@ -0,0 +1,4 @@
1
+ [
2
+ "license-id-1",
3
+ "license-id-2"
4
+ ]
@@ -0,0 +1,3 @@
1
+ {
2
+ "license-id": "license-id-string"
3
+ }
@@ -0,0 +1,49 @@
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": "deleteIcebergDeleteAllLicense",
12
+ "enum": [
13
+ "deleteIcebergDeleteAllLicense",
14
+ "createIcebergAddLicenseFromFile",
15
+ "retrieveIcebergGetAllLicenseId",
16
+ "updateIcebergReplaceLicense",
17
+ "deleteIcebergDeleteLicenseById",
18
+ "retrieveIcebergLicenseFileByLicenseId",
19
+ "retrieveIcebergLicenseKeyContents",
20
+ "retrieveIcebergLicenseKeyContentsById",
21
+ "retrieveIcebergLicenseFeaturesInfo"
22
+ ],
23
+ "external_name": "ph_request_type"
24
+ },
25
+ "licenseFile": {
26
+ "type": "string",
27
+ "description": "License key file content",
28
+ "parse": false,
29
+ "encode": false,
30
+ "encrypt": {
31
+ "type": "AES",
32
+ "key": ""
33
+ },
34
+ "external_name": "license_file"
35
+ },
36
+ "licenseId": {
37
+ "type": "string",
38
+ "description": "License id",
39
+ "parse": false,
40
+ "encode": false,
41
+ "encrypt": {
42
+ "type": "AES",
43
+ "key": ""
44
+ },
45
+ "external_name": "license_id"
46
+ }
47
+ },
48
+ "definitions": {}
49
+ }
@@ -0,0 +1,88 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "retrieveLogsForDeviceGroup",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/logs/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": "retrieveLogsForDeviceGroupService",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/logs/device-group/{pathv1}/service/{pathv2}/?{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": "retrieveLogsForNetworkGroup",
47
+ "protocol": "REST",
48
+ "method": "GET",
49
+ "entitypath": "{base_path}/{version}/logs/network-group/{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
+ "name": "retrieveLogsForNetworkGroupService",
68
+ "protocol": "REST",
69
+ "method": "GET",
70
+ "entitypath": "{base_path}/{version}/logs/network-group/{pathv1}/service/{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,66 @@
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": "retrieveLogsForDeviceGroup",
12
+ "enum": [
13
+ "retrieveLogsForDeviceGroup",
14
+ "retrieveLogsForDeviceGroupService",
15
+ "retrieveLogsForNetworkGroup",
16
+ "retrieveLogsForNetworkGroupService"
17
+ ],
18
+ "external_name": "ph_request_type"
19
+ },
20
+ "deviceGroupName": {
21
+ "type": "string",
22
+ "description": "Device group name",
23
+ "parse": false,
24
+ "encode": false,
25
+ "encrypt": {
26
+ "type": "AES",
27
+ "key": ""
28
+ },
29
+ "external_name": "device_group_name"
30
+ },
31
+ "serviceName": {
32
+ "type": "string",
33
+ "description": "Network group service name",
34
+ "parse": false,
35
+ "encode": false,
36
+ "encrypt": {
37
+ "type": "AES",
38
+ "key": ""
39
+ },
40
+ "external_name": "service_name"
41
+ },
42
+ "numberOfLines": {
43
+ "type": "number",
44
+ "description": "Number of lines to show from the end of the logs",
45
+ "parse": false,
46
+ "encode": false,
47
+ "encrypt": {
48
+ "type": "AES",
49
+ "key": ""
50
+ },
51
+ "external_name": "number_of_lines"
52
+ },
53
+ "networkGroupName": {
54
+ "type": "string",
55
+ "description": "Network group name",
56
+ "parse": false,
57
+ "encode": false,
58
+ "encrypt": {
59
+ "type": "AES",
60
+ "key": ""
61
+ },
62
+ "external_name": "network_group_name"
63
+ }
64
+ },
65
+ "definitions": {}
66
+ }
@@ -0,0 +1,166 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "deleteHealthbotOrganizationSiteSiteById",
5
+ "protocol": "REST",
6
+ "method": "DELETE",
7
+ "entitypath": "{base_path}/{version}/config/organization/{pathv1}/site/{pathv2}/?{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": "retrieveHealthbotOrganizationSiteSiteById",
25
+ "protocol": "REST",
26
+ "method": "GET",
27
+ "entitypath": "{base_path}/{version}/config/organization/{pathv1}/site/{pathv2}/?{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": "createHealthbotOrganizationSiteSiteById",
46
+ "protocol": "REST",
47
+ "method": "POST",
48
+ "entitypath": "{base_path}/{version}/config/organization/{pathv1}/site/{pathv2}/?{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
+ "name": "updateHealthbotOrganizationSiteSiteById",
66
+ "protocol": "REST",
67
+ "method": "PUT",
68
+ "entitypath": "{base_path}/{version}/config/organization/{pathv1}/site/{pathv2}/?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "requestDatatype": "JSON",
74
+ "responseDatatype": "JSON",
75
+ "headers": {},
76
+ "responseObjects": [
77
+ {
78
+ "type": "default",
79
+ "key": "",
80
+ "mockFile": ""
81
+ }
82
+ ]
83
+ },
84
+ {
85
+ "name": "deleteHealthbotOrganizationSiteEdgeEdgeById",
86
+ "protocol": "REST",
87
+ "method": "DELETE",
88
+ "entitypath": "{base_path}/{version}/config/organization/{pathv1}/site/{pathv2}/edge/{pathv3}/?{query}",
89
+ "requestSchema": "schema.json",
90
+ "responseSchema": "schema.json",
91
+ "timeout": 0,
92
+ "sendEmpty": false,
93
+ "requestDatatype": "JSON",
94
+ "responseDatatype": "JSON",
95
+ "headers": {},
96
+ "responseObjects": [
97
+ {
98
+ "type": "default",
99
+ "key": "",
100
+ "mockFile": ""
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ "name": "retrieveHealthbotOrganizationSiteEdgeEdgeById",
106
+ "protocol": "REST",
107
+ "method": "GET",
108
+ "entitypath": "{base_path}/{version}/config/organization/{pathv1}/site/{pathv2}/edge/{pathv3}/?{query}",
109
+ "requestSchema": "schema.json",
110
+ "responseSchema": "schema.json",
111
+ "timeout": 0,
112
+ "sendEmpty": false,
113
+ "sendGetBody": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "name": "createHealthbotOrganizationSiteEdgeEdgeById",
127
+ "protocol": "REST",
128
+ "method": "POST",
129
+ "entitypath": "{base_path}/{version}/config/organization/{pathv1}/site/{pathv2}/edge/{pathv3}/?{query}",
130
+ "requestSchema": "schema.json",
131
+ "responseSchema": "schema.json",
132
+ "timeout": 0,
133
+ "sendEmpty": false,
134
+ "requestDatatype": "JSON",
135
+ "responseDatatype": "JSON",
136
+ "headers": {},
137
+ "responseObjects": [
138
+ {
139
+ "type": "default",
140
+ "key": "",
141
+ "mockFile": ""
142
+ }
143
+ ]
144
+ },
145
+ {
146
+ "name": "updateHealthbotOrganizationSiteEdgeEdgeById",
147
+ "protocol": "REST",
148
+ "method": "PUT",
149
+ "entitypath": "{base_path}/{version}/config/organization/{pathv1}/site/{pathv2}/edge/{pathv3}/?{query}",
150
+ "requestSchema": "schema.json",
151
+ "responseSchema": "schema.json",
152
+ "timeout": 0,
153
+ "sendEmpty": false,
154
+ "requestDatatype": "JSON",
155
+ "responseDatatype": "JSON",
156
+ "headers": {},
157
+ "responseObjects": [
158
+ {
159
+ "type": "default",
160
+ "key": "",
161
+ "mockFile": ""
162
+ }
163
+ ]
164
+ }
165
+ ]
166
+ }
@@ -0,0 +1,59 @@
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": "deleteHealthbotOrganizationSiteSiteById",
12
+ "enum": [
13
+ "deleteHealthbotOrganizationSiteSiteById",
14
+ "retrieveHealthbotOrganizationSiteSiteById",
15
+ "createHealthbotOrganizationSiteSiteById",
16
+ "updateHealthbotOrganizationSiteSiteById",
17
+ "deleteHealthbotOrganizationSiteEdgeEdgeById",
18
+ "retrieveHealthbotOrganizationSiteEdgeEdgeById",
19
+ "createHealthbotOrganizationSiteEdgeEdgeById",
20
+ "updateHealthbotOrganizationSiteEdgeEdgeById"
21
+ ],
22
+ "external_name": "ph_request_type"
23
+ },
24
+ "organizationName": {
25
+ "type": "string",
26
+ "description": "ID of organization-name",
27
+ "parse": false,
28
+ "encode": false,
29
+ "encrypt": {
30
+ "type": "AES",
31
+ "key": ""
32
+ },
33
+ "external_name": "organization_name"
34
+ },
35
+ "siteName": {
36
+ "type": "string",
37
+ "description": "ID of site-name",
38
+ "parse": false,
39
+ "encode": false,
40
+ "encrypt": {
41
+ "type": "AES",
42
+ "key": ""
43
+ },
44
+ "external_name": "site_name"
45
+ },
46
+ "edgeName": {
47
+ "type": "string",
48
+ "description": "ID of edge-name",
49
+ "parse": false,
50
+ "encode": false,
51
+ "encrypt": {
52
+ "type": "AES",
53
+ "key": ""
54
+ },
55
+ "external_name": "edge_name"
56
+ }
57
+ },
58
+ "definitions": {}
59
+ }