Re: [Dev] Can't we use waitForAPIDeploymentSync() for standalone mode tests?

2016-03-04 Thread Bhathiya Jayasekara
FYI: In APIM we have spring.framework_3.2.9.wso2v1.jar. (I don't see any spring dependency in your webapp code.) Thanks, Bhathiya On Sat, Mar 5, 2016 at 12:18 PM, Bhathiya Jayasekara wrote: > Hi Dharshana, > > I updated the webapp, and now I'm getting this runtime exception.

Re: [Dev] Can't we use waitForAPIDeploymentSync() for standalone mode tests?

2016-03-04 Thread Bhathiya Jayasekara
Hi Dharshana, I updated the webapp, and now I'm getting this runtime exception. *java.lang.NoSuchMethodError: org.springframework.beans.factory.xml.XmlBeanDefinitionReader.setEnvironment(Lorg/springframework/core/env/Environment;)V* As per [1], it needs a later version of spring-beans. Can you

Re: [Dev] Clarification regarding BuilderMediator

2016-03-04 Thread Isuru Udana
Hi Malintha, Builder mediator approach is adding lot of overhead to the configuration as we have to add it for all the APIs in ESB which handles json. Handling malformed json is a special case. For this special API which handles malformed json, let's engage an API handler. At the handler in the

Re: [Dev] Clarification regarding BuilderMediator

2016-03-04 Thread Malintha Amarasinghe
Hi Isuru, Thanks for looking in to this. 1. We have an API and lets say it points to a backend which sometimes give invalid payloads with application/json content type. 2. We have added a content aware mediator along the mediation flow. (Ex: the API is response caching enabled) 3. If the backend

Re: [Dev] Clarification regarding BuilderMediator

2016-03-04 Thread Isuru Udana
Hi Malintha, Can you please explain the use case you are trying to implement using builder mediator. On Saturday, March 5, 2016, Malintha Amarasinghe wrote: > Hi, > > I was trying a sample for Builder Mediator [1] to override the default > message formatter/builder and use

[Dev] Clarification regarding BuilderMediator

2016-03-04 Thread Malintha Amarasinghe
Hi, I was trying a sample for Builder Mediator [1] to override the default message formatter/builder and use PlainTextBuilder/PlainTextFormatter for application/json content type. As per the documentation [1] we should be enable BinaryRealyBuilder/ExpandingMessageFormatter for at least one

Re: [Dev] [EMM][AppM] Emm is sending all of its devices in a specific tenant when user's devices are needed.

2016-03-04 Thread Chathura Dilan
Hi Prabath, Thank you. I created a JIRA[1] for that. [1] - https://wso2.org/jira/browse/MDM-407 On Thu, Mar 3, 2016 at 6:53 PM, Prabath Abeysekera wrote: > Thanks for reporting. Please file a JIRA for us to keep track of it and > fix targeting the next immediate patch

Re: [Dev] [Gsoc 2016] [CDMF] Calculate Device Health Status using Analytics and API Calls

2016-03-04 Thread Geethika Kumari
Hi, I tried to build [1]carbon-device-mgt [2] carbon-device-mgt-plugins [3]product-mdm master branch. [1] and [2] build without errors. But [3] given error in Backend Integration Tests. Error log: WSO2 MDM - Integration Admin Clients .. SUCCESS [0.305s] [INFO] WSO2 MDM -

Re: [Dev] Session Affinity in Kubernetes

2016-03-04 Thread Nishadi Kirielle
Thanks a lot. I will write a blog post and share it. Thanks On Fri, Mar 4, 2016 at 6:07 PM, Sagara Gunathunga wrote: > > Great, it would be better if Nishadi can write a step by step blog post > about how to do this. We had to do a 30 hours hackathon to change MSF4J >

Re: [Dev] [DAS-3.0.1] Getting Table "METRIC_GAUGE" not found periodically

2016-03-04 Thread Udara Rathnayake
Hi Isuru, Thanks for looking into this! I'm also unable to reproduce this issue. In DAS 3.0.1 we don't have identity db scripts[1] hence this identity related issue during -Dsetup. [1] [DAS][3.0.1] -Dsetup startup error On Fri, Mar 4, 2016 at 5:59 AM, Isuru Perera wrote: >

Re: [Dev] [ESB][Connector] Github connector - get List of commits on a repo.

2016-03-04 Thread Malaka Silva
Thx Kathees. Also resolve [1] afterwards. [1] https://wso2.org/jira/browse/ESBCONNECT-85 On Fri, Mar 4, 2016 at 2:20 PM, Kathees Rajendram wrote: > Merged. will release and add to the store. > > On Fri, Mar 4, 2016 at 11:27 AM, Lakmini Chathurika > wrote:

Re: [Dev] Session Affinity in Kubernetes

2016-03-04 Thread Sagara Gunathunga
Great, it would be better if Nishadi can write a step by step blog post about how to do this. We had to do a 30 hours hackathon to change MSF4J Pet-store sample due to this issue :) Thanks ! On Fri, Mar 4, 2016 at 5:54 PM, Imesh Gunaratne wrote: > Indeed! Overall great effort!!

