]
Brian Stansberry updated WFLY-12196:
------------------------------------
Component/s: Management
(was: Server)
resolve property in deployment enabled attribute value
------------------------------------------------------
Key: WFLY-12196
URL:
https://issues.jboss.org/browse/WFLY-12196
Project: WildFly
Issue Type: Enhancement
Components: Management
Reporter: David Klika
Assignee: Brian Stansberry
Priority: Major
I have defined a deployment (standalone mode) with enabled attribute value referencing to
a property like this: enabled="${app1.enabled}". This case is not supported at
least by the configuration validator:
OPVDX001: Validation error in standalone.xml -----------------------------------
| The primary underlying error message was:
| > ParseError at [row,col]:[377,5]
| > Message: "WFLYCTL0097: Wrong type for 'enabled'. Expected [BOOLEAN]
| > but was STRING. Couldn't convert \"${app1.enabled}\" to
| > [BOOLEAN]"
The same problem is in domain mode with enabled property on server group deployment
definition.