Skip to content

Commit

Permalink
OP-21760: Added query param for alert graph data
Browse files Browse the repository at this point in the history
  • Loading branch information
sriharshakancharla committed Feb 8, 2024
1 parent 6d7989d commit c75ef77
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 @@ -201,8 +201,10 @@ class OpsmxSsdController {
@RequestParam(value = "name", required = false) String name,
@RequestParam(value = "value", required = false) String value,
@RequestParam(value = "current", required = false) String current,
@RequestParam(value = "integratorType", required = false) String integratorType) {
return opsMxSsdService.getSddResponse2(version, type, source, account, appId, image, imageTag, stage, deployedAt, appName, pageNo, pageLimit, sortBy, sortOrder, search, noOfDays, alertName, riskStatus, id, Vulnerability, Component, ComponentVersion, Image, ImageVersion,service, scope,name,value, current, integratorType)
@RequestParam(value = "integratorType", required = false) String integratorType,
@RequestParam(value = "startTime", required = false) String startTime,
@RequestParam(value = "endTime", required = false) String endTime) {
return opsMxSsdService.getSddResponse2(version, type, source, account, appId, image, imageTag, stage, deployedAt, appName, pageNo, pageLimit, sortBy, sortOrder, search, noOfDays, alertName, riskStatus, id, Vulnerability, Component, ComponentVersion, Image, ImageVersion, service, scope, name, value, current, integratorType, startTime, endTime)
}

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

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

0 comments on commit c75ef77

Please sign in to comment.