Commit 3713af86 authored by Najam UI Hassan's avatar Najam UI Hassan
Browse files

templating, minor fix and new testcases added

parent c1963d1f
Loading
Loading
Loading
Loading
+5 −9
Original line number Diff line number Diff line
@@ -54,10 +54,9 @@ POST Individual VNF Package Subscription - Method not implemented
    ...    Reference: Clause 10.4.8.3.1 - ETSI GS NFV-SOL 003 [1] v2.7.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: The VNF Package Subscription is not created on the NFVO
    ...    Post-Conditions: none
    Send Post request for individual VNF Package Subscription
    Check HTTP Response Status Code Is    405
    Check Postcondition VNF Package Subscription is not Created

PUT Individual VNF Package Subscription - Method not implemented
    [Documentation]    Test ID: 7.3.3.7.5
@@ -67,10 +66,9 @@ PUT Individual VNF Package Subscription - Method not implemented
    ...    Reference: Clause 10.4.8.3.3 - ETSI GS NFV-SOL 003 [1] v2.7.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: The VNF Package subscription is not modified by the operation
    ...    Post-Conditions: none
    Send Put request for individual VNF Package Subscription
    Check HTTP Response Status Code Is    405
    Check Postcondition VNF Package Subscription is Unmodified (Implicit)

PATCH Individual VNF Package Subscription - Method not implemented
    [Documentation]    Test ID: 7.3.3.7.6
@@ -80,10 +78,9 @@ PATCH Individual VNF Package Subscription - Method not implemented
    ...    Reference: Clause 10.4.8.3.4 - ETSI GS NFV-SOL 003 [1] v2.7.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: The VNF Package subscription is not modified by the operation
    ...    Post-Conditions: none
    Send Patch request for individual VNF Package Subscription
    Check HTTP Response Status Code Is    405
    Check Postcondition VNF Package Subscription is Unmodified (Implicit)

DELETE Individual VNF Package Subscription
    [Documentation]    Test ID: 7.3.3.7.7
@@ -93,7 +90,6 @@ DELETE Individual VNF Package Subscription
    ...    Reference: Clause 10.4.8.3.5 - ETSI GS NFV-SOL 003 [1] v2.7.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: The VNF Package Subscription is not available anymore in the NFVO    
    ...    Post-Conditions: none   
    Send Delete request for individual VNF Package Subscription
    Check HTTP Response Status Code Is    204
 No newline at end of file
    Check Postcondition VNF Package Subscription is Deleted
 No newline at end of file
+5 −5
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ GET Individual VNF Package with invalid resource identifier
    ...    Post-Conditions: none    
    GET Individual VNF Package with invalid resource identifier
    Check HTTP Response Status Code Is    404
    Check HTTP Response Body Json Schema Is   ProblemDetails

POST Individual VNF Package - Method not implemented
    [Documentation]    Test ID: 7.3.3.2.3
@@ -77,10 +78,9 @@ DELETE Individual VNF Package - Method not implemented
    ...    Reference: Clause 10.4.3.3.5 - ETSI GS NFV-SOL 003 [1] v2.7.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: The VNF Package is not deleted by the failed operation
    ...    Post-Conditions: none
    Send DELETE Request for individual VNF Package
    Check HTTP Response Status Code Is    405
    Check Postcondition VNF Package Exist
    
GET Individual OnBoarded VNF Package
    [Documentation]    Test ID: 7.3.3.2.7
@@ -107,6 +107,7 @@ GET Individual OnBoarded VNF Package with invalid resource identifier
    ...    Post-Conditions: none    
    GET Individual OnBoarded VNF Package with invalid resource identifier
    Check HTTP Response Status Code Is    404
    Check HTTP Response Body Json Schema Is   ProblemDetails

POST Individual OnBoarded VNF Package - Method not implemented
    [Documentation]    Test ID: 7.3.3.2.9
@@ -152,7 +153,6 @@ DELETE Individual OnBoarded VNF Package - Method not implemented
    ...    Reference: Clause 10.4.3.3.5 - ETSI GS NFV-SOL 003 [1] v2.7.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: The VNF Package is not deleted by the failed operation
    ...    Post-Conditions: none
    Send DELETE Request for individual OnBoarded VNF Package
    Check HTTP Response Status Code Is    405
 No newline at end of file
    Check Postcondition VNF Package Exist
 No newline at end of file
+4 −4
Original line number Diff line number Diff line
@@ -81,6 +81,7 @@ GET Individual VNF Package Artifact with invalid resource identifier
    ...    Post-Conditions: none    
    GET Individual VNF Package Artifact with invalid resource identifier
    Check HTTP Response Status Code Is    404
    Check HTTP Response Body Json Schema Is   ProblemDetails

GET Individual VNF Package Artifact with conflict due to onboarding state
    [Documentation]    Test ID: 7.3.3.5.7
