[jboss-jira] [JBoss JIRA] (WFLY-12196) resolve property in deployment enabled attribute value

David Klika (Jira) issues at jboss.org
Sat Jun 15 05:46:00 EDT 2019


David Klika created WFLY-12196:
----------------------------------

             Summary: resolve property in deployment enabled attribute value
                 Key: WFLY-12196
                 URL: https://issues.jboss.org/browse/WFLY-12196
             Project: WildFly
          Issue Type: Feature Request
          Components: Server
    Affects Versions: 17.0.0.Final
            Reporter: David Klika
            Assignee: Brian Stansberry


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.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list