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