@@ -139,10 +140,9 @@ DELETE Individual VNF Package Artifact - Method not implemented
    ...    Reference: Clause 10.4.6.3.5 - ETSI GS NFV-SOL 003 [1] v2.7.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: The VNF Package artifact is not deleted by the failed operation
    ...    Post-Conditions: none
    Send DELETE Request for individual VNF Package Artifact
    Check HTTP Response Status Code Is    405
    Check Postcondition Individual VNF Package Artifact Exist

GET Individual OnBoarded VNF Package Artifact
    [Documentation]    Test ID: 7.3.3.5.12
@@ -218,6 +218,7 @@ GET Individual OnBoarded VNF Package Artifact with invalid resource identifier
    ...    Post-Conditions: none    
    GET Individual OnBoarded VNF Package Artifact with invalid resource identifier
    Check HTTP Response Status Code Is    404
    Check HTTP Response Body Json Schema Is   ProblemDetails

GET Individual OnBoarded VNF Package Artifact with conflict due to onboarding state
    [Documentation]    Test ID: 7.3.3.5.18
@@ -276,10 +277,9 @@ DELETE Individual OnBoarded VNF Package Artifact - Method not implemented
    ...    Reference: Clause 10.4.6.3.5 - ETSI GS NFV-SOL 003 [1] v2.7.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: The VNF Package artifact is not deleted by the failed operation
    ...    Post-Conditions: none
    Send DELETE Request for individual OnBoarded VNF Package Artifact
    Check HTTP Response Status Code Is    405
    Check Postcondition Individual OnBoarded VNF Package Artifact Exist

GET Individual VNF Package Artifact with security information
    [Documentation]    Test ID: 7.3.3.5.23
+3 −5
Original line number Diff line number Diff line
@@ -25,7 +25,6 @@ Get All VNF Package Subscriptions
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    PkgmSubscriptions


Get VNF Package Subscriptions with attribute-based filter
    [Documentation]    Test ID: 7.3.3.6.2
    ...    Test title: Get VNF Package Subscriptions with attribute-based filter
@@ -40,7 +39,6 @@ Get VNF Package Subscriptions with attribute-based filter
    Check HTTP Response Body Json Schema Is    PkgmSubscription
    Check HTTP Response Body Subscriptions Match the requested Attribute-Based Filter


Get VNF Package Subscriptions with invalid attribute-based filter
    [Documentation]    Test ID: 7.3.3.6.3
    ...    Test title: Get VNF Package Subscriptions with attribute-based filters
@@ -65,6 +63,7 @@ GET VNF Package Subscription with invalid resource endpoint
    ...    Post-Conditions: none    
    Get VNF Package Subscriptions with invalid resource endpoint
    Check HTTP Response Status Code Is    404
    Check HTTP Response Body Json Schema Is   ProblemDetails

Create new VNF Package subscription
    [Documentation]    Test ID: 7.3.3.6.5
@@ -147,10 +146,9 @@ DELETE VNF Package Subscriptions - Method not implemented
    ...    Reference: Clause 10.4.7.3.5 - ETSI GS NFV-SOL 003 [1] v2.7.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: The VNF package subscriptions are not deleted by the failed operation 
    ...    Post-Conditions: none
    Send Delete Request for VNF Package Subscriptions
    Check HTTP Response Status Code Is    405
    Check Postcondition VNF Package Subscriptions Exists
    
Get All VNF Package Subscriptions as Paged Response
    [Documentation]    Test ID: 7.3.3.6.11
@@ -163,7 +161,7 @@ Get All VNF Package Subscriptions as Paged Response
    ...    Post-Conditions: none    
    Get all VNF Package Subscriptions
    Check HTTP Response Status Code Is    200
    Check LINK in Header
    Check HTTP Response Header Contain Link

Get VNF Package Subscriptions - Bad Request Response too Big
    [Documentation]    Test ID: 7.3.3.6.12
+3 −5
Original line number Diff line number Diff line
@@ -128,10 +128,9 @@ DELETE VNFD in Individual VNF Package Content - Method not implemented
    ...    Reference: Clause 10.4.4.3.5 - ETSI GS NFV-SOL 003 [1] v2.7.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: The VNFD is not deleted by the failed operation
    ...    Post-Conditions: none
    Send DELETE Request for VNFD in individual VNF Package
    Check HTTP Response Status Code Is    405
    Check Postcondition VNFD Exist

Get single file VNFD in Individual OnBoarded VNF Package in Plain Format
    [Documentation]    Test ID: 7.3.3.4.12
@@ -254,10 +253,9 @@ DELETE VNFD in Individual OnBoarded VNF Package Content - Method not implemented
    ...    Reference: Clause 10.4.4.3.5 - ETSI GS NFV-SOL 003 [1] v2.7.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: The VNFD is not deleted by the failed operation
    ...    Post-Conditions: none
    Send DELETE Request for VNFD in individual OnBoarded VNF Package
    Check HTTP Response Status Code Is    405
    Check Postcondition VNFD Exist
    
Get multi file VNFD in Individual VNF Package with security information
    [Documentation]    Test ID: 7.3.3.4.23
Loading