From 2f825c423e59b36919a6e29f907932965497216a Mon Sep 17 00:00:00 2001 From: Hany Abdelbaki Date: Thu, 4 Jun 2020 19:10:10 +0200 Subject: change owning-entity-id from hard coded to variable in cds instantiateVLB_CDS, we need to pull owning entity id fro the env Issue-ID: TEST-234 Signed-off-by: Hany Abdelbaki Change-Id: Ifac642042129f7d197f31920eca056628e64f6c8 (cherry picked from commit ef0d3af475328e6047f3c89e672202b8d15c6cf3) --- robot/resources/so/direct_instantiate.robot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 robot/resources/so/direct_instantiate.robot diff --git a/robot/resources/so/direct_instantiate.robot b/robot/resources/so/direct_instantiate.robot old mode 100644 new mode 100755 index 2cceb602..1ecaaef7 --- a/robot/resources/so/direct_instantiate.robot +++ b/robot/resources/so/direct_instantiate.robot @@ -70,7 +70,8 @@ CDS Service Instantiate ${customized_time_stamp}= Remove String ${time_stamp} : ${cds_instance_name}= Set Variable cds_vlb_svc_${customized_time_stamp} ${global_parameters}= Get Globally Injected Parameters - ${dict}= Set To Dictionary ${global_parameters} service_instance_name=${cds_instance_name} owning_entity=OE-Demonstration homing_solution=none owning_entity_id=67f2e84c-734d-4e90-a1e4-d2ffa2e75849 subscriber_id=Demonstration cloud_owner=${GLOBAL_AAI_CLOUD_OWNER} subscription_service_type=vLB service_model_name=${cds_service_model} service_model_uuid=${service_uuid} service_model_invariantuuid=${service_invariantUUID} resp=${resp.json()} + ${owning_entity_id}= Get OwningEntity Id OE-Demonstration + ${dict}= Set To Dictionary ${global_parameters} service_instance_name=${cds_instance_name} owning_entity=OE-Demonstration homing_solution=none owning_entity_id=${owning_entity_id} subscriber_id=Demonstration cloud_owner=${GLOBAL_AAI_CLOUD_OWNER} subscription_service_type=vLB service_model_name=${cds_service_model} service_model_uuid=${service_uuid} service_model_invariantuuid=${service_invariantUUID} resp=${resp.json()} Templating.Create Environment cds ${GLOBAL_TEMPLATE_FOLDER} ${data}= Templating.Apply Template cds ${SO_TEMPLATE_PATH}/cds_service_template.jinja ${dict} Log ${data} -- cgit 1.2.3-korg