summaryrefslogtreecommitdiffstats
path: root/robot/resources/test_templates/model_test_template.robot
diff options
context:
space:
mode:
Diffstat (limited to 'robot/resources/test_templates/model_test_template.robot')
-rw-r--r--robot/resources/test_templates/model_test_template.robot24
1 files changed, 12 insertions, 12 deletions
diff --git a/robot/resources/test_templates/model_test_template.robot b/robot/resources/test_templates/model_test_template.robot
index b327295b..8ba9349e 100644
--- a/robot/resources/test_templates/model_test_template.robot
+++ b/robot/resources/test_templates/model_test_template.robot
@@ -1,16 +1,16 @@
*** Settings ***
-Documentation The main interface for interacting with ASDC. It handles low level stuff like managing the http request library and DCAE required fields
+Documentation Model distribution
Library OperatingSystem
Library ArchiveLibrary
Library Collections
Library String
Library DateTime
Library ONAPLibrary.ServiceMapping WITH NAME ServiceMapping
-Resource ../asdc_interface.robot
+Resource ../sdc_interface.robot
*** Variables ***
-${ASDC_ASSETS_DIRECTORY} ${GLOBAL_HEAT_TEMPLATES_FOLDER}
-${ASDC_ZIP_DIRECTORY} ${ASDC_ASSETS_DIRECTORY}/temp
+${SDC_ASSETS_DIRECTORY} ${GLOBAL_HEAT_TEMPLATES_FOLDER}
+${SDC_ZIP_DIRECTORY} ${SDC_ASSETS_DIRECTORY}/temp
*** Keywords ***
Model Distribution For Directory With Teardown
@@ -29,12 +29,12 @@ Model Distribution For Directory
${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 ${ASDC_ZIP_DIRECTORY}/${zipname}.zip
- \ ${folder}= Catenate ${ASDC_ASSETS_DIRECTORY}/${directory}
- \ OperatingSystem.Create Directory ${ASDC_ASSETS_DIRECTORY}/temp
+ \ ${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}
- ${catalog_service_name} ${catalog_resource_name} ${vf_modules} ${catalog_resource_ids} ${catalog_service_id} ${catalog_resources} Distribute Model From ASDC ${ziplist} ${catalog_service_name} ${cds} ${service}
+ ${catalog_service_name} ${catalog_resource_name} ${vf_modules} ${catalog_resource_ids} ${catalog_service_id} ${catalog_resources} Distribute 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} ${catalog_resource_ids} ${catalog_service_id}
@@ -43,7 +43,7 @@ Teardown Models
[Arguments] ${catalog_service_id} ${catalog_resource_ids}
Return From Keyword If '${catalog_service_id}' == ''
:FOR ${catalog_resource_id} IN @{catalog_resource_ids}
- \ ${resourece_json}= Mark ASDC Catalog Resource Inactive ${catalog_resource_id}
- ${service_json}= Mark ASDC Catalog Service Inactive ${catalog_service_id}
- ${services_json}= Delete Inactive ASDC Catalog Services
- ${resources_json}= Delete Inactive ASDC Catalog Resources \ No newline at end of file
+ \ ${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