Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #296 from nkamath-nflx/search_with_parameters
Browse files Browse the repository at this point in the history
Add search with all parameters in java client
  • Loading branch information
vikramsingh2104 authored Aug 10, 2017
2 parents a77cbc4 + 5c49584 commit 22b6299
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,9 @@ public SearchResult<WorkflowSummary> search(String query) {
return result;
}

public SearchResult<WorkflowSummary> search(Integer start, Integer size, String sort, String freeText, String query) {
Object[] params = new Object[]{"start", start, "size", size, "sort", sort, "freeText", freeText, "query", query};
return getForEntity("workflow/search", params, new GenericType<SearchResult<WorkflowSummary>>() {});
}

}

0 comments on commit 22b6299

Please sign in to comment.