Commit e9e99a94 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

added doc for SOL005 VNF Package mgmt

parent 91f8fa35
Loading
Loading
Loading
Loading
+84 −70
Original line number Original line Diff line number Diff line
@@ -2,84 +2,98 @@
Library           JSONSchemaLibrary    schemas/
Library           JSONSchemaLibrary    schemas/
Resource          environment/variables.txt    # Generic Parameters
Resource          environment/variables.txt    # Generic Parameters
Resource          environment/individualSubscription.txt
Resource          environment/individualSubscription.txt
Resource          VNFPackageManagementKeywords.robot
Library           OperatingSystem
Library           OperatingSystem
Library           JSONLibrary
Library           JSONLibrary
Library           REST    ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT}
Library           REST    ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT}


*** Test Cases ***
*** Test Cases ***
GET Individual Subscription
GET Individual VNF Package Subscription
    Log    Trying to get a single subscription identified by subscriptionId
    [Documentation]    Test ID: 5.3.5.8.1
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    ...    Test title: GET Individual VNF Package Subscription
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
    ...    Test objective: The objective is to test the retrieval of individual VNF package subscription and perform a JSON schema and content validation of the returned subscription data structure
    GET    ${apiRoot}/${apiName}/${apiVersion}/subscriptions/${subscriptionId}
    ...    Pre-conditions: At least one VNF package subscription is available in the NFVO.
    Integer    response status    200
    ...    Reference:  section 9.4.8.9.3.2 - SOL005 v2.4.1
    Log    Received a 200 OK as expected
    ...    Config ID: Config_prod_NFVO
    ${contentType}=    Output    response headers Content-Type
    ...    Applicability: none
    Should Contain    ${contentType}    ${CONTENT_TYPE_JSON}
    ...    Post-Conditions: none
    ${result}=    Output    response body
    Get Individual VNF Package Subscription
    Validate Json    PkgmSubscription.schema.json    ${result}
    Check HTTP Response Status Code Is    200
    Log    Validated PkgmSubscription schema
    Check HTTP Response Body Json Schema Is   PkgmSubscription
    Check HTTP Response Body Subscription Identifier matches the requested Subscription


GET Subscription - Negative (Not Found)
GET Individual VNF Package Subscription with invalid resource identifier
    Log    Trying to perform a request on a subscriptionID which doesn't exist
    [Documentation]    Test ID: 5.3.5.8.2
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    ...    Test title: GET Individual VNF Package Subscription with invalid resource identifier
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
    ...    Test objective: The objective is to test that the retrieval of an individual VNF package subscription fails when using an invalid resource identifier
    GET    ${apiRoot}/${apiName}/${apiVersion}/subscriptions/${erroneousSubscriptionId}
    ...    Pre-conditions: At least one VNF package subscription is available in the NFVO.
    Integer    response status    404
    ...    Reference:  section 9.4.8.9.3.2 - SOL005 v2.4.1
    Log    Received 404 Not Found as expected
    ...    Config ID: Config_prod_NFVO
    ${contentType}=    Output    response headers Content-Type
    ...    Applicability: none
    Should Contain    ${contentType}    ${CONTENT_TYPE_JSON}
    ...    Post-Conditions: none
    Log    Trying to validate ProblemDetails
    GET individual VNF Package Subscription with invalid resource identifier
    ${problemDetails}=    Output    response body
    Check HTTP Response Status Code Is    404
    Validate Json    ProblemDetails.schema.json    ${problemDetails}
    Log    Validation OK


DELETE Subscription
DELETE Individual VNF Package Subscription with invalid resource identifier
    Log    Trying to perform a DELETE on a subscriptionId
    [Documentation]    Test ID: 5.3.5.8.3
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    ...    Test title: DELETE Individual VNF Package Subscription with invalid resource identifier
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
    ...    Test objective: The objective is to test that the deletion of an individual VNF package subscription fails when using an invalid resource identifier
    DELETE    ${apiRoot}/${apiName}/${apiVersion}/subscriptions/${subscriptionId}
    ...    Pre-conditions: At least one VNF package subscription is available in the NFVO.
    Integer    response status    204
    ...    Reference:  section 9.4.8.9.3.5 - SOL005 v2.4.1
    Log    Received 204 No Content as expected
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none   
    Send Delete request for individual VNF Package Subscription with invalid resource identifier
    Check HTTP Response Status Code Is    404


