diff --git a/gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/OpsmxSsdController.groovy b/gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/OpsmxSsdController.groovy index 9f058850d9..badb404f42 100644 --- a/gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/OpsmxSsdController.groovy +++ b/gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/OpsmxSsdController.groovy @@ -146,9 +146,11 @@ class OpsmxSsdController { @RequestParam(value = "kind", required = false) String kind, @RequestParam(value = "search", required = false) String search, @RequestParam(value = "service", required = false) String service, + @RequestParam(value = "sortBy", required = false) String sortBy, + @RequestParam(value = "sortOrder", required = false) String sortOrder, @RequestParam(value = "id", required = false) String id, @RequestParam(value = "dbomType", required = false) String dbomType) { - return opsMxSsdService.getSddResponse3(version, type, source, source1,account , appId, image, appName, noOfDays, pageNo, pageLimit, kind, search, service, id, dbomType) + return opsMxSsdService.getSddResponse3(version, type, source, source1,account , appId, image, appName, noOfDays, pageNo, pageLimit, kind, search, service,sortBy,sortOrder, id, dbomType) } @ApiOperation(value = "Endpoint for ssd services") diff --git a/gate-web/src/main/groovy/com/netflix/spinnaker/gate/services/internal/OpsmxSsdService.groovy b/gate-web/src/main/groovy/com/netflix/spinnaker/gate/services/internal/OpsmxSsdService.groovy index fbc943e978..24933af526 100644 --- a/gate-web/src/main/groovy/com/netflix/spinnaker/gate/services/internal/OpsmxSsdService.groovy +++ b/gate-web/src/main/groovy/com/netflix/spinnaker/gate/services/internal/OpsmxSsdService.groovy @@ -94,6 +94,8 @@ interface OpsmxSsdService { @Query("kind") String kind, @Query("search") String search, @Query("service") String service, + @Query("sortBy") String sortBy, + @Query("sortOrder") String sortOrder, @Query("id") String id, @Query("dbomType") String dbomType)