Commit cf8a5e00 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

Merge branch 'master' into 'master'

addressed comments for TST010 contrbutions

See merge request !48
parents f9760ed3 216ddc7d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -310,6 +310,10 @@ Check Postcondition Subscription Resource Returned in Location Header Is Availab
    ${result}=    Output    response body
    Validate Json    PmSubscription.schema.json    ${result}
    Log    Validated PmSubscription schema
    ${body}=    Get File    jsons/subscriptions.json
    ${subscription}=    evaluate    json.loads('''${body}''')    json
    Should Be Equal    ${result['callbackUri']}    ${subscription['callbackUri']}
    Log    Validated Issued subscription is same as original
 
Check Postcondition VNF Performance Subscriptions Exists
    Log    Checking that subscriptions exists
+4 −0
Original line number Diff line number Diff line
@@ -214,6 +214,10 @@ Check Postcondition Subscription Resource Returned in Location Header Is Availab
    ${result}=    Output    response body
    Validate Json    VnfIndicatorSubscription.schema.json    ${result}
    Log    Validated VnfIndicatorSubscription schema
    ${body}=    Get File    jsons/subscriptions.json
    ${subscription}=    evaluate    json.loads('''${body}''')    json
    Should Be Equal    ${result['callbackUri']}    ${subscription['callbackUri']}
    Log    Validated Issued subscription is same as original

Check HTTP Response Header Contains
    [Arguments]    ${CONTENT_TYPE}
+2 −2
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ Suite Teardown Terminate All Processes kill=true

*** Test Cases ***
Cancel a VNF LCM Operation - STARTING
    [Documentation]    Test ID: 5.x.x.x
    [Documentation]    Test ID: 7.3.1.2.1
    ...    Test title: Cancel a VNF LCM Operation
    ...    Test objective: The objective is to test the workflow for Cancelling a VNF LCM Operation
    ...    Pre-conditions: The VNF lifecycle management operation occurrence is in STARTING state. NFVO is subscribed to VNF LCM Operation Occurrence notifications (Test ID: 5.4.20.1)
@@ -32,7 +32,7 @@ Cancel a VNF LCM Operation - STARTING
    Check Postcondition VNF Cancel - STARTING

Cancel a VNF LCM Operation - PROCESSING - ROLLING_BACK
    [Documentation]    Test ID: 5.x.x.x
    [Documentation]    Test ID: 7.3.1.2.2
    ...    Test title: Cancel a VNF LCM Operation
    ...    Test objective: The objective is to test the workflow for Cancelling a VNF LCM Operation
    ...    Pre-conditions: The VNF lifecycle management operation occurrence is in PROCESSING or ROLLING_BACK state. NFVO is subscribed to VNF LCM Operation Occurrence notifications (Test ID: 5.4.20.1)
+1 −2
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ Suite Teardown Terminate All Processes kill=true

*** Test Cases ***
Operate a VNF Instance
    [Documentation]    Test ID: 5.x.y.x
    [Documentation]    Test ID: 7.3.5.4.1
    ...    Test title: Change the external connectivity of a VNF instance
    ...    Test objective: The objective is to change the external connectivity of a VNF instance.
    ...    Pre-conditions: VNF instance in INSTANTIATED state (Test ID: 5.a.b.c)
@@ -35,7 +35,6 @@ Operate a VNF Instance
    Check Postcondition VNF Change Ext Connectivity

*** Keywords ***

Initialize System
    Create Sessions
    ${body}=    Get File    jsons/changeExtVnfConnectivityRequest.json
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ Suite Teardown Terminate All Processes kill=true

*** Test Cases ***
Operate a VNF Instance
    [Documentation]    Test ID: 5.x.y.x
    [Documentation]    Test ID: 7.3.2.3.1
    ...    Test title: Operate a VNF Instance
    ...    Test objective: The objective is to change the operational state of a VNF instance.
    ...    Pre-conditions: VNF instance in INSTANTIATED state (Test ID: 5.a.b.c)
Loading