[JBoss JIRA] (WFCORE-1372) CompositeIndexProcessor::calculateModuleIndex does not respect import filters
by Stuart Douglas (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1372?page=com.atlassian.jira.plugi... ]
Stuart Douglas commented on WFCORE-1372:
----------------------------------------
Not sure what you mean? This happens before the module exists, so we have to manually iterate dependencies.
> CompositeIndexProcessor::calculateModuleIndex does not respect import filters
> -----------------------------------------------------------------------------
>
> Key: WFCORE-1372
> URL: https://issues.jboss.org/browse/WFCORE-1372
> Project: WildFly Core
> Issue Type: Bug
> Components: Server
> Reporter: Alessio Soldano
> Assignee: David Lloyd
>
> I have a deployment whose manifest declares
> {noformat}Dependencies: org.foo annotations{noformat}
> What I'm trying to do with the org.foo module is basically filtering (and exposing) a subset of the org.apache.cxf.impl module. To achieve that, I have the following module.xml:
> {noformat}
> <module xmlns="urn:jboss:module:1.3" name="org.foo">
> <resources>
> </resources>
> <dependencies>
> <module name="org.apache.cxf.impl" services="import">
> <imports>
> <include path="META-INF/cxf"/>
> <include path="META-INF"/>
> <include path="org/apache/cxf/sts"/>
> <include path="org/apache/cxf/sts/**"/>
> <include path="org/apache/cxf/ws/security/sts/**"/>
> </imports>
> <exports>
> <include path="META-INF/cxf"/>
> <include path="META-INF"/>
> <include path="org/apache/cxf/sts"/>
> <include path="org/apache/cxf/sts/**"/>
> <include path="org/apache/cxf/ws/security/sts/**"/>
> </exports>
> </module>
> <module name="asm.asm" />
> <module name="javax.api" />
> <module name="javax.annotation.api" />
> <module name="javax.validation.api"/>
> <module name="javax.jms.api" />
> <module name="javax.jws.api" />
> <module name="javax.mail.api" />
> <module name="javax.resource.api" />
> <module name="javax.servlet.api" />
> <module name="javax.wsdl4j.api" />
> <module name="javax.xml.bind.api" services="import"/>
> <module name="com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider"/>
> <module name="com.sun.xml.bind" services="import"/>
> <module name="javax.xml.soap.api" />
> <module name="javax.xml.stream.api" />
> <module name="javax.xml.ws.api" />
> <module name="javax.ws.rs.api" />
> <module name="org.apache.commons.lang" />
> <module name="org.apache.httpcomponents"/>
> <module name="org.apache.neethi" />
> <module name="org.apache.velocity" />
> <module name="org.apache.xml-resolver" />
> <module name="org.apache.ws.xmlschema" />
> <module name="org.apache.ws.security" />
> <module name="org.apache.santuario.xmlsec" />
> <module name="org.codehaus.jettison" />
> <module name="org.codehaus.woodstox" />
> <module name="org.joda.time" />
> <module name="org.opensaml" />
> </dependencies>
> </module>
> {noformat}
> The problem I'm having is that the composite annotation index that's attached to my deployment includes annotations from org.apache.cxf.impl module classes that are not included in the imports/exports above.
> To me, this is due to the CompositeIndexProcessor::calculateModuleIndex(Module module) method that uses PathFilters.getDefaultImportFilter() (instead of my filters) for adding stuff to the index.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (AG-57) Rename AgroalConnectionFactoryConfiguration.driverClassName()
by Luis Barreiro (JIRA)
[ https://issues.jboss.org/browse/AG-57?page=com.atlassian.jira.plugin.syst... ]
Luis Barreiro resolved AG-57.
-----------------------------
Resolution: Done
{{AgroalConnectionFactoryConfiguration.driverClassName()}} got deprecated and {{ClassLoaderProvider}} as well. Add {{AgroalConnectionFactoryConfiguration.connectionProviderClass()}} instead.
The connection provider class can still be loaded from a String, using either {{AgroalConnectionFactoryConfigurationSupplier}} or {{AgroalPropertiesReader}}
> Rename AgroalConnectionFactoryConfiguration.driverClassName()
> -------------------------------------------------------------
>
> Key: AG-57
> URL: https://issues.jboss.org/browse/AG-57
> Project: Agroal
> Issue Type: Bug
> Components: api
> Affects Versions: 0.4
> Reporter: Luis Barreiro
> Assignee: Luis Barreiro
> Fix For: 0.5
>
>
> After AG-54 the connection factory can create connections from multiple sources, not only a java.sql.Driver. Therefore the name of the property should be changed.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (WFLY-9939) Eliminate the need to override the org.jboss.as.clustering.jgroups module in our openshift images
by Brian Stansberry (JIRA)
Brian Stansberry created WFLY-9939:
--------------------------------------
Summary: Eliminate the need to override the org.jboss.as.clustering.jgroups module in our openshift images
Key: WFLY-9939
URL: https://issues.jboss.org/browse/WFLY-9939
Project: WildFly
Issue Type: Enhancement
Components: Clustering
Reporter: Brian Stansberry
Assignee: Paul Ferraro
Our openshift images are overriding the org.jboss.as.clustering.jgroups module.xml in order to include a dependency on the org.openshift.ping module. This is fragile because any update to the overridden module.xml needs to be applied to the override file as well, and that can easily break.
Let's make the need for this go away. Possibilities:
1) Add an optional dependency on module "org.openshift.ping" to the org.jboss.as.clustering.jgroups module. The openshift images then just add that module. In bare metal installations the module is not present.
2) Change the standalone-openshift.xml configs such that whatever is using this module declares a "module" attribute, removing the need for the module.xml dependency. (If this is the correct solution, please move this issue to the CLOUD JIRA project where we can use it to track removing the override.)
3) Ship whatever's needed from org.openshift.ping in WF itself, eliminating the need for that module. This may already be in progress as I've seen some relevant JIRAs. (If this is the correct solution, please move this issue to the CLOUD JIRA project where we can use it to track removing the override and the installation of the org.openshift.ping module.)
[~luck3y] FYI.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months