[jboss-jira] [JBoss JIRA] (WFCORE-2595) Get rid of the subsystem test framework's use of jboss-metadata-common

Brian Stansberry (JIRA) issues at jboss.org
Wed Mar 29 20:37:00 EDT 2017


    [ https://issues.jboss.org/browse/WFCORE-2595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13386284#comment-13386284 ] 

Brian Stansberry commented on WFCORE-2595:
------------------------------------------

What the jboss-metadata stuff brings that ExpressionResolver doesn't is resolution against a set of passed in properties.

> Get rid of the subsystem test framework's use of jboss-metadata-common
> ----------------------------------------------------------------------
>
>                 Key: WFCORE-2595
>                 URL: https://issues.jboss.org/browse/WFCORE-2595
>             Project: WildFly Core
>          Issue Type: Task
>          Components: Domain Management, Test Suite
>            Reporter: Brian Stansberry
>
> The subsystem test framework's SchemaValidator class requires some expression resolution stuff from jboss-metadata-common, which means we have a test-only dep on that lib in core. Look into using something else for this, e.g. ExpressionResolver.SIMPLE_LENIENT. All it is doing is replacing expressions with defaults with the default value.
> SchemaValidator is less useful than we originally envisioned anyway, as a lot of the subsystem templates cannot be valid as they include substitution data.



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


More information about the jboss-jira mailing list