Commit d9461076 authored by Giacomo Bernini's avatar Giacomo Bernini Committed by Giacomo Bernini
Browse files

added support for skipping intermediate notifications for lcm operations

parent 0cdd8a09
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ Check resource not

Check Operation Notification Status is
    [Arguments]    ${status}
    Check Operation Notification    NsLcmOperationOccurrenceNotification   ${status}
    Run Keyword If    ${SKIP_INTERMEDIATE_NOTIFICATION_CHECKS} == 0 or (${SKIP_INTERMEDIATE_NOTIFICATION_CHECKS} == 1 and '${status}' == 'RESULT')    Check Operation Notification    NsLcmOperationOccurrenceNotification    ${status}

Check Operation Notification
    [Arguments]    ${element}    ${status}=""
+8 −0
Original line number Diff line number Diff line
@@ -20,6 +20,14 @@ ${SUBSCRIPTIONS_PERMITTED_SCOPE} nslcm:v2:subscriptions
${SNAPSHOT_PERMITTED_SCOPE}    nslcm:v2:subscriptions
${NOT_PERMITTED_SCOPE}    nslcm:v2:invalid

################################################################################################
##### THIS VARIABLE BELOW ALLOWS TO SKIP INTERMEDIATE LIFEFYCLE OP OCC INTERMEDIATE CHECKS #####
##### IT IS INTENDED TO BE A KNOWN DEVIATION FROM STANDARDS                                #####

${SKIP_INTERMEDIATE_NOTIFICATION_CHECKS}    0

################################################################################################


${CONTENT_TYPE}    application/json
${ACCEPT_JSON}         application/json