Skip to content

Commit

Permalink
OP-20851 : Added startTime and endTime query param
Browse files Browse the repository at this point in the history
  • Loading branch information
sriharshakancharla authored and yugaa22 committed Aug 14, 2023
1 parent af2e3e1 commit 0258265
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ class OpsmxSsdController {
@RequestParam(value = "policy", required = false) String policy,
@RequestParam(value = "typeList", required = false) String typeList,
@RequestParam(value = "alertName", required = false) String alertName,
@RequestParam(value = "id", required = false) String id) {
return opsMxSsdService.getSddResponse1(version, type, account, appId, image, imageTag, stage, deployedAt, appName, pageNo, pageLimit, sortBy, sortOrder, search, noOfDays, policy,typeList, alertName, id)
@RequestParam(value = "id", required = false) String id,
@RequestParam(value = "startTime", required = false) String startTime,
@RequestParam(value = "endTime", required = false) String endTime) {
return opsMxSsdService.getSddResponse1(version, type, account, appId, image, imageTag, stage, deployedAt, appName, pageNo, pageLimit, sortBy, sortOrder, search, noOfDays, policy,typeList, alertName, id, startTime, endTime)
}

@ApiOperation(value = "Endpoint for ssd services")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ interface OpsmxSsdService {
@Query("policy") String policy,
@Query("typeList") String typeList,
@Query("alertName") String alertName,
@Query("id") String id)
@Query("id") String id,
@Query("startTime") String startTime,
@Query("endTime") String endTime)

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

0 comments on commit 0258265

Please sign in to comment.