]
Tomaz Cerar moved JBEAP-10436 to WFCORE-2690:
---------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-2690 (was: JBEAP-10436)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Domain Management
(was: Domain Management)
(was: Web (Undertow))
Affects Version/s: (was: 7.1.0.DR16)
Undertow CLI completion for /subsystem=undertow[default-virtual-host]
offers also server name
---------------------------------------------------------------------------------------------
Key: WFCORE-2690
URL:
https://issues.jboss.org/browse/WFCORE-2690
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Tomaz Cerar
Assignee: Tomaz Cerar
Priority: Minor
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:
{code}
/subsystem=undertow:write-attribute(name=default-virtual-host,value=
{code}
CLI will offer you this:
{code}
/subsystem=undertow:write-attribute(name=default-virtual-host,value=default-server.default-host
{code}
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.