Commit 21f3667c authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

replaced informations with information

parent e27cc279
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -2,7 +2,7 @@
Resource    environment/variables.txt 
Resource    environment/variables.txt 
Library    REST    ${VNFM_SCHEMA}://${VNFM_HOST}:${VNFM_PORT}
Library    REST    ${VNFM_SCHEMA}://${VNFM_HOST}:${VNFM_PORT}
Library    JSONSchemaLibrary
Library    JSONSchemaLibrary
Suite Setup    Check resource existance
Suite Setup    Check resource existence


*** Test Cases ***
*** Test Cases ***
Escalate the perceived severity 
Escalate the perceived severity 
@@ -67,7 +67,7 @@ DELETE Escalate the perceived severity - Method not implemented
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405


*** Keywords ***
*** Keywords ***
Check resource existance
Check resource existence
    Set Headers    {"Accept":"${ACCEPT}"}  
    Set Headers    {"Accept":"${ACCEPT}"}  
    Set Headers    {"Content-Type": "${CONTENT_TYPE}"}
    Set Headers    {"Content-Type": "${CONTENT_TYPE}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
+3 −3
Original line number Original line Diff line number Diff line
@@ -5,7 +5,7 @@ Library JSONSchemaLibrary schemas/
Library    REST    ${VNFM_SCHEMA}://${VNFM_HOST}:${VNFM_PORT}    
Library    REST    ${VNFM_SCHEMA}://${VNFM_HOST}:${VNFM_PORT}    
Documentation    This resource represents an individual subscription for VNF alarms. 
Documentation    This resource represents an individual subscription for VNF alarms. 
...    The client can use this resource to read and to terminate a subscription to notifications related to VNF fault management.
...    The client can use this resource to read and to terminate a subscription to notifications related to VNF fault management.
Suite Setup    Check resource existance
Suite Setup    Check resource existence


*** Test Cases ***
*** Test Cases ***
POST Individual Subscription - Method not implemented
POST Individual Subscription - Method not implemented
@@ -68,12 +68,12 @@ DELETE an individual subscription
    ...    Config ID: Config_prod_VNFM
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: 
    ...    Applicability: 
    ...    Post-Conditions: the subscription is deleted
    ...    Post-Conditions: the subscription is deleted
    Check resource existance
    Check resource existence
    Delete individual subscription
    Delete individual subscription
    Check HTTP Response Status Code Is    204
    Check HTTP Response Status Code Is    204
    
    
*** Keywords ***
*** Keywords ***
Check resource existance
Check resource existence
    Set Headers    {"Accept":"${ACCEPT}"}
    Set Headers    {"Accept":"${ACCEPT}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Get    ${apiRoot}/${apiName}/${apiVersion}/subscriptions/${subscriptionId} 
    Get    ${apiRoot}/${apiName}/${apiVersion}/subscriptions/${subscriptionId} 
+2 −2
Original line number Original line Diff line number Diff line
@@ -6,7 +6,7 @@ Library DependencyLibrary
Library    JSONLibrary
Library    JSONLibrary
Library    JSONSchemaLibrary    schemas/
Library    JSONSchemaLibrary    schemas/
Documentation    This task resource represents the "Cancel operation" operation. The client can use this resource to cancel an ongoing VNF lifecycle operation.
Documentation    This task resource represents the "Cancel operation" operation. The client can use this resource to cancel an ongoing VNF lifecycle operation.
Suite Setup    Check resource existance
Suite Setup    Check resource existence


*** Test Cases ***
*** Test Cases ***
Post Cancel operation task
Post Cancel operation task
@@ -97,7 +97,7 @@ DELETE Cancel operation task - Method not implemented
	Check HTTP Response Status Code Is    405
	Check HTTP Response Status Code Is    405


*** Keywords ***
*** Keywords ***
Check resource existance
Check resource existence
    Set Headers    {"Accept":"${ACCEPT}"} 
    Set Headers    {"Accept":"${ACCEPT}"} 
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Get    ${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}
    Get    ${apiRoot}/${apiName}/${apiVersion}/vnf_lcm_op_occs/${vnfLcmOpOccId}
+2 −2
Original line number Original line Diff line number Diff line
@@ -5,7 +5,7 @@ Library REST ${VNFM_SCHEMA}://${VNFM_HOST}:${VNFM_PORT}
Library    OperatingSystem
Library    OperatingSystem
Library    JSONLibrary
Library    JSONLibrary
Library    JSONSchemaLibrary    schemas/
Library    JSONSchemaLibrary    schemas/
Suite Setup    Check resource existance
Suite Setup    Check resource existence


*** Test Cases ***
*** Test Cases ***
POST Change external VNF connectivity 
POST Change external VNF connectivity 
@@ -70,7 +70,7 @@ DELETE Change external VNF connectivity - Method not implemented
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405


*** Keywords ***
*** Keywords ***
Check resource existance
Check resource existence
    Set Headers    {"Accept":"${ACCEPT}"}  
    Set Headers    {"Accept":"${ACCEPT}"}  
    Set Headers    {"Content-Type": "${CONTENT_TYPE}"}
    Set Headers    {"Content-Type": "${CONTENT_TYPE}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
+4 −4
Original line number Original line Diff line number Diff line
@@ -5,7 +5,7 @@ Library REST ${VNFM_SCHEMA}://${VNFM_HOST}:${VNFM_PORT}
Library     OperatingSystem
Library     OperatingSystem
Library    JSONLibrary
Library    JSONLibrary
Library    JSONSchemaLibrary    schemas/
Library    JSONSchemaLibrary    schemas/
Suite Setup    Check resource existance
Suite Setup    Check resource existence


*** Test Cases ***
*** Test Cases ***
POST Change deployment flavour of a vnfInstance
POST Change deployment flavour of a vnfInstance
@@ -24,7 +24,7 @@ POST Change deployment flavour of a vnfInstance
POST 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
    [Documentation]    Test ID: 6.3.5.6.2
    ...    Test title: POST Change deployment flavour of a vnfInstance Conflict (Not-Instantiated)
    ...    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. 
    ...    Test objective: The objective is to test that POST method cannot 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
    ...    Pre-conditions: VNF instance resource is not in NOT-INSTANTIATED state
    ...    Reference: clause 5.4.7.3.1 - ETSI GS NFV-SOL 002 [2] v2.4.1
    ...    Reference: clause 5.4.7.3.1 - ETSI GS NFV-SOL 002 [2] v2.4.1
    ...    Config ID: Config_prod_VE
    ...    Config ID: Config_prod_VE
@@ -38,7 +38,7 @@ POST Change deployment flavour of a vnfInstance Conflict (Not-Instantiated)
POST 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
    [Documentation]    Test ID: 6.3.5.6.3
    ...    Test title: POST Change deployment flavour of a vnfInstance Not Found
    ...    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. 
    ...    Test objective: The objective is to test that POST method cannot 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
    ...    Pre-conditions: VNF instance resource is not in NOT-INSTANTIATED state
    ...    Reference: clause 5.4.7.3.1 - ETSI GS NFV-SOL 002 [2] v2.4.1
    ...    Reference: clause 5.4.7.3.1 - ETSI GS NFV-SOL 002 [2] v2.4.1
    ...    Config ID: Config_prod_VE
    ...    Config ID: Config_prod_VE
@@ -98,7 +98,7 @@ DELETE Change deployment flavour VNFInstance - Method not implemented
    Check HTTP Response Status Code Is    405
    Check HTTP Response Status Code Is    405


*** Keywords ***
*** Keywords ***
Check resource existance
Check resource existence
    Set Headers    {"Accept":"${ACCEPT}"}  
    Set Headers    {"Accept":"${ACCEPT}"}  
    Set Headers    {"Content-Type": "${CONTENT_TYPE}"}
    Set Headers    {"Content-Type": "${CONTENT_TYPE}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"Authorization":"${AUTHORIZATION}"}
Loading