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 087432da0d..bcd2430f93 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 @@ -87,8 +87,10 @@ class OpsmxSsdController { @RequestParam(value = "policy", required = false) String policy, @RequestParam(value = "typeList", required = false) String typeList, @RequestParam(value = "alertName", required = false) String alertName, - @RequestParam(value = "id", required = false) String id) { - return opsMxSsdService.getSddResponse1(version, type, account, appId, image, imageTag, stage, deployedAt, appName, pageNo, pageLimit, sortBy, sortOrder, search, noOfDays, policy,typeList, alertName, id) + @RequestParam(value = "id", required = false) String id, + @RequestParam(value = "startTime", required = false) String startTime, + @RequestParam(value = "endTime", required = false) String endTime) { + return opsMxSsdService.getSddResponse1(version, type, account, appId, image, imageTag, stage, deployedAt, appName, pageNo, pageLimit, sortBy, sortOrder, search, noOfDays, policy,typeList, alertName, id, startTime, endTime) } @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 388858f025..a815b9a6de 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 @@ -44,7 +44,9 @@ interface OpsmxSsdService { @Query("policy") String policy, @Query("typeList") String typeList, @Query("alertName") String alertName, - @Query("id") String id) + @Query("id") String id, + @Query("startTime") String startTime, + @Query("endTime") String endTime) @GET("/ssdservice/{version}/{type}/{source}") Object getSddResponse2(@Path('version') String version,