Skip to content

Commit

Permalink
OP-15067: gate policy api
Browse files Browse the repository at this point in the history
  • Loading branch information
ramyaravi-opsmx committed Apr 29, 2022
1 parent e633186 commit fd7c5d3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,13 @@ class OpsmxAuditClientServiceController {
@ApiOperation(value = "Endpoint for audit-client rest services")
@RequestMapping(value = "/{version}/{type}", method = RequestMethod.GET)
Object getAuditClientResponse1(@PathVariable("version") String version,
@PathVariable("type") String type) {
return opsmxAuditClientService.getAuditClientResponse1(version, type)
@PathVariable("type") String type,
@RequestParam(value = "applicationName",required = false) String applicationName,
@RequestParam(value = "noOfDays", required = false) Integer noOfDays,
@RequestParam(value = "pageNo",required = false) Integer page,
@RequestParam(value = "size", required = false) Integer size,
@RequestParam(value = "policyDeny",required = false) String policyDeny) {
return opsmxAuditClientService.getAuditClientResponse1(version, type,applicationName,noOfDays,page,size,policyDeny)
}

@ApiOperation(value = "Endpoint for audit-client rest services")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ interface OpsmxAuditClientService {

@GET("/auditclientservice/{version}/{type}")
Object getAuditClientResponse1(@Path('version') String version,
@Path('type') String type)
@Path('type') String type,
@Query("applicationName") String applicationName,
@Query("noOfDays") Integer noOfDays,
@Query("pageNo") Integer page,
@Query("size") Integer size,
@Query("policyDeny") String policyDeny)

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

0 comments on commit fd7c5d3

Please sign in to comment.