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