Skip to content

Commit

Permalink
Added query param to the autopilot endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
sriharshakancharla committed Nov 10, 2020
1 parent 1696729 commit 077e93f
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 077e93f

Please sign in to comment.