Skip to content

Add support for delete operation to the actuator endpoint API #10023

Closed
@ptahchiev

Description

@ptahchiev

As discussed on the gitter channel with the previous actuator endpoint API I was able to handle DELETE requests like this:

@ResponseBody
    @RequestMapping(value = "/{region:.+}", method = RequestMethod.DELETE)
    public CacheRegion purgeSingleCacheRegion(@PathVariable("region") String region)
                    throws MalformedObjectNameException, AttributeNotFoundException, MBeanException, ReflectionException, InstanceNotFoundException {

but seems like with the current actuator endpoint I can only do @ReadOperation and @WriteOperation.
This is an enhancement request to add @DeleteOperation to the API to be able to handle delete requests too.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions