From a724b23901805edec2c1c0953c2324fb45acca46 Mon Sep 17 00:00:00 2001 From: kaihlavi Date: Wed, 7 Aug 2019 12:37:17 +0300 Subject: Add SDC-DCAE-DS integration test Add initial end-to-end SDC integration test case including SDC-DCAE-DS via APIs to create a catalog service with monitoring configuration as described under https://wiki.onap.org/display/DW/How+to+Create+a+Service+with+a+Monitoring+Configuration+using+SDC This test case is adjusted for onapci from csit/tests/sdc-dcae-d/dcaed/ Please note that this commit changes commonly used sdc_interface.robot and affects all distribution test cases Issue-ID: SDC-2480 Signed-off-by: kaihlavi Change-Id: I8c7766d286f80431bfb8be60a8299ce98a4ae81f --- robot/testsuites/sdc-dcae-d.robot | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 robot/testsuites/sdc-dcae-d.robot (limited to 'robot/testsuites') diff --git a/robot/testsuites/sdc-dcae-d.robot b/robot/testsuites/sdc-dcae-d.robot new file mode 100644 index 00000000..f156657f --- /dev/null +++ b/robot/testsuites/sdc-dcae-d.robot @@ -0,0 +1,22 @@ +*** Settings *** +Resource ../resources/sdc_interface.robot +Resource ../resources/sdc_dcaed_interface.robot + +*** Test Cases *** +# This test case implements the steps described in +# https://wiki.onap.org/display/DW/How+to+Create+a+Service+with+a+Monitoring+Configuration+using+SDC +Create Service With Monitoring Configuration Test + [Tags] sdc-dcae-d + [Documentation] Create a service with a monitoring configuration + + ${unique_postfix}= sdc_interface.Generate Unique Postfix + ${test_vf_name}= Set Variable TestVF_${unique_postfix} + ${test_cs_name}= Set Variable TestService_${unique_postfix} + ${test_vfcmt_name}= Set Variable TestVFCMT_${unique_postfix} + ${test_mc_name}= Set Variable TestMC_${unique_postfix} + + ${cert_vf_unique_id} ${cert_vf_uuid} sdc_interface.Onboard DCAE Microservice ${test_vf_name} + ${cert_vfcmt_uuid} sdc_dcaed_interface.Create Monitoring Template ${test_vfcmt_name} ${cert_vf_uuid} + ${cs_unique_id} ${cs_uuid} ${vfi_name} sdc_interface.Create Monitoring Configuration ${test_cs_name} ${cert_vf_unique_id} ${test_vf_name} + sdc_dcaed_interface.Create Monitoring Configuration To DCAE-DS ${cert_vfcmt_uuid} ${cs_uuid} ${vfi_name} ${test_mc_name} + sdc_interface.Certify And Approve SDC Catalog Service ${cs_unique_id} -- cgit 1.2.3-korg