]
Radoslav Husar reassigned WFLY-5840:
------------------------------------
Assignee: Radoslav Husar (was: Paul Ferraro)
mod_cluster proxies doesn't accept expressions
----------------------------------------------
Key: WFLY-5840
URL:
https://issues.jboss.org/browse/WFLY-5840
Project: WildFly
Issue Type: Feature Request
Components: Clustering
Affects Versions: 9.0.2.Final
Reporter: Rafael Benevides
Assignee: Radoslav Husar
Labels: mod_cluster
proxy-list was deprecated in WFLY-457
Now I'm forced to use proxies but it doesn't accept expressions.
I want to create a customisable Docker image with where the modcluster ip can be
configured at runtime
I'd like that Wildfly image to accept the following command but
{noformat}
/subsystem=modcluster/mod-cluster-config=configuration:write-attribute(name=proxies,value=[${modcluster.host:modcluster}:${modcluster.port:80}])}}
{noformat}
but if fails with:{color:red} "Services that may be the cause:" =>
["jboss.outbound-socket-binding.\"${modcluster.host:modcluster}:${modcluster.port:80}\""]{color}
With
{noformat}
/subsystem=modcluster/:add-proxy(host=${modcluster.host:modcluster},port=80)
{noformat}
it fails with {color:red}WFLYMODCLS0016: No IP address could be resolved for the
specified host of the proxy.{color}