Skip to content
Permalink
Browse files

Merge pull request #12219 from yersan/bugs/WFLY-11966

[WFLY-11966] Capability requirements declared twice in JCA root resource definition
  • Loading branch information
bstansberry committed Apr 14, 2019
2 parents 308577e + 47fa298 commit 91c7522a3ec2f8b57e679427aa064e86824ac478
@@ -55,8 +55,7 @@ private JcaSubsystemRootDefinition(final boolean registerRuntimeOnly) {
super(new Parameters(PATH_SUBSYSTEM, JcaExtension.getResourceDescriptionResolver())
.setAddHandler(JcaSubsystemAdd.INSTANCE)
.setRemoveHandler(JcaSubSystemRemove.INSTANCE)
.setCapabilities(JCA_NAMING_CAPABILITY)
.setCapabilities(TRANSACTION_INTEGRATION_CAPABILITY)
.setCapabilities(JCA_NAMING_CAPABILITY, TRANSACTION_INTEGRATION_CAPABILITY)
);
this.registerRuntimeOnly = registerRuntimeOnly;
}
@@ -40,6 +40,7 @@
import org.jboss.as.model.test.ModelTestControllerVersion;
import org.jboss.as.model.test.ModelTestUtils;
import org.jboss.as.model.test.SingleClassFilter;
import org.jboss.as.naming.service.NamingService;
import org.jboss.as.subsystem.test.AbstractSubsystemBaseTest;
import org.jboss.as.subsystem.test.AdditionalInitialization;
import org.jboss.as.subsystem.test.KernelServices;
@@ -89,6 +90,7 @@ protected AdditionalInitialization createAdditionalInitialization() {
ConnectorServices.LOCAL_TRANSACTION_PROVIDER_CAPABILITY,
ConnectorServices.TRANSACTION_XA_RESOURCE_RECOVERY_REGISTRY_CAPABILITY,
ConnectorServices.TRANSACTION_SYNCHRONIZATION_REGISTRY_CAPABILITY,
NamingService.CAPABILITY_NAME,
"org.wildfly.threads.thread-factory.string");
}

0 comments on commit 91c7522

Please sign in to comment.
You can’t perform that action at this time.