]
Kabir Khan updated WFCORE-1962:
-------------------------------
Fix Version/s: 3.0.0.Beta2
(was: 3.0.0.Beta1)
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.Beta2
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.