Re: [Dev] Session Affinity in Kubernetes

2016-03-04 Thread Imesh Gunaratne
Indeed! Overall great effort!! Thanks On Fri, Mar 4, 2016 at 3:36 PM, Lakmal Warusawithana wrote: > Great work Nishadi! > > On Fri, Mar 4, 2016 at 3:34 PM, Nishadi Kirielle wrote: > >> Hi all, >> In attempting to configure session affinity in kubernetes load

Re: [Dev] [DEV] [PET] Could not pass ftp over http proxy.

2016-03-04 Thread Vivekananthan Sivanayagam
Hi, Please ignore above error[2]. This is the correct error. [2016-03-04 17:05:53,405] ERROR - FileFtpOverProxy Could not connect to FTP ftpServer: Could not connect to 127.0.0.1 using port 21 java.io.IOException: Could not connect to 127.0.0.1 using port 21 at

Re: [Dev] [DEV] [PET] Could not pass ftp over http proxy.

2016-03-04 Thread Vivekananthan Sivanayagam
Hi Anuruddha, When I tested with skipping Squid proxy, I got the error[1].I was getting the error [2], when I included Squid proxy. [1] [2016-03-04 16:46:41,101] ERROR - FileFtpOverProxy Error occurred while uploading:Connection timed out java.net.ConnectException: Connection timed out at

Re: [Dev] US Election 2016 Tweet Analyze System

2016-03-04 Thread Dinali Dabarera
Hi Tharik, Thats true. Yasara is fixing that. Thank you for showing us defects, this is our main goal of test run. On Fri, Mar 4, 2016 at 4:45 PM, Tharik Kanaka wrote: > Hi Dinali, > > I am talking about line chart where Trump is shown in blue colour. If you > are not going to

Re: [Dev] US Election 2016 Tweet Analyze System

2016-03-04 Thread Tharik Kanaka
Hi Dinali, I am talking about line chart where Trump is shown in blue colour. If you are not going to use blue or red, still it has to be fixed before go live, isn't it? Regards, On Fri, Mar 4, 2016 at 4:35 PM, Dinali Dabarera wrote: > Hi, > @ Nirmal, > It was a script

[Dev] [Jmeter] Assign response parameter to a Jmeter variable

2016-03-04 Thread Kasun Thennakoon
Hi All, I'm using Jmeter 2.6 for performance testing on Greg. I want to do the $subject in JMeter, to update an asset by assetId as part of CRUD operations. I couldn’t find an element to assign response parameter to a jmeter internal variable. Could some one suggest a method to $subject ?

Re: [Dev] [DAS-3.0.1] Getting Table "METRIC_GAUGE" not found periodically

2016-03-04 Thread Isuru Perera
Hi Udara, I did following steps and I'm not seeing any issue with Metrics data. - Extract wso2das-3.0.1.zip - Delete all files in wso2das-3.0.1/repository/database/ - Run ./wso2server.sh -Dsetup The Metrics UI is also working (Monitor > Metrics > JVM Metrics). However I saw an error

Re: [Dev] [Gsoc 2016] [CDMF] Calculate Device Health Status using Analytics and API Calls

2016-03-04 Thread Sumedha Rubasinghe
Hi Geethika, No Sirs here.. Just Ayyoob would do. :) Hope you find the project interesting. On Fri, Mar 4, 2016 at 2:40 PM, Geethika Kumari wrote: > Hello sir, > Thank you for help. There are several branches in these repositories. What > branch I need to use. > >

Re: [Dev] US Election 2016 Tweet Analyze System

2016-03-04 Thread Tharik Kanaka
Hi All, It would be great if we consider about political party colors of the candidates. As an example in the line chart Trump is shown in blue color but it has to be red color as he is a Republican. Candidates from same party can be shown in different shade of same color. Regards, On Fri, Mar

Re: [Dev] Session Affinity in Kubernetes

2016-03-04 Thread Lakmal Warusawithana
Great work Nishadi! On Fri, Mar 4, 2016 at 3:34 PM, Nishadi Kirielle wrote: > Hi all, > In attempting to configure session affinity in kubernetes load balancing, > I tried to run nginx alpha ingress controller[1] to expose the services > through ingress. But the generated

Re: [Dev] Session Affinity in Kubernetes

2016-03-04 Thread Nishadi Kirielle
Hi all, In attempting to configure session affinity in kubernetes load balancing, I tried to run nginx alpha ingress controller[1] to expose the services through ingress. But the generated nginx configuration file were missing the service ports to access the services. Thus I have manually updated

Re: [Dev] US Election 2016 Tweet Analyze System