POST Individual VNF Package Subscription - Method not implemented
    [Documentation]    Test ID: 5.3.5.8.4
    ...    Test title: POST Individual VNF Package Subscription - Method not implemented
    ...    Test objective: The objective is to test that POST method is not allowed to create a new VNF Package Subscription
    ...    Pre-conditions: none
    ...    Reference:  section 9.4.8.9.3.1 - SOL005 v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: The VNF Package Subscription is not created on the NFVO
    Send Post request for individual VNF Package Subscription
    Check HTTP Response Status Code Is    405
    Check Postcondition VNF Package Subscription is not Created


DELETE Subscription - Negative (Not Found)
PUT Individual VNF Package Subscription - Method not implemented
    Log    Trying to perform a DELETE on a subscriptionId which doesn't exist
    [Documentation]    Test ID: 5.3.5.8.5
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    ...    Test title: PUT Individual VNF Package Subscription - Method not implemented
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
    ...    Test objective: The objective is to test that PUT method is not allowed to update an existing VNF Package subscription
    DELETE    ${apiRoot}/${apiName}/${apiVersion}/subscriptions/${erroneousSubscriptionId}
    ...    Pre-conditions: At least one VNF package subscription is available in the NFVO.
    Integer    response status    404
    ...    Reference:  section 9.4.8.9.3.3 - SOL005 v2.4.1
    Log    The subscriptionId is not present in database
    ...    Config ID: Config_prod_NFVO
    ${contentType}=    Output    response headers Content-Type
    ...    Applicability: none
    Should Contain    ${contentType}    ${CONTENT_TYPE_JSON}
    ...    Post-Conditions: The VNF Package subscription is not modified by the operation
    Log    Trying to validate ProblemDetails
    Send Put request for individual VNF Package Subscription
    ${problemDetails}=    Output    response body
    Check HTTP Response Status Code Is    405
    Validate Json    ProblemDetails.schema.json    ${problemDetails}
    Check Postcondition VNF Package Subscription is Unmodified (Implicit)
    Log    Validation OK


PUT Subscription - (Method not implemented)
PATCH Individual VNF Package Subscription - Method not implemented
    Pass Execution If    ${testOptionalMethods} == 0    optional methods are not implemented on the FUT. Skipping test.
    [Documentation]    Test ID: 5.3.5.8.6
    Log    Trying to perform a PUT. This method should not be implemented
    ...    Test title: PATCH Individual VNF Package Subscription - Method not implemented
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    ...    Test objective: The objective is to test that PATCH method is not allowed to modify an existing VNF Package subscription
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
    ...    Pre-conditions: At least one VNF package subscription is available in the NFVO.
    PUT    ${apiRoot}/${apiName}/${apiVersion}/subscriptions/${subscriptionId}
    ...    Reference:  section 9.4.8.9.3.4 - SOL005 v2.4.1
    Integer    response status    405
    ...    Config ID: Config_prod_NFVO
    Log    Received 405 Method not implemented as expected
    ...    Applicability: none
    ...    Post-Conditions: The VNF Package subscription is not modified by the operation
    Send Patch request for individual VNF Package Subscription
    Check HTTP Response Status Code Is    405
    Check Postcondition VNF Package Subscription is Unmodified (Implicit)


PATCH Subscription - (Method not implemented)
DELETE Individual VNF Package Subscription
    Pass Execution If    ${testOptionalMethods} == 0    optional methods are not implemented on the FUT. Skipping test.
    [Documentation]    Test ID: 5.3.5.8.7
    Log    Trying to perform a PATCH. This method should not be implemented
    ...    Test title: DELETE Individual VNF Package Subscription
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    ...    Test objective: The objective is to test the deletion of an individual VNF package subscription
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
    ...    Pre-conditions: At least one VNF package subscription is available in the NFVO.
    PATCH    ${apiRoot}/${apiName}/${apiVersion}/subscriptions/${subscriptionId}
    ...    Reference:  section 9.4.8.9.3.5 - SOL005 v2.4.1
    Integer    response status    405
    ...    Config ID: Config_prod_NFVO
    Log    Received 405 Method not implemented as expected
    ...    Applicability: none

    ...    Post-Conditions: The VNF Package Subscription is not available anymore in the NFVO    
POST Subscription - (Method not implemented)
    Send Delete request for individual VNF Package Subscription
    Pass Execution If    ${testOptionalMethods} == 0    optional methods are not implemented on the FUT. Skipping test.
    Check HTTP Response Status Code Is    204
    Log    Trying to perform a POST. This method should not be implemented
    Check Postcondition VNF Package Subscription is Deleted
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
 No newline at end of file
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
    POST    ${apiRoot}/${apiName}/${apiVersion}/subscriptions/${subscriptionId}
    Integer    response status    405
    Log    Received 405 Method not implemented as expected
