Skip to content

Commit

Permalink
Merge pull request #403 from OpsMx/Feature/OP-20854-v4.0
Browse files Browse the repository at this point in the history
OP-20854 : Added severity query param
  • Loading branch information
srikanthopsmx authored Aug 8, 2023
2 parents 5a37379 + f83d895 commit 71ff075
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 @@ -89,8 +89,9 @@ class OpsmxSsdController {
@RequestParam(value = "alertName", required = false) String alertName,
@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)
@RequestParam(value = "endTime", required = false) String endTime,
@RequestParam(value = "severity", required = false) String severity) {
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)
}

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

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

0 comments on commit 71ff075

Please sign in to comment.