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

Public REST API: Search functionality not working for Repository and Policy

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: None
    • Labels:
      None

      Description

      Search Repository does not filter results for the following parameters:
      1) status 2) repositoryType

      Call to test:
      curl -i --header "Accept:application/json" -H "Content-Type: application/json" --user admin:***** -X GET $REST_SERVER/service/public/api/repository?status=enabled&type=hdfs

      Search Policy does not filter the results for the following parameters :
      1) isRecursive 2) repositoryName

      Call to test:
      curl -i --user admin:***** -X GET $REST_SERVER/service/public/api/policy?repositoryName=$REPO_NAME&isRecursive=true

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vel Velmurugan Periasamy
                Reporter:
                vel Velmurugan Periasamy
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: