aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/test_templates/model_test_template.robot
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2020-03-05 15:53:41 -0500
committerBrian Freeman <bf1936@att.com>2020-03-05 15:54:14 -0500
commitcc3c8693fe88fa6bdedbeba27cc7931ca0578874 (patch)
tree74f597a244c9f0cb1b7db198b264c038d57df8fa /robot/resources/test_templates/model_test_template.robot
parent34c77b76c47e3a628bdcf8083c84c4d503149670 (diff)
Update healthdist for new SDC
Issue-ID: INT-1326 Change-Id: I6ef4b1f3e7eaaf032ff4891fbfe3b06ccf0b0e0a Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot/resources/test_templates/model_test_template.robot')
-rw-r--r--robot/resources/test_templates/model_test_template.robot4
1 files changed, 3 insertions, 1 deletions
diff --git a/robot/resources/test_templates/model_test_template.robot b/robot/resources/test_templates/model_test_template.robot
index 7dc5adbd..49e3d3cc 100644
--- a/robot/resources/test_templates/model_test_template.robot
+++ b/robot/resources/test_templates/model_test_template.robot
@@ -27,6 +27,8 @@ Model Distribution For Directory
${ziplist}= Create List
${uuid}= Get Current Date
${service_name}= Catenate ${service} ${uuid}
+ # ':' is not an allowed character in the service_name. '-' is allowed
+ S{service_name}= Replace String ${service_name} : -
${shortened_uuid}= Evaluate str("${service_name}")[:23]
${catalog_service_name}= Set Variable If '${catalog_service_name}' =='' ${shortened_uuid} ${catalog_service_name}
Run Keyword If '${resourceType}'=='PNF' Create CSARSs in SDC Onboarding Packages Directory ${directory_list} ${ziplist}
@@ -85,4 +87,4 @@ Teardown Models
\ ${resourece_json}= Mark SDC Catalog Resource Inactive ${catalog_resource_id}
${service_json}= Mark SDC Catalog Service Inactive ${catalog_service_id}
${services_json}= Delete Inactive SDC Catalog Services
- ${resources_json}= Delete Inactive SDC Catalog Resources \ No newline at end of file
+ ${resources_json}= Delete Inactive SDC Catalog Resources