[jboss-jira] [JBoss JIRA] (WFCORE-1962) Deprecate ParameterValidator.validateResolvedParameter, try and get rid of uses of it

Brian Stansberry (JIRA) issues at jboss.org
Tue Nov 8 12:22:00 EST 2016


Brian Stansberry created WFCORE-1962:
----------------------------------------

             Summary: Deprecate ParameterValidator.validateResolvedParameter, try and get rid of uses of it
                 Key: WFCORE-1962
                 URL: https://issues.jboss.org/browse/WFCORE-1962
             Project: WildFly Core
          Issue Type: Task
          Components: Domain Management
            Reporter: Brian Stansberry
             Fix For: 3.0.0.Beta1


The ParameterValidator.validateResolvedParameter method specifies the impl should call ModelNode.resolve() and then validate that. This is a broken contract as ModelNode.resolve() is not the expression resolution mechanism of WildFly.

This code is only used in a few places. The normal way resolution + validation happens is outside code (e.g. AttributeDefinition) resolves the value and then calls the normal ParameterValidator.validateParameter method.

So, task here is to look into the few uses of this method in core and full, determine they can be changed to no longer use it, change them, then deprecate this method.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list