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

Details

    • Bug
    • Resolution: Done
    • 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

    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)
              tomazcerar Tomaž Cerar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: