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 895ffed62b..fcf8c1ff0d 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 @@ -51,9 +51,10 @@ class OpsmxSsdController { @RequestParam(value = "stage", required = false) String stage, @RequestParam(value = "policy", required = false) String policy, @RequestParam(value = "policyId", required = false) Integer policyId, + @RequestParam(value = "id", required = false) Integer id, @RequestBody(required = false) Object data) { - return opsMxSsdService.postSsdServiceResponse(version, type, stage, policy, policyId,data) + return opsMxSsdService.postSsdServiceResponse(version, type, stage, policy, policyId,id,data) } @ApiOperation(value = "Endpoint for ssd rest 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 849999795d..7719a23689 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 @@ -149,6 +149,7 @@ interface OpsmxSsdService { @Query("stage") String stage, @Query("policy") String policy, @Query("policyId") Integer policyId, + @Query("id") Integer id, @Body Object data) @POST("/ssdservice/{version}/{type}/{source}")