aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources
diff options
context:
space:
mode:
authorHany Abdelbaki <habdelbaki.ext@orange.com>2020-06-04 19:10:10 +0200
committerAbdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>2020-06-10 23:06:49 +0000
commitef0d3af475328e6047f3c89e672202b8d15c6cf3 (patch)
tree1e6c6c52b705c3d01c8a30cc7c873fd54133ca5c /robot/resources
parentab644e4f1565651627434976ed4aab42971adcc7 (diff)
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 <habdelbaki.ext@orange.com> Change-Id: Ifac642042129f7d197f31920eca056628e64f6c8
Diffstat (limited to 'robot/resources')
-rwxr-xr-x[-rw-r--r--]robot/resources/so/direct_instantiate.robot3
1 files changed, 2 insertions, 1 deletions
diff --git a/robot/resources/so/direct_instantiate.robot b/robot/resources/so/direct_instantiate.robot
index 2cceb602..1ecaaef7 100644..100755
--- 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}