Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-10353

Undertow CLI completion for /subsystem=undertow[default-virtual-host] offers also server name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 7.1.0.DR17
    • 7.1.0.DR16
    • Management, Undertow
    • None
    • User Experience
    • Not Required
    • Hide
      1. Unzip and start EAP
      2. connect to CLI and try tab completition with following:
        /subsystem=undertow:write-attribute(name=default-virtual-host,value=
        

        EAP will offer you available virual host prefixed with server in which they are created.

      Show
      Unzip and start EAP connect to CLI and try tab completition with following: /subsystem=undertow:write-attribute(name= default -virtual-host,value= EAP will offer you available virual host prefixed with server in which they are created.

    Description

      CLI autocompletion in Undertow subsystem for attribute /subsystem=undertow[default-virtual-host] does not work correctly. When you try to tab-complete with following command and default configuration in use:

      /subsystem=undertow:write-attribute(name=default-virtual-host,value=
      

      CLI will offer you this:

      /subsystem=undertow:write-attribute(name=default-virtual-host,value=default-server.default-host
      

      which is not correct as accepted attribute value is just virtual host name, in this case that means 'default-host'.

      Expected behavior is that CLI will offer you just names of virtual hosts with tab-completion.

      Attachments

        Issue Links

          Activity

            People

              tomazcerar Tomaž Cerar (Inactive)
              jstourac@redhat.com Jan Stourac
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: