2 Resource sdc_interface.robot
3 Resource sdc_dcaed_interface.robot
6 # For now, this test case implements the steps described in
7 # https://wiki.onap.org/display/DW/How+to+Create+a+Service+with+a+Monitoring+Configuration+using+SDC
8 Create Service With Monitoring Configuration Test
10 [Documentation] Create a service with a monitoring configuration
12 ${unique_postfix}= sdc_interface.Generate Unique Postfix
13 ${test_vf_name}= Set Variable TestVF_${unique_postfix}
14 ${test_cs_name}= Set Variable TestService_${unique_postfix}
15 ${test_vfcmt_name}= Set Variable TestVFCMT_${unique_postfix}
16 ${test_mc_name}= Set Variable TestMC_${unique_postfix}
18 ${cert_vf_unique_id} ${cert_vf_uuid} sdc_interface.Onboard DCAE Microservice ${test_vf_name}
19 ${cert_vfcmt_uuid} sdc_dcaed_interface.Create Monitoring Template ${test_vfcmt_name} ${cert_vf_uuid}
20 ${cs_unique_id} ${cs_uuid} ${vfi_name} sdc_interface.Create Monitoring Configuration ${test_cs_name} ${cert_vf_unique_id} ${test_vf_name}
21 sdc_dcaed_interface.Create Monitoring Configuration To DCAE-DS ${cert_vfcmt_uuid} ${cs_uuid} ${vfi_name} ${test_mc_name}
22 sdc_interface.Certify And Approve SDC Catalog Service ${cs_unique_id}