Commit 871fddd2 authored by Mudassar Khan's avatar Mudassar Khan Committed by Giacomo Bernini
Browse files

editorial change of upadting OAuth Test case title, objective and log

parent 7f1e4525
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@ Get Information about an individual VNF Instance - Not Found
    Check HTTP Response Body Json Schema Is    ProblemDetails

Get Information about an individual VNF Instance with permitted authorization scope
    [Documentation]    Test ID: 7.3.1.2.2
    [Documentation]    Test ID: 7.3.1.2.10
    ...    Test title: Get Information about an individual VNF Instance with permitted authorization scope
    ...    Test objective: The objective is to create a new VNF instance resource with permitted authorization scope
    ...    Pre-conditions: none
@@ -144,7 +144,7 @@ Get Information about an individual VNF Instance with permitted authorization sc
    Check HTTP Response Body vnfInstance content against VNF Descriptor

Get Information about an individual VNF Instance with not permitted authorization scope
    [Documentation]    Test ID: 7.3.1.2.2
    [Documentation]    Test ID: 7.3.1.2.11
    ...    Test title: Get Information about an individual VNF Instance with not permitted authorization scope
    ...    Test objective: The objective is to create a new VNF instance resource with not permitted authorization scope
    ...    Pre-conditions: none
+8 −8
Original line number Diff line number Diff line
@@ -256,7 +256,7 @@ POST Cancel operation task not existing
	Set Global Variable    ${response}    ${outputResponse}

POST Cancel operation task with permitted authorization scope
    Log    Cancel an ongoing VNF lifecycle operation
    Log    Cancel an ongoing VNF lifecycle operation with permitted authorization scope
    ${scopeValue}=    Create Dictionary    scopeValue=${OP_OCCS_PERMITTED_SCOPE}
    ${authorizationToken}=    JWT Encode    payload=${scopeValue}    key=${OAUTH_KEY}    algorithm=${OAUTH_ENCRYPTION_ALGORITHM}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"${AUTHORIZATION_HEADER}":"${authorizationToken}"}
@@ -267,7 +267,7 @@ POST Cancel operation task with permitted authorization scope
	Set Global Variable    ${response}    ${outputResponse}

POST Cancel operation task with not permitted authorization scope
    Log    Cancel an ongoing VNF lifecycle operation
    Log    Cancel an ongoing VNF lifecycle operation with not permitted authorization scope
    ${scopeValue}=    Create Dictionary    scopeValue=${OP_OCCS_NOT_PERMITTED_SCOPE}
    ${authorizationToken}=    JWT Encode    payload=${scopeValue}    key=${OAUTH_KEY}    algorithm=${OAUTH_ENCRYPTION_ALGORITHM}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"${AUTHORIZATION_HEADER}":"${Authorization_Token}"}
@@ -1317,7 +1317,7 @@ Get VNF LCM Operation occurrences with exclude_fields attribute selector
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output} 
GET VNF LCM Operation occurrences with permitted authorization scope
    Log    Query status information about multiple VNF lifecycle management operation occurrences.
    Log    Query status information about multiple VNF lifecycle management operation occurrences with permitted authorization scope.
    ${scopeValue}=    Create Dictionary    scopeValue=${OP_OCCS_PERMITTED_SCOPE}
    ${authorizationToken}=    JWT Encode    payload=${scopeValue}    key=${OAUTH_KEY}    algorithm=${OAUTH_ENCRYPTION_ALGORITHM}
    Set Headers  {"Accept":"${ACCEPT}"}  
@@ -1327,7 +1327,7 @@ GET VNF LCM Operation occurrences with permitted authorization scope
    ${outputResponse}=    Output    response
	Set Global Variable    ${response}    ${outputResponse}
GET VNF LCM Operation occurrences with not permitted authorization scope
    Log    Query status information about multiple VNF lifecycle management operation occurrences.
    Log    Query status information about multiple VNF lifecycle management operation occurrences with not permitted authorization scope.
    ${scopeValue}=    Create Dictionary    scopeValue=${OP_OCCS_NOT_PERMITTED_SCOPE}
    ${authorizationToken}=    JWT Encode    payload=${scopeValue}    key=${OAUTH_KEY}    algorithm=${OAUTH_ENCRYPTION_ALGORITHM}
    Set Headers  {"Accept":"${ACCEPT}"}  
@@ -1373,7 +1373,7 @@ Get Individual VNF LCM Operation occurrences
    ${outputResponse}=    Output    response
	Set Global Variable    ${response}    ${outputResponse}
Get Individual VNF LCM Operation occurrences with permitted authorization scope
    Log    Query status information about multiple VNF lifecycle management operation occurrences.
    Log    Query status information about multiple VNF lifecycle management operation occurrences with permitted authorization scope.
    Set Headers  {"Accept":"${ACCEPT}"}  
    ${scopeValue}=    Create Dictionary    scopeValue=${OP_OCCS_PERMITTED_SCOPE}
    ${authorizationToken}=    JWT Encode    payload=${scopeValue}    key=${OAUTH_KEY}    algorithm=${OAUTH_ENCRYPTION_ALGORITHM}
@@ -1383,7 +1383,7 @@ Get Individual VNF LCM Operation occurrences with permitted authorization scope
    ${outputResponse}=    Output    response
	Set Global Variable    ${response}    ${outputResponse}
Get Individual VNF LCM Operation occurrences with not permitted authorization scope
    Log    Query status information about multiple VNF lifecycle management operation occurrences.
    Log    Query status information about multiple VNF lifecycle management operation occurrences with not permitted authorization scope.
    Set Headers  {"Accept":"${ACCEPT}"}  
    ${scopeValue}=    Create Dictionary    scopeValue=${OP_OCCS_NOT_PERMITTED_SCOPE}
    ${authorizationToken}=    JWT Encode    payload=${scopeValue}    key=${OAUTH_KEY}    algorithm=${OAUTH_ENCRYPTION_ALGORITHM}
@@ -2590,7 +2590,7 @@ DELETE individual VNF Snapshot - CONFLICT
	Set Global Variable    ${response}    ${outputResponse}

GET individual VNF Snapshot with permitted authorization scope
    log    Trying to get information about an individual VNF snapshot
    log    Trying to get information about an individual VNF snapshot with permitted authorization scope
    ${scopeValue}=    Create Dictionary    scopeValue=${VNF_SNAPSHOT_INFO_PERMITTED_SCOPE}
    ${authorizationToken}=    JWT Encode    payload=${scopeValue}    key=${OAUTH_KEY}    algorithm=${OAUTH_ENCRYPTION_ALGORITHM}
    Set Headers    {"Accept":"${ACCEPT}"}  
@@ -2601,7 +2601,7 @@ GET individual VNF Snapshot with permitted authorization scope
	Set Global Variable    ${response}    ${outputResponse}

GET individual VNF Snapshot with not permitted authorization scope
    log    Trying to get information about an individual VNF snapshot
    log    Trying to get information about an individual VNF snapshot with not permitted authorization scope
    ${scopeValue}=    Create Dictionary    scopeValue=${VNF_SNAPSHOT_INFO_NOT_PERMITTED_SCOPE}
    ${authorizationToken}=    JWT Encode    payload=${scopeValue}    key=${OAUTH_KEY}    algorithm=${OAUTH_ENCRYPTION_ALGORITHM}
    Set Headers    {"Accept":"${ACCEPT}"}