[jboss-jira] [JBoss JIRA] (WFCORE-3465) Eliminate uses of ModelNode.resolve()

Brian Stansberry (JIRA) issues at jboss.org
Tue Dec 19 11:50:00 EST 2017


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

Brian Stansberry moved WFLY-9623 to WFCORE-3465:
------------------------------------------------

        Project: WildFly Core  (was: WildFly)
            Key: WFCORE-3465  (was: WFLY-9623)
    Component/s: Domain Management
                     (was: Domain Management)


> Eliminate uses of ModelNode.resolve()
> -------------------------------------
>
>                 Key: WFCORE-3465
>                 URL: https://issues.jboss.org/browse/WFCORE-3465
>             Project: WildFly Core
>          Issue Type: Task
>          Components: Domain Management
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>
> Code inspection shows there are 23 uses of ModelNode.resolve() in WildFly's own code base, 12 in production code and 11 in test code. We should eliminate these, as WildFly's expression resolution is more complex than the ModelNode.resolve() contract, including vault support for which its' hard to imagine us wanting support in DMR itself. So these uses should switch to resolution from the OperationContext or, if that's not feasible, e.g. in test code, use something like ExpressionResolver.TEST_RESOLVER.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list