Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-4057

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 2.4.0
    • Ranger
    • None

    Description

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

      Curl Request :

      curl -s -L -X GET "https://***********/service/tags/tags/cache/reset?abba" -H "Authorization: Basic *************==" 

      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

      Attachments

        Activity

          People

            ramackri Ramachandran
            anupamrai2303 Anupam Rai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: