Remove deprecated Policy Component Tests
[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
139 Basic Pomba AAI-context-builder Health Check
140     [Tags]    oom   health-pomba
141     Run Pomba Aai Context Builder Health Check
142
143 Basic Pomba SDC-context-builder Health Check
144     [Tags]    oom   health-pomba
145     Run Pomba Sdc Context Builder Health Check
146
147 Basic Pomba Network-discovery-context-builder Health Check
148     [Tags]    oom   health-pomba
149     Run Pomba Network Discovery Context Builder Health Check
150
151 Basic Pomba Service-Decomposition Health Check
152     [Tags]    oom   health-pomba
153     Run Pomba Service Decomposition Health Check
154
155 Basic Pomba Network-Discovery-MicroService Health Check
156     [Tags]    oom  health-pomba
157     Run Pomba Network Discovery MicroService Health Check
158
159 Basic Pomba Pomba-Kibana Health Check
160     [Tags]    oom   health-pomba
161     Run Pomba Kibana Health Check
162
163 Basic Pomba Elastic-Search Health Check
164     [Tags]    oom   health-pomba
165     Run Pomba Elastic Search Health Check
166
167 Basic Pomba Sdnc-Context-Builder Health Check
168     [Tags]    oom   health-pomba
169     Run Pomba Sdnc Context Builder Health Check
170
171 Basic Pomba Context-Aggregator Health Check
172     [Tags]    oom   health-pomba
173     Run Pomba Context Aggregator Health Check
174
175 Basic Portal Health Check
176     [Tags]    health    core   health-portal
177     Run Portal Health Check
178
179 Basic SDC Health Check
180     [Tags]    health    core   health-sdc
181     Run SDC Health Check
182
183 Basic SDNC Health Check
184     [Tags]    health    core   health-sdnc
185     Run SDNC Health Check
186
187 Basic SO Health Check
188     [Tags]    health    core   health-so
189     SO.Run Get Request    ${GLOBAL_SO_APIHAND_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
190     SO.Run Get Request    ${GLOBAL_SO_SDCHAND_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
191     SO.Run Get Request    ${GLOBAL_SO_BPMN_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
192     SO.Run Get Request    ${GLOBAL_SO_CATDB_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
193     SO.Run Get Request    ${GLOBAL_SO_OPENSTACK_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
194     SO.Run Get Request    ${GLOBAL_SO_REQDB_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
195     SO.Run Get Request    ${GLOBAL_SO_SDNC_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
196     SO.Run Get Request    ${GLOBAL_SO_VFC_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
197     SO.Run Get Request    ${GLOBAL_SO_VNFM_ENDPOINT}    ${GLOBAL_SO_HEALTH_CHECK_PATH}
198
199 Basic UseCaseUI API Health Check
200     [Tags]    health    api    medium   health-uui
201     Run MSB Get Request    /iui/usecaseui/
202
203 Basic VFC gvnfmdriver API Health Check
204     [Tags]    health    3rdparty   health-vfc
205     Run MSB Get Request    /api/gvnfmdriver/v1/health_check
206
207 Basic VFC huaweivnfmdriver API Health Check
208     [Tags]    health    3rdparty   health-vfc
209     Run MSB Get Request    /api/huaweivnfmdriver/v1/swagger.json
210
211 Basic VFC nslcm API Health Check
212     [Tags]    health    api   health-vfc
213     Run MSB Get Request    /api/nslcm/v1/health_check
214
215 Basic VFC vnflcm API Health Check
216     [Tags]    health    api  health-vfc
217     Run MSB Get Request    /api/vnflcm/v1/health_check
218
219 Basic VFC vnfmgr API Health Check
220     [Tags]    health    api  health-vfc
221     Run MSB Get Request    /api/vnfmgr/v1/health_check
222
223 Basic VFC vnfres API Health Check
224     [Tags]    health    api   health-vfc
225     Run MSB Get Request    /api/vnfres/v1/health_check
226
227 Basic VFC ztevnfmdriver API Health Check
228     [Tags]    health    3rdparty   health-vfc
229     Run MSB Get Request    /api/ztevnfmdriver/v1/health_check
230
231 Basic VID Health Check
232     [Tags]    health    small  health-vid
233     [Timeout]    120
234     Setup Browser
235     Run VID Health Check
236
237 Basic VNFSDK Health Check
238     [Tags]    health    health-vnfsdk
239     Run VNFSDK Health Check
240
241 Health Distribution Test
242     [Tags]    healthdist
243     [Timeout]    1200
244     Model Distribution For Directory With Teardown   vFW
245
246 Portal Login Tests
247     [Tags]    healthlogin
248     [Timeout]   120
249     Run Portal Login Tests
250
251 Portal Application Access Tests
252     [Tags]    healthportalapp
253     [Timeout]    900
254     Run Portal Application Access Tests
255
256 Portal SDC Application Access Test
257     [Tags]    healthportalapp2
258     [Timeout]    180
259     Run Portal Application Login Test   cs0008   demo123456!   gridster-SDC-icon-link   tabframe-SDC    Welcome to SDC
260     Close All Browsers
261
262 Portal VID Application Access Test
263     [Tags]    healthportalapp2
264     [Timeout]    180
265     Run Portal Application Login Test   demo    demo123456!  gridster-Virtual-Infrastructure-Deployment-icon-link   tabframe-Virtual-Infrastructure-Deployment    Welcome to VID
266     Close All Browsers
267
268 Portal A&AI UI Application Access Test
269     [Tags]    healthportalapp2
270     [Timeout]    180
271     Run Portal Application Login Test   demo    demo123456!  gridster-A&AI-UI-icon-link   tabframe-A&AI-UI    A&AI
272     Close All Browsers
273
274 Portal Policy Editor Application Access Test
275     [Tags]    healthportalapp2
276     [Timeout]    180
277     Run Portal Application Login Test   demo    demo123456!  gridster-Policy-icon-link   tabframe-Policy    Policy Editor
278     Close All Browsers
279
280 Portal SO Monitoring Application Access Test
281     [Tags]    healthportalapp2
282     [Timeout]    180
283     Run Portal Application Login Test   demo    demo123456!  gridster-SO-Monitoring-icon-link   tabframe-SO-Monitoring   SO
284     Close All Browsers
285
286 Portal xDemo APP Application Access Test
287     [Tags]    healthportalapp2
288     [Timeout]    180
289     Run Portal Application Login Test   demo    demo123456!  gridster-xDemo-App-icon-link   tabframe-xDemo-App   xDemo
290     Close All Browsers
291
292 Portal CLI Application Access Test
293     [Tags]    healthportalapp2
294     [Timeout]    180
295     Run Portal Application Login Test   demo    demo123456!  gridster-CLI-icon-link   tabframe-CLI   CLI
296     Close All Browsers
297
298
299 Basic Holmes Rule Management API Health Check
300     [Tags]    health-dcaegen2
301     Run Holmes Rule Mgmt Healthcheck
302
303 Basic Holmes Engine Management API Health Check
304     [Tags]    health-dcaegen2
305     Run Holmes Engine Mgmt Healthcheck
306
307 Basic Multicloud-fcaps API Health Check
308     [Tags]    health    multicloud   health-multicloud
309     Run MSB Get Request    /api/multicloud-fcaps/v1/healthcheck
310
311 Basic Modeling genericparser API Health Check
312     [Tags]    health    api   health-modeling
313     Run MSB Get Request    /api/parser/v1/health_check
314
315 Basic CDS Health Check
316     [Tags]    health    medium   health-cds
317     Run CDS Health Check