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 8241891d6e..f767f5a5e4 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 @@ -134,9 +134,10 @@ class OpsmxSsdController { @RequestParam(value = "scope", required = false) String scope, @RequestParam(value = "current", required = false) String current, @RequestParam(value = "tag", required = false) String tag, - @RequestParam(value = "tool", required = false) String tool, - @RequestParam(value = "tags", required = false) String tags) { - return opsMxSsdService.getSddResponse1(version, type, account, appId, image, imageTag, stage, deployedAt, appName, pageNo, pageLimit, sortBy, sortOrder, search, noOfDays, policy, typeList, alertName, id, startTime, endTime, severity, scope, current, tag,tool, tags) + @RequestParam(value = "tool", required = false) String tool, + @RequestParam(value = "tags", required = false) String tags, + @RequestParam(value = "action", required = false) String action) { + return opsMxSsdService.getSddResponse1(version, type, account, appId, image, imageTag, stage, deployedAt, appName, pageNo, pageLimit, sortBy, sortOrder, search, noOfDays, policy, typeList, alertName, id, startTime, endTime, severity, scope, current, tag, tool, tags, action) } @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 c04ec17027..966eb6f864 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 @@ -53,7 +53,8 @@ interface OpsmxSsdService { @Query("current") String current, @Query("tag") String tag, @Query("tool") String tool, - @Query("tags") String tags) + @Query("tags") String tags, + @Query("action") String action) @GET("/ssdservice/{version}/{type}/{source}") Object getSddResponse2(@Path('version') String version,