Skip to content

Commit

Permalink
Merge pull request #146 from Pranav-b-7/master
Browse files Browse the repository at this point in the history
search and order param added
  • Loading branch information
ramyaravi-opsmx authored Feb 17, 2021
2 parents 7d199f4 + b73b6e3 commit 740d790
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,11 @@ class OpsmxDashboardController {
@PathVariable("source1") String source1,
@RequestParam(value = "index", required = false) Integer index,
@RequestParam(value = "limit", required = false) Integer limit,
@RequestParam(value = "sort", required = false) String sort) {
@RequestParam(value = "sort", required = false) String sort,
@RequestParam(value = "order", required = false) String order,
@RequestParam(value = "search", required = false) String search) {

return opsmxDashboardService.getDashboardResponse4(version, type, source, source1, index, limit, sort)
return opsmxDashboardService.getDashboardResponse4(version, type, source, source1, index, limit, sort, order, search)
}

@ApiOperation(value = "Endpoint for dashboard rest services")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ interface OpsmxDashboardService {
@Path('source1') String source1,
@Query("index") Integer index,
@Query("limit") Integer limit,
@Query("sort") String sort)
@Query("sort") String sort,
@Query("order") String order,
@Query("search") String search)

@GET("/dashboardservice/{version}/{type}/{source}/{source1}/{source2}")
Object getDashboardResponse5(@Path('version') String version,
Expand Down

0 comments on commit 740d790

Please sign in to comment.