Re: [Dev] Release tag's not available in ML repo

2016-05-16 Thread Mohanadarshan Vivekanandalingam
On Tue, May 17, 2016 at 11:34 AM, Supun Sethunga wrote: > Hi Manoj, > > What is the naming convention for this released tag? > > Btw, seems it is not mentioned in the release process docs [1].. If this > is a required step, shall we update the docs too? > Mentioned in below line.. What is SCM r

Re: [Dev] [C5][BPS] Startup errors with new kernel SNAPSHOT

2016-05-16 Thread Senduran Balasubramaniyam
Hi Niranjan Transport Properties will get its default value if the file is not available. But I have missed to initialize the transport properties. Now it is changed to initialize with an empty set. I'll try running the MSF4J test cases. Yes, if this doesn't solves, I will create a jira and cha

Re: [Dev] [C5][BPS] Startup errors with new kernel SNAPSHOT

2016-05-16 Thread Niranjan Karunanandham
Hi Samiyuru / Senduran, On Tue, May 17, 2016 at 11:35 AM, Samiyuru Senarathne wrote: > Transport config yaml file is loaded from transport component. So setting > defaults in MSF4J level is not successful. IMO its better to set defaults > in transport level to support initialization without a co

Re: [Dev] [C5][BPS] Startup errors with new kernel SNAPSHOT

2016-05-16 Thread Samiyuru Senarathne
Transport config yaml file is loaded from transport component. So setting defaults in MSF4J level is not successful. IMO its better to set defaults in transport level to support initialization without a config file or with a config file with only a sub set of the configurations. Best Regards, Sami

Re: [Dev] Release tag's not available in ML repo

2016-05-16 Thread Supun Sethunga
Hi Manoj, What is the naming convention for this released tag? Btw, seems it is not mentioned in the release process docs [1].. If this is a required step, shall we update the docs too? [1] https://docs.wso2.com/display/Carbon445/Releasing+a+Git+Repository On Wed, May 11, 2016 at 12:31 PM, Mano

Re: [Dev] [C5][BPS] Startup errors with new kernel SNAPSHOT

2016-05-16 Thread Niranjan Karunanandham
Hi all, As per the offline discussion with Samiyuru, we need to modify the unit test for HttpServerTest to read from the config files which has the new default values. @Samiyuru: In-order to support msf4j to run in standalone mode, don't we need to make changes to the msf4j code to set default va

Re: [Dev] G-Reg extension for integration with API-M

2016-05-16 Thread Shazni Nazir
Since this component is developed as an extension, it can be deployed as a jar to the repository/components/lib as a library. And other artifacts like rxts can be added to G-Reg in runtime. With this setup I can test with a standalone G-Reg 5.2.0 with a standalone API-M 1.10.0 without any hassle. C

Re: [Dev] [C5][BPS] Startup errors with new kernel SNAPSHOT

2016-05-16 Thread Samiyuru Senarathne
Hi Niranjan, MSF4J core unit tests use 2 transport config files [1]. You can add the new config to these files. [1] https://github.com/wso2/msf4j/tree/master/core/src/test/resources Best Regards, Samiyuru On Tue, May 17, 2016 at 10:27 AM, Niranjan Karunanandham wrote: > Hi all, > > I looked

Re: [Dev] [C5][BPS] Startup errors with new kernel SNAPSHOT

2016-05-16 Thread Niranjan Karunanandham
Hi all, I looked into the unit tests that are failing in msf4j[1] after upgrading carbon-transports to v 2.0.3-SNAPSHOT and noticed that this is happening when initializing the MicroserviceRunner instance. As per the error [2], this is coming from carbon-transports. As per the offline discussion I

Re: [Dev] Fwd: GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-16 Thread Mahesh Dananjaya
Hi Maheshakya, I have gone through the Java Docs and run some of the Spark examples on spark shell which are paramount improtant for our work. Then i have been writing my codes to check the Linear regression, K means for streaming. please check my git repo [1]. I think now i have to ask on dev rega

[Dev] Unsubscribe

