diff options
author | Hany Abdelbaki <habdelbaki.ext@orange.com> | 2020-06-04 19:10:10 +0200 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2020-06-11 12:36:08 +0000 |
commit | 2f825c423e59b36919a6e29f907932965497216a (patch) | |
tree | 758bdb3e66b89a1b3609f7e7ad9d8118d67b8c6f /robot/resources/so/direct_instantiate.robot | |
parent | 6ba032346a961f749f6f1ef965c31d0f5c691920 (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
(cherry picked from commit ef0d3af475328e6047f3c89e672202b8d15c6cf3)
Diffstat (limited to 'robot/resources/so/direct_instantiate.robot')
-rwxr-xr-x[-rw-r--r--] | robot/resources/so/direct_instantiate.robot | 3 |
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} |