[jboss-jira] [JBoss JIRA] (WFCORE-334) "Ignore failure" for management operations

Brian Stansberry (JIRA) issues at jboss.org
Mon Dec 1 15:52:51 EST 2014


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

Brian Stansberry moved WFLY-1395 to WFCORE-334:
-----------------------------------------------

        Project: WildFly Core  (was: WildFly)
            Key: WFCORE-334  (was: WFLY-1395)
    Component/s: Domain Management
                     (was: Domain Management)


> "Ignore failure" for management operations
> ------------------------------------------
>
>                 Key: WFCORE-334
>                 URL: https://issues.jboss.org/browse/WFCORE-334
>             Project: WildFly Core
>          Issue Type: Feature Request
>          Components: Domain Management
>            Reporter: Ondrej Zizka
>
> Most operations don't follow any "overwrite" concept.
> To emulate it, one needs to check for existence of a resource, conditionally delete it, and then create the new one.
> This is not easily applicable in a batch.
> Implementing overwrite for all actions would be tedious.
> But this could help:
> Another "standard" property (similar to {{address}} and {{op-name}}) "onFail=ignore" or such, which would make the operation not fail if an exception occurs. A short CLI syntax could be a '?' at the end of operation's name:
> {code}
> /foo=bar/boo=baz:remove?()
> {code}
> This would allow mgmt API users to queue a removing operation without knowing if it exists; thus, effectively, doing an overwrite.



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jboss-jira mailing list