Re: Cartridge Definition - Category Field

2014-12-10 Thread Dakshika Jayathilaka
Hi Devs, AFAIK latest changes are not added to schema yet. components/org.apache.stratos.rest.endpoint/src/main/webapp/api/WEB-INF/schemas/schema.xsd Its better to add new changes since i'm using same schema on console app JSON validation. *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lea

Re: Cartridge Definition - Category Field

2014-12-10 Thread Shiroshica Kulatilake
Shouldn't this get validated at cxf level itself ? Json against schema Have we decided to disable that level of validation ? On Thu, Dec 11, 2014 at 11:44 AM, Isuru Haththotuwa wrote: > Hi Imesh, > > Is category a new field to define the cartridge (such as framework, > application, etc.)? If it

Re: Cartridge Definition - Category Field

2014-12-10 Thread Isuru Haththotuwa
Hi Imesh, Is category a new field to define the cartridge (such as framework, application, etc.)? If its mandatory IMHO we should validate it and throw an error if the category is not there without failing with an NPE, wdyt? On Thu, Dec 11, 2014 at 7:10 AM, Imesh Gunaratne wrote: > Hi, > > I'm

Cartridge Definition - Category Field

2014-12-10 Thread Imesh Gunaratne
Hi, I'm seeing the below error when deploying a cartridge without having a category defined: [2014-12-11 11:36:39,794] ERROR {org.apache.stratos.rest.endpoint.handlers.CustomThrowableExceptionMapper} - Internal server error java.lang.NullPointerException at org.apache.stratos.rest.endpoint.api.S