2016-05-16 Thread Senthuran Sangarapillai
Unsubscribe Regards, S.Senthuran Email - senthu...@wso2telco.com [1457599588027_image001.png] ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [G-Reg] Added resource file not showing at the management console

2016-05-16 Thread Nalaka Perera
Hi Denuwanthi, Thanks for the reply, I have correct the path definition and I have use startTenantFlow. Now it's working perfectly. Thanks, On Mon, May 16, 2016 at 8:44 AM, Denuwanthi De Silva wrote: > Hi Nalaka, > > Before creating the registry, could you please try loading the tenant > regis

Re: [Dev] APIM 2.0.0-SNAPSHOT Nightly build - 13/05/2016

2016-05-16 Thread Roshan Wijesena
Hi Shavantha, Try after enabling stats from api-manager.xml Regards Roshan On Mon, May 16, 2016 at 6:03 PM, Shavantha Weerasinghe wrote: > Hi Bhathiya > > The API Publisher for the nightly build on 13-05 does not have the Manage > alert types option. Has that been removed > > > regards, > > S

Re: [Dev] G-Reg extension for integration with API-M

2016-05-16 Thread Samisa Abeysinghe
Great! How are we planning to test this implementation? Thanks, Samisa... Samisa Abeysinghe Vice President Delivery WSO2 Inc. http://wso2.com On Mon, May 16, 2016 at 7:31 PM, Shazni Nazir wrote: > Yes Samisa, so far so good. > > I'll also be having a review with NuwanB and G-Reg team by T

Re: [Dev] How do we call "sendOAuthRequest" method of Jaggery's "OAuth" module with payload

2016-05-16 Thread Rajkumar Rajaratnam
Yes, it seems not supported. I have used Jaggery post() as an alternative. Thanks, Raj. On Mon, May 16, 2016 at 8:16 PM, Geesara Prathap wrote: > Hi Rajkumar, > > Just looked into the implementation of "sendOAuthRequest"[1]. Seems to be > it does support only for the GET requests only. > > So i

Re: [Dev] How do we call "sendOAuthRequest" method of Jaggery's "OAuth" module with payload

2016-05-16 Thread Geesara Prathap
Hi Rajkumar, Just looked into the implementation of "sendOAuthRequest"[1]. Seems to be it does support only for the GET requests only. So if you have an access token, please refer to this implementation[2] how to send a request to some APIs which is secured with OAuth. 1. https://github.com/wso

[Dev] [MB] Python clients for MB 3.1.0

2016-05-16 Thread Kasun De Silva
Do we have any samples on python clients for MB 3.1.0? Thanks, Kasun *Kasun de Silva* Software Engineer WSO2 Inc *. *|* E*mail : kas...@wso2.com | Mobile: +94 77 794 4260 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailm

Re: [Dev] How can we manually create a "Token" object and pass it to "sendOAuthRequest" method of Jaggery's "OAuth" module?

2016-05-16 Thread Geesara Prathap
Hi Rajkumar, Yes, The way an *oauth2Token* object is created is wrong. Please follow this sample implementation which explains how to construct an oauth2Token object. 1. http://jaggeryjs.org/documentation.jag?api=oauth Thanks, Geesara On Sun, M

Re: [Dev] How do we call "sendOAuthRequest" method of Jaggery's "OAuth" module with payload

2016-05-16 Thread Rajkumar Rajaratnam
Hi Geesara, No, it doesn't help. I am asking how we can pass a payload and send a POST request using "sendOAuthRequest" method. I don't think it is documented in above link. Thanks, Raj. On Mon, May 16, 2016 at 7:36 PM, Geesara Prathap wrote: > Hi Rajkumar, > > > I hope this[1]

Re: [Dev] How do we call "sendOAuthRequest" method of Jaggery's "OAuth" module with payload

2016-05-16 Thread Geesara Prathap
Hi Rajkumar, I hope this[1] will help. 1. http://jaggeryjs.org/documentation.jag?api=oauth Thanks, Geesara On Mon, May 16, 2016 at 7:50 PM, Manuranga Perera wrote: > looping > > On Sat, May 14, 2016 at 2:45 PM, Rajkumar Rajaratnam > wrote:

Re: [Dev] [App Cloud] Fronting microservice with HA Proxy

2016-05-16 Thread Manuranga Perera
[2] https://cbonte.github.io/haproxy-dconv/configuration-1.5.html#option%20prefer-last-server On Mon, May 16, 2016 at 1:59 PM, Manuranga Perera wrote: > KAL has the lowest latency on both the client and the server and in case >> of high request rate, it will be the fastest one. [1] > > > So it s

Re: [Dev] [App Cloud] Fronting microservice with HA Proxy

2016-05-16 Thread Manuranga Perera
> > KAL has the lowest latency on both the client and the server and in case > of high request rate, it will be the fastest one. [1] So it seems we should aim for "keep alive" and fix the issues. Maybe you can try with [2] as it suggests. [1] https://www.haproxy.com/doc/aloha/7.0/haproxy/http_mo

[Dev] [App Cloud] Fronting microservice with HA Proxy

2016-05-16 Thread Danushka Fernando
Currently with HA proxy fronting microservice we are facing a connection reset exception [1]. Seems like this is a common issue with netty + haproxy. According to HA proxy manual[2] there are 5 connection modes. With connection mode "*httpclose*" I managed to get rid of the exception. >From manual

Re: [Dev] [C5][BPS] Startup errors with new kernel SNAPSHOT

2016-05-16 Thread Niranjan Karunanandham
Hi Senduran, I tried to build msf4j with your changes but its tests are failing with NPE and java.lang.NoClassDefFoundError. Has there been any major changes in carbon-transports from 2.0.1 to 2.0.3-SNAPSHOT? We need to fixes these issues. @Hasitha: Till these issues are sorted will you be able t

Re: [Dev] How do we call "sendOAuthRequest" method of Jaggery's "OAuth" module with payload

2016-05-16 Thread Manuranga Perera
looping On Sat, May 14, 2016 at 2:45 PM, Rajkumar Rajaratnam wrote: > Hi, > > I am talking about [1]. > > Couldn't find any documentation or samples on this. How do we call > "sendOAuthRequest" method of Jaggery's "OAuth" module with POST payload? > > [1] > https://github.com/wso2/jaggery-extens

Re: [Dev] G-Reg extension for integration with API-M

2016-05-16 Thread Shazni Nazir
Yes Samisa, so far so good. I'll also be having a review with NuwanB and G-Reg team by Thursday to see if things are aligned. On 16 May 2016 6:33 p.m., "Samisa Abeysinghe" wrote: Are we on track in terms of the time schedule to deliver this? Thanks, Samisa... Samisa Abeysinghe Vice President

Re: [Dev] [VOTE] Release WSO2 Kubernetes Artifacts 1.0.0

2016-05-16 Thread Isuru Haththotuwa
Thank you for testing and voting. This vote is now closed, and the vote passes with five +1s and zero -1s. Hence will proceed with the WSO2 Kubernetes Artifacts 1.0.0 release. On Fri, May 13, 2016 at 4:57 PM, Anuruddha Liyanarachchi < anurudd...@wso2.com> wrote: > *[X ] Stable* - go ahead and re

Re: [Dev] [ ESB] Mailto sender not working, Need to review my Proxy service

2016-05-16 Thread Rajjaz Mohammed
Hi Nifras, This is common case to most of the samples. You need to make sure it points to a valid configuration for any actual scenarios specially when work with third party credentials[1] . [1] https://docs.wso2.com/display/ESB490/Sample+256%3A+Proxy+Services+with+the+MailTo+Transport On Mon, M

Re: [Dev] G-Reg extension for integration with API-M

2016-05-16 Thread Samisa Abeysinghe
Are we on track in terms of the time schedule to deliver this? Thanks, Samisa... Samisa Abeysinghe Vice President Delivery WSO2 Inc. http://wso2.com On Mon, May 16, 2016 at 4:45 PM, Shazni Nazir wrote: > Hi all, > > Following is the current update of the G-Reg extension for API-M > integra

Re: [Dev] [GSOC2016]Proposal 4: [ML] Ensemble Methods Support for WSO2 Machine Learner

