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