Commit c331196b authored by aureliano sinatra's avatar aureliano sinatra
Browse files

Fault management text fixes contrib 230

parent dde071d8
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -19,9 +19,9 @@ POST Alarms - Method not implemented
    POST Alarms Task
    Check HTTP Response Status Code Is    405

Get information about multiple alarms 
GET information about multiple alarms 
    [Documentation]    Test ID: 6.3.4.1.2
    ...    Test title: Get information about multiple alarms
    ...    Test title: GET information about multiple alarms
    ...    Test objective: The objective is to retrieve information about the alarm list
    ...    Pre-conditions: 
    ...    Reference: section 7.4.2.3.2 - SOL002 v2.4.1
@@ -32,9 +32,9 @@ Get information about multiple alarms
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    alarms

Get information about multiple alarms with filters 
GET information about multiple alarms with filters 
    [Documentation]    Test ID: 6.3.4.1.3
    ...    Test title: Get information about multiple alarms - with filters
    ...    Test title: GET information about multiple alarms - with filters
    ...    Test objective: The objective is to retrieve information about the alarm list
    ...    Pre-conditions: 
    ...    Reference: section 7.4.2.3.3 - SOL002 v2.4.1
@@ -45,16 +45,16 @@ Get information about multiple alarms with filters
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    alarms

Get information about multiple alarms Bad Request Invalid attribute-based filtering parameters
GET information about multiple alarms Bad Request Invalid attribute-based filtering parameters
    [Documentation]    Test ID: 6.3.4.1.4
    ...    Test title: Get information about multiple alarms - with Invalid attribute-based filtering parameters
    ...    Test title: GET information about multiple alarms Bad Request Invalid attribute-based filtering parameters
    ...    Test objective: The objective is to retrieve information about the alarm list
    ...    Pre-conditions: 
    ...    Reference: section 7.4.2.3.4 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: 
    ...    Post-Conditions: 
    GET Alarms Task with filter
    GET Alarms Task with invalid filter
    Check HTTP Response Status Code Is    400
    Check HTTP Response Body Json Schema Is    ProblemDetails
    
@@ -90,7 +90,7 @@ DELETE Alarms - Method not implemented
    ...    Reference: section 7.4.2.3.6 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: 
    ...    Post-Conditions: none
    ...    Post-Conditions: the alarm is not deleted
    DELETE Alarms Task
    Check HTTP Response Status Code Is    405

+5 −5
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ Escalate the perceived severity
GET Escalate the perceived severity - Method not implemented
    [Documentation]    Test ID: 6.3.4.3.2
    ...    Test title: GET Escalate the perceived severity - Method not implemented
    ...    Test objective: to thest that the method is not implemented
    ...    Test objective: to test that the method is not implemented
    ...    Pre-conditions: 
    ...    Reference: section 7.4.4.3.2 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VNFM
@@ -31,7 +31,7 @@ GET Escalate the perceived severity - Method not implemented
PUT Escalate the perceived severity - Method not implemented
    [Documentation]    Test ID: 6.3.4.3.3
    ...    Test title: PUT Escalate the perceived severity - Method not implemented
    ...    Test objective: to thest that the method is not implemented
    ...    Test objective: to test that the method is not implemented
    ...    Pre-conditions: 
    ...    Reference: section 7.4.4.3.3 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VNFM
@@ -43,7 +43,7 @@ PUT Escalate the perceived severity - Method not implemented
PATCH Escalate the perceived severity - Method not implemented
    [Documentation]    Test ID: 6.3.4.3.4
    ...    Test title: PATCH Escalate the perceived severity - Method not implemented
    ...    Test objective: to thest that the method is not implemented
    ...    Test objective: to test that the method is not implemented
    ...    Pre-conditions: 
    ...    Reference: section 7.4.4.3.4 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VNFM
@@ -55,8 +55,8 @@ PATCH Escalate the perceived severity - Method not implemented
    
