Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RiskStatusParma added risk status param for ssd service apis #393

Merged
merged 1 commit into from
Jul 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ class OpsmxSsdController {
@RequestParam(value = "sortOrder", required = false) String sortOrder,
@RequestParam(value = "search", required = false) String search,
@RequestParam(value = "noOfDays", required = false) Integer noOfDays,
@RequestParam(value = "alertName", required = false) String alertName) {
return opsMxSsdService.getSddResponse2(version, type, source, account, appId, image, imageTag, stage, deployedAt, appName, pageNo, pageLimit, sortBy, sortOrder, search, noOfDays, alertName)
@RequestParam(value = "alertName", required = false) String alertName,
@RequestParam(value = "riskStatus", required = false) String riskStatus) {
return opsMxSsdService.getSddResponse2(version, type, source, account, appId, image, imageTag, stage, deployedAt, appName, pageNo, pageLimit, sortBy, sortOrder, search, noOfDays, alertName, riskStatus)
}

@ApiOperation(value = "Endpoint for ssd services")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ interface OpsmxSsdService {
@Query("sortOrder") String sortOrder,
@Query("search") String search,
@Query("noOfDays") Integer noOfDays,
@Query("alertName") String alertName)
@Query("alertName") String alertName,
@Query("riskStatus") String riskStatus)

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