Commit 45657d5a authored by sinatra's avatar sinatra
Browse files

Merge branch 'master' into 'master'

Master

See merge request !72
parents 990b0d1b 8c8e261c
Loading
Loading
Loading
Loading
+12 −12
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ Library JSONSchemaLibrary schemas/
Suite Setup    Check resource existance

*** Test Cases ***
Change deployment flavour of a vnfInstance
POST Change deployment flavour of a vnfInstance
    [Documentation]    Test ID: 6.3.5.6.1
    ...    Test title: POST Change deployment flavour of a vnfInstance
    ...    Test objective: The objective is to test that POST method trigger a change in VNF deployment flavour
@@ -21,9 +21,9 @@ Change deployment flavour of a vnfInstance
    Check HTTP Response Status Code Is    202
    Check Operation Occurrence Id

Change deployment flavour of a vnfInstance Conflict (Not-Instantiated)
POST Change deployment flavour of a vnfInstance Conflict (Not-Instantiated)
    [Documentation]    Test ID: 6.3.5.6.2
    ...    Test title: POST Change deployment flavour of a vnfInstance
    ...    Test title: POST Change deployment flavour of a vnfInstance Conflict (Not-Instantiated)
    ...    Test objective: The objective is to test that POST method can't trigger a change in VNF deployment flavour because of a conflict with the state of the VNF instance resource. 
    ...    Pre-conditions: VNF instance resource is not in NOT-INSTANTIATED state
    ...    Reference:  section 5.4.7.3.1 - SOL002 v2.4.1
@@ -35,9 +35,9 @@ Change deployment flavour of a vnfInstance Conflict (Not-Instantiated)
    Check HTTP Response Body Json Schema Is    ProblemDetails

    
Change deployment flavour of a vnfInstance Not Found
POST Change deployment flavour of a vnfInstance Not Found
    [Documentation]    Test ID: 6.3.5.6.3
    ...    Test title: POST Change deployment flavour of a vnfInstance
    ...    Test title: POST Change deployment flavour of a vnfInstance Not Found
    ...    Test objective: The objective is to test that POST method can't trigger a change in VNF deployment flavour because the VNF instance resource is not found. 
    ...    Pre-conditions: VNF instance resource is not in NOT-INSTANTIATED state
    ...    Reference:  section 5.4.7.3.1 - SOL002 v2.4.1
@@ -50,8 +50,8 @@ Change deployment flavour of a vnfInstance Not Found
   
    
GET Change deployment flavour VNFInstance - Method not implemented
    [Documentation]    Test ID: 6.3.5.16.4
    ...    Test title: GET Cancel operation task - Method not implemented
    [Documentation]    Test ID: 6.3.5.6.4
    ...    Test title: GET Change deployment flavour VNFInstance - Method not implemented
    ...    Test objective: The objective is to test that GET method is not implemented
    ...    Pre-conditions: none
    ...    Reference:  section 5.4.7.3.2 - SOL002 v2.4.1
@@ -62,8 +62,8 @@ GET Change deployment flavour VNFInstance - Method not implemented
    Check HTTP Response Status Code Is    405

PUT Change deployment flavour VNFInstance - Method not implemented
    [Documentation]    Test ID: 6.3.5.16.5
    ...    Test title: PUT Cancel operation task - Method not implemented
    [Documentation]    Test ID: 6.3.5.6.5
    ...    Test title: PUT Change deployment flavour VNFInstance - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Pre-conditions: none
    ...    Reference:  section 5.4.7.3.3 - SOL002 v2.4.1
@@ -74,7 +74,7 @@ PUT Change deployment flavour VNFInstance - Method not implemented
    Check HTTP Response Status Code Is    405

PATCH Change deployment flavour VNFInstance - Method not implemented
    [Documentation]    Test ID: 6.3.5.16.6
    [Documentation]    Test ID: 6.3.5.6.6
    ...    Test title: PATCH Cancel operation task - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Pre-conditions: none
@@ -86,8 +86,8 @@ PATCH Change deployment flavour VNFInstance - Method not implemented
    Check HTTP Response Status Code Is    405
    
DELETE Change deployment flavour VNFInstance - Method not implemented
    [Documentation]    Test ID: 6.3.5.16.7
    ...    Test title: DELETE Cancel operation task - Method not implemented
    [Documentation]    Test ID: 6.3.5.6.7
    ...    Test title: DELETE Change deployment flavour VNFInstance - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented
    ...    Pre-conditions: none
    ...    Reference:  section 5.4.7.3.5 - SOL002 v2.4.1
+8 −8
Original line number Diff line number Diff line
@@ -7,9 +7,9 @@ Library JSONLibrary
Library    JSONSchemaLibrary    schemas/

*** Test Cases ***
Post Fail operation task  
POST Fail operation task  
    [Documentation]    Test ID: 6.3.5.15.1
    ...    Test title: Post Fail operation task
    ...    Test title: POST Fail operation task
    ...    Test objective: The objective is to test that POST method mark as "finally failed" a VNF lifecycle operation if that operation has experienced a temporary failure
    ...    Pre-conditions: the "VNF LCM operation occurrence" resource is in "FAILED_TEMP" state.
    ...    Reference:  section 5.4.16.3.1 - SOL002 v2.4.1
@@ -21,10 +21,10 @@ Post Fail operation task
    Check Operation Occurrence Id
    Check operation resource state is FINALLY_FAILED

Post Fail operation task Conflict (Not-FAILED_TEMP)
POST Fail operation task Conflict (Not-FAILED_TEMP)
    # TODO: Need to set the pre-condition of the test. VNF instance shall be in INSTANTIATED state
    [Documentation]    Test ID: 6.3.5.15.2
    ...    Test title: Post Fail operation task
    ...    Test title: POST Fail operation task Conflict (Not-FAILED_TEMP)
    ...    Test objective: The objective is to test that POST method cannot mark as "finally failed" a VNF lifecycle operation if that operation has experienced a temporary failure
    ...    Pre-conditions: the "VNF LCM operation occurrence" resource is not in "FAILED_TEMP" state.
    ...    Reference:  section 5.4.16.3.1 - SOL002 v2.4.1
@@ -35,10 +35,10 @@ Post Fail operation task Conflict (Not-FAILED_TEMP)
    Check HTTP Response Status Code Is    409
    Check HTTP Response Body Json Schema Is    ProblemDetails

Post Fail operation task Not Found
POST Fail operation task Not Found
    # TODO: Need to create a vnfInstance which's instantiatedVnfInfo.scaleStatus is absent
    [Documentation]    Test ID: 6.3.5.15.3
    ...    Test title: Post Fail operation task
    ...    Test title: POST Fail operation task Not Found
    ...    Test objective: The objective is to test that POST method cannot mark as "finally failed" a VNF lifecycle operation because the operation is not supported
    ...    Pre-conditions: 
    ...    Reference:  section 5.4.16.3.1 - SOL002 v2.4.1
@@ -74,7 +74,7 @@ PUT Fail operation task - Method not implemented

PATCH Fail operation task - Method not implemented
     [Documentation]    Test ID: 6.3.5.15.6
    ...    Test title: GET Fail operation task- Method not implemented
    ...    Test title: PATCH Fail operation task - Method not implemented
    ...    Test objective: The objective is to verify that the method is not implemented 
    ...    Pre-conditions: none
    ...    Reference:  section 5.4.16.3.4 - SOL002 v2.4.1
@@ -92,7 +92,7 @@ DELETE Fail operation task - Method not implemented
    ...    Reference:  section 5.4.16.3.5 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VE
    ...    Applicability: none
    ...    Post-Conditions: 
    ...    Post-Conditions: vnf instance not deleted
    Delete Fail operation
    Check HTTP Response Status Code Is    405

+7 −7
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ Library JSONSchemaLibrary schemas/
Suite Setup    Check resource existance

*** Test Cases ***
Heal a vnfInstance
POST Heal a vnfInstance
     [Documentation]    Test ID: 6.3.5.8.1
    ...    Test title: POST Heal a vnfInstance
    ...    Test objective: The objective is to test that POST method heal a VNF instance
@@ -21,7 +21,7 @@ Heal a vnfInstance
    Check HTTP Response Status Code Is    202
    Check Operation Occurrence Id
    
Heal a vnfInstance Conflict (Not-Instantiated)
POST Heal a vnfInstance Conflict (Not-Instantiated)
    # TODO: Need to set the pre-condition of the test. VNF instance shall be in INSTANTIATED state
   [Documentation]    Test ID: 6.3.5.8.2
    ...    Test title: POST Heal a vnfInstance (Not-Instantiated)
@@ -36,9 +36,9 @@ Heal a vnfInstance Conflict (Not-Instantiated)
    Check HTTP Response Body Json Schema Is    ProblemDetails 

    
Heal a vnfInstance Not Found
POST Heal a vnfInstance Not Found
   [Documentation]    Test ID: 6.3.5.8.3
    ...    Test title: POST Heal a vnfInstance (Not-Instantiated)
    ...    Test title: POST Heal a vnfInstance Not Found
    ...    Test objective: The objective is to test that the operation cannot be executed because the VNF instance resource is not found. 
    ...    Pre-conditions: the VNF instance resource is not existing
    ...    Reference:  section 5.4.9.3.1 - SOL002 v2.4.1
@@ -62,7 +62,7 @@ GET Heal VNFInstance - Method not implemented
    Check HTTP Response Status Code Is    405

PUT Heal VNFInstance - Method not implemented
    [Documentation]    Test ID: 6.3.5.8.4
    [Documentation]    Test ID: 6.3.5.8.5
    ...    Test title: PUT Heal a vnfInstance - Method not implemented
    ...    Test objective: The objective is to verify that the method is not implemented 
    ...    Pre-conditions: none
