-
Notifications
You must be signed in to change notification settings - Fork 465
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WFCORE-7076] Check required installation metadata is present before …
…registering installation-manager subsystem
- Loading branch information
Showing
21 changed files
with
304 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,8 @@ | |
import org.jboss.as.controller.audit.AuditLogger; | ||
import org.jboss.as.controller.descriptions.NonResolvingResourceDescriptionResolver; | ||
import org.jboss.as.controller.persistence.ConfigurationPersister; | ||
import org.jboss.as.controller.services.path.PathManager; | ||
import org.jboss.as.controller.services.path.PathManagerService; | ||
import org.jboss.as.version.Stability; | ||
import org.jboss.msc.service.StartContext; | ||
import org.jboss.msc.service.StartException; | ||
|
@@ -35,6 +37,8 @@ | |
* @author <a href="mailto:[email protected]">Yeray Borges</a> | ||
*/ | ||
public abstract class TestModelControllerService extends AbstractControllerService { | ||
protected static final Supplier<PathManager> DEFAULT_PATH_MANAGER = () -> new PathManagerService() { | ||
}; | ||
private final CountDownLatch latch = new CountDownLatch(2); | ||
private final CapabilityRegistry capabilityRegistry; | ||
|
||
|
@@ -56,7 +60,7 @@ protected TestModelControllerService(final ProcessType processType, Stability st | |
final ConfigurationPersister configurationPersister, final ControlledProcessState processState, | ||
final ResourceDefinition rootResourceDefinition, final CapabilityRegistry capabilityRegistry) { | ||
super(executorService, null, processType, stability, runningModeControl, configurationPersister, processState, rootResourceDefinition, null, ExpressionResolver.TEST_RESOLVER, | ||
AuditLogger.NO_OP_LOGGER, new DelegatingConfigurableAuthorizer(), new ManagementSecurityIdentitySupplier(), capabilityRegistry, null); | ||
AuditLogger.NO_OP_LOGGER, new DelegatingConfigurableAuthorizer(), new ManagementSecurityIdentitySupplier(), capabilityRegistry, null, DEFAULT_PATH_MANAGER); | ||
this.capabilityRegistry = capabilityRegistry; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.