Skip to content

Commit

Permalink
Merge pull request #54 from sudhakaropsmx/master
Browse files Browse the repository at this point in the history
Added the DELETE,UPDATE Method allow more resource
  • Loading branch information
sriharshakancharla authored Nov 9, 2020
2 parents 1f27093 + 1374338 commit 60298af
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class OpsmxOesController {
}

@ApiOperation(value = "Endpoint for Oes rest services")
@RequestMapping(value = "/{type}/{source}/{source1}", method = RequestMethod.DELETE)
@RequestMapping(value = "/{type}/{source}/{source1}/{source2}", method = RequestMethod.DELETE)
Object deleteOesResponse5(@PathVariable("type") String type,
@PathVariable("source") String source,
@PathVariable("source1") String source1,
Expand All @@ -136,7 +136,7 @@ class OpsmxOesController {
}

@ApiOperation(value = "Endpoint for Oes rest services")
@RequestMapping(value = "/{type}/{source}/{source1}", method = RequestMethod.DELETE)
@RequestMapping(value = "/{type}/{source}/{source1}/{source2}/{source3}", method = RequestMethod.DELETE)
Object deleteOesResponse6(@PathVariable("type") String type,
@PathVariable("source") String source,
@PathVariable("source1") String source1,
Expand Down Expand Up @@ -217,7 +217,7 @@ class OpsmxOesController {
}

@ApiOperation(value = "Endpoint for Oes rest services")
@RequestMapping(value = "/{type}/{source}/{source1}", method = RequestMethod.PUT)
@RequestMapping(value = "/{type}/{source}/{source1}/{source2}", method = RequestMethod.PUT)
Object updateOesResponse5(@PathVariable("type") String type,
@PathVariable("source") String source,
@PathVariable("source1") String source1,
Expand All @@ -228,7 +228,7 @@ class OpsmxOesController {
}

@ApiOperation(value = "Endpoint for Oes rest services")
@RequestMapping(value = "/{type}/{source}/{source1}", method = RequestMethod.PUT)
@RequestMapping(value = "/{type}/{source}/{source1}/{source2}/{source3}", method = RequestMethod.PUT)
Object updateOesResponse6(@PathVariable("type") String type,
@PathVariable("source") String source,
@PathVariable("source1") String source1,
Expand Down

0 comments on commit 60298af

Please sign in to comment.