[OOF] Remove CMSO related test cases
[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 Policy Health Check
143     [Tags]    health    medium   health-policy
144     Run Policy Health Check
145
146 Enhanced Policy New Healthcheck
147     [Tags]    health    medium   health-policy
148     [Timeout]   60
149     Run Create Policy Post Request
150     Run Get Policy Get Request
151     Run Deploy Policy Pap Post Request
152     Run Undeploy Policy
153     Run Delete Policy Request
154
155 Basic Pomba AAI-context-builder Health Check
156     [Tags]    oom   health-pomba
157     Run Pomba Aai Context Builder Health Check
158
159 Basic Pomba SDC-context-builder Health Check
160     [Tags]    oom   health-pomba
161     Run Pomba Sdc Context Builder Health Check
162
163 Basic Pomba Network-discovery-context-builder Health Check
164     [Tags]    oom   health-pomba
165     Run Pomba Network Discovery Context Builder Health Check
166
167 Basic Pomba Service-Decomposition Health Check
168     [Tags]    oom   health-pomba
169     Run Pomba Service Decomposition Health Check
170
171 Basic Pomba Network-Discovery-MicroService Health Check
172     [Tags]    oom  health-pomba
173     Run Pomba Network Discovery MicroService Health Check
174
175 Basic Pomba Pomba-Kibana Health Check
176     [Tags]    oom   health-pomba
177     Run Pomba Kibana Health Check
178
179 Basic Pomba Elastic-Search Health Check
180     [Tags]    oom   health-pomba
181     Run Pomba Elastic Search Health Check
182
183 Basic Pomba Sdnc-Context-Builder Health Check
184     [Tags]    oom   health-pomba
185     Run Pomba Sdnc Context Builder Health Check
186
187 Basic Pomba Context-Aggregator Health Check
188     [Tags]    oom   health-pomba
189     Run Pomba Context Aggregator Health Check
190
191 Basic Portal Health Check
192     [Tags]    health    medium   health-portal
193     Run Portal Health Check
194
195 Basic SDC Health Check
196     [Tags]    health    core   health-sdc
197     Run SDC Health Check
198
199 Enhanced SDC Health Check
200     [Tags]    health    core   health-sdc
201     Run SDC BE ONBOARD Healthcheck
202     Run SDC BE Healthcheck
203
204 Basic SDNC Health Check
205     [Tags]    health    core   health-sdnc
206     Run SDNC Health Check
207
208 Enhanced SDNC Health Check
209     [Tags]    health    core   health-sdnc
210     Run SDNC Health Check Generic Resource API
211
212 Basic SO Health Check
213     [Tags]    health    core   health-so
214     SO.Run Get Request    ${GLOBAL_SO_APIHAND_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
215     SO.Run Get Request    ${GLOBAL_SO_SDCHAND_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
216     SO.Run Get Request    ${GLOBAL_SO_BPMN_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
217     SO.Run Get Request    ${GLOBAL_SO_CATDB_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
218     SO.Run Get Request    ${GLOBAL_SO_OPENSTACK_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
219     SO.Run Get Request    ${GLOBAL_SO_REQDB_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
220     SO.Run Get Request    ${GLOBAL_SO_SDNC_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
221     SO.Run Get Request    ${GLOBAL_SO_VFC_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
222     SO.Run Get Request    ${GLOBAL_SO_VNFM_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
223
224 Basic UseCaseUI API Health Check
225     [Tags]    health    api    medium   health-uui
226     Run MSB Get Request    /iui/usecaseui/
227
228 Basic VFC gvnfmdriver API Health Check
229     [Tags]    health    3rdparty   health-vfc
230     Run MSB Get Request    /api/gvnfmdriver/v1/health_check
231
232 Basic VFC huaweivnfmdriver API Health Check
233     [Tags]    health    3rdparty   health-vfc
234     Run MSB Get Request    /api/huaweivnfmdriver/v1/swagger.json
235
236 Basic VFC nslcm API Health Check
237     [Tags]    health    api   health-vfc
238     Run MSB Get Request    /api/nslcm/v1/health_check
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 ztevnfmdriver API Health Check
253     [Tags]    health    3rdparty   health-vfc
254     Run MSB Get Request    /api/ztevnfmdriver/v1/health_check
255
256 Basic VID Health Check
257     [Tags]    health    small  health-vid
258     [Timeout]    120
259     Setup Browser
260     Run VID Health Check
261
262 Basic VNFSDK Health Check
263     [Tags]    health    health-vnfsdk
264     Run VNFSDK Health Check
265
266 Health Distribution Test
267     [Tags]    healthdist
268     [Timeout]    1200
269     Model Distribution For Directory With Teardown   vFW
270
271 Portal Login Tests
272     [Tags]    healthlogin
273     [Timeout]   120
274     Run Portal Login Tests
275
276 Portal Application Access Tests
277     [Tags]    healthportalapp
278     [Timeout]    900
279     Run Portal Application Access Tests
280
281 Portal SDC Application Access Test
282     [Tags]    healthportalapp2
283     [Timeout]    180
284     Run Portal Application Login Test   cs0008   demo123456!   gridster-SDC-icon-link   tabframe-SDC    Welcome to SDC
285     Close All Browsers
286
287 Portal VID Application Access Test
288     [Tags]    healthportalapp2
289     [Timeout]    180
290     Run Portal Application Login Test   demo    demo123456!  gridster-Virtual-Infrastructure-Deployment-icon-link   tabframe-Virtual-Infrastructure-Deployment    Welcome to VID
291     Close All Browsers
292
293 Portal A&AI UI Application Access Test
294     [Tags]    healthportalapp2
295     [Timeout]    180
296     Run Portal Application Login Test   demo    demo123456!  gridster-A&AI-UI-icon-link   tabframe-A&AI-UI    A&AI
297     Close All Browsers
298
299 Portal Policy Editor Application Access Test
300     [Tags]    healthportalapp2
301     [Timeout]    180
302     Run Portal Application Login Test   demo    demo123456!  gridster-Policy-icon-link   tabframe-Policy    Policy Editor
303     Close All Browsers
304
305 Portal SO Monitoring Application Access Test
306     [Tags]    healthportalapp2
307     [Timeout]    180
308     Run Portal Application Login Test   demo    demo123456!  gridster-SO-Monitoring-icon-link   tabframe-SO-Monitoring   SO
309     Close All Browsers
310
311 Portal xDemo APP Application Access Test
312     [Tags]    healthportalapp2
313     [Timeout]    180
314     Run Portal Application Login Test   demo    demo123456!  gridster-xDemo-App-icon-link   tabframe-xDemo-App   xDemo
315     Close All Browsers
316
317 Portal CLI Application Access Test
318     [Tags]    healthportalapp2
319     [Timeout]    180
320     Run Portal Application Login Test   demo    demo123456!  gridster-CLI-icon-link   tabframe-CLI   CLI
321     Close All Browsers
322
323
324 Basic Holmes Rule Management API Health Check
325     [Tags]    health-holmes    health
326     Run Holmes Rule Mgmt Healthcheck
327
328 Basic Holmes Engine Management API Health Check
329     [Tags]    health-holmes    health
330     Run Holmes Engine Mgmt Healthcheck
331
332 Basic Multicloud-fcaps API Health Check
333     [Tags]    health    multicloud   health-multicloud
334     Run MSB Get Request    /api/multicloud-fcaps/v1/healthcheck
335
336 Basic Modeling genericparser API Health Check
337     [Tags]    health    api   health-modeling
338     Run MSB Get Request    /api/parser/v1/health_check
339
340 Enhanced CDS Health Check
341     [Tags]    health    small   health-cds
342     Run CDS Basic Health Check
343     Run CDS Create Data Dictionary Health Check
344     Run CDS GET Data Dictionary Health Check
345     Run CDS Bootstrap Health Check
346     Run CDS Enrich CBA Health Check
347     Run CDS Publish CBA Health Check
348     Run CDS Process CBA Health Check
349     Run CDS Delete CBA Health Check