Re: [Dev] [DEV] Implement unit/integration test cases for API Manager JAX-RS Rest API

2015-10-18 Thread Nuwan Dias
Is it right to auto-generate the test client code? IMO one objective of this should be to make sure the REST APIs don't change across patch releases, etc. If we auto-generate the test stubs we would loose that advantage. Thanks, NuwanD. On Mon, Oct 19, 2015 at 12:26 PM, Joseph Fonseka wrote: >

Re: [Dev] [DEV] Implement unit/integration test cases for API Manager JAX-RS Rest API

2015-10-18 Thread Joseph Fonseka
Hi Sanjeewa Saneth & I had an offline chat regarding this last week there are few things we need to consider. 1. Generating integration test for the Jax-RS functionality ex . If crud operations work, if it returns correct error messages. - We can use swagger-codegen to do this.

Re: [Dev] [DEV] Implement unit/integration test cases for API Manager JAX-RS Rest API

2015-10-18 Thread Dharshana Warusavitharana
Hi Jo, As per the practise we followed there won't be a big effort in migrating these tests since we use base test methods to use these API calls. So we can handle this without changing tests. Thank you, Dharshana. On Mon, Oct 19, 2015 at 12:17 PM, Joseph Fonseka wrote: > Sorry mail got sent

Re: [Dev] [DEV] Implement unit/integration test cases for API Manager JAX-RS Rest API

2015-10-18 Thread Joseph Fonseka
Sorry mail got sent accidentally half written. will complete and send shortly. On Mon, Oct 19, 2015 at 12:15 PM, Joseph Fonseka wrote: > Hi Sanjeewa > > Saneth & I had an offline chat regarding this last week there are few > things we need to consider. > > 1. Generating integration test for the

Re: [Dev] finding the buying pattern of consumer store data.

2015-10-18 Thread Fazlan Nazeem
Hi Nifras. If you have successfully built the model using the Machine Learner with a suitable algorithm, you can use the model for prediction. Different ways of using the model are listed in the documentation page[1] . The pattern is stored within the model, and you can use this pattern for predic

Re: [Dev] [DEV] Implement unit/integration test cases for API Manager JAX-RS Rest API

2015-10-18 Thread Dharshana Warusavitharana
Hi Sanjeewa, Currently we are not using a mechanism to proceed testing with auto generated clients. As I understand by the requirement this might subject to change API definition posted by the application with changes in the product level. But as per the requirement I think it would be ideal if w

Re: [Dev] [DEV] Implement unit/integration test cases for API Manager JAX-RS Rest API

2015-10-18 Thread Joseph Fonseka
Hi Sanjeewa Saneth & I had an offline chat regarding this last week there are few things we need to consider. 1. Generating integration test for the Jax-RS functionality ex . If crud operations work, if it returns correct error messages. - We can use swagger-codegen to do this. API Def

Re: [Dev] [DEV] Implement unit/integration test cases for API Manager JAX-RS Rest API

2015-10-18 Thread Sanjeewa Malalgoda
On Mon, Oct 19, 2015 at 11:39 AM, Sanjeewa Malalgoda wrote: > Hi Team, > We are planning to implement complete REST API for all operations > available in API Manager. > This will be CXF based jax-rs application. > This application based on swagger template and service skeleton > automatically gen

[Dev] [DEV] Implement unit/integration test cases for API Manager JAX-RS Rest API

2015-10-18 Thread Sanjeewa Malalgoda
Hi Team, We are planning to implement complete REST API for all operations available in API Manager. This will be CXF based jax-rs application. This application based on swagger template and service skeleton automatically generate according to swagger to cxf implementation done by Jo. We would like

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.2 RC3

