Remove ManufacturingID from FG & faster exist 69/60969/1
authorBrian Freeman <bf1936@att.com>
Thu, 16 Aug 2018 19:50:16 +0000 (14:50 -0500)
committerBrian Freeman <bf1936@att.com>
Thu, 16 Aug 2018 19:53:12 +0000 (14:53 -0500)
Issue-ID: SDC-1634
Change-Id: I8ab5ebecd1080ae6f29c3b064925b81829a810cf
Signed-off-by: Brian Freeman <bf1936@att.com>
robot/assets/templates/asdc/feature_group.template
robot/resources/asdc_interface.robot

index 8404baf..9b54663 100644 (file)
@@ -7,6 +7,5 @@
   ],
   "addedEntitlementPoolsIds": [
     "${entitlement_pool_id}"
-  ],
-  "manufacturerReferenceNumber" : "${manufacturer_reference_number}"
-}
\ No newline at end of file
+  ]
+}
index 382821e..9dc3254 100644 (file)
@@ -68,7 +68,7 @@ Distribute Model From ASDC
     # on certify it gets a new id
     ${catalog_service_id}=    Certify ASDC Catalog Service    ${catalog_service_id}
     Approve ASDC Catalog Service    ${catalog_service_id}
-        : FOR   ${DIST_INDEX}    IN RANGE   3
+        : FOR   ${DIST_INDEX}    IN RANGE   2
         \   Log     Distribution Attempt ${DIST_INDEX}
         \   Distribute ASDC Catalog Service    ${catalog_service_id}
         \   ${catalog_service_resp}=    Get ASDC Catalog Service    ${catalog_service_id}
@@ -408,6 +408,8 @@ Check Catalog Service Distributed
     \    Log    ${ELEMENT['omfComponentID']}
     \    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')
     Should Be True   ( '${SO_COMPLETE}'=='TRUE')   SO Test
 Get Catalog Service Distribution Details
     [Documentation]    gets an asdc catalog Service distrbution details