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