[jboss-jira] [JBoss JIRA] (WFCORE-431) CLI should WARN about usage deprecated api

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


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

Brian Stansberry moved WFLY-3622 to WFCORE-431:
-----------------------------------------------

          Project: WildFly Core  (was: WildFly)
              Key: WFCORE-431  (was: WFLY-3622)
      Component/s: CLI
                       (was: CLI)
    Fix Version/s: 1.0.0.Beta1
                       (was: 9.0.0.Beta1)


> CLI should WARN about usage deprecated api
> ------------------------------------------
>
>                 Key: WFCORE-431
>                 URL: https://issues.jboss.org/browse/WFCORE-431
>             Project: WildFly Core
>          Issue Type: Feature Request
>          Components: CLI
>            Reporter: Tomaz Cerar
>            Assignee: Alexey Loubyansky
>             Fix For: 1.0.0.Beta1
>
>
> We added support for deprecating resources/attributes/operations/parameters some time ago.
> I would be a good thing that we would warn users if they are using deprecated API.
> Every resource/attribute/operation/param that is deprecated has extra element "deprecated" in metadata
> With sub elements 
> - "since", which tells in what version it was deprecated
> - "reason", text description why it is deprecated.
> Reason in most cases also tells what is new replacement.
> This should be only displayed in case of interactive shell usage.
> Unless there is also some special CLI log file, it could be part of that even for non-interactive usage



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


More information about the jboss-jira mailing list