RE: [VOTE] CXF 3.1.0

2015-05-06 Thread Andrei Shakirin
+1 > -Original Message- > From: Daniel Kulp [mailto:dk...@apache.org] > Sent: Freitag, 1. Mai 2015 19:30 > To: dev@cxf.apache.org > Subject: [VOTE] CXF 3.1.0 > > It’s been a year since the 3.0.0 release and we’ve made a bunch of significant > improvements. We really need to get this o

3.1.0 regression from 3.0.4

2015-05-06 Thread Romain Manni-Bucau
Hi guys, org.apache.cxf.jaxrs.provider.PrimitiveTextProvider#isSupported changed when upgrading to also validate the media type. This sounds better but it is actually a regression since before it was supported with any media type. A solution could be to have it twice in the writer chain, once wi

Re: 3.1.0 regression from 3.0.4

2015-05-06 Thread Sergey Beryozkin
Hi Romain Looks like you have a very nice set of tests which is impressive :-) That was a 'side-effect' of getting a spec requirement enforced. It is about section 4.2.6, "java.lang.Boolean , java.lang.Character , java.lang.Number Only for text/plain" Personally I think it is too restrictiv

Re: 3.1.0 regression from 3.0.4

2015-05-06 Thread Romain Manni-Bucau
I see, maybe something doesn't hurting much CXF would be to add a flag in the primitive provider. This way users could at least configure it to go back to the previous behavior. Romain Manni-Bucau @rmannibucau | Blog | Github

Re: 3.1.0 regression from 3.0.4

2015-05-06 Thread Sergey Beryozkin
Sure, having it configurable would be one option, will take care of it. Another option is to register a custom provider. Thanks, Sergey On 06/05/15 09:59, Romain Manni-Bucau wrote: I see, maybe something doesn't hurting much CXF would be to add a flag in the primitive provider. This way use

Re: 3.1.0 regression from 3.0.4

2015-05-06 Thread Romain Manni-Bucau
2015-05-06 11:13 GMT+02:00 Sergey Beryozkin : > Sure, having it configurable would be one option, will take care of it. > Another option is to register a custom provider. > yes this is more or less the same since you redefine the priitive provider but would be sad to have to impl this one yoursel

[jaxrs] client builder and generics

2015-05-06 Thread Romain Manni-Bucau
Hi when using async client jaxrs api like: .get(new InvocationCallback>() { ... } the provider (body writer) get rawtype = collection (ok), genericType = foo (ko IMO) why isn't it Collection? was it intended? Seems org.apache.cxf.jaxrs.client.WebClient#doInvokeAsyncCallback is unwrap it. Roma

Re: 3.1.0 regression from 3.0.4

2015-05-06 Thread Sergey Beryozkin
Hi, On 06/05/15 10:19, Romain Manni-Bucau wrote: 2015-05-06 11:13 GMT+02:00 Sergey Beryozkin : Sure, having it configurable would be one option, will take care of it. Another option is to register a custom provider. yes this is more or less the same since you redefine the priitive provider b

[GitHub] cxf pull request: Schema imports are not handled correctly in gene...

2015-05-06 Thread TomasHofman
GitHub user TomasHofman opened a pull request: https://github.com/apache/cxf/pull/68 Schema imports are not handled correctly in generated WSDL and XSD files Fixing issue https://issues.apache.org/jira/browse/CXF-6392 - XSD files cannot be accessed by URLs that should be ena

Re: 3.1.0 regression from 3.0.4

2015-05-06 Thread Romain Manni-Bucau
Hmm, doesn't org.apache.cxf.jaxrs.provider.PrimitiveTextProvider#isReadable/ isWriteable ignore parent configuration? Romain Manni-Bucau @rmannibucau | Blog | Github | LinkedIn

Re: 3.1.0 regression from 3.0.4

2015-05-06 Thread Sergey Beryozkin
I think it is fine now, have a look at the source please... Thanks, Sergey On 06/05/15 16:00, Romain Manni-Bucau wrote: Hmm, doesn't org.apache.cxf.jaxrs.provider.PrimitiveTextProvider#isReadable/ isWriteable ignore parent configuration? Romain Manni-Bucau @rmannibucau

[GitHub] cxf pull request: Schema imports are not handled correctly in gene...

2015-05-06 Thread TomasHofman
GitHub user TomasHofman opened a pull request: https://github.com/apache/cxf/pull/69 Schema imports are not handled correctly in generated WSDL and XSD files Proposed fix and test case for https://issues.apache.org/jira/browse/CXF-6392 - XSD files cannot be accessed by URLs

Re: 3.1.0 regression from 3.0.4

2015-05-06 Thread Romain Manni-Bucau
how https://git-wip-us.apache.org/repos/asf?p=cxf.git;a=blob;f=rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/PrimitiveTextProvider.java;h=31721b0cea8be76318ce350ab047ff034aba1808;hb=c7db05bc509942f266c494c692d8331f8fdf8ada could accept */*? Romain Manni-Bucau @rmannibucau

Re: 3.1.0 regression from 3.0.4

2015-05-06 Thread Sergey Beryozkin
If you set the custom property I've referred to then the runtime will prefer that to a static Consumes/Produces. It is a CXF specific feature Sergey On 06/05/15 16:15, Romain Manni-Bucau wrote: how https://git-wip-us.apache.org/repos/asf?p=cxf.git;a=blob;f=rt/frontend/jaxrs/src/main/java/org/ap

Re: 3.1.0 regression from 3.0.4

2015-05-06 Thread Romain Manni-Bucau
ok I see, thks! Romain Manni-Bucau @rmannibucau | Blog | Github | LinkedIn | Tomitriber 2015-05-06 17:20 GMT+02:00 Sergey Be

Re: 3.1.0 regression from 3.0.4

2015-05-06 Thread Romain Manni-Bucau
yes makes sense, just not "as expected" reading the provider a bit blindly :) Romain Manni-Bucau @rmannibucau | Blog | Github | LinkedIn | Tomitriber

Re: 3.1.0 regression from 3.0.4

2015-05-06 Thread Sergey Beryozkin
We did this feature awhile back; sometimes people would like to use say a default JSON provider to support a custom media type not supported by the statically annotated default provider, so that it was a way to get the default providers extended to support other media types... Cheers, Sergey O

Re: [jaxrs] client builder and generics

2015-05-06 Thread Sergey Beryozkin
Hi Thanks for spotting it - probably a result of the copy and paste, added a fixed as part of CXF-6393, added a Jackson test Cheers, Sergey On 06/05/15 13:46, Romain Manni-Bucau wrote: Hi when using async client jaxrs api like: .get(new InvocationCallback>() { ... } the provider (body writ

[ANNOUNCE] Apache CXF 3.1.0 released!

2015-05-06 Thread Daniel Kulp
The Apache CXF community is proud to announce that CXF 3.1.0 has been released. CXF 3.1.0 contains several new features: * Optional enhancements to generated code to better support Java 7/8 * New Metrics capabilities for collecting metrics about CXF services * New Throttling features for thro