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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 3.0.0.Beta16
    • None
    • Management
    • None
    • 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.
    • User Experience

      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.

              tomazcerar Tomaž Cerar (Inactive)
              tomazcerar Tomaž Cerar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: