Re: Order on cartridge deployment JSON

2014-06-23 Thread Akila Ravihansa Perera
Hi Dakshika, Yes, this is a result of json validation that was added sometime back. Please read the email thread with the subject "Validating Inputs to REST API" on Stratos dev list for more information. Relevant JIRA can be found in [1]. IMO, there shouldn't be a order for json elements. But cur

Re: Order on cartridge deployment JSON

2014-06-22 Thread Dakshika Jayathilaka
No. Seems it validate accordingly. Why do we have such implementation ? I think its need to handle by endpoint if json pass all necessary data into post chunk. *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Mon, Jun 23, 2014 at 3:42 AM, Dinesh Banda

Re: Order on cartridge deployment JSON

2014-06-22 Thread Dinesh Bandara
Hi Dakshika, Have you deployed a cartridge with the display name "MySQL" earlier ? On Mon, Jun 23, 2014 at 8:19 AM, Nirmal Fernando wrote: > I think this happens after the introduction of json validators. > > > On Mon, Jun 23, 2014 at 5:56 AM, Dakshika Jayathilaka > wrote: > >> Hi, >> >> Do

Re: Order on cartridge deployment JSON

2014-06-22 Thread Nirmal Fernando
I think this happens after the introduction of json validators. On Mon, Jun 23, 2014 at 5:56 AM, Dakshika Jayathilaka wrote: > Hi, > > Do we have any specific order on this? here is my sample json > > { > "type": "mysql", > "provider": "data", > "host": "apachestratos.org", > "d

Order on cartridge deployment JSON

2014-06-22 Thread Dakshika Jayathilaka
Hi, Do we have any specific order on this? here is my sample json { "type": "mysql", "provider": "data", "host": "apachestratos.org", "displayName": "MySQL", "description": "MySQL Cartridge", "version": "5.5", "multiTenant": "false", "portMapping": [ { "p