Skip to content

Commit

Permalink
OP-21372 : Added url mapping query param action
Browse files Browse the repository at this point in the history
  • Loading branch information
sriharshakancharla committed Nov 17, 2023
1 parent f5c5e24 commit f9d4894
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f9d4894

Please sign in to comment.