Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-4287

CLI should show not show default value once value one of "alternatives" attributes was set

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Major
    • None
    • None
    • Management
    • None

    Description

      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:

      [standalone@localhost:9990 /] ls /subsystem=messaging-activemq/server=default
      elytron-domain=undefined
      security-domain=other
      

      at this moment when I try set elytron-domain:

      [standalone@localhost:9990 /] /subsystem=messaging-activemq/server=default:write-attribute(name=elytron-domain,value=ApplicationRealm)
      

      then it shows:

      [standalone@localhost:9990 /] ls /subsystem=messaging-activemq/server=default
      elytron-domain=ApplicationDomain
      security-domain=other
      

      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.

      Attachments

        Issue Links

          Activity

            People

              mpetrov@redhat.com Michal Petrov
              mnovak1@redhat.com Miroslav Novak
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: