Commit 9fe327e4 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 ab35dd1f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -490,7 +490,7 @@ JWT Encode
    ${encoded}=    Evaluate    jwt.encode(${payload}, ${key}, ${algorithm})
    [Return]    ${encoded}
GET Alarms Task with permitted authorization scope
	Log    Query VNF The GET method queries information about multiple alarms.
	Log    Query VNF The GET method queries information about multiple alarms with permitted authorization scope.
    Set Headers    {"Accept": "${ACCEPT}"}
    Set Headers    {"Version": "${API_VERSION}"}  
    ${scope_value}=    Create Dictionary    scopeValue=${ALARMS_READONLY_SCOPE}
@@ -502,7 +502,7 @@ GET Alarms Task with permitted authorization scope
	Set Global Variable    ${response}    ${outputResponse}

GET Alarms Task with not permitted authorization scope
	Log    Query VNF The GET method queries information about multiple alarms.
	Log    Query VNF The GET method queries information about multiple alarms with not permitted authorization scope.
    Set Headers    {"Accept": "${ACCEPT}"}
    Set Headers    {"Version": "${API_VERSION}"}  
    ${scope_value}=    Create Dictionary    scopeValue=${NEG_SCOPE}
+2 −2
Original line number Diff line number Diff line
@@ -151,7 +151,7 @@ JWT Encode
    ${encoded}=    Evaluate    jwt.encode(${payload}, ${key}, ${algorithm})
    [Return]    ${encoded}
POST escalate severity with permitted authorization scope
    Log    escalate the perceived severity of an alarm with the VNFM
    Log    escalate the perceived severity of an alarm with the VNFM with permitted authorization scope
    Set Headers    {"Accept": "${ACCEPT}"}
    Set Headers    {"Version": "${API_VERSION}"}  
    Set Headers  {"Content-Type": "${CONTENT_TYPE}"}
@@ -164,7 +164,7 @@ POST escalate severity with permitted authorization scope
    ${outputResponse}=    Output    response
	Set Global Variable    ${response}    ${outputResponse}
POST escalate severity with not permitted authorization scope
    Log    escalate the perceived severity of an alarm with the VNFM
    Log    escalate the perceived severity of an alarm with the VNFM with not permitted authorization scope
    Set Headers    {"Accept": "${ACCEPT}"}
    Set Headers    {"Version": "${API_VERSION}"}  
    Set Headers  {"Content-Type": "${CONTENT_TYPE}"}
+2 −2
Original line number Diff line number Diff line
@@ -254,7 +254,7 @@ JWT Encode
    ${encoded}=    Evaluate    jwt.encode(${payload}, ${key}, ${algorithm})
    [Return]    ${encoded}
PATCH Alarm Task with permitted authorization scope
    log    Trying to perform a PATCH. This method modifies an individual alarm resource
    log    Trying to perform a PATCH. This method modifies an individual alarm resource with permitted authorization scope
    Set Headers    {"Accept": "${ACCEPT}"}
    Set Headers    {"Version": "${API_VERSION}"} 
    Set Headers  {"Content-Type": "${CONTENT_TYPE_PATCH}"}
@@ -267,7 +267,7 @@ PATCH Alarm Task with permitted authorization scope
    ${outputResponse}=    Output    response
	Set Global Variable    ${response}    ${outputResponse}
PATCH Alarm Task with not permitted authorization scope
    log    Trying to perform a PATCH. This method modifies an individual alarm resource
    log    Trying to perform a PATCH. This method modifies an individual alarm resource with not permitted authorization scope
    Set Headers    {"Accept": "${ACCEPT}"}
    Set Headers    {"Version": "${API_VERSION}"} 
    Set Headers  {"Content-Type": "${CONTENT_TYPE_PATCH}"}
+2 −2
Original line number Diff line number Diff line
@@ -190,7 +190,7 @@ JWT Encode
    ${encoded}=    Evaluate    jwt.encode(${payload}, ${key}, ${algorithm})
    [Return]    ${encoded}
Get individual subscription with permitted authorization scope
    log    Trying to get information about an individual subscription
    log    Trying to get information about an individual subscription with permitted authorization scope
    Set Headers    {"Accept":"${ACCEPT}"}
    Set Headers    {"Version": "${API_VERSION}"}  
    ${scope_value}=    Create Dictionary    scopeValue=${SUBSCRIPTIONS_SCOPE}
@@ -200,7 +200,7 @@ Get individual subscription with permitted authorization scope
    ${outputResponse}=    Output    response
	Set Global Variable    ${response}    ${outputResponse}
Get individual subscription with not permitted authorization scope
    log    Trying to get information about an individual subscription
    log    Trying to get information about an individual subscription with not permitted authorization scope
    Set Headers    {"Accept":"${ACCEPT}"}
    Set Headers    {"Version": "${API_VERSION}"}  
    ${scope_value}=    Create Dictionary    scopeValue=${NEG_SCOPE}
+2 −2
Original line number Diff line number Diff line
@@ -575,7 +575,7 @@ JWT Encode
    ${encoded}=    Evaluate    jwt.encode(${payload}, ${key}, ${algorithm})
    [Return]    ${encoded}
Post Create subscription with permitted authorization scope
    Log    Create subscription instance by POST to ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions
    Log    Create subscription instance by POST to ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions with permitted authorization scope
    Set Headers    {"Accept": "${ACCEPT}"}
    Set Headers    {"Version": "${API_VERSION}"}  
    Set Headers  {"Content-Type": "${CONTENT_TYPE}"}
@@ -594,7 +594,7 @@ Post Create subscription with permitted authorization scope
	Set Global Variable    ${response}    ${output}
	Clear Requests    ${callback_endpoint}
Post Create subscription with not permitted authorization scope
    Log    Create subscription instance by POST to ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions
    Log    Create subscription instance by POST to ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions with not permitted authorization scope
    Set Headers    {"Accept": "${ACCEPT}"}
    Set Headers    {"Version": "${API_VERSION}"}  
    Set Headers  {"Content-Type": "${CONTENT_TYPE}"}