[jboss-jira] [JBoss JIRA] (WFLY-11135) Object, instead of a simple boolean should be returned by stop operation on mod_cluster

Paul Ferraro (Jira) issues at jboss.org
Tue Oct 9 08:48:00 EDT 2018


     [ https://issues.jboss.org/browse/WFLY-11135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Ferraro closed WFLY-11135.
-------------------------------
    Resolution: Rejected


Rejecting.  This is a new operation, which has no requirement to conform to the output format of its legacy equivalent, so long as compatibility is preserved (which is the case).

> Object, instead of a simple boolean should be returned by stop operation on mod_cluster
> ---------------------------------------------------------------------------------------
>
>                 Key: WFLY-11135
>                 URL: https://issues.jboss.org/browse/WFLY-11135
>             Project: WildFly
>          Issue Type: Bug
>          Components: mod_cluster
>    Affects Versions: 14.0.0.Final
>            Reporter: Jan Kašík
>            Assignee: Radoslav Husar
>            Priority: Minor
>
> When calling {{stop}} operation, object should be returned:
> {code}
> [standalone at 127.0.0.1:9990 /] /subsystem=modcluster/proxy=default:stop()
> {
>     "outcome" => "success",
>     "result" => {"session-draining-complete" => true}
> }
> {code}
> Instead, just boolean is returned:
> {code}
> [standalone at 127.0.0.1:9990 /] /subsystem=modcluster/proxy=default:stop()
> {
>     "outcome" => "success",
>     "result" => true
> }
> {code}



--
This message was sent by Atlassian Jira
(v7.12.1#712002)



More information about the jboss-jira mailing list