]
Brett Meyer updated ARTIF-633:
------------------------------
Summary: Work around RESTEasy issues affecting batch upload support in Wildfly (was:
Work around RESTEasy issues affecting batch support in Wildfly)
Work around RESTEasy issues affecting batch upload support in
Wildfly
---------------------------------------------------------------------
Key: ARTIF-633
URL:
https://issues.jboss.org/browse/ARTIF-633
Project: Artificer
Issue Type: Bug
Reporter: Brett Meyer
Assignee: Brett Meyer
RESTEASY-1119 affects batch upload support in Wildfly. Part of the reason is that
we're using deprecated code (ClientExecutor, etc.). As suggested, something like the
following is a workaround:
{code}
ResteasyProviderFactory factory = ResteasyProviderFactory.getInstance();
ResteasyProviderFactory.pushContext(javax.ws.rs.ext.Providers.class, factory);
ResteasyClientBuilder resteasyClientBuilder = new
ResteasyClientBuilder().providerFactory(factory);
ResteasyClient client = resteasyClientBuilder.build();
{code}
But, that's only available in RE 3. We might have to pull the client-creation code
into s-ramp-server/eap and s-ramp-server/wildfly (or upgrade wildfly in eap)