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
Changes for SOL002/VNFPerformanceManagement-API/VNFPerformanceManagementKeywords.robot: 4 added lines, 0 removed lines.
Original line number Original line Diff line number Diff line
@@ -310,6 +310,10 @@ Check Postcondition Subscription Resource Returned in Location Header Is Availab
    ${result}=    Output    response body
    ${result}=    Output    response body
    Validate Json    PmSubscription.schema.json    ${result}
    Validate Json    PmSubscription.schema.json    ${result}
    Log    Validated PmSubscription schema
    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
Check Postcondition VNF Performance Subscriptions Exists
    Log    Checking that subscriptions exists
    Log    Checking that subscriptions exists
+4
Changes for SOL003/VNFIndicator-API/VNFIndicatorsKeywords.robot: 4 added lines, 0 removed lines.
Original line number Original line Diff line number Diff line
@@ -214,6 +214,10 @@ Check Postcondition Subscription Resource Returned in Location Header Is Availab
    ${result}=    Output    response body
    ${result}=    Output    response body
    Validate Json    VnfIndicatorSubscription.schema.json    ${result}
    Validate Json    VnfIndicatorSubscription.schema.json    ${result}
    Log    Validated VnfIndicatorSubscription schema
    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
Check HTTP Response Header Contains
    [Arguments]    ${CONTENT_TYPE}
    [Arguments]    ${CONTENT_TYPE}
+2 −2
Changes for SOL003/VNFLifecycleManagement-API/CancelOperationWorkflow.robot: 2 added lines, 2 removed lines.
Original line number Original line Diff line number Diff line
@@ -16,7 +16,7 @@ Suite Teardown Terminate All Processes kill=true


*** Test Cases ***
*** Test Cases ***
Cancel a VNF LCM Operation - STARTING
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 title: Cancel a VNF LCM Operation
    ...    Test objective: The objective is to test the workflow for Cancelling 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)
    ...    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
    Check Postcondition VNF Cancel - STARTING


Cancel a VNF LCM Operation - PROCESSING - ROLLING_BACK
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 title: Cancel a VNF LCM Operation
    ...    Test objective: The objective is to test the workflow for Cancelling 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)
    ...    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
Changes for SOL003/VNFLifecycleManagement-API/ChangeExternalVNFConnectivityWorkflow.robot: 1 added line, 2 removed lines.
Original line number Original line Diff line number Diff line
@@ -16,7 +16,7 @@ Suite Teardown Terminate All Processes kill=true


*** Test Cases ***
*** Test Cases ***
Operate a VNF Instance
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 title: Change the external connectivity of a VNF instance
    ...    Test objective: The objective is to 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)
    ...    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
    Check Postcondition VNF Change Ext Connectivity


*** Keywords ***
*** Keywords ***

Initialize System
Initialize System
    Create Sessions
    Create Sessions
    ${body}=    Get File    jsons/changeExtVnfConnectivityRequest.json
    ${body}=    Get File    jsons/changeExtVnfConnectivityRequest.json
+1 −1
Changes for SOL003/VNFLifecycleManagement-API/OperateVNFWorkflow.robot: 1 added line, 1 removed line.
Original line number Original line Diff line number Diff line
@@ -16,7 +16,7 @@ Suite Teardown Terminate All Processes kill=true


*** Test Cases ***
*** Test Cases ***
Operate a VNF Instance
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 title: Operate a VNF Instance
    ...    Test objective: The objective is to change the operational state of 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)
    ...    Pre-conditions: VNF instance in INSTANTIATED state (Test ID: 5.a.b.c)
Loading