You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Ramachandran (Jira)" <ji...@apache.org> on 2023/01/30 17:10:00 UTC

[jira] [Updated] (RANGER-4057) [Ranger] /tags/tags/cache/reset api give 200 response for invalid service

     [ https://issues.apache.org/jira/browse/RANGER-4057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramachandran updated RANGER-4057:
---------------------------------
    Attachment: 0001-RANGER-4057-tags-tags-cache-reset-api-give-200-respo.patch

> [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
>            Assignee: Ramachandran
>            Priority: Major
>         Attachments: 0001-RANGER-4057-tags-tags-cache-reset-api-give-200-respo.patch
>
>
> [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)