2015-10-18 Thread Rajith Vitharana
Hi, Tested with DSS basic scenarios 1 - deploying car scenario 2 - invoking simple service 3 - invoking simple rest service (with post body content - which doesn't work in kernel 4.4.1) +1 to release Thanks, On Mon, Oct 19, 2015 at 10:45 AM, Manuri Amaya Perera wrote: > Hi Maduranga, > > If y

Re: [Dev] [APIM] [OSGI] Removal of dynamic imports causes CNF on extention points

2015-10-18 Thread Kishanthan Thangarajah
On Fri, Oct 16, 2015 at 4:31 PM, Shani Ranasinghe wrote: > > Hi, > > In APIM current code (1.10), we have removed the >* from all packages at the moment. > > We faced an issue now, where an extension point would not work with this > change. i.e. if we put a external jar into the > /repository/co

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.2 RC3

2015-10-18 Thread Manuri Amaya Perera
Hi Maduranga, If you need to use the bundle exported by kernel you'll have to use the version exported by kernel which is 0.0.0. Was it working it 4.4.1? But, as this is a framework package we have not changed anything. Thank you. On Sat, Oct 17, 2015 at 1:21 PM, Maduranga Siriwardena wrote

[Dev] finding the buying pattern of consumer store data.

2015-10-18 Thread NIFRAS ISMAIL
Hi Machine Learners, I have to find the buying pattern of stored data. I am using WSO2 ML and get the model. From the model how do i get the buying pattern any ideas? or research paper like materials. Thanks Regards. *M. Nifras Ismail* [image: LinkedIn]

Re: [Dev] [jaggery] Where should I Report Issues in IDEA Jaggery Plugin?

2015-10-18 Thread Godwin Amila Shrimal
Adding [Manu] On Mon, Oct 19, 2015 at 9:05 AM, Chamila Wijayarathna wrote: > Hi all, > > I have installed jaggery plugin in IDEA 14.1.3. I observed following > suggestion which is not spelled correctly. > > [image: Inline image 1] > > Correct function which is supported is "isDebugEnabled", but

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.2 RC2

2015-10-18 Thread Aruna Karunarathna
On Mon, Oct 19, 2015 at 9:32 AM, Hasanthi Purnima Dissanayake < hasan...@wso2.com> wrote: > Hi Kishanthan, > Please find the requested information for [1] as a jira attchement. Please > consider that I observed this issue only when both proxy context path and > web context root is enabled as I men

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.2 RC2

2015-10-18 Thread Johann Nallathamby
Hi Pandula, AFAIK I have seen users using both of these configurations separately, but not often together. So in that sense I don't think it should be considered a blocker. This is just my opinion. Thanks. On Fri, Oct 16, 2015 at 8:34 PM, Pandula Kariyawasam wrote: > Hi Johann, > > Still we ar

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.2 RC2

2015-10-18 Thread Hasanthi Purnima Dissanayake
Hi Kishanthan, Please find the requested information for [1] as a jira attchement. Please consider that I observed this issue only when both proxy context path and web context root is enabled as I mentioned in the JIRA. [1] https://wso2.org/jira/browse/CARBON-15475 Thanks Hasanthi Dissanayake S

[Dev] [jaggery] Where should I Report Issues in IDEA Jaggery Plugin?

2015-10-18 Thread Chamila Wijayarathna
Hi all, I have installed jaggery plugin in IDEA 14.1.3. I observed following suggestion which is not spelled correctly. [image: Inline image 1] Correct function which is supported is "isDebugEnabled", but here it shows "isDebugEnabeld". At where should I report this issue? Thank You! -- *Cha

Re: [Dev] [APIM] [OSGI] Removal of dynamic imports causes CNF on extention points

2015-10-18 Thread Shani Ranasinghe
Hi, On Sun, Oct 18, 2015 at 2:25 PM, KasunG Gajasinghe wrote: > > > On Fri, Oct 16, 2015 at 4:31 PM, Shani Ranasinghe wrote: > >> >> Hi, >> >> In APIM current code (1.10), we have removed the > >* from all packages at the moment. >> >> We faced an issue now, where an extension point would not

Re: [Dev] [AF] Application creation can be failed, if we create the application before the git repo is available in s2git

2015-10-18 Thread Samith Dassanayake
Hi Amlka, Please find my comments inline On Fri, Oct 16, 2015 at 11:15 PM, Amalka Subasinghe wrote: > > Hi, > > in the current deployment, in the tenant creation flow , when the SM > receive the create_subsciption message it creates a git repo in s2git and > then subscribe the tenant to all 3 A

Re: [Dev] [Architecture] help with application service error

2015-10-18 Thread Thusitha Thilina Dayaratne
Remove architecture adding dev On Fri, Oct 16, 2015 at 8:04 PM, John Q wrote: > Hello, I have created an axis2 service that invokes an external service, > when I deploy it into AS 5.2.1 I get this error: > > Unable to create SOAP connection factory: Provider > org.apache.axis2.saaj.SOAPConnectio

Re: [Dev] [AF] Application creation can be failed, if we create the application before the git repo is available in s2git

2015-10-18 Thread Kasun De Silva
Hi Amalka, See my comments inline, > > Hi, > > in the current deployment, in the tenant creation flow , when the SM > receive the create_subsciption message it creates a git repo in s2git and > then subscribe the tenant to all 3 AS instances. > This takes little more time and no response return t

Re: [Dev] [APIM] [OSGI] Removal of dynamic imports causes CNF on extention points

2015-10-18 Thread KasunG Gajasinghe
On Fri, Oct 16, 2015 at 4:31 PM, Shani Ranasinghe wrote: > > Hi, > > In APIM current code (1.10), we have removed the >* from all packages at the moment. > > We faced an issue now, where an extension point would not work with this > change. i.e. if we put a external jar into the > /repository/co