Anupam Rai created RANGER-4057:
----------------------------------

             Summary: [Ranger] /tags/tags/cache/reset api give 200 response for 
invalid service
                 Key: RANGER-4057
                 URL: https://issues.apache.org/jira/browse/RANGER-4057
             Project: Ranger
          Issue Type: Bug
          Components: Ranger
            Reporter: Anupam Rai


[Ranger] /tags/tags/cache/reset api give 200 response for invalid service

Curl Request :
{code:java}
curl -s -L -X GET "https://***********/service/tags/tags/cache/reset?abba"; -H 
"Authorization: Basic *************==" {code}
Response :
200 Status with false

Same for response for any service which we pass .

Expected : If service is existing , response should be  200 with proper message 
,
Else service is non -existing response should be 400 with error message 

Thanks



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to