[jboss-jira] [JBoss JIRA] (AS7-6235) Reconsider expressions for model reference attributes in server-group and server-config
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Fri Dec 21 18:45:08 EST 2012
[ https://issues.jboss.org/browse/AS7-6235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry reassigned AS7-6235:
-------------------------------------
Assignee: Brian Stansberry
> Reconsider expressions for model reference attributes in server-group and server-config
> ---------------------------------------------------------------------------------------
>
> Key: AS7-6235
> URL: https://issues.jboss.org/browse/AS7-6235
> Project: Application Server 7
> Issue Type: Sub-task
> Components: Domain Management
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
> Priority: Critical
> Fix For: 7.2.0.Alpha1
>
>
> There are some attributes in the server-group and server-config resources that represent references to other resources that support expressions. For example the "group" attribute in a server-config and the "profile" attribute in a server-group. Supporting expressions on such attributes is problematic because it precludes accurately validating that the reference is valid during operation execution Stage.MODEL. This is because expression resolution sources may not be fully populated until Stage.RUNTIME.
> I wanted to remove expression support from these attributes but was unwilling to do so because of concerns about breaking compatibility. But some recent testing showed me that on *master* for at least some of these, setting an expression would not work -- the HC could not launch servers. If these expressions didn't work *in previous releases* as well, we can remove support for them without breaking compatibility.
> The task here is to test setting these attributes to expressions in 7.1.2 and 7.1.3. For any attribute like this where expression support didn't actually work, we should remove the support in 7.2.
> Testing can be done by simply taking the current xml attribute value, e.g. "foo" and using it as the default in an expression, e.g. "${exp-test:foo}" and then starting the HC. There is no need to mess with setting system property "exp-test".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list