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 7f1fc1dc33..318f20c49f 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 @@ -184,8 +184,9 @@ class OpsmxSsdController { @RequestParam(value = "ComponentVersion", required = false) String ComponentVersion, @RequestParam(value = "fromApp", required = false) String fromApp, @RequestParam(value = "service", required = false) String service, - @RequestParam(value = "toApp", required = false) String toApp) { - return opsMxSsdService.getSddResponse4(version, type, source, source1, source2, account, appId, image, imageTag, stage, deployedAt, appName, pageNo, pageLimit, sortBy, sortOrder, search, noOfDays, id, fromImage, toImage, fromImageTag, toImageTag, fromAccount, toAccount, kind, active, Vulnerability, Component, ComponentVersion,fromApp,service,toApp) + @RequestParam(value = "toApp", required = false) String toApp, + @RequestParam(value = "dbomType", required = false) String dbomType) { + return opsMxSsdService.getSddResponse4(version, type, source, source1, source2, account, appId, image, imageTag, stage, deployedAt, appName, pageNo, pageLimit, sortBy, sortOrder, search, noOfDays, id, fromImage, toImage, fromImageTag, toImageTag, fromAccount, toAccount, kind, active, Vulnerability, Component, ComponentVersion,fromApp,service,toApp, 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 078600a0c4..5d4482c6c5 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 @@ -129,7 +129,9 @@ interface OpsmxSsdService { @Query("ComponentVersion") String ComponentVersion, @Query("fromApp") String fromApp, @Query("service") String service, - @Query("toApp") String toApp) + @Query("toApp") String toApp, + @Query("dbomType") String dbomType) + @GET("/ssdservice/{version}/{type}/{source}/{source1}/{source2}/{source3}") Object getSddResponse5(@Path('version') String version, @Path('type') String type,