Add support for https tests for SDC-DCAE-D

This commit introduces a new set of variables for sdc-dcae-d test in the
same style as was for sdc tests. Some refactor had to be done to make it
work and make it less copy-pasted.

Issue-ID: SDC-2564

Change-Id: Ic0725dbc4643d0563594f28d2a772968e291f788
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
diff --git a/tests/sdc-dcae-d/dcaed/sdc_dcaed_interface.robot b/tests/sdc-dcae-d/dcaed/sdc_dcaed_interface.robot
index 6f95ebc..98e0251 100644
--- a/tests/sdc-dcae-d/dcaed/sdc_dcaed_interface.robot
+++ b/tests/sdc-dcae-d/dcaed/sdc_dcaed_interface.robot
@@ -11,7 +11,7 @@
 ${DCAE_VFCMT_TEMPLATE}   create_vfcmt.jinja
 ${DCAE_COMPOSITION_TEMPLATE}   dcae_composition.jinja
 ${DCAE_MONITORING_CONFIGURATION_TEMPLATE}   dcae_monitoring_configuration.jinja
-${DCAE_BE_ENDPOINT}   http://localhost:8082
+${DCAE_BE_ENDPOINT}   https://localhost:8444
 
 *** Keywords ***
 Create Monitoring Template
diff --git a/tests/sdc-dcae-d/dcaed/sdc_interface.robot b/tests/sdc-dcae-d/dcaed/sdc_interface.robot
index c1ceca4..6853fcc 100755
--- a/tests/sdc-dcae-d/dcaed/sdc_interface.robot
+++ b/tests/sdc-dcae-d/dcaed/sdc_interface.robot
@@ -22,7 +22,7 @@
 ${SDC_USER_REMARKS_TEMPLATE}    user_remarks.jinja
 ${SDC_RESOURCE_INSTANCE_TEMPLATE}    resource_instance.jinja
 
-${SDC_BE_ENDPOINT}  http://localhost:8080
+${SDC_BE_ENDPOINT}  ${SDC_BE_PROTOCOL}://localhost:${SDC_BE_PORT}
 
 *** Keywords ***
 Onboard DCAE Microservice