Skip to content

Commit

Permalink
OP-21271 : Added new query param for tags for the alerts APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
sriharshakancharla committed Oct 12, 2023
1 parent a85d5e8 commit 2351c4b
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 @@ -95,8 +95,9 @@ class OpsmxSsdController {
@RequestParam(value = "endTime", required = false) String endTime,
@RequestParam(value = "severity", required = false) String severity,
@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)
@RequestParam(value = "current", required = false) String current,
@RequestParam(value = "tag", required = false) String tag) {
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)
}

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

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

0 comments on commit 2351c4b

Please sign in to comment.