Skip to content

Commit

Permalink
OP-17001: audit trail execution phase 3 (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramyaravi-opsmx authored Aug 12, 2022
1 parent 3712dba commit 6d2644c
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,23 @@ class OpsmxAutopilotController {
return opsmxAutopilotService.getAutoResponse9(type, source, source1, source2, source3, source4, source5, source6, source7, source8, imageId)
}

@ApiOperation(value = "Endpoint for autopilot rest services")
@RequestMapping(value = "/{type}/{source}/{source1}/{source2}/{source3}/{source4}/{source5}/{source6}", method = RequestMethod.GET)
Object getAutoResponse10(@PathVariable("type") String type,
@PathVariable("source") String source,
@PathVariable("source1") String source1,
@PathVariable("source2") String source2,
@PathVariable("source3") String source3,
@PathVariable("source4") String source4,
@PathVariable("source5") String source5,
@PathVariable("source6") String source6,
@RequestParam(value = "imageId", required = false) String imageId,
@RequestParam(value = "canaryIds", required = false) String canaryIds,
@RequestParam(value = "gateIds", required = false) String gateIds) {

return opsmxAutopilotService.getAutoResponse10(type, source, source1, source2, source3, source4, source5, source6,imageId, canaryIds, gateIds)
}

@ApiOperation(value = "Endpoint for autopilot rest services")
@RequestMapping(value = "/{type}", method = RequestMethod.DELETE)
Object deleteAutoResponse1(@PathVariable("type") String type) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ interface OpsmxAutopilotService {
@Query("canaryIds") String canaryIds,
@Query("gateIds") String gateIds)


@GET("/autopilot/{type}/{source}/{source1}/{source2}/{source3}/{source4}/{source5}/{source6}/{source7}/{source8}")
Object getAutoResponse9(@Path('type') String type,
@Path('source') String source,
Expand All @@ -173,6 +174,19 @@ interface OpsmxAutopilotService {
@Path('source8') String source8,
@Query("imageId") String imageId)

@GET("/autopilot/{type}/{source}/{source1}/{source2}/{source3}/{source4}/{source5}/{source6}")
Object getAutoResponse10(@Path('type') String type,
@Path('source') String source,
@Path('source1') String source1,
@Path('source2') String source2,
@Path('source3') String source3,
@Path('source4') String source4,
@Path('source5') String source5,
@Path('source6') String source6,
@Query("imageId") String imageId,
@Query("canaryIds") String canaryIds,
@Query("gateIds") String gateIds)

@DELETE("/autopilot/{type}")
Object deleteAutoResponse1(@Path('type') String type)

Expand Down

0 comments on commit 6d2644c

Please sign in to comment.