2016-05-16 Thread Supun Sethunga
Can you try doing a "mvn clean"? Do you get any compilation failures? Regards, Supun On Thu, May 12, 2016 at 7:48 PM, Misgana Negassi < negas...@tf.uni-freiburg.de> wrote: > Hi Supun, > > Thank you for the supportive hangout session. > > I had one question I forgot to ask. > > When I was import

[Dev] G-Reg extension for integration with API-M

2016-05-16 Thread Shazni Nazir
Hi all, Following is the current update of the G-Reg extension for API-M integration. - API rxt - created, but additional fields needs to be added. Some fields like thumbnail, sequences for in, out, fault have few limitations on the rxt end. Pure rxt's doesn't support for file system browse.

Re: [Dev] [ESB] How can i read an array in WSO2 ESB using loops?

2016-05-16 Thread Malaka Silva
Hi, You can use for each mediator. This is used for similar scenarios. [1] https://docs.wso2.com/display/ESB490/ForEach+Mediator On Mon, May 16, 2016 at 4:33 PM, Senthuran Sangarapillai < senthu...@wso2telco.com> wrote: > How can i read the array using a loop in WSO2 ESB? > > below example sho

[Dev] [ESB] How can i read an array in WSO2 ESB using loops?

2016-05-16 Thread Senthuran Sangarapillai
How can i read the array using a loop in WSO2 ESB? below example shows how to read an array by giving the index. expression="fn:tokenize(syn:get-property('operation','myArray'),'\s')[1]" steps I followed { "userIdentifier": ["

Re: [Dev] [C5][BPS] Startup errors with new kernel SNAPSHOT

2016-05-16 Thread Niranjan Karunanandham
Noted. The PR i sent for msf4j is to the master branch so it could be tested directly with the changes that has been applied to the carbon-transports.. Anyway I will test it and get back to you. Regards, Nira On Mon, May 16, 2016 at 11:55 AM, Senduran Balasubramaniyam < sendu...@wso2.com> wrote:

[Dev] [DEV] [VOTE] WSO2 Developer Studio Kernel RC3

2016-05-16 Thread Awanthika Senarath
Hello Devs, We are pleased to announce the vote for RC-3 of *WSO2 Developer Studio Kernel 4.1.0.* P2 repository of WSO2 developer Studio kernel 4.1.0 is available here . Source and Tag Location to be vo

Re: [Dev] Do we have anyway to update Cache in WSO2 products?

2016-05-16 Thread Shazni Nazir
Hi Abimaran, Handling caches is nothing different from normal map operations. You insert entries to the map to add to the cache. And remove the items from the map to remove items from the cache. See few example in the following class [1] https://github.com/wso2/carbon-kernel/blob/4.5.x/core/org.w

Re: [Dev] [ ESB] Mailto sender not working, Need to review my Proxy service

2016-05-16 Thread Nifras Ismail
Hi, Done. By changing the real credential of mine. smtp.gmail.com 587 true true *testmail* *testmailPassword* *testm...@gmail.com * Thanks On Mon, May 16, 2016 at 2:08 PM, Nifras Ismail wrote: > Hi All, > > I have trying to alter

[Dev] [ ESB] Mailto sender not working, Need to review my Proxy service

2016-05-16 Thread Nifras Ismail
Hi All, I have trying to alter the sample 4 (Error handler) to sending the error as mail. But unfortunately I could not receive the mail *I hope my mailto configuration on axis2.xml and my proxy services are fine .* *My axis.xml I have un comment these following stuffs .*

Re: [Dev] Fwd: GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-16 Thread Mahesh Dananjaya
Hi Maheshakya, thank you. i will update the repo today.thank you.i changed the carbon ml siddhi extention and see how the changes are effecting. i will update the progress as soon as possible.thank you. i had some problem in spark mllib dependency. i was fixing that. regards, Mahesh. p.s: do i need

[Dev] [TestAutomation]Deny some role permissions in test cases

2016-05-16 Thread Yasima Dewmini
Hi all, I'm writing integration tests for Process Center. We can add role permissions in automation.xml as following. /permission/admin/configure /permission/admin/login I need to deny some role permissions like read, write for a specific process. How can I do this? A