[jboss-jira] [JBoss JIRA] (WFCORE-1871) AbstractDeploymentChainStep should fail if executed post-boot
Brian Stansberry (JIRA)
issues at jboss.org
Mon Oct 17 17:24:00 EDT 2016
Brian Stansberry created WFCORE-1871:
----------------------------------------
Summary: AbstractDeploymentChainStep should fail if executed post-boot
Key: WFCORE-1871
URL: https://issues.jboss.org/browse/WFCORE-1871
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
AbstractDeploymentChainStep is intended to be called from AbstractBoottimeAddStepHandler or a functional equivalent that only calls it during boot. But WFLY-7300 and https://github.com/wildfly/wildfly/pull/9264 show that usage pattern is not being followed. So we should enforce it and fail if called post-boot.
As a nice-to-have, instead of always failing the impl could check the OperationDefinition for the currently executing operation and if it reports that reload is required, then AbstractDeploymentChainStep can do the reload-required stuff currently done by AbstractBoottimeAddStepHandler. If the definition doesn't report reload-required, then the definition is wrong and the usage is wrong, so we should fail.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list