Commit 5f5861bf authored by Najam UI Hassan's avatar Najam UI Hassan
Browse files

fixed post-condition issues

parent 2fd0f202
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -171,4 +171,5 @@ DELETE subscriptions - Method not implemented
    ...    Post-Conditions: check that resources are not deleted
    ...    Post-Conditions: check that resources are not deleted
    DELETE subscriptions
    DELETE subscriptions
	Check HTTP Response Status Code Is    405
	Check HTTP Response Status Code Is    405
	Check Subscription resource exist
    
    
 No newline at end of file
+15 −1
Original line number Original line Diff line number Diff line
@@ -923,3 +923,17 @@ GET test endpoint
    Sleep  ${sleep_interval}
    Sleep  ${sleep_interval}
    Verify Mock Expectation  ${req}
    Verify Mock Expectation  ${req}
    Clear Requests  ${callback_endpoint}    
    Clear Requests  ${callback_endpoint}    
    
Check LCM OP OCC resource exist
    Set Headers    {"Accept":"${ACCEPT}"}  
    Set Headers    {"Content-Type": "${CONTENT_TYPE}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Get    ${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs
    Integer    response status    200	
    
Check Subscription resource exist
    Set Headers    {"Accept":"${ACCEPT}"}  
    Set Headers    {"Content-Type": "${CONTENT_TYPE}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Get    ${apiRoot}/${apiName}/${apiVersion}/subscriptions
    Integer    response status    200	
 No newline at end of file
+1 −0
Original line number Original line Diff line number Diff line
@@ -146,3 +146,4 @@ DELETE status information about multiple VNF LCM operation occurrences - Method
    ...    Post-Conditions: Verify that resources are not deleted
    ...    Post-Conditions: Verify that resources are not deleted
    DELETE VNF LCM OP occurences
    DELETE VNF LCM OP occurences
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405
    Check LCM OP OCC resource exist
+1 −1
Original line number Original line Diff line number Diff line
@@ -15,7 +15,7 @@ NS Instance Deletion
    ...    Reference: clause 6.3.2 - ETSI GS NFV-SOL 005 [3] v2.4.1
    ...    Reference: clause 6.3.2 - ETSI GS NFV-SOL 005 [3] v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: Resource should be deleted
    ...    Post-Conditions: NS Instance resource is deleted
    Check resource not_instantiated
    Check resource not_instantiated
    DELETE IndividualNSInstance
    DELETE IndividualNSInstance
    Check HTTP Response Status Code Is    204
    Check HTTP Response Status Code Is    204
+1 −1
Original line number Original line Diff line number Diff line
@@ -17,7 +17,7 @@ Heal Flow of NS lifecycle management operations
    ...    Reference: clause 6.4.7 - ETSI GS NFV-SOL 005 [3] v2.4.1
    ...    Reference: clause 6.4.7 - ETSI GS NFV-SOL 005 [3] v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: Resource Instantiated
    ...    Post-Conditions: NS Instance still in INSTANTIATED state
    Check resource instantiated
    Check resource instantiated
    POST Heal NSInstance
    POST Heal NSInstance
    Check HTTP Response Status Code Is    202
    Check HTTP Response Status Code Is    202