@itentialopensource/adapter-centreon 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 (126) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/AUTH.md +39 -0
  5. package/BROKER.md +199 -0
  6. package/CALLS.md +170 -0
  7. package/CHANGELOG.md +9 -0
  8. package/CODE_OF_CONDUCT.md +43 -0
  9. package/CONTRIBUTING.md +172 -0
  10. package/ENHANCE.md +69 -0
  11. package/LICENSE +201 -0
  12. package/PROPERTIES.md +641 -0
  13. package/README.md +337 -0
  14. package/SUMMARY.md +9 -0
  15. package/SYSTEMINFO.md +11 -0
  16. package/TROUBLESHOOT.md +47 -0
  17. package/adapter.js +13198 -0
  18. package/adapterBase.js +1787 -0
  19. package/entities/.generic/action.json +214 -0
  20. package/entities/.generic/schema.json +28 -0
  21. package/entities/.system/action.json +50 -0
  22. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  23. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  24. package/entities/.system/schema.json +19 -0
  25. package/entities/.system/schemaTokenReq.json +53 -0
  26. package/entities/.system/schemaTokenResp.json +53 -0
  27. package/entities/AccessControl/action.json +25 -0
  28. package/entities/AccessControl/schema.json +19 -0
  29. package/entities/Acknowledgement/action.json +351 -0
  30. package/entities/Acknowledgement/schema.json +90 -0
  31. package/entities/Administration/action.json +290 -0
  32. package/entities/Administration/mockdatafiles/listonevaultconfigurationbyitsid-default.json +9 -0
  33. package/entities/Administration/schema.json +54 -0
  34. package/entities/Authentication/action.json +126 -0
  35. package/entities/Authentication/mockdatafiles/providersConfigurations-default.json +26 -0
  36. package/entities/Authentication/schema.json +35 -0
  37. package/entities/Check/action.json +124 -0
  38. package/entities/Check/schema.json +57 -0
  39. package/entities/Comment/action.json +24 -0
  40. package/entities/Comment/schema.json +19 -0
  41. package/entities/Downtime/action.json +291 -0
  42. package/entities/Downtime/schema.json +98 -0
  43. package/entities/Gorgone/action.json +45 -0
  44. package/entities/Gorgone/mockdatafiles/gorgonepollerresponsestoken-default.json +398 -0
  45. package/entities/Gorgone/schema.json +42 -0
  46. package/entities/Host/action.json +46 -0
  47. package/entities/Host/schema.json +53 -0
  48. package/entities/HostCategory/action.json +106 -0
  49. package/entities/HostCategory/schema.json +45 -0
  50. package/entities/HostGroup/action.json +107 -0
  51. package/entities/HostGroup/schema.json +78 -0
  52. package/entities/HostSeverity/action.json +65 -0
  53. package/entities/HostSeverity/schema.json +32 -0
  54. package/entities/HostTemplate/action.json +25 -0
  55. package/entities/HostTemplate/schema.json +19 -0
  56. package/entities/Icons/action.json +25 -0
  57. package/entities/Icons/schema.json +19 -0
  58. package/entities/MetaService/action.json +67 -0
  59. package/entities/MetaService/schema.json +43 -0
  60. package/entities/Metrics/action.json +109 -0
  61. package/entities/Metrics/schema.json +56 -0
  62. package/entities/MonitoringServer/action.json +172 -0
  63. package/entities/MonitoringServer/schema.json +48 -0
  64. package/entities/NotificationPolicy/action.json +67 -0
  65. package/entities/NotificationPolicy/schema.json +54 -0
  66. package/entities/Platform/action.json +86 -0
  67. package/entities/Platform/schema.json +22 -0
  68. package/entities/Proxy/action.json +45 -0
  69. package/entities/Proxy/schema.json +20 -0
  70. package/entities/Resource/action.json +67 -0
  71. package/entities/Resource/schema.json +164 -0
  72. package/entities/Service/action.json +67 -0
  73. package/entities/Service/schema.json +54 -0
  74. package/entities/ServiceCategory/action.json +66 -0
  75. package/entities/ServiceCategory/schema.json +21 -0
  76. package/entities/ServiceGroup/action.json +107 -0
  77. package/entities/ServiceGroup/schema.json +89 -0
  78. package/entities/ServiceSeverity/action.json +65 -0
  79. package/entities/ServiceSeverity/schema.json +32 -0
  80. package/entities/Severity/action.json +46 -0
  81. package/entities/Severity/schema.json +31 -0
  82. package/entities/Submit/action.json +84 -0
  83. package/entities/Submit/schema.json +55 -0
  84. package/entities/TimePeriod/action.json +106 -0
  85. package/entities/TimePeriod/schema.json +23 -0
  86. package/entities/Timeline/action.json +46 -0
  87. package/entities/Timeline/schema.json +53 -0
  88. package/entities/Topology/action.json +65 -0
  89. package/entities/Topology/schema.json +32 -0
  90. package/entities/User/action.json +171 -0
  91. package/entities/User/schema.json +48 -0
  92. package/entities/UserFilters/action.json +84 -0
  93. package/entities/UserFilters/schema.json +44 -0
  94. package/error.json +190 -0
  95. package/package.json +87 -0
  96. package/pronghorn.json +9146 -0
  97. package/propertiesDecorators.json +14 -0
  98. package/propertiesSchema.json +1248 -0
  99. package/refs?service=git-upload-pack +0 -0
  100. package/report/Centreon Monitoring tool.yml-OpenApi3Json.json +20770 -0
  101. package/report/creationReport.json +1400 -0
  102. package/sampleProperties.json +195 -0
  103. package/test/integration/adapterTestBasicGet.js +83 -0
  104. package/test/integration/adapterTestConnectivity.js +93 -0
  105. package/test/integration/adapterTestIntegration.js +4456 -0
  106. package/test/unit/adapterBaseTestUnit.js +949 -0
  107. package/test/unit/adapterTestUnit.js +5654 -0
  108. package/utils/adapterInfo.js +206 -0
  109. package/utils/addAuth.js +94 -0
  110. package/utils/artifactize.js +146 -0
  111. package/utils/basicGet.js +50 -0
  112. package/utils/checkMigrate.js +63 -0
  113. package/utils/entitiesToDB.js +178 -0
  114. package/utils/findPath.js +74 -0
  115. package/utils/methodDocumentor.js +225 -0
  116. package/utils/modify.js +154 -0
  117. package/utils/packModificationScript.js +35 -0
  118. package/utils/patches2bundledDeps.js +90 -0
  119. package/utils/pre-commit.sh +32 -0
  120. package/utils/removeHooks.js +20 -0
  121. package/utils/setup.js +33 -0
  122. package/utils/tbScript.js +246 -0
  123. package/utils/tbUtils.js +490 -0
  124. package/utils/testRunner.js +298 -0
  125. package/utils/troubleshootingAdapter.js +195 -0
  126. package/workflows/README.md +3 -0
@@ -0,0 +1,290 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getlocalproviderconfigurationwithpasswordsecuritypolicy",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/administration/authentication/providers/local?{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": "updatelocalproviderconfiguration",
26
+ "protocol": "REST",
27
+ "method": "PUT",
28
+ "entitypath": "{base_path}/{version}/administration/authentication/providers/local?{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": "getopenidproviderconfiguration",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/administration/authentication/providers/openid?{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
+ "name": "updateopenidproviderconfiguration",
67
+ "protocol": "REST",
68
+ "method": "PUT",
69
+ "entitypath": "{base_path}/{version}/administration/authentication/providers/openid?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": ""
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "getSAMLproviderconfiguration",
87
+ "protocol": "REST",
88
+ "method": "GET",
89
+ "entitypath": "{base_path}/{version}/administration/authentication/providers/saml?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "sendGetBody": false,
95
+ "requestDatatype": "JSON",
96
+ "responseDatatype": "JSON",
97
+ "headers": {},
98
+ "responseObjects": [
99
+ {
100
+ "type": "default",
101
+ "key": "",
102
+ "mockFile": ""
103
+ }
104
+ ]
105
+ },
106
+ {
107
+ "name": "updateSAMLproviderconfiguration",
108
+ "protocol": "REST",
109
+ "method": "PUT",
110
+ "entitypath": "{base_path}/{version}/administration/authentication/providers/saml?{query}",
111
+ "requestSchema": "schema.json",
112
+ "responseSchema": "schema.json",
113
+ "timeout": 0,
114
+ "sendEmpty": false,
115
+ "requestDatatype": "JSON",
116
+ "responseDatatype": "JSON",
117
+ "headers": {},
118
+ "responseObjects": [
119
+ {
120
+ "type": "default",
121
+ "key": "",
122
+ "mockFile": ""
123
+ }
124
+ ]
125
+ },
126
+ {
127
+ "name": "getwebSsoproviderconfigurationinformation",
128
+ "protocol": "REST",
129
+ "method": "GET",
130
+ "entitypath": "{base_path}/{version}/administration/authentication/providers/web-sso?{query}",
131
+ "requestSchema": "schema.json",
132
+ "responseSchema": "schema.json",
133
+ "timeout": 0,
134
+ "sendEmpty": false,
135
+ "sendGetBody": false,
136
+ "requestDatatype": "JSON",
137
+ "responseDatatype": "JSON",
138
+ "headers": {},
139
+ "responseObjects": [
140
+ {
141
+ "type": "default",
142
+ "key": "",
143
+ "mockFile": ""
144
+ }
145
+ ]
146
+ },
147
+ {
148
+ "name": "updatewebSsoproviderconfiguration",
149
+ "protocol": "REST",
150
+ "method": "PUT",
151
+ "entitypath": "{base_path}/{version}/administration/authentication/providers/web-sso?{query}",
152
+ "requestSchema": "schema.json",
153
+ "responseSchema": "schema.json",
154
+ "timeout": 0,
155
+ "sendEmpty": 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": "administrationparameters",
169
+ "protocol": "REST",
170
+ "method": "POST",
171
+ "entitypath": "{base_path}/{version}/administration/parameters?{query}",
172
+ "requestSchema": "schema.json",
173
+ "responseSchema": "schema.json",
174
+ "timeout": 0,
175
+ "sendEmpty": false,
176
+ "requestDatatype": "JSON",
177
+ "responseDatatype": "JSON",
178
+ "headers": {},
179
+ "responseObjects": [
180
+ {
181
+ "type": "default",
182
+ "key": "",
183
+ "mockFile": ""
184
+ }
185
+ ]
186
+ },
187
+ {
188
+ "name": "createvaultconfiguration",
189
+ "protocol": "REST",
190
+ "method": "POST",
191
+ "entitypath": "{base_path}/{version}/administration/vaults/{pathv1}/configurations?{query}",
192
+ "requestSchema": "schema.json",
193
+ "responseSchema": "schema.json",
194
+ "timeout": 0,
195
+ "sendEmpty": false,
196
+ "requestDatatype": "JSON",
197
+ "responseDatatype": "JSON",
198
+ "headers": {},
199
+ "responseObjects": [
200
+ {
201
+ "type": "default",
202
+ "key": "",
203
+ "mockFile": ""
204
+ }
205
+ ]
206
+ },
207
+ {
208
+ "name": "listvaultconfigurationsbyprovider",
209
+ "protocol": "REST",
210
+ "method": "GET",
211
+ "entitypath": "{base_path}/{version}/administration/vaults/{pathv1}/configurations?{query}",
212
+ "requestSchema": "schema.json",
213
+ "responseSchema": "schema.json",
214
+ "timeout": 0,
215
+ "sendEmpty": false,
216
+ "sendGetBody": false,
217
+ "requestDatatype": "JSON",
218
+ "responseDatatype": "JSON",
219
+ "headers": {},
220
+ "responseObjects": [
221
+ {
222
+ "type": "default",
223
+ "key": "",
224
+ "mockFile": ""
225
+ }
226
+ ]
227
+ },
228
+ {
229
+ "name": "updatevaultconfiguration",
230
+ "protocol": "REST",
231
+ "method": "PUT",
232
+ "entitypath": "{base_path}/{version}/administration/vaults/{pathv1}/configurations/{pathv2}?{query}",
233
+ "requestSchema": "schema.json",
234
+ "responseSchema": "schema.json",
235
+ "timeout": 0,
236
+ "sendEmpty": false,
237
+ "requestDatatype": "JSON",
238
+ "responseDatatype": "JSON",
239
+ "headers": {},
240
+ "responseObjects": [
241
+ {
242
+ "type": "default",
243
+ "key": "",
244
+ "mockFile": ""
245
+ }
246
+ ]
247
+ },
248
+ {
249
+ "name": "deletevaultconfiguration",
250
+ "protocol": "REST",
251
+ "method": "DELETE",
252
+ "entitypath": "{base_path}/{version}/administration/vaults/{pathv1}/configurations/{pathv2}?{query}",
253
+ "requestSchema": "schema.json",
254
+ "responseSchema": "schema.json",
255
+ "timeout": 0,
256
+ "sendEmpty": false,
257
+ "requestDatatype": "JSON",
258
+ "responseDatatype": "JSON",
259
+ "headers": {},
260
+ "responseObjects": [
261
+ {
262
+ "type": "default",
263
+ "key": "",
264
+ "mockFile": ""
265
+ }
266
+ ]
267
+ },
268
+ {
269
+ "name": "listonevaultconfigurationbyitsid",
270
+ "protocol": "REST",
271
+ "method": "GET",
272
+ "entitypath": "{base_path}/{version}/administration/vaults/{pathv1}/configurations/{pathv2}?{query}",
273
+ "requestSchema": "schema.json",
274
+ "responseSchema": "schema.json",
275
+ "timeout": 0,
276
+ "sendEmpty": false,
277
+ "sendGetBody": false,
278
+ "requestDatatype": "JSON",
279
+ "responseDatatype": "JSON",
280
+ "headers": {},
281
+ "responseObjects": [
282
+ {
283
+ "type": "default",
284
+ "key": "",
285
+ "mockFile": "mockdatafiles/listonevaultconfigurationbyitsid-default.json"
286
+ }
287
+ ]
288
+ }
289
+ ]
290
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "id": 1,
3
+ "name": "centreon_vault",
4
+ "vault_id": 1,
5
+ "address": "127.0.0.1",
6
+ "port": 8200,
7
+ "root_path": "centreon",
8
+ "role_id": "string"
9
+ }
@@ -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": "getlocalproviderconfigurationwithpasswordsecuritypolicy",
12
+ "enum": [
13
+ "getlocalproviderconfigurationwithpasswordsecuritypolicy",
14
+ "updatelocalproviderconfiguration",
15
+ "getopenidproviderconfiguration",
16
+ "updateopenidproviderconfiguration",
17
+ "getSAMLproviderconfiguration",
18
+ "updateSAMLproviderconfiguration",
19
+ "getwebSsoproviderconfigurationinformation",
20
+ "updatewebSsoproviderconfiguration",
21
+ "administrationparameters",
22
+ "createvaultconfiguration",
23
+ "listvaultconfigurationsbyprovider",
24
+ "updatevaultconfiguration",
25
+ "deletevaultconfiguration",
26
+ "listonevaultconfigurationbyitsid"
27
+ ],
28
+ "external_name": "ph_request_type"
29
+ },
30
+ "vaultId": {
31
+ "type": "number",
32
+ "description": "ID of vault provider",
33
+ "parse": false,
34
+ "encode": false,
35
+ "encrypt": {
36
+ "type": "AES",
37
+ "key": ""
38
+ },
39
+ "external_name": "vault_id"
40
+ },
41
+ "vaultConfigurationId": {
42
+ "type": "number",
43
+ "description": "ID of existing vault configuration",
44
+ "parse": false,
45
+ "encode": false,
46
+ "encrypt": {
47
+ "type": "AES",
48
+ "key": ""
49
+ },
50
+ "external_name": "vault_configuration_id"
51
+ }
52
+ },
53
+ "definitions": {}
54
+ }
@@ -0,0 +1,126 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "login",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/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": "logout",
25
+ "protocol": "REST",
26
+ "method": "GET",
27
+ "entitypath": "{base_path}/{version}/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
+ "name": "updateuserpassword",
46
+ "protocol": "REST",
47
+ "method": "PUT",
48
+ "entitypath": "{base_path}/{version}/authentication/users/{pathv1}/password?{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": "providersConfigurations",
66
+ "protocol": "REST",
67
+ "method": "GET",
68
+ "entitypath": "{base_path}/{version}/authentication/providers/configurations?{query}",
69
+ "requestSchema": "schema.json",
70
+ "responseSchema": "schema.json",
71
+ "timeout": 0,
72
+ "sendEmpty": false,
73
+ "sendGetBody": false,
74
+ "requestDatatype": "JSON",
75
+ "responseDatatype": "JSON",
76
+ "headers": {},
77
+ "responseObjects": [
78
+ {
79
+ "type": "default",
80
+ "key": "",
81
+ "mockFile": "mockdatafiles/providersConfigurations-default.json"
82
+ }
83
+ ]
84
+ },
85
+ {
86
+ "name": "authenticationtoprovider",
87
+ "protocol": "REST",
88
+ "method": "POST",
89
+ "entitypath": "{base_path}/{version}/authentication/providers/configurations/{pathv1}?{query}",
90
+ "requestSchema": "schema.json",
91
+ "responseSchema": "schema.json",
92
+ "timeout": 0,
93
+ "sendEmpty": false,
94
+ "requestDatatype": "JSON",
95
+ "responseDatatype": "JSON",
96
+ "headers": {},
97
+ "responseObjects": [
98
+ {
99
+ "type": "default",
100
+ "key": "",
101
+ "mockFile": ""
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "name": "logoutSession",
107
+ "protocol": "REST",
108
+ "method": "POST",
109
+ "entitypath": "{base_path}/{version}/authentication/logout?{query}",
110
+ "requestSchema": "schema.json",
111
+ "responseSchema": "schema.json",
112
+ "timeout": 0,
113
+ "sendEmpty": false,
114
+ "requestDatatype": "JSON",
115
+ "responseDatatype": "JSON",
116
+ "headers": {},
117
+ "responseObjects": [
118
+ {
119
+ "type": "default",
120
+ "key": "",
121
+ "mockFile": ""
122
+ }
123
+ ]
124
+ }
125
+ ]
126
+ }
@@ -0,0 +1,26 @@
1
+ [
2
+ {
3
+ "id": 1,
4
+ "type": "local",
5
+ "name": "local",
6
+ "authentication_uri": "/centreon/authentication/providers/configurations/local",
7
+ "is_active": true,
8
+ "is_forced": false
9
+ },
10
+ {
11
+ "id": 1,
12
+ "type": "local",
13
+ "name": "local",
14
+ "authentication_uri": "/centreon/authentication/providers/configurations/local",
15
+ "is_active": true,
16
+ "is_forced": true
17
+ },
18
+ {
19
+ "id": 1,
20
+ "type": "local",
21
+ "name": "local",
22
+ "authentication_uri": "/centreon/authentication/providers/configurations/local",
23
+ "is_active": true,
24
+ "is_forced": false
25
+ }
26
+ ]
@@ -0,0 +1,35 @@
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": "login",
12
+ "enum": [
13
+ "login",
14
+ "logout",
15
+ "updateuserpassword",
16
+ "providersConfigurations",
17
+ "authenticationtoprovider",
18
+ "logoutSession"
19
+ ],
20
+ "external_name": "ph_request_type"
21
+ },
22
+ "providerConfigurationName": {
23
+ "type": "string",
24
+ "description": "",
25
+ "parse": false,
26
+ "encode": false,
27
+ "encrypt": {
28
+ "type": "AES",
29
+ "key": ""
30
+ },
31
+ "external_name": "provider_configuration_name"
32
+ }
33
+ },
34
+ "definitions": {}
35
+ }
@@ -0,0 +1,124 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "checkmetaservice",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/monitoring/metaservices/{pathv1}/check?{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": "checkmultiplehosts",
25
+ "protocol": "REST",
26
+ "method": "POST",
27
+ "entitypath": "{base_path}/{version}/monitoring/hosts/check?{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": "checkmultipleservices",
45
+ "protocol": "REST",
46
+ "method": "POST",
47
+ "entitypath": "{base_path}/{version}/monitoring/services/check?{query}",
48
+ "requestSchema": "schema.json",
49
+ "responseSchema": "schema.json",
50
+ "timeout": 0,
51
+ "sendEmpty": false,
52
+ "requestDatatype": "JSON",
53
+ "responseDatatype": "JSON",
54
+ "headers": {},
55
+ "responseObjects": [
56
+ {
57
+ "type": "default",
58
+ "key": "",
59
+ "mockFile": ""
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "name": "checkhost",
65
+ "protocol": "REST",
66
+ "method": "POST",
67
+ "entitypath": "{base_path}/{version}/monitoring/hosts/{pathv1}/check?{query}",
68
+ "requestSchema": "schema.json",
69
+ "responseSchema": "schema.json",
70
+ "timeout": 0,
71
+ "sendEmpty": false,
72
+ "requestDatatype": "JSON",
73
+ "responseDatatype": "JSON",
74
+ "headers": {},
75
+ "responseObjects": [
76
+ {
77
+ "type": "default",
78
+ "key": "",
79
+ "mockFile": ""
80
+ }
81
+ ]
82
+ },
83
+ {
84
+ "name": "checkservice",
85
+ "protocol": "REST",
86
+ "method": "POST",
87
+ "entitypath": "{base_path}/{version}/monitoring/hosts/{pathv1}/services/{pathv2}/check?{query}",
88
+ "requestSchema": "schema.json",
89
+ "responseSchema": "schema.json",
90
+ "timeout": 0,
91
+ "sendEmpty": false,
92
+ "requestDatatype": "JSON",
93
+ "responseDatatype": "JSON",
94
+ "headers": {},
95
+ "responseObjects": [
96
+ {
97
+ "type": "default",
98
+ "key": "",
99
+ "mockFile": ""
100
+ }
101
+ ]
102
+ },
103
+ {
104
+ "name": "checkresources",
105
+ "protocol": "REST",
106
+ "method": "POST",
107
+ "entitypath": "{base_path}/{version}/monitoring/resources/check?{query}",
108
+ "requestSchema": "schema.json",
109
+ "responseSchema": "schema.json",
110
+ "timeout": 0,
111
+ "sendEmpty": false,
112
+ "requestDatatype": "JSON",
113
+ "responseDatatype": "JSON",
114
+ "headers": {},
115
+ "responseObjects": [
116
+ {
117
+ "type": "default",
118
+ "key": "",
119
+ "mockFile": ""
120
+ }
121
+ ]
122
+ }
123
+ ]
124
+ }