[jboss-jira] [JBoss JIRA] (WFLY-9622) Eliminate uses of ModelNode.resolve()

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


Brian Stansberry created WFLY-9622:
--------------------------------------

             Summary: Eliminate uses of ModelNode.resolve()
                 Key: WFLY-9622
                 URL: https://issues.jboss.org/browse/WFLY-9622
             Project: WildFly
          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