bf0aa3f7a8dac99cd616b55740e1643dc3880e5d
[testsuite.git] / robot / testsuites / health-check.robot
1 *** Settings ***
2 Documentation     Test that ONAP components are available via basic API calls
3 Test Timeout      100 seconds
4
5 Library           ONAPLibrary.SO    WITH NAME    SO
6
7 Resource          ../resources/dcae_interface.robot
8 Resource          ../resources/sdnc_interface.robot
9 Resource          ../resources/aai/aai_interface.robot
10 Resource          ../resources/policy_interface.robot
11 Resource          ../resources/sdc_interface.robot
12 Resource          ../resources/portal_interface.robot
13 Resource          ../resources/mr_interface.robot
14 Resource          ../resources/bc_interface.robot
15 Resource          ../resources/aaf_interface.robot
16 Resource          ../resources/msb_interface.robot
17 Resource          ../resources/clamp_interface.robot
18 Resource          ../resources/test_templates/model_test_template.robot
19 Resource          ../resources/nbi_interface.robot
20 Resource          ../resources/cli_interface.robot
21 Resource          ../resources/vnfsdk_interface.robot
22 Resource          ../resources/log_interface.robot
23 Resource          ../resources/oof_interface.robot
24 Resource          ../resources/sms_interface.robot
25 Resource          ../resources/dr_interface.robot
26 Resource          ../resources/pomba_interface.robot
27 Resource          ../resources/holmes_interface.robot
28 Resource          ../resources/cds_interface.robot
29 Resource          ../resources/dcae_ms_interface.robot
30 Resource          ../resources/mariadb_galera_interface.robot
31
32 Suite Teardown     Close All Browsers
33
34 *** Test Cases ***
35 Basic A&AI Health Check
36     [Tags]    health    core  health-aai
37     Run A&AI Health Check
38
39 Enhanced A&AI Health Check
40     [Tags]    health    core  health-aai
41     Run Resource API AAI Inventory check
42     Run Traversal API AAI Inventory check
43
44 Basic AAF Health Check
45     [Tags]    health  health-aaf
46     Run AAF Health Check
47
48 Basic AAF SMS Health Check
49     [Tags]    health  health-aaf
50     Run SMS Health Check
51
52 Basic CLI Health Check
53     [Tags]    health-cli    health
54     Run CLI Health Check
55
56 Basic CLAMP Health Check
57     [Tags]    health-clamp
58     Run CLAMP Health Check
59
60 Basic DCAE Microservices Health Check
61     [Tags]    health    medium   health-dcaegen2-services
62     Run DCAE Microservices Health Check
63
64 Basic DMAAP Data Router Health Check
65     [Tags]    health    datarouter   health-dmaap
66     Run DR Health Check
67
68 Basic DMAAP Message Router Health Check
69     [Tags]    health    core  health-dmaap
70     Run MR Health Check
71
72 Basic DMAAP Message Router PubSub Health Check
73     [Tags]    healthmr    core    health-dmaap
74     [Timeout]   30
75     Run MR PubSub Health Check
76
77 Basic DMAAP Bus Controller Health Check With Basic Auth
78     [Tags]    health    health-dmaap
79     Run BC Health Check With Basic Auth
80
81 Basic External API NBI Health Check
82     [Tags]    health    externalapi    api    medium
83     Run NBI Health Check
84
85 Basic Log Elasticsearch Health Check
86     [Tags]    oom   health-log
87     Run Log Elasticsearch Health Check
88
89 Basic Log Kibana Health Check
90     [Tags]    oom   health-log
91     Run Log Kibana Health Check
92
93 Basic Log Logstash Health Check
94     [Tags]    oom   health-log
95     Run Log Logstash Health Check
96
97 Basic Microservice Bus Health Check
98     [Tags]    health    medium  health-msb
99     Run MSB Health Check
100
101 Basic Multicloud API Health Check
102     [Tags]    health    multicloud    small  health-multicloud
103     Run MSB Get Request    /api/multicloud/v0/swagger.json
104
105 Basic Multicloud-pike API Health Check
106     [Tags]    health    multicloud    small   health-multicloud
107     Run MSB Get Request    /api/multicloud-pike/v0/swagger.json
108
109 Basic Multicloud-starlingx API Health Check
110     [Tags]    multicloud   health-multicloud
111     Run MSB Get Request    /api/multicloud-starlingx/v0/swagger.json
112
113 Basic Multicloud-titanium_cloud API Health Check
114     [Tags]    multicloud   health-multicloud
115     Run MSB Get Request    /api/multicloud-titaniumcloud/v1/swagger.json
116
117 Basic Multicloud-vio API Health Check
118     [Tags]    multicloud   health-multicloud
119     Run MSB Get Request    /api/multicloud-vio/v0/swagger.json
120
121 Basic Multicloud-k8s API Health Check
122     [Tags]    health    multicloud   health-multicloud
123     Run MSB Get Request    /api/multicloud-k8s/v1/v1/healthcheck
124
125 Basic OOF-Homing Health Check
126     [Tags]    health    medium   health-oof
127     Run OOF-Homing Health Check
128
129 Basic OOF-OSDF Health Check
130     [Tags]    health    medium  health-oof
131     Run OOF-OSDF Health Check
132
133 Basic Policy Health Check
134     [Tags]    health    medium   health-policy
135     Run Policy Health Check
136
137 Enhanced Policy New Healthcheck
138     [Tags]    health    medium   health-policy
139     [Timeout]   60
140     Check for Existing Policy and Clean up
141     Run Create Policy Post Request
142     Run Get Policy Get Request
143     Run Deploy Policy Pap Post Request
144     Run Undeploy Policy
145     Run Delete Policy Request
146
147 Basic Pomba AAI-context-builder Health Check
148     [Tags]    oom   health-pomba
149     Run Pomba Aai Context Builder Health Check
150
151 Basic Pomba SDC-context-builder Health Check
152     [Tags]    oom   health-pomba
153     Run Pomba Sdc Context Builder Health Check
154
155 Basic Pomba Network-discovery-context-builder Health Check
156     [Tags]    oom   health-pomba
157     Run Pomba Network Discovery Context Builder Health Check
158
159 Basic Pomba Service-Decomposition Health Check
160     [Tags]    oom   health-pomba
161     Run Pomba Service Decomposition Health Check
162
163 Basic Pomba Network-Discovery-MicroService Health Check
164     [Tags]    oom  health-pomba
165     Run Pomba Network Discovery MicroService Health Check
166
167 Basic Pomba Pomba-Kibana Health Check
168     [Tags]    oom   health-pomba
169     Run Pomba Kibana Health Check
170
171 Basic Pomba Elastic-Search Health Check
172     [Tags]    oom   health-pomba
173     Run Pomba Elastic Search Health Check
174
175 Basic Pomba Sdnc-Context-Builder Health Check
176     [Tags]    oom   health-pomba
177     Run Pomba Sdnc Context Builder Health Check
178
179 Basic Pomba Context-Aggregator Health Check
180     [Tags]    oom   health-pomba
181     Run Pomba Context Aggregator Health Check
182
183 Basic SDC Health Check
184     [Tags]    health    core   health-sdc
185     Run SDC Health Check
186
187 Enhanced SDC Health Check
188     [Tags]    health    core   health-sdc
189     Run SDC BE ONBOARD Healthcheck
190     Run SDC BE Healthcheck
191
192 Basic SDNC Health Check
193     [Tags]    health    core   health-sdnc
194     Run SDNC Health Check
195
196 Enhanced SDNC Health Check
197     [Tags]    health    core   health-sdnc
198     Run SDNC Health Check Generic Resource API
199
200 Basic SO Health Check
201     [Tags]    health    core   health-so
202     SO.Run Get Request    ${GLOBAL_SO_APIHAND_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
203     SO.Run Get Request    ${GLOBAL_SO_SDCHAND_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
204     SO.Run Get Request    ${GLOBAL_SO_BPMN_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
205     SO.Run Get Request    ${GLOBAL_SO_CATDB_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
206     SO.Run Get Request    ${GLOBAL_SO_OPENSTACK_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
207     SO.Run Get Request    ${GLOBAL_SO_REQDB_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
208     SO.Run Get Request    ${GLOBAL_SO_SDNC_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
209     SO.Run Get Request    ${GLOBAL_SO_VFC_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
210     SO.Run Get Request    ${GLOBAL_SO_VNFM_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
211
212 Basic UseCaseUI API Health Check
213     [Tags]    health    api    medium   health-uui
214     Run MSB Get Request    /iui/usecaseui/
215
216 Basic VFC gvnfmdriver API Health Check
217     [Tags]    health    3rdparty   health-vfc
218     Run MSB Get Request    /api/gvnfmdriver/v1/health_check
219
220 Basic VFC huaweivnfmdriver API Health Check
221     [Tags]    health    3rdparty   health-vfc
222     Run MSB Get Request    /api/huaweivnfmdriver/v1/swagger.json
223
224 Basic VFC nslcm API Health Check
225     [Tags]    health    api   health-vfc
226     Run MSB Get Request    /api/nslcm/v1/health_check
227
228 Basic VFC vnflcm API Health Check
229     [Tags]    health    api  health-vfc
230     Run MSB Get Request    /api/vnflcm/v1/health_check
231
232 Basic VFC vnfmgr API Health Check
233     [Tags]    health    api  health-vfc
234     Run MSB Get Request    /api/vnfmgr/v1/health_check
235
236 Basic VFC vnfres API Health Check
237     [Tags]    health    api   health-vfc
238     Run MSB Get Request    /api/vnfres/v1/health_check
239
240 Basic VFC ztevnfmdriver API Health Check
241     [Tags]    health    3rdparty   health-vfc
242     Run MSB Get Request    /api/ztevnfmdriver/v1/health_check
243
244 Basic VNFSDK Health Check
245     [Tags]    health    health-vnfsdk
246     Run VNFSDK Health Check
247
248 Health Distribution Test
249     [Tags]    healthdist
250     [Timeout]    1200
251     Model Distribution For Directory With Teardown   vFW
252
253 Portal Login Tests
254     [Tags]    healthlogin
255     [Timeout]   120
256     Run Portal Login Tests
257
258 Portal Application Access Tests
259     [Tags]    healthportalapp
260     [Timeout]    900
261     Run Portal Application Access Tests
262
263 Portal SDC Application Access Test
264     [Tags]    healthportalapp2
265     [Timeout]    180
266     Run Portal Application Login Test   cs0008   demo123456!   gridster-SDC-icon-link   tabframe-SDC    Welcome to SDC
267     Close All Browsers
268
269 Portal VID Application Access Test
270     [Tags]    healthportalapp2
271     [Timeout]    180
272     Run Portal Application Login Test   demo    demo123456!  gridster-Virtual-Infrastructure-Deployment-icon-link   tabframe-Virtual-Infrastructure-Deployment    Welcome to VID
273     Close All Browsers
274
275 Portal A&AI UI Application Access Test
276     [Tags]    healthportalapp2
277     [Timeout]    180
278     Run Portal Application Login Test   demo    demo123456!  gridster-A&AI-UI-icon-link   tabframe-A&AI-UI    A&AI
279     Close All Browsers
280
281 Portal Policy Editor Application Access Test
282     [Tags]    healthportalapp2
283     [Timeout]    180
284     Run Portal Application Login Test   demo    demo123456!  gridster-Policy-icon-link   tabframe-Policy    Policy Editor
285     Close All Browsers
286
287 Portal SO Monitoring Application Access Test
288     [Tags]    healthportalapp2
289     [Timeout]    180
290     Run Portal Application Login Test   demo    demo123456!  gridster-SO-Monitoring-icon-link   tabframe-SO-Monitoring   SO
291     Close All Browsers
292
293 Portal xDemo APP Application Access Test
294     [Tags]    healthportalapp2
295     [Timeout]    180
296     Run Portal Application Login Test   demo    demo123456!  gridster-xDemo-App-icon-link   tabframe-xDemo-App   xDemo
297     Close All Browsers
298
299 Portal CLI Application Access Test
300     [Tags]    healthportalapp2
301     [Timeout]    180
302     Run Portal Application Login Test   demo    demo123456!  gridster-CLI-icon-link   tabframe-CLI   CLI
303     Close All Browsers
304
305
306 Basic Holmes Rule Management API Health Check
307     [Tags]    health-holmes    health
308     Run Holmes Rule Mgmt Healthcheck
309
310 Basic Holmes Engine Management API Health Check
311     [Tags]    health-holmes    health
312     Run Holmes Engine Mgmt Healthcheck
313
314 Basic Multicloud-fcaps API Health Check
315     [Tags]    health    multicloud   health-multicloud
316     Run MSB Get Request    /api/multicloud-fcaps/v1/healthcheck
317
318 Basic Modeling genericparser API Health Check
319     [Tags]    health    api   health-modeling
320     Run MSB Get Request    /api/parser/v1/health_check
321
322 Enhanced CDS Health Check
323     [Tags]    health    small   health-cds
324     Run CDS Basic Health Check
325     Run CDS Create Data Dictionary Health Check
326     Run CDS GET Data Dictionary Health Check
327     Run CDS Bootstrap Health Check
328     Run CDS Enrich CBA Health Check
329     Run CDS Publish CBA Health Check
330     Run CDS Process CBA Health Check
331     Run CDS Delete CBA Health Check
332
333 Mariadb Galera Pod Connectivity Test
334     [Tags]    health-mariadb-galera
335     Check for Mariadb Galera Pod Connection
336
337 Mariadb Galera SO Connectivity Test
338     [Tags]    health-mariadb-galera
339     Check for SO Databases Connection