+140 −95
Original line number Original line Diff line number Diff line
@@ -2,109 +2,154 @@
Library           JSONSchemaLibrary    schemas/
Library           JSONSchemaLibrary    schemas/
Resource          environment/variables.txt    # Generic Parameters
Resource          environment/variables.txt    # Generic Parameters
Resource          environment/individualVnfPackage.txt
Resource          environment/individualVnfPackage.txt
Resource          VNFPackageManagementKeywords.robot    
Library           JSONLibrary
Library           JSONLibrary
Library           REST    ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT}
Library           REST    ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT}


*** Test Cases ***
*** Test Cases ***
GET Individual VNF Package
GET Individual VNF Package
    Log    Trying to get a VNF Package present in the NFVO Catalogue
    [Documentation]    Test ID: 5.3.5.2.1
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    ...    Test title: GET Individual VNF Package
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
    ...    Test objective: The objective is to test the retrieval of an individual VNF package information perform a JSON schema validation of the collected data structure
    GET    ${apiRoot}/${apiName}/${apiVersion}/vnf_packages/${vnfPackageId}
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
    Integer    response status    200
    ...    Reference: section 9.4.3.3.2 - SOL005 v2.4.1
    ${contentType}=    Output    response headers Content-Type
    ...    Config ID: Config_prod_NFVO
    Should Contain    ${contentType}    ${CONTENT_TYPE_JSON}
    ...    Applicability: none
    Log    Trying to validate response
    ...    Post-Conditions: none
    ${vnfPkgInfo}=    Output    response body
    GET Individual VNF Package
    Validate Json    vnfPkgInfo.schema.json    ${vnfPkgInfo}
    Check HTTP Response Status Code Is    200
    Log    Validation OK
    Check HTTP Response Body Json Schema Is   vnfPkgInfo

    Check HTTP Response Body vnfPkgInfo Identifier matches the requested VNF Package
GET Individual VNF Package - Negative (Not Found)

    Log    Trying to perform a negative get, using wrong authorization bearer
GET Individual VNF Package with invalid resource identifier
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    [Documentation]    Test ID: 5.3.5.2.2
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
    ...    Test title: GET Individual VNF Package with invalid resource identifier
    GET    ${apiRoot}/${apiName}/${apiVersion}/vnf_packages/${erroneousVnfPackageId}
    ...    Test objective: The objective is to test that the retrieval of an individual VNF package fails when using an invalid resource identifier
    Integer    response status    404
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
    Log    Received 404 Not Found as expected
    ...    Reference: section 9.4.3.3.2 - SOL005 v2.4.1
    ${contentType}=    Output    response headers Content-Type
    ...    Config ID: Config_prod_NFVO
    Should Contain    ${contentType}    ${CONTENT_TYPE_JSON}
    ...    Applicability: none
    Log    Trying to validate ProblemDetails
    ...    Post-Conditions: none    
    ${problemDetails}=    Output    response body
    GET Individual VNF Package with invalid resource identifier
    Validate Json    ProblemDetails.schema.json    ${problemDetails}
    Check HTTP Response Status Code Is    404
    Log    Validation OK

    
POST Individual VNF Package - Method not implemented
    
    [Documentation]    Test ID: 5.3.5.2.3
PATCH Individual VNF Package
    ...    Test title: POST Individual VNF Package - Method not implemented
    Log    Trying to perform a PATCH. This method updates the information of a VNF package.
    ...    Test objective: The objective is to test that POST method is not allowed to create new VNF Package
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    ...    Pre-conditions: none
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
    ...    Reference: section 9.4.3.3.1 - SOL005 v2.4.1
    ${body}=    Load JSON From File    jsons/VnfPkgInfoModifications.json
    ...    Config ID: Config_prod_NFVO
    PATCH    ${apiRoot}/${apiName}/${apiVersion}/vnf_packages/${vnfPackageId}    ${body}
    ...    Applicability: none
    Integer    response status    200
    ...    Post-Conditions: none
    Log    Received 200 OK as expected
    Send POST Request for individual VNF Package
    Log    Trying to validate VnfPkgInfoModification
    Check HTTP Response Status Code Is    405
    ${response}=    Output    response body

    Validate Json    VnfPkgInfoModification.schema.json    ${response}
