5624b84142158a0c044dd91943bade5517c63bd7
[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 Basic SDNC Health Check
197     [Tags]    health    core   health-sdnc
198     Run SDNC Health Check
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 VID Health Check
245     [Tags]    health    small  health-vid
246     [Timeout]    120
247     Setup Browser
248     Run VID Health Check
249
250 Basic VNFSDK Health Check
251     [Tags]    health    health-vnfsdk
252     Run VNFSDK Health Check
253
254 Health Distribution Test
255     [Tags]    healthdist
256     [Timeout]    1200
257     Model Distribution For Directory With Teardown   vFW
258
259 Portal Login Tests
260     [Tags]    healthlogin
261     [Timeout]   120
262     Run Portal Login Tests
263
264 Portal Application Access Tests
265     [Tags]    healthportalapp
266     [Timeout]    900
267     Run Portal Application Access Tests
268
269 Portal SDC Application Access Test
270     [Tags]    healthportalapp2
271     [Timeout]    180
272     Run Portal Application Login Test   cs0008   demo123456!   gridster-SDC-icon-link   tabframe-SDC    Welcome to SDC
273     Close All Browsers
274
275 Portal VID Application Access Test
276     [Tags]    healthportalapp2
277     [Timeout]    180
278     Run Portal Application Login Test   demo    demo123456!  gridster-Virtual-Infrastructure-Deployment-icon-link   tabframe-Virtual-Infrastructure-Deployment    Welcome to VID
279     Close All Browsers
280
281 Portal A&AI UI Application Access Test
282     [Tags]    healthportalapp2
283     [Timeout]    180
284     Run Portal Application Login Test   demo    demo123456!  gridster-A&AI-UI-icon-link   tabframe-A&AI-UI    A&AI
285     Close All Browsers
286
287 Portal Policy Editor Application Access Test
288     [Tags]    healthportalapp2
289     [Timeout]    180
290     Run Portal Application Login Test   demo    demo123456!  gridster-Policy-icon-link   tabframe-Policy    Policy Editor
291     Close All Browsers
292
293 Portal SO Monitoring Application Access Test
294     [Tags]    healthportalapp2
295     [Timeout]    180
296     Run Portal Application Login Test   demo    demo123456!  gridster-SO-Monitoring-icon-link   tabframe-SO-Monitoring   SO
297     Close All Browsers
298
299 Portal xDemo APP Application Access Test
300     [Tags]    healthportalapp2
301     [Timeout]    180
302     Run Portal Application Login Test   demo    demo123456!  gridster-xDemo-App-icon-link   tabframe-xDemo-App   xDemo
303     Close All Browsers
304
305 Portal CLI Application Access Test
306     [Tags]    healthportalapp2
307     [Timeout]    180
308     Run Portal Application Login Test   demo    demo123456!  gridster-CLI-icon-link   tabframe-CLI   CLI
309     Close All Browsers
310
311
312 Basic Holmes Rule Management API Health Check
313     [Tags]    health-dcaegen2
314     Run Holmes Rule Mgmt Healthcheck
315
316 Basic Holmes Engine Management API Health Check
317     [Tags]    health-dcaegen2
318     Run Holmes Engine Mgmt Healthcheck
319
320 Basic Multicloud-fcaps API Health Check
321     [Tags]    health    multicloud   health-multicloud
322     Run MSB Get Request    /api/multicloud-fcaps/v1/healthcheck
323
324 Basic Modeling genericparser API Health Check
325     [Tags]    health    api   health-modeling
326     Run MSB Get Request    /api/parser/v1/health_check
327
328 Basic CDS Health Check
329     [Tags]    health    medium   health-cds
330     Run CDS Health Check