DELETE Escalate the perceived severity - Method not implemented
    [Documentation]    Test ID: 6.3.4.3.5
    ...    Test title: PATCH Escalate the perceived severity - Method not implemented
    ...    Test objective: to thest that the method is not implemented
    ...    Test title: DELETE Escalate the perceived severity - Method not implemented
    ...    Test objective: to test that the method is not implemented
    ...    Pre-conditions: 
    ...    Reference: section 7.4.4.3.5 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VNFM
+25 −16
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ ${original_etag} 1234
*** Test Cases ***
POST Alarm - Method not implemented
    [Documentation]    Test ID: 6.3.4.2.1
    ...    Test title: POST Alarms - Method not implemented
    ...    Test title: POST Alarm - Method not implemented
    ...    Test objective: The objective is to test that the method is not implemented
    ...    Pre-conditions: 
    ...    Reference: section 7.4.3.3.1 - SOL002 v2.4.1
@@ -26,9 +26,9 @@ POST Alarm - Method not implemented
    Check HTTP Response Status Code Is    405


Get information about an individual alarm
GET information about an individual alarm
    [Documentation]    Test ID: 6.3.4.2.2
    ...    Test title: Get information about an individual alarm
    ...    Test title: GET information about an individual alarm
    ...    Test objective: The objective is to read an individual alarm.
    ...    Pre-conditions: The related alarm exists
    ...    Reference: section 7.4.3.3.2  - SOL002 v2.4.1
@@ -43,7 +43,7 @@ Get information about an individual alarm

PUT Alarm - Method not implemented
     [Documentation]    Test ID: 6.3.4.2.3
    ...    Test title: PUT Alarms - Method not implemented
    ...    Test title: PUT Alarm - Method not implemented
    ...    Test objective: The objective is to test that the method is not implemented
    ...    Pre-conditions: 
    ...    Reference: section 7.4.3.3.3 - SOL002 v2.4.1
@@ -55,10 +55,10 @@ PUT Alarm - Method not implemented


PATCH Alarm
    [Documentation]    Test ID: 6.3.4.2.3
    ...    Test title: PUT Alarms - Method not implemented
    ...    Test objective: The objective is to test that the method is not implemented
    ...    Pre-conditions: 
    [Documentation]    Test ID: 6.3.4.2.4
    ...    Test title: PATCH Alarm
    ...    Test objective: The objective is to Modify an individual alarm resource
    ...    Pre-conditions: The related alarm exists
    ...    Reference: section 7.4.3.3.4 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: 
@@ -68,41 +68,41 @@ PATCH Alarm
    Check HTTP Response Body Json Schema Is     alarmModifications
    
PATCH Alarm - Precondition failed
    [Documentation]    Test ID: 6.3.4.2.4
    ...    Test title: Modify an individual alarm resource - Precondition failed
    [Documentation]    Test ID: 6.3.4.2.5
    ...    Test title: PATCH Alarm - Precondition failed
    ...    Test objective: The objective is to Modify an individual alarm resource
    ...    Pre-conditions: The related alarm exists
    ...    Reference: section 7.4.3.3.4 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: 
    ...    Post-Conditions: The alarm resource is not modified
    PUT Alarm Task
    PATCH Alarm Task with wrong precondition
    Check HTTP Response Status Code Is    412
    Check HTTP Response Body Json Schema Is     ProblemDetails
    
PATCH Alarm - Conflict
    [Documentation]    Test ID: 6.3.4.2.5
    ...    Test title: Modify an individual alarm resource - Precondition failed
    [Documentation]    Test ID: 6.3.4.2.6
    ...    Test title: PATCH Alarm - Conflict
    ...    Test objective: The objective is to Modify an individual alarm resource
    ...    Pre-conditions: The related alarm exists
    ...    Reference: section 7.4.3.3.4 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: 
    ...    Post-Conditions: The alarm resource is not modified
    PUT Alarm Task
    PATCH Alarm Task
    Check HTTP Response Status Code Is    409
    Check HTTP Response Body Json Schema Is     ProblemDetails
    