PUT Individual VNF Package - Method not implemented
    Log    Validation OK
    [Documentation]    Test ID: 5.3.5.2.4
    
    ...    Test title: PUT Individual VNF Package - Method not implemented
    
    ...    Test objective: The objective is to test that PUT method is not allowed to modify a VNF Package
PATCH Individual VNF Package - Negative (Conflict on the state of the resource)
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
    Log    Trying to perform a PATCH, disabling a package already disabled
    ...    Reference: section 9.4.3.3.3 - SOL005 v2.4.1
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    ...    Config ID: Config_prod_NFVO
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
    ...    Applicability: none
    ${body}=    Load JSON From File    jsons/VnfPkgInfoModificationsDisabled.json
    ...    Post-Conditions: none
    PATCH    ${apiRoot}/${apiName}/${apiVersion}/vnf_packages/${disabledVnfPackageId}    ${body}
    Send PUT Request for individual VNF Package
    Integer    response status    409
    Check HTTP Response Status Code Is    405
    Log    Received 409 Conflict as expected

    Log    Trying to validate ProblemDetails
Disable Individual VNF Package   
    ${response}=    Output    response body
    [Documentation]    Test ID: 5.3.5.2.5
    Validate Json    ProblemDetails.schema.json    ${response}
    ...    Test title: Disable Individual Individual VNF Package  
    Log    Validation OK    
    ...    Test objective: The objective is to test the disabling of an individual Individual VNF Package  and perform a JSON schema and content validation of the collected data structure
    
    ...    Pre-conditions: One or more VNF Packages are onboarded in the NFVO in ENABLED operational state.
    ...    Reference: section 9.4.3.3.4 - SOL005 v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: The VNF Package is in operational state DISABLED
    Send PATCH to disable Individual VNF Package
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   VnfPkgInfoModification
    Check Postcondition VNF Package is in operational state    DISABLED

Disable Individual VNF Package with conflict due to operational state DISABLED
    [Documentation]    Test ID: 5.3.5.2.6
    ...    Test title: Disable Individual VNF Package with conflict due to operational state ENABLED
    ...    Test objective: The objective is to test that disabling an individual VNF Package that is already in ENABLED operational state fails and perform a JSON schema validation of the failed operation HTTP response
    ...    Pre-conditions: One or more VNF Packages are onboarded in the NFVO in DISABLED operational state (Test ID 5.3.5.2.5).
    ...    Reference: section 9.4.3.3.4 - SOL005 v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    Send PATCH to disable Individual VNF Package
    Check HTTP Response Status Code Is    409
    Check HTTP Response Body Json Schema Is   ProblemDetails

Enable Individual VNF Package
    [Documentation]    Test ID: 5.3.5.2.7
    ...    Test title: Enable Individual VNF Package
    ...    Test objective: The objective is to test the enabling of an individual VNF Package and perform a JSON schema and content validation of the collected data structure
    ...    Pre-conditions: One or more VNF Packages are onboarded in the NFVO in DISABLED operational state (Test ID 5.3.5.2.5).
    ...    Reference: section 9.4.3.3.4 - SOL005 v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: The VNF Package is in operational state ENABLED
    Send PATCH to enable Individual VNF Package
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is   VnfPkgInfoModification
    Check Postcondition VNF Package is in operational state    ENABLED 

Enable Individual VNF Package with conflict due to operational state ENABLED
    [Documentation]    Test ID: 5.3.5.2.8
    ...    Test title: Enable Individual VNF Package with conflict due to operational state ENABLED
    ...    Test objective: The objective is to test that enabling an individual VNF Package that is already in ENABLED operational state fails and perform a JSON schema validation of the failed operation HTTP response
    ...    Pre-conditions: One or more VNF Packages are onboarded in the NFVO in ENABLED operational state (Test ID 5.3.5.2.7).
    ...    Reference: section 9.4.3.3.4 - SOL005 v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Post-Conditions: none
    Send PATCH to enable Individual VNF Package
    Check HTTP Response Status Code Is    409
    Check HTTP Response Body Json Schema Is   ProblemDetails


