summaryrefslogtreecommitdiffstats
path: root/robot/resources/sdc_interface.robot
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2020-04-15 13:02:07 -0500
committerBrian Freeman <bf1936@att.com>2020-04-15 13:02:17 -0500
commit59186528c2568f4a84d560d52e5bd039f843c953 (patch)
tree13dc5672efb7afaad9df88b0a669d66dc51f3354 /robot/resources/sdc_interface.robot
parent3d2a0bc9ef25fb74443e253d084a74a5f93f8f80 (diff)
Support smaller than /16 onap_oam network
move csar storage to /share mount (/share/csar) if /tmp fills up robot is evicted from k8 host Issue-ID: INT-1527 Change-Id: I55645f425d44f992dc6ee6df08cf6547e9154ba9 Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot/resources/sdc_interface.robot')
-rw-r--r--robot/resources/sdc_interface.robot6
1 files changed, 3 insertions, 3 deletions
diff --git a/robot/resources/sdc_interface.robot b/robot/resources/sdc_interface.robot
index 3d803f35..46a4fa01 100644
--- a/robot/resources/sdc_interface.robot
+++ b/robot/resources/sdc_interface.robot
@@ -230,8 +230,8 @@ Create Allotted Resource Data File
:FOR ${key} IN @{keys}
\ ${csar}= Get From Dictionary ${allotted_csar_map} ${key}
\ ${dir} ${ext}= Split String From Right ${csar} - 1
- \ Extract Zip File /tmp/csar/${csar} /tmp/csar/${dir}
- \ ${template}= Catenate /tmp/csar/${dir}/Definitions/${dir}-template.yml
+ \ Extract Zip File /share/csar/${csar} /share/csar/${dir}
+ \ ${template}= Catenate /share/csar/${dir}/Definitions/${dir}-template.yml
\ ${json_str}= Template Yaml To Json ${template}
\ ${json_obj}= To Json ${json_str}
\ ${attrs}= Create Dictionary
@@ -245,7 +245,7 @@ Create Allotted Resource Data File
Download CSAR
[Documentation] Download CSAR
- [Arguments] ${catalog_service_id} ${save_directory}=/tmp/csar
+ [Arguments] ${catalog_service_id} ${save_directory}=/share/csar
Return From Keyword If '${catalog_service_id}'=='None'
# get meta data
${resp}= SDC.Run Get Request ${SDC_BE_ENDPOINT} ${SDC_CATALOG_SERVICES_PATH}/${catalog_service_id}/filteredDataByParams?include=toscaArtifacts ${SDC_DESIGNER_USER_ID} auth=${GLOBAL_SDC_AUTHENTICATION}