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

Op 10701 gate url #100

Merged
merged 2 commits into from
Dec 20, 2021
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 @@ -69,9 +69,10 @@ class OpsmxAuditClientServiceController {
@RequestParam(value = "isTreeView", required = false) Boolean isTreeView,
@RequestParam(value = "isLatest", required = false) Boolean isLatest,
@RequestParam(value = "pageNo", required = false) Integer pageNo,
@RequestParam(value = "size", required = false) Integer size) {

return opsmxAuditClientService.getAuditClientResponse3(version, type, source, source1, isTreeView, isLatest, pageNo, size)
@RequestParam(value = "pageLimit", required = false) Integer pageLimit,
@RequestParam(value = "noOfDays", required = false) String noOfDays,
@RequestParam(value = "search", required = false) String search) {
return opsmxAuditClientService.getAuditClientResponse3(version, type, source, source1, isTreeView, isLatest, pageNo, pageLimit,noOfDays,search)
}

@ApiOperation(value = "Endpoint for audit-client rest services")
Expand All @@ -92,9 +93,9 @@ class OpsmxAuditClientServiceController {
@PathVariable("source") String source,
@PathVariable("source1") String source1,
@PathVariable("source2") String source2,
@PathVariable("source3") String source3) {

return opsmxAuditClientService.getAuditClientResponse5(version, type, source, source1, source2, source3)
@PathVariable("source3") String source3,
@RequestParam(value = "noOfDays", required = false) String noOfDays) {
return opsmxAuditClientService.getAuditClientResponse5(version, type, source, source1, source2, source3,noOfDays)
}

@ApiOperation(value = "Endpoint for audit-client rest services")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package com.opsmx.spinnaker.gate.services

import org.springframework.web.bind.annotation.RequestParam
import retrofit.client.Response
import retrofit.http.GET
import retrofit.http.Path
Expand All @@ -37,13 +38,15 @@ interface OpsmxAuditClientService {

@GET("/auditclientservice/{version}/{type}/{source}/{source1}")
Object getAuditClientResponse3(@Path('version') String version,
@Path('type') String type,
@Path('source') String source,
@Path('source1') String source1,
@Query("isTreeView") Boolean isTreeView,
@Path('type') String type,
@Path('source') String source,
@Path('source1') String source1,
@Query("isTreeView") Boolean isTreeView,
@Query("isLatest") Boolean isLatest,
@Query("pageNo") Integer pageNo,
@Query("size") Integer size)
@Query("pageLimit") Integer pageLimit,
@Query("noOfDays") String noOfDays,
@Query("search") String search)

@GET("/auditclientservice/{version}/{type}/{source}/{source1}/{source2}")
Object getAuditClientResponse4(@Path('version') String version,
Expand All @@ -58,7 +61,8 @@ interface OpsmxAuditClientService {
@Path('source') String source,
@Path('source1') String source1,
@Path('source2') String source2,
@Path('source3') String source3)
@Path('source3') String source3,
@Query("noOfDays") String noOfDays)

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