DELETE Individual VNF Package
DELETE Individual VNF Package
    [Documentation]    This method shall follow the provisions specified in the Tables 9.4.3.3.5-1 and 9.4.3.3.5-2 for URI query parameters,
    [Documentation]    Test ID: 5.3.5.2.9
    ...    request and response data structures, and response codes.
    ...    Test title: DELETE Individual VNF Package
    Log    Trying to perform a DELETE. This method deletes an individual VNF package resource.
    ...    Test objective: The objective is to test the deletion of an individual VNF Package
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO in DISABLED operational state
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
    ...    Reference: section 9.4.3.3.5 - SOL005 v2.4.1
    DELETE    ${apiRoot}/${apiName}/${apiVersion}/vnf_packages/${disabledVnfPackageId}
    ...    Config ID: Config_prod_NFVO
    Integer    response status    204
    ...    Applicability: none
    Log    Received 204 No Content as expected
    ...    Post-Conditions: The VNF Package is not available anymore in the NFVO 
    
    Send DELETE Request for individual VNF Package
    
    Check HTTP Response Status Code Is    405
    
    Check Postcondition VNF Package is Deleted
DELETE Individual VNF Package - Negative (Conflict on the state of the resource)

    [Documentation]    This method shall follow the provisions specified in the Tables 9.4.3.3.5-1 and 9.4.3.3.5-2 for URI query parameters,
DELETE Individual VNF Package in operational state ENABLED
    ...    request and response data structures, and response codes.
    [Documentation]    Test ID: 5.3.5.2.10
    Log    Trying to perform a DELETE trying to delete a resource which operational status is ENABLED.
    ...    Test title:  DELETE Individual VNF Package in operational state ENABLED
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    ...    Test objective: The objective is to test that the deletion of an individual VNF Package in operational state ENABLED fails. The test also performs a JSON schema validation of the failed operation HTTP response.
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
    ...    Pre-conditions: One or more VNF Package are onboarded in the NFVO in ENABLED operational state (Test ID 5.3.1.2.7).
    DELETE    ${apiRoot}/${apiName}/${apiVersion}/vnf_packages/${vnfPackageId}
    ...    Reference: section 9.4.3.3.5 - SOL005 v2.4.1
    Integer    response status    409
    ...    Config ID: Config_prod_NFVO
    Log    Received 409 Conflict as expected
    ...    Applicability: none
    Log    Trying to validate ProblemDetails
    ...    Post-Conditions: The VNF Package is not deleted by the failed operation. 
    ${response}=    Output    response body
    Send DELETE Request for Individual VNF Package in operational state ENABLED
    Validate Json    ProblemDetails.schema.json    ${response}
    Check HTTP Response Status Code Is    409
    Log    Validation OK    
    Check HTTP Response Body Json Schema Is   ProblemDetails
    
    Check Postcondition VNF Package Exists
    
    
POST Individual VNF Package - (Method not implemented)
DELETE Individual VNF Package used for instantiated VNF instances
    Pass Execution If    ${testOptionalMethods} == 0    optional methods are not implemented on the FUT. Skipping test.
    [Documentation]    Test ID: 5.3.5.2.11
    Log    Trying to perform a POST (method should not be implemented)
    ...    Test title:  DELETE Individual VNF Package used for instantiated VNF instances
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    ...    Test objective: The objective is to test that the deletion of an individual VNF Package that is used in instantiated VNF instances fails. The test also performs a JSON schema validation of the failed operation HTTP response.
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
    ...    Pre-conditions: One or more VNF instances are instantiated based on the concerned VNF package.
    POST    ${apiRoot}/${apiName}/${apiVersion}/vnf_packages/${vnfPackageId}
    ...    Reference: section 9.4.3.3.5 - SOL005 v2.4.1
    Integer    response status    405
    ...    Config ID: Config_prod_NFVO
    Log    Received 405 Method not implemented as expected
    ...    Applicability: none

    ...    Post-Conditions: The VNF Package is not deleted by the failed operation. 
PUT Individual VNF Package - (Method not implemented)
    Send DELETE Request for Individual VNF Package used for instantiated VNF instances
    Pass Execution If    ${testOptionalMethods} == 0    optional methods are not implemented on the FUT. Skipping test.
    Check HTTP Response Status Code Is    409
    Log    Trying to perform a PUT. This method should not be implemented
    Check HTTP Response Body Json Schema Is   ProblemDetails
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Check Postcondition VNF Package Exists
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization": "${AUTHORIZATION}"}
    PUT    ${apiRoot}/${apiName}/${apiVersion}/vnf_packages/${vnfPackageId}
    Integer    response status    405
    Log    Received 405 Method not implemented as expected
    
    
+87 −16

File changed.

Preview size limit exceeded, changes collapsed.

+130 −98

File changed.

Preview size limit exceeded, changes collapsed.

+128 −84

File changed.

Preview size limit exceeded, changes collapsed.

Loading