2016-03-04 Thread Nirmal Fernando
Hilary Clinton isn't listed as a top tweep, but the community graph suggests otherwise. On Fri, Mar 4, 2016 at 3:19 PM, Srinath Perera wrote: > Feedback I gave is not included! > > Too much room between most popular links. > When we show tweets, make the text and tweet account

Re: [Dev] US Election 2016 Tweet Analyze System

2016-03-04 Thread Srinath Perera
Feedback I gave is not included! Too much room between most popular links. When we show tweets, make the text and tweet account names same size ( like twitter does) Look good otherwise. --Srinath On Fri, Mar 4, 2016 at 3:00 PM, Dinali Dabarera wrote: > Hi everyone, > > >

Re: [Dev] [Gsoc 2016] [CDMF] Calculate Device Health Status using Analytics and API Calls

2016-03-04 Thread Geethika Kumari
Hello sir, Thank you for help. There are several branches in these repositories. What branch I need to use. Thanks and Regards. Nuwan Sameera. On Thu, Mar 3, 2016 at 12:20 AM, Ayyoob Hamza wrote: > Hi Geethika, > Thank you for your interest in this project. CDMF is a framework

Re: [Dev] Fwd: SPI-Fly Mediator Service for Bundle Ordering

2016-03-04 Thread Kishanthan Thangarajah
Yes, we need to find a way to identify what bundles to weave on the fly when framework is starting. On Fri, Mar 4, 2016 at 2:19 PM, Miraj Abeysekara wrote: > Hi Kishanthan, > > 3rd option is also use static weaving isn't it? Is it ok to persist the > modified SPI bundles? > >

Re: [Dev] [ESB][Connector] Github connector - get List of commits on a repo.

2016-03-04 Thread Kathees Rajendram
Merged. will release and add to the store. On Fri, Mar 4, 2016 at 11:27 AM, Lakmini Chathurika wrote: > Hi, > > I added the two new methods to do the followings in GitHub Connector. > > 1.List Organization Repositories.[1]. > 2.List Commits on a repository.[2]. > > I create

Re: [Dev] Fwd: SPI-Fly Mediator Service for Bundle Ordering

2016-03-04 Thread Miraj Abeysekara
Hi Kishanthan, 3rd option is also use static weaving isn't it? Is it ok to persist the modified SPI bundles? Thanks. On Fri, Mar 4, 2016 at 1:58 PM, Kishanthan Thangarajah wrote: > Hi Miraj, > > On Fri, Mar 4, 2016 at 10:25 AM, Miraj Abeysekara wrote: >

Re: [Dev] Please review and merge the following Carbon-Transports pull requests

2016-03-04 Thread Samiyuru Senarathne
Thank you On Fri, Mar 4, 2016 at 1:41 PM, Isuru Ranawaka wrote: > > > On Fri, Mar 4, 2016 at 11:57 AM, Samiyuru Senarathne > wrote: > >> https://github.com/wso2/carbon-transports/pull/38 >> https://github.com/wso2/carbon-transports/pull/39 >> > > > Merged >

Re: [Dev] Fwd: SPI-Fly Mediator Service for Bundle Ordering

2016-03-04 Thread Kishanthan Thangarajah
Hi Miraj, On Fri, Mar 4, 2016 at 10:25 AM, Miraj Abeysekara wrote: > > -- Forwarded message -- > From: David Bosschaert > Date: Mon, Feb 15, 2016 at 3:04 PM > Subject: Re: SPI-Fly Mediator Service for Bundle Ordering > To:

Re: [Dev] [APIM] New Throttling Engine Database Schema Design

2016-03-04 Thread Lahiru Cooray
On Fri, Mar 4, 2016 at 1:23 PM, Upekka Anuruddhi wrote: > Whats are QUOTA_POLICY_TYPE, QUOTA attributes > > Throttling can be done based on Request Count (Eg: 4000 req/5 min) or > based on Bandwidth (Eg: 100 MB/1 hour). QUOTA_POLICY_TYPE is either > "RequestCount" or

Re: [Dev] Fwd: GSOC2016: Proposal 6: [ML]

2016-03-04 Thread Maheshakya Wijewardena
Hi Mahesh, We had to modify a the project scope a little to suit best for the requirements. We will update the project idea with those concerns soon and let you know. We do not support streaming data in WSO2 Machine learner at the moment. The new concern is to use WSO2 CEP to handle streaming

Re: [Dev] Please review and merge the following Carbon-Transports pull requests

2016-03-04 Thread Isuru Ranawaka
On Fri, Mar 4, 2016 at 11:57 AM, Samiyuru Senarathne wrote: > https://github.com/wso2/carbon-transports/pull/38 > https://github.com/wso2/carbon-transports/pull/39 > Merged > > Best Regards, > Samiyuru > > -- > Samiyuru Senarathne > *Software Engineer* > Mobile : +94 (0)