Skip to content

Commit

Permalink
OP-16992 : Added parameter for PipelineAndPolicy summarycount (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
sudhakaropsmx authored Aug 5, 2022
1 parent 8c3016f commit 707fcef
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 @@ -88,9 +88,10 @@ class OpsmxAuditClientServiceController {
@PathVariable("type") String type,
@PathVariable("source") String source,
@PathVariable("source1") String source1,
@PathVariable("source2") String source2) {
@PathVariable("source2") String source2,
@RequestParam(value = "noOfDays", required = false) String noOfDays) {

return opsmxAuditClientService.getAuditClientResponse4(version, type, source, source1, source2)
return opsmxAuditClientService.getAuditClientResponse4(version, type, source, source1, source2, noOfDays)
}

@ApiOperation(value = "Endpoint for audit-client rest services")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ interface OpsmxAuditClientService {
@Path('type') String type,
@Path('source') String source,
@Path('source1') String source1,
@Path('source2') String source2)
@Path('source2') String source2,
@Query("noOfDays") String noOfDays)

@GET("/auditclientservice/{version}/{type}/{source}/{source1}/{source2}/{source3}")
Object getAuditClientResponse5(@Path('version') String version,
Expand Down

0 comments on commit 707fcef

Please sign in to comment.