DELETE Alarm - Method not implemented
    [Documentation]    Test ID: 6.3.4.2.6
    [Documentation]    Test ID: 6.3.4.2.7
    ...    Test title: DELETE Alarm - Method not implemented
    ...    Test objective: The objective is to test that the method is not implemented
    ...    Pre-conditions: 
    ...    Reference: section 7.4.3.3.5 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: 
    ...    Post-Conditions: 
    ...    Post-Conditions: alarm not deleted
    DELETE Alarm Task
    Check HTTP Response Status Code Is    405

@@ -131,6 +131,15 @@ PATCH Alarm Task
    Patch    ${apiRoot}/${apiName}/${apiVersion}/alarms/${alarmId}    ${body}
    ${outputResponse}=    Output    response
	Set Global Variable    @{response}    ${outputResponse}
PATCH Alarm Task with wrong precondition
    log    Trying to perform a PATCH. This method modifies an individual alarm resource
    Set Headers  {"Accept":"${ACCEPT}"} 
    Set Headers  {"Content-Type": "${CONTENT_TYPE_PATCH}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    ${body}=    Get File    jsons/alarmModifications.json
    Patch    ${apiRoot}/${apiName}/${apiVersion}/alarms/${alarmId}    ${body}
    ${outputResponse}=    Output    response
	Set Global Variable    @{response}    ${outputResponse}	
DELETE Alarm Task
    log    Trying to perform a DELETE. This method should not be implemented
    Set Headers  {"Accept":"${ACCEPT}"}  
+7 −7
Original line number Diff line number Diff line
@@ -8,9 +8,9 @@ Documentation This resource represents an individual subscription for VNF ala
Suite Setup    Check resource existance

*** Test Cases ***
Post Individual Subscription - Method not implemented
POST Individual Subscription - Method not implemented
    [Documentation]    Test ID: 6.3.4.5.1
    ...    Test title: Post Individual Subscription - Method not implemented
    ...    Test title: POST Individual Subscription - Method not implemented
    ...    Test objective: The objective is to test that the method is not implemented
    ...    Pre-conditions: 
    ...    Reference: section 7.4.6.3.1 - SOL002 v2.4.1
@@ -20,9 +20,9 @@ Post Individual Subscription - Method not implemented
    Post Create individual subscription
    Check HTTP Response Status Code Is    405
    
Get Information about an individual subscription
GET Information about an individual subscription
    [Documentation]    Test ID: 6.3.4.5.2
    ...    Test title: Get Information about an individual subscription
    ...    Test title: GET Information about an individual subscription
    ...    Test objective: The objective is to read an individual subscription for VNF alarms subscribed by the client
    ...    Pre-conditions: The subscription with the given id exists
    ...    Reference: section 7.4.6.3.2 - SOL002 v2.4.1
@@ -35,7 +35,7 @@ Get Information about an individual subscription

PUT an individual subscription - Method not implemented
    [Documentation]    Test ID: 6.3.4.5.3
    ...    Test title: Put Individual Subscription - Method not implemented
    ...    Test title: PUT an individual subscription - Method not implemented
    ...    Test objective: The objective is to test that the method is not implemented
    ...    Pre-conditions: 
    ...    Reference: section 7.4.6.3.3 - SOL002 v2.4.1
@@ -48,7 +48,7 @@ PUT an individual subscription - Method not implemented

PATCH an individual subscription - Method not implemented
    [Documentation]    Test ID: 6.3.4.5.4
    ...    Test title: Patch Individual Subscription - Method not implemented
    ...    Test title: PATCH an individual subscription - Method not implemented
    ...    Test objective: The objective is to test that the method is not implemented
    ...    Pre-conditions: 
    ...    Reference: section 7.4.6.3.4 - SOL002 v2.4.1
@@ -61,7 +61,7 @@ PATCH an individual subscription - Method not implemented
    
DELETE an individual subscription
    [Documentation]    Test ID: 6.3.4.5.5
    ...    Test title: Delete an Individual Subscription
    ...    Test title: DELETE an individual subscription
    ...    Test objective: The objective is to test that the deletion of a subscription
    ...    Pre-conditions: an existing subscription
    ...    Reference: section 7.4.6.3.5 - SOL002 v2.4.1
+10 −10
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ Library JSONSchemaLibrary schemas/
*** Test Cases ***
Create a new subscription
    [Documentation]    Test ID: 6.3.4.4.1
    ...    Test title: Create a new alarm subscription
    ...    Test title: Create a new subscription
    ...    Test objective: The objective is to create a new subscription.
    ...    Pre-conditions: no subscription with the same filter and callbackUri exists
    ...    Reference: section 7.4.5.3.1 - SOL002 v2.4.1
@@ -21,12 +21,12 @@ Create a new subscription

Create a new Subscription - DUPLICATION
     [Documentation]    Test ID: 6.3.4.4.2
    ...    Test title: Create a new alarm subscription - DUPLICATION
    ...    Test title: Create a new Subscription - DUPLICATION
    ...    Test objective: The objective is to create a duplicate subscription.
    ...    Pre-conditions: subscription with the same filter and callbackUri exists
    ...    Reference: section 7.4.5.3.1 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: the VNFM allows creating a subscription resource if another subscription resource with the same filter and callbackUri already exists
    ...    Applicability: the VNFM does not allow creation of a subscription resource if another subscription resource with the same filter and callbackUri already exists
    ...    Post-Conditions: 
    Post Create subscription - DUPLICATION
    Check HTTP Response Status Code Is    201
@@ -34,19 +34,19 @@ Create a new Subscription - DUPLICATION
    
Create a new Subscription - NO-DUPLICATION
    [Documentation]    Test ID: 6.3.4.4.3
    ...    Test title: Create a new alarm subscription - NO DUPLICATION
    ...    Test objective: The objective is to create a new subscription.
    ...    Test title: Create a new Subscription - NO-DUPLICATION
    ...    Test objective: The objective is to create a subscription in case of not allowed DUPLICATION.
    ...    Pre-conditions: subscription with the same filter and callbackUri exists
    ...    Reference: section 7.4.5.3.1 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: the VNFM decides to not create a duplicate subscription resource 
    ...    Applicability: the VNFM does not allow creation of a duplicate subscription resource 
    ...    Post-Conditions:
    Post Create subscription - DUPLICATION
    Check HTTP Response Status Code Is    303

GET Subscriptions
    [Documentation]    Test ID: 6.3.4.4.5
    ...    Test title: Retrieve a list of alarm subscriptions
    ...    Test title: GET Subscriptions
    ...    Test objective: The objective is to retrieve the list of active subscriptions
    ...    Pre-conditions: 
    ...    Reference: section 7.4.5.3.2 - SOL002 v2.4.1
@@ -59,7 +59,7 @@ GET Subscriptions

GET Subscription - Filter
    [Documentation]    Test ID: 6.3.4.4.6
    ...    Test title: Retrieve a list of alarm subscriptions
    ...    Test title: GET Subscription - Filter
    ...    Test objective: The objective is to retrieve the list of active subscriptions with filter
    ...    Pre-conditions: 
    ...    Reference: section 7.4.5.3.2 - SOL002 v2.4.1
@@ -72,7 +72,7 @@ GET Subscription - Filter
    
GET subscriptions - Bad Request Invalid attribute-based filtering parameters
    [Documentation]    Test ID: 6.3.4.4.7
    ...    Test title: Retrieve a list of alarm subscriptions
    ...    Test title: GET subscriptions - Bad Request Invalid attribute-based filtering parameters
    ...    Test objective: The objective is to retrieve the list of active subscriptions with Invalid attribute-based filtering parameters
    ...    Pre-conditions: 
    ...    Reference: section 7.4.5.3.2 - SOL002 v2.4.1
@@ -115,7 +115,7 @@ DELETE subscriptions - Method not implemented
    ...    Reference: section 7.4.5.3.5 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability:  
    ...    Post-Conditions: 
    ...    Post-Conditions: subscription not deleted
    DELETE subscriptions
    Check HTTP Response Status Code Is    405

Loading