NotificationEndpoint.robot 3.76 KB
Newer Older
AHMADABB's avatar
AHMADABB committed
*** Settings ***
Suite Setup    Create Sessions
Suite Teardown    Terminate All Processes    kill=true
Giacomo Bernini's avatar
Giacomo Bernini committed
Resource    environment/variables.txt
Resource   NSLCMOperationKeywords.robot   
AHMADABB's avatar
AHMADABB committed
Library    MockServerLibrary
Library    Process
Library    OperatingSystem


*** Test Cases ***
POST Deliver a notification - Operation Occurence
aureliano sinatra's avatar
aureliano sinatra committed
    [Documentation]    Test ID: 5.3.2.17.1
    ...    Test title: POST Deliver a notification - Operation Occurence
aureliano sinatra's avatar
aureliano sinatra committed
    ...    Test objective: The objective is to test that POST method trigger a notification about lifecycle changes triggered by a NS LCM operation occurrence
    ...    Pre-conditions: none
    ...    Reference:  section 6.4.18.3.1 - SOL005 v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    POST Operation occurrence
POST Deliver a notification - Id Creation
aureliano sinatra's avatar
aureliano sinatra committed
    [Documentation]    Test ID: 5.3.2.17.2
    ...    Test title: POST Deliver a notification - Id Creation
aureliano sinatra's avatar
aureliano sinatra committed
    ...    Test objective: The objective is to test that POST method trigger a notification about the creation of a NS identifier and the related NS instance resource
    ...    Pre-conditions: none
    ...    Reference:  section 6.4.18.3.1 - SOL005 v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none    
    POST Id creation
POST Deliver a notification - Id deletion
aureliano sinatra's avatar
aureliano sinatra committed
    [Documentation]    Test ID: 5.3.2.17.3
    ...    Test title: POST Deliver a notification - Id deletion
aureliano sinatra's avatar
aureliano sinatra committed
    ...    Test objective: The objective is to test that POST method trigger a notification about the deletion of a NS identifier and the related NS instance resource
    ...    Pre-conditions: none
    ...    Reference:  section 6.4.18.3.1 - SOL005 v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none    
    POST Id deletion
AHMADABB's avatar
AHMADABB committed

aureliano sinatra's avatar
aureliano sinatra committed
GET a notification end point
    [Documentation]    Test ID: 5.3.2.17.4 
    ...    Test title: GET a notification end point
aureliano sinatra's avatar
aureliano sinatra committed
    ...    Test objective: The objective is to test that GET method successfully test the notification endpoint
    ...    Pre-conditions: none
    ...    Reference:  section 6.4.18.3.2 - SOL005 v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none 
    GET notification endpoint
AHMADABB's avatar
AHMADABB committed

PUT notification - Method not implemented
aureliano sinatra's avatar
aureliano sinatra committed
    [Documentation]    Test ID: 5.3.2.17.5
    ...    Test title: PUT notification - Method not implemented
aureliano sinatra's avatar
aureliano sinatra committed
    ...    Test objective: The objective is to test that the PUT method is not implemented
    ...    Pre-conditions: none
    ...    Reference:  section 6.4.18.3.3 - SOL005 v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none 
    PUT notification
AHMADABB's avatar
AHMADABB committed

PATCH subscriptions - Method not implemented
aureliano sinatra's avatar
aureliano sinatra committed
    [Documentation]    Test ID: 5.3.2.17.6
    ...    Test title: PATCH subscriptions - Method not implemented
aureliano sinatra's avatar
aureliano sinatra committed
    ...    Test objective: The objective is to test that the PATCH method is not implemented
    ...    Pre-conditions: none
    ...    Reference:  section 6.4.18.3.4 - SOL005 v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none     
    PATCH subscriptions
AHMADABB's avatar
AHMADABB committed

DELETE subscriptions - Method not implemented
aureliano sinatra's avatar
aureliano sinatra committed
    [Documentation]    Test ID: 5.3.2.17.7
    ...    Test title: DELETE subscriptions - Method not implemented
aureliano sinatra's avatar
aureliano sinatra committed
    ...    Test objective: The objective is to test that the DELETE method is not implemented
    ...    Pre-conditions: none
    ...    Reference:  section 6.4.18.3.5 - SOL005 v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none 
    DELETE subscriptions