Commit 722f6a49 authored by root's avatar root Committed by Michele Carignani
Browse files

Bug Fixed

parent 698545da
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -70,7 +70,7 @@ PATCH Alarm
PATCH Alarm - Precondition failed
PATCH Alarm - Precondition failed
    [Documentation]    Test ID: 6.3.4.2.5
    [Documentation]    Test ID: 6.3.4.2.5
    ...    Test title: PATCH Alarm - Precondition failed
    ...    Test title: PATCH Alarm - Precondition failed
    ...    Test objective: The objective is to Modify an individual alarm resource
    ...    Test objective: The objective is to attempt to Modify an individual alarm resource, where the precondition was not met
    ...    Pre-conditions: The related alarm exists
    ...    Pre-conditions: The related alarm exists
    ...    Reference: clause 7.4.3.3.4 - ETSI GS NFV-SOL 002 [2] v2.4.1
    ...    Reference: clause 7.4.3.3.4 - ETSI GS NFV-SOL 002 [2] v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Config ID: Config_prod_VNFM
+10 −2
Original line number Original line Diff line number Diff line
@@ -14,10 +14,11 @@ Create a new subscription
    ...    Reference: clause 7.4.5.3.1 - ETSI GS NFV-SOL 002 [2] v2.4.1
    ...    Reference: clause 7.4.5.3.1 - ETSI GS NFV-SOL 002 [2] v2.4.1
    ...    Config ID: Config_prod_VNFM
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: 
    ...    Applicability: 
    ...    Post-Conditions: subscription is created
    ...    Post-Conditions: Resource created successfully
    Post Create subscription
    Post Create subscription
    Check HTTP Response Status Code Is    201
    Check HTTP Response Status Code Is    201
    Check HTTP Response Body Json Schema Is    FmSubscription
    Check HTTP Response Body Json Schema Is    FmSubscription
    Check resource existance


Create a new Subscription - DUPLICATION
Create a new Subscription - DUPLICATION
     [Documentation]    Test ID: 6.3.4.4.2
     [Documentation]    Test ID: 6.3.4.4.2
@@ -287,3 +288,10 @@ Check HTTP Response Body Json Schema Is
    ${schema} =    Catenate    SEPARATOR=    ${input}	.schema.json
    ${schema} =    Catenate    SEPARATOR=    ${input}	.schema.json
    Validate Json    ${schema}    ${response['body']}
    Validate Json    ${schema}    ${response['body']}
    Log    Json Schema Validation OK  
    Log    Json Schema Validation OK  
    
Check resource existance
    Set Headers    {"Accept":"${ACCEPT}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Get    ${apiRoot}/${apiName}/${apiVersion}/subscriptions/${subscriptionId} 
    Integer    response status    200
+1 −5
Original line number Original line Diff line number Diff line
@@ -37,7 +37,6 @@ GET Information about an individual VNF Instance
    GET individual vnfInstance
    GET individual vnfInstance
    Check HTTP Response Status Code Is    200
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    vnfInstance
    Check HTTP Response Body Json Schema Is    vnfInstance
    SET etag
    
    
PUT Individual VNFInstance - Method not implemented 
PUT Individual VNFInstance - Method not implemented 
     [Documentation]    Test ID: 6.3.5.2.3
     [Documentation]    Test ID: 6.3.5.2.3
@@ -137,6 +136,3 @@ Launch another LCM operation
    ${body}=    Get File    jsons/scaleVnfToLevelRequest.json
    ${body}=    Get File    jsons/scaleVnfToLevelRequest.json
    Post    ${apiRoot}/${apiName}/${apiVersion}/vnf_instances/${vnfInstanceId}/scale_to_level    ${body}
    Post    ${apiRoot}/${apiName}/${apiVersion}/vnf_instances/${vnfInstanceId}/scale_to_level    ${body}
    Integer    response status    202 
    Integer    response status    202 
SET etag
    ${etag}    Output    response headers ETag
    Set Suite Variable    ${original_etag}    ${etag}   
+4 −4
Original line number Original line Diff line number Diff line
@@ -112,7 +112,7 @@ GET status information about multiple VNF LCM Operation OCC with "exclude_fields
    Check HTTP Response Body Json Schema Is    VnfLcmOpOccs    
    Check HTTP Response Body Json Schema Is    VnfLcmOpOccs    
    
    
PUT status information about multiple VNF LCM operation occurrences - Method not implemented
PUT status information about multiple VNF LCM operation occurrences - Method not implemented
     [Documentation]    Test ID: 6.3.5.11.5
     [Documentation]    Test ID: 6.3.5.11.9
    ...    Test title: PUT status information about multiple VNF LCM operation occurrences - Method not implemented
    ...    Test title: PUT status information about multiple VNF LCM operation occurrences - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Test objective: The objective is to test that PUT method is not implemented
    ...    Pre-conditions: none
    ...    Pre-conditions: none
@@ -124,7 +124,7 @@ PUT status information about multiple VNF LCM operation occurrences - Method not
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405


PATCH status information about multiple VNF LCM operation occurrences - Method not implemented
PATCH status information about multiple VNF LCM operation occurrences - Method not implemented
    [Documentation]    Test ID: 6.3.5.11.6
    [Documentation]    Test ID: 6.3.5.11.10
    ...    Test title: PATCH status information about multiple VNF LCM operation occurrences - Method not implemented
    ...    Test title: PATCH status information about multiple VNF LCM operation occurrences - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Test objective: The objective is to test that PATCH method is not implemented
    ...    Pre-conditions: none
    ...    Pre-conditions: none
@@ -136,7 +136,7 @@ PATCH status information about multiple VNF LCM operation occurrences - Method n
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405


DELETE status information about multiple VNF LCM operation occurrences - Method not implemented
DELETE status information about multiple VNF LCM operation occurrences - Method not implemented
    [Documentation]    Test ID: 6.3.5.11.7
    [Documentation]    Test ID: 6.3.5.11.11
    ...    Test title: DELETE status information about multiple VNF LCM operation occurrences - Method not implemented
    ...    Test title: DELETE status information about multiple VNF LCM operation occurrences - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented
    ...    Test objective: The objective is to test that DELETE method is not implemented
    ...    Pre-conditions: none
    ...    Pre-conditions: none
+2 −2
Original line number Original line Diff line number Diff line
@@ -53,7 +53,7 @@ Upload PNFD Content as plain text file
    ...    Test title: Upload PNFD Content as plain text file
    ...    Test title: Upload PNFD Content as plain text file
    ...    Test objective: The objective is to test the upload of a PNFD Content in plain text format.
    ...    Test objective: The objective is to test the upload of a PNFD Content in plain text format.
    ...    Pre-conditions: One or more PNFDs are onboarded in the NFVO.
    ...    Pre-conditions: One or more PNFDs are onboarded in the NFVO.
    ...    Reference: clause 5.4.7.3.4 - ETSI GS NFV-SOL 005 [3] v2.4.1
    ...    Reference: clause 5.4.7.3.3 - ETSI GS NFV-SOL 005 [3] v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: The uploaded PNFD content is available in the NFVO
    ...    Post-Conditions: The uploaded PNFD content is available in the NFVO
@@ -67,7 +67,7 @@ Upload PNFD Content with conflict due to onboarding state
    ...    Test title: Upload PNFD Content with conflict due to onboarding state
    ...    Test title: Upload PNFD Content with conflict due to onboarding state
    ...    Test objective: The objective is to test that the upload of the PNFD Content fails due to a conflict when the PNFD is not in onboarding state CREATED in the NFVO. The test also performs a validation of the JSON schema validation of the failed operation HTTP response
    ...    Test objective: The objective is to test that the upload of the PNFD Content fails due to a conflict when the PNFD is not in onboarding state CREATED in the NFVO. The test also performs a validation of the JSON schema validation of the failed operation HTTP response
    ...    Pre-conditions: The onboarding state of the PNFD for which the PNFD Content is requested is different from CREATED.
    ...    Pre-conditions: The onboarding state of the PNFD for which the PNFD Content is requested is different from CREATED.
    ...    Reference: clause 5.4.7.3.4 - ETSI GS NFV-SOL 005 [3] v2.4.1
    ...    Reference: clause 5.4.7.3.3 - ETSI GS NFV-SOL 005 [3] v2.4.1
    ...    Config ID: Config_prod_NFVO
    ...    Config ID: Config_prod_NFVO
    ...    Applicability: none
    ...    Applicability: none
    ...    Post-Conditions: none 
    ...    Post-Conditions: none 
Loading