mirror of https://github.com/apache/nifi.git
parent
ae6f615365
commit
4236125f2b
|
@ -623,7 +623,7 @@ public class ControllerServiceResource extends ApplicationResource {
|
|||
* @return a componentStateEntity
|
||||
*/
|
||||
@POST
|
||||
@Consumes(MediaType.WILDCARD)
|
||||
@Consumes(MediaType.APPLICATION_FORM_URLENCODED)
|
||||
@Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML})
|
||||
@Path("/{availability}/{id}/state/clear-requests")
|
||||
@PreAuthorize("hasAnyRole('ROLE_DFM')")
|
||||
|
|
|
@ -631,7 +631,7 @@ public class ProcessorResource extends ApplicationResource {
|
|||
* @return a componentStateEntity
|
||||
*/
|
||||
@POST
|
||||
@Consumes(MediaType.WILDCARD)
|
||||
@Consumes(MediaType.APPLICATION_FORM_URLENCODED)
|
||||
@Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML})
|
||||
@Path("/{id}/state/clear-requests")
|
||||
@PreAuthorize("hasAnyRole('ROLE_DFM')")
|
||||
|
|
|
@ -616,7 +616,7 @@ public class ReportingTaskResource extends ApplicationResource {
|
|||
* @return a componentStateEntity
|
||||
*/
|
||||
@POST
|
||||
@Consumes(MediaType.WILDCARD)
|
||||
@Consumes(MediaType.APPLICATION_FORM_URLENCODED)
|
||||
@Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML})
|
||||
@Path("/{availability}/{id}/state/clear-requests")
|
||||
@PreAuthorize("hasAnyRole('ROLE_DFM')")
|
||||
|
|
Loading…
Reference in New Issue