Re: [Discuss] [REST API] Removing The Wrapping Object in the Collection Responses

2014-12-14 Thread Dakshika Jayathilaka
Thanks Imesh.. ! *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Sun, Dec 14, 2014 at 10:46 PM, Imesh Gunaratne wrote: > > Thanks Dakshika! Pull request 152 is now merged to 4.1.0-test branch. > > Thanks > > On Sun, Dec 14, 2014 at 6:50 PM, Dakshika J

Re: [Discuss] [REST API] Removing The Wrapping Object in the Collection Responses

2014-12-14 Thread Imesh Gunaratne
Thanks Dakshika! Pull request 152 is now merged to 4.1.0-test branch. Thanks On Sun, Dec 14, 2014 at 6:50 PM, Dakshika Jayathilaka wrote: > > Hi Imesh, > > I have fixed the issues encountered after $(subject). please merge below PR > > PR: https://github.com/apache/stratos/pull/152 > > Thank you

Re: [Discuss] [REST API] Removing The Wrapping Object in the Collection Responses

2014-12-14 Thread Dakshika Jayathilaka
Hi Imesh, I have fixed the issues encountered after $(subject). please merge below PR PR: https://github.com/apache/stratos/pull/152 Thank you, *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Sun, Dec 14, 2014 at 12:05 PM, Imesh Gunaratne wrote: >

Re: [Discuss] [REST API] Removing The Wrapping Object in the Collection Responses

2014-12-13 Thread Imesh Gunaratne
Thanks Udara! We have now resolved this with CXF JSON provider configuration. Thanks Dakshika, please let us know if you find any problems. On Sun, Dec 14, 2014 at 11:43 AM, Dakshika Jayathilaka wrote: > > Hi Imesh, > > I'll check and update. > > Thank you, > > *Dakshika Jayathilaka* > Software E

Re: [Discuss] [REST API] Removing The Wrapping Object in the Collection Responses

2014-12-13 Thread Dakshika Jayathilaka
Hi Imesh, I'll check and update. Thank you, *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Sun, Dec 14, 2014 at 11:42 AM, Udara Liyanage wrote: > > Hi Imesh, > > If we are switching to Jackson json provider(there is a discussion > previously) this

Re: [Discuss] [REST API] Removing The Wrapping Object in the Collection Responses

2014-12-13 Thread Udara Liyanage
Hi Imesh, If we are switching to Jackson json provider(there is a discussion previously) this may be already resolved. It supports java collections. Touched, not typed. Erroneous words are a feature, not a typo. On Dec 14, 2014 11:32 AM, "Imesh Gunaratne" wrote: > Hi Devs, > > All the REST AP

[Discuss] [REST API] Removing The Wrapping Object in the Collection Responses

2014-12-13 Thread Imesh Gunaratne
Hi Devs, All the REST API methods which return collection types have included a wrapper object in their response messages. This is according to the CXF JSON provider configuration. Example: GET Cartridges: {"*cartridges*":[{"category":"framework","description":"Apache Tomcat","displayName":"tomc