@@ -74,7 +74,7 @@ PUT Heal VNFInstance - Method not implemented
    Check HTTP Response Status Code Is    405

PATCH Heal VNFInstance - Method not implemented
    [Documentation]    Test ID: 6.3.5.8.5
    [Documentation]    Test ID: 6.3.5.8.6
    ...    Test title: PATCH Heal a vnfInstance - Method not implemented
    ...    Test objective: The objective is to verify that the method is not implemented 
    ...    Pre-conditions: none
@@ -86,7 +86,7 @@ PATCH Heal VNFInstance - Method not implemented
    Check HTTP Response Status Code Is    405
    
DELETE Heal VNFInstance - Method not implemented
    [Documentation]    Test ID: 6.3.5.8.6
    [Documentation]    Test ID: 6.3.5.8.7
    ...    Test title: DELETE Heal a vnfInstance - Method not implemented
    ...    Test objective: The objective is to verify that the method is not implemented 
    ...    Pre-conditions: none
+2 −2
Original line number Diff line number Diff line
@@ -6,9 +6,9 @@ Library JSONLibrary
Library    JSONSchemaLibrary    schemas/

*** Test Cases ***
Post Individual Subscription - Method not implemented
POST Individual Subscription - Method not implemented
    [Documentation]    Test ID: 6.3.5.18.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: none
    ...    Reference:  section 5.4.19.3.1 - SOL002 v2.4.1
+10 −10
Original line number Diff line number Diff line
@@ -13,9 +13,9 @@ Library JSONSchemaLibrary schemas/
${original_etag}    1234

*** Test Cases ***
Post Individual VNFInstance - Method not implemented
POST Individual VNFInstance - Method not implemented
    [Documentation]    Test ID: 6.3.5.2.1
    ...    Test title: Post Individual VNFInstance - Method not implemented
    ...    Test title: POST Individual VNFInstance - Method not implemented
    ...    Test objective: The objective is to test that POST method is not implemented
    ...    Pre-conditions: none
    ...    Reference: section 5.4.3.3.1 - SOL002 v2.4.1
@@ -25,9 +25,9 @@ Post Individual VNFInstance - Method not implemented
    POST individual vnfInstance
    Check HTTP Response Status Code Is    405
    
Get Information about an individual VNF Instance
GET Information about an individual VNF Instance
    [Documentation]    Test ID: 6.3.5.2.2
    ...    Test title: Get Information about an individual VNF Instance
    ...    Test title: GET Information about an individual VNF Instance
    ...    Test objective: The objective is to create a new VNF instance resource
    ...    Pre-conditions: none
    ...    Reference: section 5.4.3.3.2 - SOL002 v2.4.1
@@ -47,7 +47,7 @@ PUT Individual VNFInstance - Method not implemented
    ...    Reference: section 5.4.3.3.3 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VE
    ...    Applicability: 
    ...    Post-Conditions: 
    ...    Post-Conditions: vnf instance not modified
    PUT individual vnfInstance
    Check HTTP Response Status Code Is    405

@@ -59,7 +59,7 @@ PATCH Individual VNFInstance
    ...    Reference: section 5.4.3.3.4 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VE
    ...    Applicability: 
    ...    Post-Conditions: 
    ...    Post-Conditions: vnf instance modified
    PATCH individual vnfInstance
    Check HTTP Response Status Code Is    202
    Check Operation Occurrence Id
@@ -72,20 +72,20 @@ PATCH Individual VNFInstance Precondition failed
    ...    Reference: section 5.4.3.3.4 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VE
    ...    Applicability: 
    ...    Post-Conditions: 
    ...    Post-Conditions: vnf instance not modified
    PATCH individual vnfInstance
    Check HTTP Response Status Code Is    412
    Check HTTP Response Body Json Schema Is    ProblemDetails

PATCH Individual VNFInstance Conflict
    [Documentation]    Test ID: 6.3.5.2.6
    ...    Test title: PATCH Individual VNFInstance Precondition failed
    ...    Test title: PATCH Individual VNFInstance Conflict
    ...    Test objective: The objective is to create a new VNF instance resource
    ...    Pre-conditions: none
    ...    Reference: section 5.4.3.3.4 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VE
    ...    Applicability: 
    ...    Post-Conditions: 
    ...    Post-Conditions: vnf instance not modified
     PATCH individual vnfInstance
    Check HTTP Response Status Code Is    409
    Check HTTP Response Body Json Schema Is    ProblemDetails
@@ -98,7 +98,7 @@ DELETE Individual VNFInstance
    ...    Reference: section 5.4.3.3.5 - SOL002 v2.4.1
    ...    Config ID: Config_prod_VE
    ...    Applicability: 
    ...    Post-Conditions: 
    ...    Post-Conditions: vnf instance deleted
    DELETE individual vnfInstance
    Check HTTP Response Status Code Is    204

Loading