[jboss-jira] [JBoss JIRA] (WFCORE-3432) Correct ManagementResourceRegistration runtime-only metadata
Brian Stansberry (JIRA)
issues at jboss.org
Mon Nov 27 14:58:00 EST 2017
Brian Stansberry created WFCORE-3432:
----------------------------------------
Summary: Correct ManagementResourceRegistration runtime-only metadata
Key: WFCORE-3432
URL: https://issues.jboss.org/browse/WFCORE-3432
Project: WildFly Core
Issue Type: Task
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
We have MRRs, e.g. ServerEnvironmentResourceDescription, where the resources are runtime-only but the MRR.isRuntimeOnly() is not stating that.
3 possible aspects to this:
1) Audit uses of Resource.Factory.create(true[,...]) and check that those are also setting up the ResourceDefinition correctly so the MRR reports runtime-only.
2) Change the ConcreteResourceRegistration stuff such that it ignores the ResourceDefinition if the parent is runtime-only. IOW, runtime-only parents can't have non-runtime-only children. This would wipe out a category of possilbe errors in the setup of the children.
3) Have ExtensionRegistry/SubsystemRegistrationImpl ensure that the registrations for deployment resource children are runtime-only.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list