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

Brian Stansberry (Jira) issues at jboss.org
Mon Jun 17 22:20:00 EDT 2019


     [ https://issues.jboss.org/browse/WFCORE-4530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry reassigned WFCORE-4530:
----------------------------------------

    Assignee:     (was: Brian Stansberry)


I have my doubts about this, as expressions for this attribute were specifically disallowed in 2013, with the comment "// allowing expressions here complicates domain mode and deployment scanners".

That was my decision and comment, but I don't recall the details behind it any more.

> resolve property in deployment enabled attribute value
> ------------------------------------------------------
>
>                 Key: WFCORE-4530
>                 URL: https://issues.jboss.org/browse/WFCORE-4530
>             Project: WildFly Core
>          Issue Type: Enhancement
>          Components: Management
>            Reporter: David Klika
>            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.



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


More information about the jboss-jira mailing list