aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/test_templates/model_test_template_vcperescust.robot
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2024-11-05 18:22:30 +0100
committerAndreas Geissler <andreas-geissler@telekom.de>2024-11-08 11:42:55 +0100
commit69fd079507e6a4500c2117b7dad31fa81b7e1299 (patch)
treea55826ede16537d8087c122ec38b00028aa18479 /robot/resources/test_templates/model_test_template_vcperescust.robot
parentb3cf372e63b153b19ec685782300ec2bd07875ac (diff)
Update deprecated :FOR loopsHEADmaster
Update SDNC APIs Issue-ID: OOM-3301 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I515e503abef90f3aaa3733d7518d6e738173100e
Diffstat (limited to 'robot/resources/test_templates/model_test_template_vcperescust.robot')
-rw-r--r--robot/resources/test_templates/model_test_template_vcperescust.robot15
1 files changed, 8 insertions, 7 deletions
diff --git a/robot/resources/test_templates/model_test_template_vcperescust.robot b/robot/resources/test_templates/model_test_template_vcperescust.robot
index 06df414d..4ff62a64 100644
--- a/robot/resources/test_templates/model_test_template_vcperescust.robot
+++ b/robot/resources/test_templates/model_test_template_vcperescust.robot
@@ -22,13 +22,14 @@ Model Distribution For vCPEResCust Directory
${service_name}= Catenate ${service} ${uuid}
${shortened_uuid}= Evaluate str("${service_name}")[:23]
${catalog_service_name}= Set Variable If '${catalog_service_name}' =='' ${shortened_uuid} ${catalog_service_name}
- :FOR ${directory} IN @{directory_list}
- \ ${zipname}= Replace String ${directory} / _
- \ ${zip}= Catenate ${SDC_ZIP_DIRECTORY}/${zipname}.zip
- \ ${folder}= Catenate ${SDC_ASSETS_DIRECTORY}/${directory}
- \ OperatingSystem.Create Directory ${SDC_ASSETS_DIRECTORY}/temp
- \ Create Zip From Files In Directory ${folder} ${zip}
- \ Append To List ${ziplist} ${zip}
+ FOR ${directory} IN @{directory_list}
+ ${zipname}= Replace String ${directory} / _
+ ${zip}= Catenate ${SDC_ZIP_DIRECTORY}/${zipname}.zip
+ ${folder}= Catenate ${SDC_ASSETS_DIRECTORY}/${directory}
+ OperatingSystem.Create Directory ${SDC_ASSETS_DIRECTORY}/temp
+ Create Zip From Files In Directory ${folder} ${zip}
+ Append To List ${ziplist} ${zip}
+ END
${catalog_service_name} ${catalog_resource_name} ${vf_modules} ${catalog_resource_ids} ${catalog_service_id} ${catalog_resources} Distribute vCPEResCust Model From SDC ${ziplist} ${catalog_service_name} ${cds} ${service}
Download CSAR ${catalog_service_id}
[Return] ${catalog_service_name} ${catalog_resource_name} ${vf_modules} ${catalog_resources}