Fail on DISTRIBUTION_COMPLETE_ERROR 87/96687/2
authorBrian Freeman <bf1936@att.com>
Mon, 7 Oct 2019 16:37:14 +0000 (11:37 -0500)
committerDaniel Rose <dr695h@att.com>
Mon, 7 Oct 2019 17:03:37 +0000 (17:03 +0000)
Create Keyword for Download CSAR

Issue-ID: INT-1314
Change-Id: I576093cea61fd5f77aafb6edd119c254b674a2fc
Signed-off-by: Brian Freeman <bf1936@att.com>
robot/resources/sdc_interface.robot
robot/testsuites/demo.robot

index eadcd9c..4cedcd2 100644 (file)
@@ -936,7 +936,7 @@ Check Catalog Service Distributed
     \    Log    ${ELEMENT['status']}
     \    ${SO_COMPLETE}   Set Variable If   (('${ELEMENT['status']}' == 'DISTRIBUTION_COMPLETE_OK')) or ('${SO_COMPLETE}'=='TRUE')  TRUE
     \    Exit For Loop If   ('${SO_COMPLETE}'=='TRUE')
-    \    Exit For Loop If   ('${ELEMENT['status']}' == 'DISTRIBUTION_COMPLETE_ERROR')
+    \    Run Keyword If   ('${ELEMENT['status']}' == 'DISTRIBUTION_COMPLETE_ERROR')     Fatal Error    "SO DISTRIBUTION_COMPLETE_ERROR"
     \    ${dist_status}=  Set Variable If   (('${ELEMENT['status']}' == 'COMPONENT_DONE_ERROR') and ('${ELEMENT['omfComponentID']}' == 'aai-ml'))  EXIT
     \    Exit For Loop If   (('${ELEMENT['status']}' == 'COMPONENT_DONE_ERROR') and ('${ELEMENT['omfComponentID']}' == 'aai-ml'))
     Should Be True   ( '${SO_COMPLETE}'=='TRUE')   SO Test
index b16de5c..c2a0b3e 100755 (executable)
@@ -28,6 +28,7 @@ ${HB_VNF}
 Initialize Customer And Models
     [Tags]   InitDemo
     Load Customer And Models   Demonstration
+    Load Customer   SDN-ETHERNET-INTERNET
 
 Initialize SO Openstack Identity For V3
     [Tags]   InitDemo
@@ -106,3 +107,6 @@ Distribute Demo vFWDT Model
     [Timeout]    600
     Model Distribution For Directory    service=vFWDT   
 
+Download Service CSAR To Robot
+    [Tags]   downloadCsar
+    Download CSAR   ${CATALOG_SERVICE_ID}