]
Brian Stansberry commented on WFCORE-887:
-----------------------------------------
Discussion of WFLY-9587 shows a possible other scenario where this kind of
"deprecation" might be useful. So we should try to make the facility generic.
"Deprecate" using an expression in model refs to
interfaces
-----------------------------------------------------------
Key: WFCORE-887
URL:
https://issues.jboss.org/browse/WFCORE-887
Project: WildFly Core
Issue Type: Task
Components: Domain Management
Reporter: Brian Stansberry
Fix For: 4.0.0.Alpha5
SocketBindingGroupResourceDefinition and OutboundSocketBindingResourceDefinition both
have attributes that represent model refs to interface resources, but which also allow
expressions.
Model references should not allow expressions. These were "grandfathered in"
when the large scale expression support roll out happened for AS 7.2 / EAP 6.1.
There's no metadata facility to record that expression support is deprecated, but the
add handler for these should log a WARN if they encounter an expression. Hopefully in EAP
8 we can then remove expression support.
We should look for other cases like this too, although those changes should be separate
JIRAs.