Velmurugan Periasamy created ARGUS-57:
-----------------------------------------

             Summary: Public REST API: Search functionality not working for 
Repository and Policy
                 Key: ARGUS-57
                 URL: https://issues.apache.org/jira/browse/ARGUS-57
             Project: Argus
          Issue Type: Bug
            Reporter: Velmurugan Periasamy
            Assignee: Velmurugan Periasamy


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





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to