[jboss-jira] [JBoss JIRA] (WFCORE-4287) CLI should show not show default value once value one of "alternatives" attributes was set
Michal Petrov (Jira)
issues at jboss.org
Tue Jun 18 06:53:00 EDT 2019
[ https://issues.jboss.org/browse/WFCORE-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13748221#comment-13748221 ]
Michal Petrov commented on WFCORE-4287:
---------------------------------------
[~brian.stansberry], unless I'm missing something we only need to modify ReadAttributeHandler to not supply the default value if the model has alternatives, however doing so breaks legacy tests. Is there a way to resolve that?
> CLI should show not show default value once value one of "alternatives" attributes was set
> ------------------------------------------------------------------------------------------
>
> Key: WFCORE-4287
> URL: https://issues.jboss.org/browse/WFCORE-4287
> Project: WildFly Core
> Issue Type: Enhancement
> Components: Management
> Reporter: Miroslav Novak
> Priority: Major
>
> If there are attributes which are "alternatives" and both of them are undefined then default value of one of the attributes is shown in CLI, for example:
> {code}
> [standalone at localhost:9990 /] ls /subsystem=messaging-activemq/server=default
> elytron-domain=undefined
> security-domain=other
> {code}
> at this moment when I try set elytron-domain:
> {code}
> [standalone at localhost:9990 /] /subsystem=messaging-activemq/server=default:write-attribute(name=elytron-domain,value=ApplicationRealm)
> {code}
> then it shows:
> {code}
> [standalone at localhost:9990 /] ls /subsystem=messaging-activemq/server=default
> elytron-domain=ApplicationDomain
> security-domain=other
> {code}
> Can this be changed that it would show {{security-domain=undefined}} so it would not show default values anymore? Current display is confusing as it's not clear what is used.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list