CXF client for Atom entities

2013-06-05 Thread Francesco Chicchiriccò
classes. Any hint? Regards. -- Francesco Chicchiriccò ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member http://people.apache.org/~ilgrosso/

Re: Cannot deserialize JSON via JacksonJaxbJsonProvider (that works via Jackson's ObjectMapperm anyway)

2013-07-17 Thread Francesco Chicchiriccò
java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to org.apache.syncope.common.to.AbstractSchemaTO Thanks for your support! Regards. On 17/07/13 15:20, Francesco Chicchiriccò wrote: Hi all, I have a quite silly question, probably due to my inexperience with CXF. Basically, in Syncope

Cannot deserialize JSON via JacksonJaxbJsonProvider (that works via Jackson's ObjectMapperm anyway)

2013-07-17 Thread Francesco Chicchiriccò
://svn.apache.org/repos/asf/syncope/trunk/common/src/main/java/org/apache/syncope/common/to/SchemaTO.java -- Francesco Chicchiriccò ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member http://people.apache.org/~ilgrosso/

Re: Cannot deserialize JSON via JacksonJaxbJsonProvider (that works via Jackson's ObjectMapperm anyway)

2013-07-17 Thread Francesco Chicchiriccò
schema = client.get(SchemaTO.class); Looking forward to see how client code could be simplified (and working...). Regards. On 17/07/13 15:45, Francesco Chicchiriccò wrote: On 17/07/2013 16:39, Sergey Beryozkin wrote: Hi Francesco, How do you use WebClient, let me know and I'll will check

Re: Cannot deserialize JSON via JacksonJaxbJsonProvider (that works via Jackson's ObjectMapperm anyway)

2013-07-18 Thread Francesco Chicchiriccò
On 17/07/2013 18:22, Sergey Beryozkin wrote: Hi, On 17/07/13 16:33, Francesco Chicchiriccò wrote: On 17/07/2013 17:07, Sergey Beryozkin wrote: OK, thanks for the info. I'll have a look asap. FYI, I thing this what I believe the original client code can be simplified. You may have a much

Re: Cannot deserialize JSON via JacksonJaxbJsonProvider (that works via Jackson's ObjectMapperm anyway)

2013-07-19 Thread Francesco Chicchiriccò
org.apache.syncope.common.to.AbstractSchemaTO Regards. -- Francesco Chicchiriccò ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member http://people.apache.org/~ilgrosso/

Re: Cannot deserialize JSON via JacksonJaxbJsonProvider (that works via Jackson's ObjectMapperm anyway)

2013-07-22 Thread Francesco Chicchiriccò
. Understood. Regards. On 19/07/13 09:26, Francesco Chicchiriccò wrote: On 18/07/2013 23:44, Andrei Shakirin wrote: Hi Francesco, I am not 100% sure that is a solution for your case, but I have used Jackson specific annotation in AbstractSchemaTO: @JsonTypeInfo(use=Id.CLASS, include

Re: Cannot deserialize JSON via JacksonJaxbJsonProvider (that works via Jackson's ObjectMapperm anyway)

2013-07-22 Thread Francesco Chicchiriccò
On 22/07/2013 14:26, Sergey Beryozkin wrote: On 22/07/13 13:21, Francesco Chicchiriccò wrote: On 22/07/2013 14:12, Sergey Beryozkin wrote: Hi Francesco, I'm realizing I've typed a lot of nonsense to do with typed proxies :-), the underlying issue is to do with the proxy implementation

Re: Cannot deserialize JSON via JacksonJaxbJsonProvider (that works via Jackson's ObjectMapperm anyway)

2013-07-23 Thread Francesco Chicchiriccò
right now, looks like it is a bit late at this stage, I guess I'll wait a bit :-) Thanks for a tip anyway Cheers, Sergey On 22/07/13 13:27, Francesco Chicchiriccò wrote: On 22/07/2013 14:26, Sergey Beryozkin wrote: On 22/07/13 13:21, Francesco Chicchiriccò wrote: On 22/07/2013 14:12, Sergey

Re: Cannot deserialize JSON via JacksonJaxbJsonProvider (that works via Jackson's ObjectMapperm anyway)

2013-07-23 Thread Francesco Chicchiriccò
On 23/07/2013 10:59, Sergey Beryozkin wrote: Hi Francesco On 23/07/13 08:55, Francesco Chicchiriccò wrote: Hi Sergey, with your latest fix things work much better but still not completely. Good news, Basically, with CXF 2.7.7-SNAPSHOT (and @JsonTypeInfo in AbstractSchemaTO) Jackson is able

Re: Cannot deserialize JSON via JacksonJaxbJsonProvider (that works via Jackson's ObjectMapperm anyway)

2013-07-23 Thread Francesco Chicchiriccò
On 23/07/2013 14:19, Sergey Beryozkin wrote: Hi On 23/07/13 13:12, Francesco Chicchiriccò wrote: On 23/07/2013 10:59, Sergey Beryozkin wrote: Hi Francesco On 23/07/13 08:55, Francesco Chicchiriccò wrote: Hi Sergey, with your latest fix things work much better but still not completely. Good

Re: Cannot deserialize JSON via JacksonJaxbJsonProvider (that works via Jackson's ObjectMapperm anyway)

2013-07-23 Thread Francesco Chicchiriccò
to Jackson's attention: https://github.com/FasterXML/jackson-databind/issues/23#issuecomment-21417625 Regards. -- Francesco Chicchiriccò ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member http://people.apache.org/~ilgrosso/

Re: Cannot deserialize JSON via JacksonJaxbJsonProvider (that works via Jackson's ObjectMapperm anyway)

2013-07-24 Thread Francesco Chicchiriccò
a sequence has this property - a bit too strict I'd say. Not that CXF JSONProvider has no issues of its own, but it can be capable enough :-) Either way I think we are very close now to making it all work :-) Cheers. Sergey On 23/07/13 14:44, Francesco Chicchiriccò wrote: On 23/07/2013 14:19, Sergey

Re: Generic JAX-RS service class and generic type resolution

2013-08-19 Thread Francesco Chicchiriccò
-anyway-td5731029.html [2] https://svn.apache.org/repos/asf/syncope/trunk/common/src/main/java/org/apache/syncope/common/services/SchemaService.java -- Francesco Chicchiriccò ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member http://people.apache.org/~ilgrosso/

Re: Generic JAX-RS service class and generic type resolution

2013-08-19 Thread Francesco Chicchiriccò
is extremely high in these places... Regards. On 19/08/13 12:41, Francesco Chicchiriccò wrote: On 16/08/2013 21:24, Sergey Beryozkin wrote: Hi On 16/08/13 10:56, ilgrosso wrote: Sergey Beryozkin wrote Hi Robert I'm hoping I've fixed it as part of https://issues.apache.org/jira/browse/CXF-5204

Re: Generic JAX-RS service class and generic type resolution

2013-08-19 Thread Francesco Chicchiriccò
with OpenJDK 6 / OpenJDK 7 / Oracle JDK 7, nothing changes. Regards. On 19/08/13 15:37, Sergey Beryozkin wrote: Hi, On 19/08/13 14:51, Francesco Chicchiriccò wrote: On 19/08/2013 12:57, Sergey Beryozkin wrote: Hi Francesco I reproduced it. Looking into it - can't guarantee a fix today - will have

Re: Generic JAX-RS service class and generic type resolution

2013-08-20 Thread Francesco Chicchiriccò
then, no way I can skip fixing the issue :-) I'll update the thread when I get more info Cheers, Sergey On 19/08/13 16:20, Francesco Chicchiriccò wrote: On 19/08/2013 15:00, Sergey Beryozkin wrote: Hi, Can you please try something similar to what I did: svn co http://svn.apache.org/repos/asf

WADL generation: linkJsonToXmlSchema XMLName

2013-10-15 Thread Francesco Chicchiriccò
://syncope.apache.org/1.1}users', as [1] seems to suggest. Any clue? TIA Regards. [1] http://cxf.apache.org/docs/jaxrs-services-description.html#JAXRSServicesDescription-RepresentingexplicitJAXBcollections -- Francesco Chicchiriccò ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member http

Re: WADL generation: linkJsonToXmlSchema XMLName

2013-10-15 Thread Francesco Chicchiriccò
On 15/10/2013 14:43, Sergey Beryozkin wrote: Hi Francesco On 15/10/13 13:07, Francesco Chicchiriccò wrote: Hi, I am currently trying to enrich the WADL auto-generated by CXF 2.7.7 in Syncope. I currently have these Spring beans defined: bean id=wadlGenerator class

WADL documentation via Javadoc?

2013-10-15 Thread Francesco Chicchiriccò
[2] https://wikis.oracle.com/display/Jersey/SupportedJavadocTagsForExtendedWADL -- Francesco Chicchiriccò ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member http://people.apache.org/~ilgrosso/

Re: WADL documentation via Javadoc?

2013-10-15 Thread Francesco Chicchiriccò
counterparts, when not provided? As a side note @Description can also be quite fine-grained in 'targeting' specific WADL sections, given that pretty much every WADL element has an optional doc element Thanks, Sergey Jason -Original Message- From: Francesco Chicchiriccò

Re: WADL generation: linkJsonToXmlSchema XMLName

2013-10-18 Thread Francesco Chicchiriccò
the snapshots Thanks for the fixes. Regards. On 15/10/13 16:02, Sergey Beryozkin wrote: Hi On 15/10/13 13:48, Francesco Chicchiriccò wrote: On 15/10/2013 14:43, Sergey Beryozkin wrote: Hi Francesco On 15/10/13 13:07, Francesco Chicchiriccò wrote: Hi, I am currently trying to enrich the WADL auto

Re: WADL documentation via Javadoc?

2013-10-18 Thread Francesco Chicchiriccò
HTML from WADL via XSLT. Regards. On Oct 15, 2013, at 8:53 AM, Francesco Chicchiriccò ilgro...@apache.org wrote: Hi all, by reading [1], I am currently annotating JAX-RS methods (for WADL-generation) like this /** * Deletes the user matching the provided userId. * * @param

Re: WADL documentation via Javadoc?

2013-10-18 Thread Francesco Chicchiriccò
On 18/10/2013 10:59, Francesco Chicchiriccò wrote: On 15/10/2013 17:32, Daniel Kulp wrote: Interesting…. We haven't really looked at anything javadoc related as that information isn't available at runtime. It's only available at build time and thus we'd need special tools and such to parse

Re: WADL documentation via Javadoc?

2013-10-18 Thread Francesco Chicchiriccò
On 18/10/2013 16:04, Winnebeck, Jason wrote: -Original Message- From: Francesco Chicchiriccò [mailto:ilgro...@apache.org] Sent: Friday, October 18, 2013 5:00 AM I've been trying Enunciate in these days, for documentation only [3], via its maven plugin. While generating doc elements from

Re: WADL documentation via Javadoc?

2013-10-21 Thread Francesco Chicchiriccò
it further if the above will prove to be too messy and unrealistic... +1 Also this seems to be a nice option, actually even lighter for end-users, I'd say. Thanks for taking this seriously ;-) Regards. On 18/10/13 09:59, Francesco Chicchiriccò wrote: On 15/10/2013 17:32, Daniel Kulp wrote

Re: WADL documentation via Javadoc?

2013-10-21 Thread Francesco Chicchiriccò
On 18/10/2013 17:08, Winnebeck, Jason wrote: -Original Message- From: Francesco Chicchiriccò [mailto:ilgro...@apache.org] Sent: Friday, October 18, 2013 10:21 AM I could not get any XML type information about method parameters; WADL fragment was something like param name=executionId

Re: WADL documentation via Javadoc?

2013-10-22 Thread Francesco Chicchiriccò
On 21/10/2013 11:31, Sergey Beryozkin wrote: Hi Francesco, On 21/10/13 07:58, Francesco Chicchiriccò wrote: On 18/10/2013 19:06, Sergey Beryozkin wrote: Hi All, I wonder if we can try and add a property to WadlGenerator, such as checkJavaDocs or may be javaDocsClassPath which will point

Re: WADL documentation via Javadoc?

2013-10-23 Thread Francesco Chicchiriccò
On 22/10/2013 17:05, Sergey Beryozkin wrote: Hi Francesco On 22/10/13 14:58, Francesco Chicchiriccò wrote: On 21/10/2013 11:31, Sergey Beryozkin wrote: Hi Francesco, On 21/10/13 07:58, Francesco Chicchiriccò wrote: On 18/10/2013 19:06, Sergey Beryozkin wrote: Hi All, I wonder if we can try

WADL: some more questions

2013-10-23 Thread Francesco Chicchiriccò
=GET id=list request/ response representation mediaType=application/octet-stream/ /response /method In this case there is no 'element' information into response/representation. TIA Regards. -- Francesco Chicchiriccò ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member http

Re: WADL: some more questions

2013-10-23 Thread Francesco Chicchiriccò
On 23/10/2013 14:17, Sergey Beryozkin wrote: Hi Francesco On 23/10/13 12:49, Francesco Chicchiriccò wrote: Hi, I have a couple of further questions about CXF and the WADL generation. 1. Is it possible to obtain a WADL file from CXF offline, e.g. without a running JEE container? Do you refer

Re: WADL: some more questions

2013-10-23 Thread Francesco Chicchiriccò
On 23/10/2013 15:55, Sergey Beryozkin wrote: Hi, On 23/10/13 13:23, Francesco Chicchiriccò wrote: On 23/10/2013 14:17, Sergey Beryozkin wrote: Hi Francesco On 23/10/13 12:49, Francesco Chicchiriccò wrote: Hi, I have a couple of further questions about CXF and the WADL generation. 1

Re: Jackson 2?

2013-10-26 Thread Francesco Chicchiriccò
/restContext.xml -- Francesco Chicchiriccò ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member http://people.apache.org/~ilgrosso/

Re: WADL: some more questions

2013-11-05 Thread Francesco Chicchiriccò
work, now looking forward to CXF-5353 ;-) Regards. On 23/10/13 15:07, Francesco Chicchiriccò wrote: On 23/10/2013 15:55, Sergey Beryozkin wrote: Hi, On 23/10/13 13:23, Francesco Chicchiriccò wrote: On 23/10/2013 14:17, Sergey Beryozkin wrote: Hi Francesco On 23/10/13 12:49, Francesco

Re: WADL: some more questions

2013-11-06 Thread Francesco Chicchiriccò
at CXF unbelievable and that it made me appreciate even more the Apache way. Regards. On 23/10/13 15:07, Francesco Chicchiriccò wrote: On 23/10/2013 15:55, Sergey Beryozkin wrote: Hi, On 23/10/13 13:23, Francesco Chicchiriccò wrote: On 23/10/2013 14:17, Sergey Beryozkin wrote: Hi Francesco

Re: WADL: some more questions

2013-11-07 Thread Francesco Chicchiriccò
/java/org/apache/syncope/common/to/AbstractSchemaTO.java -- Francesco Chicchiriccò ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member http://people.apache.org/~ilgrosso/

Re: WADL: some more questions

2013-11-07 Thread Francesco Chicchiriccò
On 07/11/2013 12:37, Sergey Beryozkin wrote: Hi Francesco, On 07/11/13 08:28, Francesco Chicchiriccò wrote: On 06/11/2013 11:26, Sergey Beryozkin wrote: [...] method name=GET id=list request/ response representation mediaType=application/xml element=syncope1:abstractSchemas

Re: WADL: some more questions

2013-11-07 Thread Francesco Chicchiriccò
On 07/11/2013 16:26, Sergey Beryozkin wrote: Hi Francesco, On 07/11/13 15:21, Francesco Chicchiriccò wrote: On 07/11/2013 12:37, Sergey Beryozkin wrote: Hi Francesco, On 07/11/13 08:28, Francesco Chicchiriccò wrote: On 06/11/2013 11:26, Sergey Beryozkin wrote: [...] method name=GET id=list

Re: WADL: some more questions

2013-11-08 Thread Francesco Chicchiriccò
beta/RC then - when I think we'll need your assistance for migrating Syncope trunk from 2.7.x ;-) Regards. On 07/11/13 11:37, Sergey Beryozkin wrote: Hi Francesco, On 07/11/13 08:28, Francesco Chicchiriccò wrote: On 06/11/2013 11:26, Sergey Beryozkin wrote: [...] method name=GET id=list

CXF RT Transports HTTP 2.7.8-SNAPSHOT dependency on... Swagger??!?

2013-11-10 Thread Francesco Chicchiriccò
and Jackson 2.1.0 (while we are using 2.2.3): could you please enlighten about this? Is swagger really needed / safe to exclude? Regards. -- Francesco Chicchiriccò ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member http://people.apache.org/~ilgrosso/

Re: CXF RT Transports HTTP 2.7.8-SNAPSHOT dependency on... Swagger??!?

2013-11-10 Thread Francesco Chicchiriccò
. FYI, on the trunk this feature will be residing in rt/rs/descriptions module (with the optional dependency too) Thanks, Sergey On 10/11/13 16:04, Francesco Chicchiriccò wrote: Hi all, by running mvn dependency:tree on my project I've stumbled upon this injected dependency: [INFO

Re: JAX-RS 2.0 compliance

2013-11-26 Thread Francesco Chicchiriccò
*__* -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member http://people.apache.org/~ilgrosso/

Re: JAX-RS 2.0 compliance

2013-11-26 Thread Francesco Chicchiriccò
On 26/11/2013 12:19, Sergey Beryozkin wrote: Hi On 26/11/13 11:02, Francesco Chicchiriccò wrote: On 26/11/2013 11:58, Sergey Beryozkin wrote: Hi, CXF 3.0.0-milestone1 has just been released, give it a try please Hey, great news: I haven't heard anything yet about this (not even from

[3.0.0-milestone1] Reading primitive values via Proxy-based clients

2013-11-27 Thread Francesco Chicchiriccò
/CXF20DOC/JAX-RS+Client+API [3] https://svn.apache.org/repos/asf/syncope/trunk/common/src/main/java/org/apache/syncope/common/services/UserService.java -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member http

[3.0.0-milestone1] WADL auto-generation

2013-11-27 Thread Francesco Chicchiriccò
=ignoreMessageWriters value=true/ property name=addResourceAndMethodIds value=true/ /bean and enlisted in jaxrs:providers/ of jaxrs:server/ TIA Regards. -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member

Re: [3.0.0-milestone1] Reading primitive values via Proxy-based clients

2013-11-27 Thread Francesco Chicchiriccò
On 27/11/2013 14:55, Sergey Beryozkin wrote: Hi Francesco, On 27/11/13 11:36, Francesco Chicchiriccò wrote: Hi, I am in the middle of migrating Apache Syncope trunk from CXF 2.7.8 to 3.0.0-milestone1. By following [1] and [2] it has been quite straightforward to make almost everything

Re: [3.0.0-milestone1] WADL auto-generation

2013-11-27 Thread Francesco Chicchiriccò
On 27/11/2013 17:40, Sergey Beryozkin wrote: Hi Francesco On 27/11/13 11:55, Francesco Chicchiriccò wrote: Hi all, in my migration from 2.7.8 to 3.0.0-milestone1, I've just found that it seems I am not able anymore to get the complete WADL for all services available. E.g., when calling http

Re: [3.0.0-milestone1] WADL auto-generation

2013-11-27 Thread Francesco Chicchiriccò
/@address=/, the base address will have this / added, example, http://bar/; as opposed to http://bar;, I think we need to make it http://bar; by default. Hi Sergey, as usual all is rapidly working, thanks :-) Thank you very much. Regards. On 27/11/13 16:52, Francesco Chicchiriccò wrote: On 27

Re: [3.0.0-milestone1] Reading primitive values via Proxy-based clients

2013-12-02 Thread Francesco Chicchiriccò
to call isArchivingDisabled. Invalid object ID 10 - [Help 1] I can keep pressing 'Build Now' there till we see new snapshots being deployed :-) Wondering if new builds will ever succeed, then... :-/ Regards. -- Francesco Chicchiriccò Computer Science is no more about computers than astronomy

Re: [3.0.0-milestone1] Reading primitive values via Proxy-based clients

2013-12-03 Thread Francesco Chicchiriccò
? Regards. -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member http://people.apache.org/~ilgrosso/

JAX-RS: Auto-discovery of root resources

2014-04-21 Thread Francesco Chicchiriccò
package: public class CoreImpl implements Core { ... } TIA Regards. [1] https://cxf.apache.org/docs/jaxrs-services-configuration.html#JAXRSServicesConfiguration-Auto-discoveryofrootresourcesandproviders -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Involved

Re: JAX-RS: Auto-discovery of root resources

2014-04-23 Thread Francesco Chicchiriccò
, On 21/04/14 08:30, Francesco Chicchiriccò wrote: Hi all, as reported by [1], with 3.0.0-milestone2 it is possible to enable JAX-RS services auto-discovery by setting: jaxrs:server address=/customers basePackages=a.b.c/ First question: are packages in 'basePackages' to be considered subtree roots

CXF 3.0.0: updated jaxrs.xsd?

2014-05-20 Thread Francesco Chicchiriccò
Hi all, this morning I've seen that CXF 3.0.0 is available on Maven: congratulations! Do you know when the updated http://cxf.apache.org/schemas/jaxrs.xsd (including basePackages as jaxrs:server attribute) will be available? TIA Regards. -- Francesco Chicchiriccò Tirasa - Open Source

Re: CXF 3.0.0: updated jaxrs.xsd?

2014-05-21 Thread Francesco Chicchiriccò
On 20/05/2014 18:27, Sergey Beryozkin wrote: Hi Francesco On 20/05/14 08:12, Francesco Chicchiriccò wrote: Hi all, this morning I've seen that CXF 3.0.0 is available on Maven: congratulations! Do you know when the updated http://cxf.apache.org/schemas/jaxrs.xsd (including basePackages

[CXF 3.0.0.] Response with closed entity after client.invoke: could it be?

2014-07-09 Thread Francesco Chicchiriccò
) at org.apache.cxf.jaxrs.impl.ResponseImpl.getActualEntity(ResponseImpl.java:137) at org.apache.cxf.jaxrs.impl.ResponseImpl.getEntity(ResponseImpl.java:142) I am using CXF 3.0.0 (the same code works fine with CXF 2.7.11): any idea? -- Francesco Chicchiriccò Tirasa - Open Source

Re: [CXF 3.0.0.] Response with closed entity after client.invoke: could it be?

2014-07-09 Thread Francesco Chicchiriccò
On 09/07/2014 10:45, Francesco Chicchiriccò wrote: iI all, this snippet WebClient client = ...; Response response = client.invoke(method, inputStream); response.getEntity(); fails with java.lang.IllegalStateException: Entity is not available

Re: [CXF 3.0.0.] Response with closed entity after client.invoke: could it be?

2014-07-09 Thread Francesco Chicchiriccò
WebClient.close be consistent with the standard approach. Thanks Sergey. Regards. [1] https://issues.apache.org/jira/browse/CXF-5865 On 09/07/14 10:32, Sergey Beryozkin wrote: Hi Francesco On 09/07/14 10:16, Francesco Chicchiriccò wrote: On 09/07/2014 10:45, Francesco Chicchiriccò wrote: iI all

Powered by Apache Syncope

2014-10-02 Thread Francesco Chicchiriccò
/foundation/press/kit/#poweredby [2] http://apache.org/foundation/press/kit/poweredBy/pb-syncope.jpg [3] http://apache.org/foundation/press/kit/poweredBy/pb-syncope.psd -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Involved at The Apache Software Foundation: member

Re: 3.0.2

2014-10-16 Thread Francesco Chicchiriccò
-release-plugin usage. 2014-10-16 14:38 GMT+04:00 Malisetti, Ramanjaneyulu ramanjaneyulu.malise...@ca.com: Hi, When will 3.0.2 be available for download? Regards Raman -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net

Re: Using @BeanParam

2015-04-23 Thread Francesco Chicchiriccò
On 23/04/2015 14:28, Sergey Beryozkin wrote: Hi On 23/04/15 13:21, Francesco Chicchiriccò wrote: On 23/04/2015 14:17, Sergey Beryozkin wrote: Hi, I've checked the code, right now only annotations on the BeanParam bean setters are recognized on the client side so if you move them from fields

Re: Using @BeanParam

2015-04-23 Thread Francesco Chicchiriccò
annotating the setter methods. Regards. -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Involved at The Apache Software Foundation: member, Syncope PMC chair, Cocoon PMC, Olingo PMC http://people.apache.org/~ilgrosso/

Re: Using @BeanParam

2015-04-24 Thread Francesco Chicchiriccò
On 23/04/2015 18:04, Sergey Beryozkin wrote: Hi On 23/04/15 15:42, Francesco Chicchiriccò wrote: On 23/04/2015 15:03, Sergey Beryozkin wrote: Hi Francesco, Did a basic update of the client proxy code to check BeanParam fields so having annotations on fields should work in 3.0.5. I've pulled

Re: [JAX-RS] Matrix parameters and method matching

2015-04-22 Thread Francesco Chicchiriccò
On 22/04/2015 14:13, Francesco Chicchiriccò wrote: On 22/04/2015 14:09, Sergey Beryozkin wrote: Hi Francesco Actually, you said two ClassResourceInfo candidates have been checked ? One is UserService, what is the other one (and what Path does it have ?) First time is SyncopeService Vs

Re: [JAX-RS] Matrix parameters and method matching

2015-04-23 Thread Francesco Chicchiriccò
request path /syncope/rest/users;realm=/even/two;realm=/odd is found, Relative Path: /even/two;realm=/odd, HTTP Method: GET, ContentType: */*, Accept: application/json,. Please enable FINE/TRACE log level for more details. Regards. On 22/04/15 15:05, Francesco Chicchiriccò wrote: On 22/04

Re: [JAX-RS] Matrix parameters and method matching

2015-04-23 Thread Francesco Chicchiriccò
On 23/04/2015 11:52, Sergey Beryozkin wrote: Hi, On 23/04/15 09:20, Francesco Chicchiriccò wrote: On 22/04/2015 17:28, Sergey Beryozkin wrote: Hi I've done some basic local test and I expect it to work, can you give me a bit more information: - request URI example, does it end with something

Re: [JAX-RS] Matrix parameters and method matching

2015-04-23 Thread Francesco Chicchiriccò
for stressing CXF :-) Oh, I only hope I am stressing CXF and not its developers :-) Regards. -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Involved at The Apache Software Foundation: member, Syncope PMC chair, Cocoon PMC, Olingo PMC http://people.apache.org

Re: Using @BeanParam

2015-04-23 Thread Francesco Chicchiriccò
;realm=%2Fodd ? On 23/04/15 12:56, Francesco Chicchiriccò wrote: Hi, with reference to the solutions proposed in this thread [1] to avoid forcing client code passing null parameters, I am exploring @BeanParam. I have now UserService (an interface) with a brand new list() method like as @GET

Using @BeanParam

2015-04-23 Thread Francesco Chicchiriccò
://localhost:9080/syncope/rest/users is generated (e.g. without realms). What am I doing wrong? TIA Regards. [1] http://cxf.547215.n5.nabble.com/JAX-RS-Matrix-parameters-and-method-matching-tp5756387p5756414.html [2] https://paste.apache.org/aHaK -- Francesco Chicchiriccò Tirasa - Open

[JAX-RS] Matrix parameters and method matching

2015-04-22 Thread Francesco Chicchiriccò
-api/src/main/java/org/apache/syncope/common/rest/api/service/UserService.java#L146 [2] https://github.com/apache/syncope/blob/master/core/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/QueryResourceInfoComparator.java -- Francesco Chicchiriccò Tirasa - Open Source Excellence http

Re: [JAX-RS] Matrix parameters and method matching

2015-04-22 Thread Francesco Chicchiriccò
invoked, not OperationResourceInfo's; as a result, getMatchingRate() is not invoked at all in this case. Thanks for your support. Regards. On 22/04/15 11:36, Francesco Chicchiriccò wrote: Hi, I have recently experimented some troubles in matching REST methods using @MaxtrixParam. If you take

Re: [JAX-RS] Matrix parameters and method matching

2015-04-22 Thread Francesco Chicchiriccò
, the exception is thrown. Regards. On 22/04/15 12:37, Sergey Beryozkin wrote: Hi On 22/04/15 12:20, Francesco Chicchiriccò wrote: On 22/04/2015 12:48, Sergey Beryozkin wrote: Hi Francesco I suppose the problem lies somewhere starting from https://github.com/apache/syncope/blob/master/core

No grammar in WADL with CXF 3.0.5-SNAPSHOT

2015-04-29 Thread Francesco Chicchiriccò
/resources/restCXFContext.xml#L81-L89 -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Involved at The Apache Software Foundation: member, Syncope PMC chair, Cocoon PMC, Olingo PMC http://people.apache.org/~ilgrosso/

Re: No grammar in WADL with CXF 3.0.5-SNAPSHOT

2015-04-30 Thread Francesco Chicchiriccò
/apache/syncope/core/rest/cxf/service/UserServiceImpl.java with its list() method only... Cheers, Sergey On 29/04/15 12:51, Francesco Chicchiriccò wrote: Hi, when using the latest CXF 3.0.5-SNAPSHOT and this configuration [1] I get an empty grammars/ element when accessing ?_wadl With 3.0.4

Re: No grammar in WADL with CXF 3.0.5-SNAPSHOT

2015-04-30 Thread Francesco Chicchiriccò
assistance. Anyway, the list of beans to be listed under jaxrs:endpoint is barely any non-abstract class under https://github.com/apache/syncope/tree/master/core/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service Regards. On 30/04/15 09:06, Francesco Chicchiriccò wrote: Hi Sergey

Re: No grammar in WADL with CXF 3.0.5-SNAPSHOT

2015-05-04 Thread Francesco Chicchiriccò
to pass a JAXB debug property, not sure how though :-) Thanks, Sergey On 30/04/15 11:43, Sergey Beryozkin wrote: Indeed, can see it too with a single UserServiceImpl bean. Going to narrow down now Sergey On 30/04/15 09:53, Francesco Chicchiriccò wrote: On 30/04/2015 10:46, Sergey Beryozkin

Re: No grammar in WADL with CXF 3.0.5-SNAPSHOT

2015-04-29 Thread Francesco Chicchiriccò
/apache/syncope/core/rest/cxf/service/UserServiceImpl.java with its list() method only... Cheers, Sergey On 29/04/15 12:51, Francesco Chicchiriccò wrote: Hi, when using the latest CXF 3.0.5-SNAPSHOT and this configuration [1] I get an empty grammars/ element when accessing ?_wadl With 3.0.4

Re: No grammar in WADL with CXF 3.0.5-SNAPSHOT

2015-05-05 Thread Francesco Chicchiriccò
of JAXB class candidates being available - that should at least help to narrow down a problem a bit... Sounds good: FYI I've also added the JAXB debug option to cargo in the debug profile ;-) Regards. On 04/05/15 15:12, Francesco Chicchiriccò wrote: Problem solved: AbstractPolicyTO on master

Re: Advanced request logging with CXF 3.1.0, karaf and elastic search

2015-06-09 Thread Francesco Chicchiriccò
looks very cool: is there any support for non-OSGi deployments? Thanks. -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Involved at The Apache Software Foundation: member, Syncope PMC chair, Cocoon PMC, Olingo PMC http://people.apache.org/~ilgrosso/

[JAX-RS] Best practice for update methods

2015-06-08 Thread Francesco Chicchiriccò
Hi, we have several update methods in our JAX-RS services, with similar signature: @PUT @Path({key}) @Consumes({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) void update(@NotNull @PathParam(key) String key, @NotNull ResourceTO resourceTO); For various reasons,

Re: [JAX-RS] Best practice for update methods

2015-06-08 Thread Francesco Chicchiriccò
({key}) @Consumes({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) void update(@BeanParam @RequestBody ResourceTO resourceTO); Given the considerations above, I'd say we'll probably leave things unchanged. Regards. On 08/06/15 07:05, Francesco Chicchiriccò wrote: Hi, we have

Re: [JAX-RS] Best practice for update methods

2015-06-10 Thread Francesco Chicchiriccò
On 09/06/2015 15:34, Francesco Chicchiriccò wrote: On 09/06/2015 15:17, Sergey Beryozkin wrote: Hi Francesco See https://issues.apache.org/jira/browse/CXF-6447, So you'd be able to optimize the signature if still preferred, the server code would stay completely portable, though only CXF

Re: [JAX-RS] Best practice for update methods

2015-06-09 Thread Francesco Chicchiriccò
On 08/06/15 10:32, Francesco Chicchiriccò wrote: Hi Sergey, thanks for your response. On 08/06/2015 11:16, Sergey Beryozkin wrote: Hi Francesco Sure, you can try: @PUT @Consumes({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) void update(@NotNull ResourceTO resourceTO); Omitting

WADL generation: split resources for the same path

2015-07-14 Thread Francesco Chicchiriccò
-- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Involved at The Apache Software Foundation: member, Syncope PMC chair, Cocoon PMC, Olingo PMC http://people.apache.org/~ilgrosso/

Re: WADL generation: split resources for the same path

2015-07-15 Thread Francesco Chicchiriccò
On 15/07/2015 10:26, Sergey Beryozkin wrote: Hi, On 15/07/15 11:05, Francesco Chicchiriccò wrote: On 14/07/2015 16:34, Sergey Beryozkin wrote: Hi Francesco, The generator checks which operations are the same path operations, I've checked the code and it also compares a number of path

Re: WADL generation: split resources for the same path

2015-07-15 Thread Francesco Chicchiriccò
with PathParam - that can be done if you prefer it So basically the problem is the usage of @BeanParam for the PUT method; I can probably improve our WADL2HTML to group together such split resources. Thanks. Regards. On 14/07/15 10:46, Francesco Chicchiriccò wrote: Hi all, any obvious reason why

Any planned date for releasing 3.0.7?

2015-10-19 Thread Francesco Chicchiriccò
Hi all, at Syncope we are planning to release 1.2.6 soon (~ 1 or 2 weeks), which currently depends on CXF 3.0.7: is there any planned date for releasing it? TIA Regards. -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Involved at The Apache Software

About the Swagger feature (and an extension proposal)

2015-10-09 Thread Francesco Chicchiriccò
aster/core/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/SyncopeSwaggerSerializers.java [5] https://github.com/apache/syncope/blob/master/core/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/SyncopeSwagger2Feature.java -- Francesco Chicchiriccò Tirasa - Open Source Excel

Re: About the Swagger feature (and an extension proposal)

2015-10-09 Thread Francesco Chicchiriccò
this auto-regrouping does not affect the endpoints that do not require it for whatever reasons Thanks, Sergey On 09/10/15 11:00, Francesco Chicchiriccò wrote: Hi all, last week at ApacheCon: Core EU 2015 I attended Andrei Shakirin's talk [1] and he briefly mentioned the new Swagger feature [2

Re: About the Swagger feature (and an extension proposal)

2015-10-09 Thread Francesco Chicchiriccò
in Syncope and we're using the updated CXF. Regards. -Original Message- From: Francesco Chicchiriccò [mailto:ilgro...@apache.org] Sent: Freitag, 9. Oktober 2015 13:31 To: users@cxf.apache.org Subject: Re: About the Swagger feature (and an extension proposal) I've created https

Re: About the Swagger feature (and an extension proposal)

2015-10-13 Thread Francesco Chicchiriccò
FYI I've assembled a quick video showing the working integration of Swagger UI and Syncope REST interface (powered by CXF) at http://syncope.tirasa.net/news/apache-syncope-2.0.0-and-swagger.html Regards. On 09/10/2015 17:09, Francesco Chicchiriccò wrote: On 09/10/2015 13:37, Andrei Shakirin

Re: JAX-RS JS client frontend

2015-09-10 Thread Francesco Chicchiriccò
imilar RS frontend can be created. The longer term plan is to weave Web Crypto into that somehow but first it would be good to have a plain RS JS frontend available. Perhaps I can even hope you can prototype something :-) ? Cheers, Sergey -- Francesco Chicchiriccò Tirasa - Open Source Exce

Re: WADL and Swagger

2016-02-04 Thread Francesco Chicchiriccò
accessing such resources via HTTP under /swagger is simply because it gets treated as Servlet Fragment. HTH Regards. 2016-01-21 16:28 GMT+04:00 Francesco Chicchiriccò <ilgro...@apache.org>: On 21/01/2016 13:13, Sergey Beryozkin wrote: Hi wadl-to-java generates a Java code and optionally co

Re: [OT] How to update the existing jar with Maven and then depend on it

2016-04-19 Thread Francesco Chicchiriccò
(or jpa-eclipselink) in order to replace jpa-openjpa. WDYT? -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Involved at The Apache Software Foundation: member, Syncope PMC chair, Cocoon PMC, Olingo PMC, CXF committer http://home.apache.org/~ilgrosso/

Re: Moving CXF SwaggerFeature into its own module

2016-07-04 Thread Francesco Chicchiriccò
care of this. Regards. [1] ttps://issues.apache.org/jira/browse/CXF-6760 [2] http://git-wip-us.apache.org/repos/asf/cxf/commit/21031e3a -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Involved at The Apache Software Foundation: member, Syncope PMC chair, Cocoon

Re: swagger2feature do not see javadocs ?

2017-01-17 Thread Francesco Chicchiriccò
xf/blob/3.1.x-fixes/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/DefaultSwagger2Serializers.java#L198-L217 -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Member at The Apache Software Foundation Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail http://home.apache.org/~ilgrosso/

Re: FIQL: escape comma

2017-10-12 Thread Francesco Chicchiriccò
wrong here? Thanks. Regards. On 11/10/2017 17:51, Francesco Chicchiriccò wrote: How to correctly escape the following FIQL expression? ctype==ou=sample,o=isp ? I have set the jaxrs:properties       but the request URL  http://localhost:9080/syncope/rest/users?fiql=ctype%3D

Re: FIQL: escape comma

2017-10-12 Thread Francesco Chicchiriccò
a value to be URL-decoded. Regards. On 12/10/2017 10:09, Francesco Chicchiriccò wrote: Further test: with fiql=ctype%3D%3Dou%3Dsample%252Co%3Disp (rather than fiql=ctype%3D%3Dou%3Dsample,o%3Disp  as below) no exceptions are raised,  but the FIQL string received on server side is ctype==ou

FIQL: escape comma

2017-10-11 Thread Francesco Chicchiriccò
/syncope/blob/2_0_X/common/lib/src/main/java/org/apache/syncope/common/lib/search/SyncopeFiqlParser.java -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Member at The Apache Software Foundation Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail http://home.apache.org

Re: FIQL: escape comma

2017-10-12 Thread Francesco Chicchiriccò
On 12/10/2017 11:23, Sergey Beryozkin wrote: Hi Francesco Sorry I did not help, checked your emails this morning only... No worries Sergey, you've been precious - and I'm sure you'll be in the future - so many times! Cheers. On 12/10/17 10:14, Francesco Chicchiriccò wrote: It turned out

Using Fediz as SAML 2.0 IdP or OpenID Connect Provider for tests

2018-04-27 Thread Francesco Chicchiriccò
my own SAML 2.0 Service Provider's metadata: is that possible? Same question for     org.apache.cxf.fediz     fediz-oidc     1.4.3     war where I would like to add my own OpenID Connect Client. TIA Regards. -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tira

  1   2   >