Enhanced SDC Healthcheck
[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 Enhanced A&AI Health Check
39     [Tags]    health    core  health-aai
40     Run Resource API AAI Inventory check
41     Run Traversal API AAI Inventory check
42
43 Basic AAF Health Check
44     [Tags]    health    small  health-aaf
45     Run AAF Health Check
46
47 Basic AAF SMS Health Check
48     [Tags]    health    small  health-aaf
49     Run SMS Health Check
50
51 Basic APPC Health Check
52     [Tags]    health    small   health-appc
53     Run APPC 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    medium  health-clamp
61     Run CLAMP Health Check
62
63 Basic DCAE Health Check
64     [Tags]    health    medium   health-dcaegen2
65     Run DCAE 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 DMAAP Bus Controller Health Check With Basic Auth
81     [Tags]    health    health-dmaap
82     Run BC Health Check With Basic Auth
83
84 Basic External API NBI Health Check
85     [Tags]    health    externalapi    api    small
86     Run NBI Health Check
87
88 Basic Log Elasticsearch Health Check
89     [Tags]    oom   health-log
90     Run Log Elasticsearch Health Check
91
92 Basic Log Kibana Health Check
93     [Tags]    oom   health-log
94     Run Log Kibana Health Check
95
96 Basic Log Logstash Health Check
97     [Tags]    oom   health-log
98     Run Log Logstash Health Check
99
100 Basic Microservice Bus Health Check
101     [Tags]    health    small  health-msb
102     Run MSB Health Check
103
104 Basic Multicloud API Health Check
105     [Tags]    health    multicloud    small  health-multicloud
106     Run MSB Get Request    /api/multicloud/v0/swagger.json
107
108 Basic Multicloud-pike API Health Check
109     [Tags]    health    multicloud    small   health-multicloud
110     Run MSB Get Request    /api/multicloud-pike/v0/swagger.json
111
112 Basic Multicloud-starlingx API Health Check
113     [Tags]    health    multicloud   health-multicloud
114     Run MSB Get Request    /api/multicloud-starlingx/v0/swagger.json
115
116 Basic Multicloud-titanium_cloud API Health Check
117     [Tags]    health    multicloud   health-multicloud
118     Run MSB Get Request    /api/multicloud-titaniumcloud/v1/swagger.json
119
120 Basic Multicloud-vio API Health Check
121     [Tags]    health    multicloud   health-multicloud
122     Run MSB Get Request    /api/multicloud-vio/v0/swagger.json
123
124 Basic Multicloud-k8s API Health Check
125     [Tags]    health    multicloud   health-multicloud
126     Run MSB Get Request    /api/multicloud-k8s/v1/v1/healthcheck
127
128 Basic OOF-Homing Health Check
129     [Tags]    health    medium   health-oof
130     Run OOF-Homing Health Check
131
132 Basic OOF-OSDF Health Check
133     [Tags]    health    medium  health-oof
134     Run OOF-OSDF Health Check
135
136 Basic OOF-CMSO Health Check
137     [Tags]    health    medium  health-oof
138     Run OOF-CMSO 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     Run Create Policy Post Request
147     Run Get Policy Get Request
148     Run Deploy Policy Pap Post Request
149     Run Undeploy Policy
150     Run Delete Policy Request
151
152 Basic Pomba AAI-context-builder Health Check
153     [Tags]    oom   health-pomba
154     Run Pomba Aai Context Builder Health Check
155
156 Basic Pomba SDC-context-builder Health Check
157     [Tags]    oom   health-pomba
158     Run Pomba Sdc Context Builder Health Check
159
160 Basic Pomba Network-discovery-context-builder Health Check
161     [Tags]    oom   health-pomba
162     Run Pomba Network Discovery Context Builder Health Check
163
164 Basic Pomba Service-Decomposition Health Check
165     [Tags]    oom   health-pomba
166     Run Pomba Service Decomposition Health Check
167
168 Basic Pomba Network-Discovery-MicroService Health Check
169     [Tags]    oom  health-pomba
170     Run Pomba Network Discovery MicroService Health Check
171
172 Basic Pomba Pomba-Kibana Health Check
173     [Tags]    oom   health-pomba
174     Run Pomba Kibana Health Check
175
176 Basic Pomba Elastic-Search Health Check
177     [Tags]    oom   health-pomba
178     Run Pomba Elastic Search Health Check
179
180 Basic Pomba Sdnc-Context-Builder Health Check
181     [Tags]    oom   health-pomba
182     Run Pomba Sdnc Context Builder Health Check
183
184 Basic Pomba Context-Aggregator Health Check
185     [Tags]    oom   health-pomba
186     Run Pomba Context Aggregator Health Check
187
188 Basic Portal Health Check
189     [Tags]    health    core   health-portal
190     Run Portal Health Check
191
192 Basic SDC Health Check
193     [Tags]    health    core   health-sdc
194     Run SDC Health Check
195
196 Enhanced SDC Health Check
197     [Tags]    health    core   health-sdc
198     Run SDC BE ONBOARD Healthcheck
199     Run SDC BE Healthcheck
200
201 Basic SDNC Health Check
202     [Tags]    health    core   health-sdnc
203     Run SDNC Health Check
204
205 Enhanced SDNC Health Check
206     [Tags]    health    core   health-sdnc
207     Run SDNC Health Check Generic Resource API
208
209 Basic SO Health Check
210     [Tags]    health    core   health-so
211     SO.Run Get Request    ${GLOBAL_SO_APIHAND_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
212     SO.Run Get Request    ${GLOBAL_SO_SDCHAND_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
213     SO.Run Get Request    ${GLOBAL_SO_BPMN_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
214     SO.Run Get Request    ${GLOBAL_SO_CATDB_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
215     SO.Run Get Request    ${GLOBAL_SO_OPENSTACK_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
216     SO.Run Get Request    ${GLOBAL_SO_REQDB_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
217     SO.Run Get Request    ${GLOBAL_SO_SDNC_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
218     SO.Run Get Request    ${GLOBAL_SO_VFC_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
219     SO.Run Get Request    ${GLOBAL_SO_VNFM_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
220
221 Basic UseCaseUI API Health Check
222     [Tags]    health    api    medium   health-uui
223     Run MSB Get Request    /iui/usecaseui/
224
225 Basic VFC gvnfmdriver API Health Check
226     [Tags]    health    3rdparty   health-vfc
227     Run MSB Get Request    /api/gvnfmdriver/v1/health_check
228
229 Basic VFC huaweivnfmdriver API Health Check
230     [Tags]    health    3rdparty   health-vfc
231     Run MSB Get Request    /api/huaweivnfmdriver/v1/swagger.json
232
233 Basic VFC nslcm API Health Check
234     [Tags]    health    api   health-vfc
235     Run MSB Get Request    /api/nslcm/v1/health_check
236
237 Basic VFC vnflcm API Health Check
238     [Tags]    health    api  health-vfc
239     Run MSB Get Request    /api/vnflcm/v1/health_check
240
241 Basic VFC vnfmgr API Health Check
242     [Tags]    health    api  health-vfc
243     Run MSB Get Request    /api/vnfmgr/v1/health_check
244
245 Basic VFC vnfres API Health Check
246     [Tags]    health    api   health-vfc
247     Run MSB Get Request    /api/vnfres/v1/health_check
248
249 Basic VFC ztevnfmdriver API Health Check
250     [Tags]    health    3rdparty   health-vfc
251     Run MSB Get Request    /api/ztevnfmdriver/v1/health_check
252
253 Basic VID Health Check
254     [Tags]    health    small  health-vid
255     [Timeout]    120
256     Setup Browser
257     Run VID Health Check
258
259 Basic VNFSDK Health Check
260     [Tags]    health    health-vnfsdk
261     Run VNFSDK Health Check
262
263 Health Distribution Test
264     [Tags]    healthdist
265     [Timeout]    1200
266     Model Distribution For Directory With Teardown   vFW
267
268 Portal Login Tests
269     [Tags]    healthlogin
270     [Timeout]   120
271     Run Portal Login Tests
272
273 Portal Application Access Tests
274     [Tags]    healthportalapp
275     [Timeout]    900
276     Run Portal Application Access Tests
277
278 Portal SDC Application Access Test
279     [Tags]    healthportalapp2
280     [Timeout]    180
281     Run Portal Application Login Test   cs0008   demo123456!   gridster-SDC-icon-link   tabframe-SDC    Welcome to SDC
282     Close All Browsers
283
284 Portal VID Application Access Test
285     [Tags]    healthportalapp2
286     [Timeout]    180
287     Run Portal Application Login Test   demo    demo123456!  gridster-Virtual-Infrastructure-Deployment-icon-link   tabframe-Virtual-Infrastructure-Deployment    Welcome to VID
288     Close All Browsers
289
290 Portal A&AI UI Application Access Test
291     [Tags]    healthportalapp2
292     [Timeout]    180
293     Run Portal Application Login Test   demo    demo123456!  gridster-A&AI-UI-icon-link   tabframe-A&AI-UI    A&AI
294     Close All Browsers
295
296 Portal Policy Editor Application Access Test
297     [Tags]    healthportalapp2
298     [Timeout]    180
299     Run Portal Application Login Test   demo    demo123456!  gridster-Policy-icon-link   tabframe-Policy    Policy Editor
300     Close All Browsers
301
302 Portal SO Monitoring Application Access Test
303     [Tags]    healthportalapp2
304     [Timeout]    180
305     Run Portal Application Login Test   demo    demo123456!  gridster-SO-Monitoring-icon-link   tabframe-SO-Monitoring   SO
306     Close All Browsers
307
308 Portal xDemo APP Application Access Test
309     [Tags]    healthportalapp2
310     [Timeout]    180
311     Run Portal Application Login Test   demo    demo123456!  gridster-xDemo-App-icon-link   tabframe-xDemo-App   xDemo
312     Close All Browsers
313
314 Portal CLI Application Access Test
315     [Tags]    healthportalapp2
316     [Timeout]    180
317     Run Portal Application Login Test   demo    demo123456!  gridster-CLI-icon-link   tabframe-CLI   CLI
318     Close All Browsers
319
320
321 Basic Holmes Rule Management API Health Check
322     [Tags]    health-dcaegen2
323     Run Holmes Rule Mgmt Healthcheck
324
325 Basic Holmes Engine Management API Health Check
326     [Tags]    health-dcaegen2
327     Run Holmes Engine Mgmt Healthcheck
328
329 Basic Multicloud-fcaps API Health Check
330     [Tags]    health    multicloud   health-multicloud
331     Run MSB Get Request    /api/multicloud-fcaps/v1/healthcheck
332
333 Basic Modeling genericparser API Health Check
334     [Tags]    health    api   health-modeling
335     Run MSB Get Request    /api/parser/v1/health_check
336
337 Basic CDS Health Check
338     [Tags]    health    medium   health-cds
339     Run CDS Health Check