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-17001: audit trail execution #237

Merged
merged 2 commits into from
Aug 12, 2022
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 @@ -206,6 +206,23 @@ class OpsmxDashboardController {
return opsmxDashboardService.getDashboardResponse9(version, type, source, source1, source2, source3, source4, source5, source6)
}


@ApiOperation(value = "Endpoint for dashboard rest services")
@RequestMapping(value = "/{version}/{type}/{source}/{source1}/{source2}/{source3}/{source4}/{source5}/{source6}/{source7}", method = RequestMethod.GET)
Object getDashboardResponse10(@PathVariable("version") String version,
@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,
@PathVariable("source7") String source7) {

return opsmxDashboardService.getDashboardResponse10(version, type, source, source1, source2, source3, source4, source5, source6,source7)
}

@ApiOperation(value = "Endpoint for dashboard rest services")
@RequestMapping(value = "/{version}/{type}", method = RequestMethod.DELETE)
Object deleteDashboardResponse(@PathVariable("version") String version,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -503,9 +503,11 @@ class OpsmxOesController {
@PathVariable("source2") String source2,
@PathVariable("source3") String source3,
@PathVariable("source4") String source4,
@PathVariable("source5") String source5) {
@PathVariable("source5") String source5,
@RequestParam(value = "gateIds", required = false) String gateIds
) {

return opsmxOesService.getOesResponse8(type, source, source1, source2, source3, source4, source5)
return opsmxOesService.getOesResponse8(type, source, source1, source2, source3, source4, source5,gateIds)
}

@ApiOperation(value = "Endpoint for Oes rest services")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,18 @@ interface OpsmxDashboardService {
@Path('source5') String source5,
@Path('source6') String source6)

@GET("/dashboardservice/{version}/{type}/{source}/{source1}/{source2}/{source3}/{source4}/{source5}/{source6}/{source7}")
Object getDashboardResponse10(@Path('version') String version,
@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,
@Path('source7') String source7)

@DELETE("/dashboardservice/{version}/{type}")
Object deleteDashboardResponse(@Path('version') String version,
@Path('type') String type)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ interface OpsmxOesService {
@Path('source2') String source2,
@Path('source3') String source3,
@Path('source4') String source4,
@Path('source5') String source5)
@Path('source5') String source5,
@Query("gateIds") String gateIds)

@GET("/oes/{type}/{source}/{source1}/{source2}/{source3}/{source4}/{source5}/{source6}")
Object getOesResponse9(@Path('type') String type,
Expand Down