diff options
author | DR695H <dr695h@att.com> | 2019-07-26 16:42:36 -0400 |
---|---|---|
committer | Brian Freeman <bf1936@att.com> | 2019-07-29 21:17:12 +0000 |
commit | c0cf6a4765212cc66e364fa0eb43a2447366ce5b (patch) | |
tree | 2c06f76cf4e4767ec9193d1e956e60e4c0b78120 /robot/resources/test_templates/model_test_template_vcperescust.robot | |
parent | 48f75c98969feebfb151d469b5cb70054f2493c3 (diff) |
renaming openecomp to onap
Issue-ID: TEST-27
Change-Id: I8449025f1032719f04d0e283e12d9f9bc75542b7
Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/test_templates/model_test_template_vcperescust.robot')
-rw-r--r-- | robot/resources/test_templates/model_test_template_vcperescust.robot | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/robot/resources/test_templates/model_test_template_vcperescust.robot b/robot/resources/test_templates/model_test_template_vcperescust.robot index bcce51e2..8baca3f4 100644 --- a/robot/resources/test_templates/model_test_template_vcperescust.robot +++ b/robot/resources/test_templates/model_test_template_vcperescust.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 Distribute models for vcpe 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 vCPEResCust Directory @@ -24,11 +24,11 @@ Model Distribution For vCPEResCust 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 vCPEResCust 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 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}
\ No newline at end of file |