Skip to content

Commit

Permalink
Merge pull request #8 from OpsMx/newapi_auto
Browse files Browse the repository at this point in the history
added api
  • Loading branch information
mscr06 authored Aug 27, 2020
2 parents 25bf179 + c29807c commit 3aa5eb5
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 @@ -122,9 +122,10 @@ class OpsmxAutopilotController {
Object getAutoResponse4(@PathVariable("type") String type,
@PathVariable("source") String source,
@PathVariable("source1") String source1,
@RequestParam(value = "Ids", required = false) String[] applicationsIds) {
@RequestParam(value = "Ids", required = false) String[] applicationsIds,
@RequestParam(value = "datasourceType", required = false) String datasourceType) {

return opsmxAutopilotService.getAutoResponse4(type, source, source1, applicationsIds)
return opsmxAutopilotService.getAutoResponse4(type, source, source1, applicationsIds, datasourceType)
}

@ApiOperation(value = "Endpoint for autopilot rest services")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ interface OpsmxAutopilotService {
Object getAutoResponse4(@Path('type') String type,
@Path('source') String source,
@Path('source1') String source1,
@Query("Ids") String[] applicationsIds)
@Query("Ids") String[] applicationsIds,
@Query("datasourceType") String datasourceType)

@GET("/autopilot/{type}/{source}/{source1}/{source2}")
Object getAutoResponse5(@Path('type') String type,
Expand Down

0 comments on commit 3aa5eb5

Please sign in to comment.