Skip to content

Commit

Permalink
added current Parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
vivek-opsmx committed Aug 31, 2023
1 parent f963654 commit 941a44e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,9 @@ class OpsmxSsdController {
@RequestParam(value = "startTime", required = false) String startTime,
@RequestParam(value = "endTime", required = false) String endTime,
@RequestParam(value = "severity", required = false) String severity,
@RequestParam(value = "scope", required = false) String scope) {
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)
@RequestParam(value = "scope", required = false) String scope,
@RequestParam(value = "current", required = false) String current){
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)
}

@ApiOperation(value = "Endpoint for ssd services")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ interface OpsmxSsdService {
@Query("startTime") String startTime,
@Query("endTime") String endTime,
@Query("severity") String severity,
@Query("scope") String scope)
@Query("scope") String scope,
@Query("current") String current)

@GET("/ssdservice/{version}/{type}/{source}")
Object getSddResponse2(@Path('version') String version,
Expand Down

0 comments on commit 941a44e

Please sign in to comment.