Skip to content

Commit

Permalink
Merge pull request #56 from OpsMx/VisibiityAutopilotEndpoints
Browse files Browse the repository at this point in the history
Added query param to the autopilot endpoint
  • Loading branch information
Pranav-b-7 authored Nov 10, 2020
2 parents 1696729 + 077e93f commit 0c432fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,10 @@ class OpsmxAutopilotController {
@PathVariable("source1") String source1,
@PathVariable("source2") String source2,
@PathVariable("source3") String source3,
@RequestParam(value = "isEdit", required = false) Boolean isEdit,
@RequestBody(required = false) Object data) {

return opsmxAutopilotService.postAutoResponse6(type, source, source1, source2, source3, data)
return opsmxAutopilotService.postAutoResponse6(type, source, source1, source2, source3, isEdit, data)
}

@ApiOperation(value = "Endpoint for autopilot rest services")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ interface OpsmxAutopilotService {
@Path('source1') String source1,
@Path('source2') String source2,
@Path('source3') String source3,
@Query("isEdit") Boolean isEdit,
@Body Object data)

@PUT("/autopilot/{type}")
Expand Down

0 comments on commit 0c432fe

Please sign in to comment.