Re: [Dev] Publish data set in DAS

2016-03-01 Thread Gimantha Bandara
Hi Lakshitha, Also make sure that the stream is persisted, otherwise the data will not be persisted in DAS. Please refer to [1] [1] https://docs.wso2.com/display/DAS300/Persisting+Data+for+Interactive+Analytics On Wed, Mar 2, 2016 at 1:22 PM, Sinthuja Ragendran wrote: > Hi

[Dev] GSOC2016: Proposal 6: [ML]

2016-03-01 Thread Mahesh Dananjaya
Hi all, I am interesting on contribute to proposal 6: "Predictive analytic with online data for WSO2 Machine Learner" for GSOC2 this time. Since i have been engaging with some similar projects i think it will be a great experience for me. Please let me know what you think and what you suggest. I

Re: [Dev] Publish data set in DAS

2016-03-01 Thread Sinthuja Ragendran
Hi Lakshitha, On Wed, Mar 2, 2016 at 1:20 PM, Lakshitha Warnakulasuriya < lakshitha...@gmail.com> wrote: > Thanx Ayyoob. > > I'm using ESB(4.8.1) and DAS(3.0.0) for publish data from ESB to DAS. > > For the testing, I want to publish string from ESB to DAS. I followed > below steps for do that.

Re: [Dev] Publish data set in DAS

2016-03-01 Thread Lakshitha Warnakulasuriya
Thanx Ayyoob. I'm using ESB(4.8.1) and DAS(3.0.0) for publish data from ESB to DAS. For the testing, I want to publish string from ESB to DAS. I followed below steps for do that. But it's not working. 1. First I create a soap service for return a simple string like 'Hello World'. 2.

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

2016-03-01 Thread Mahesh Dananjaya
Hi all, I am interesting on contribute to proposal 6: "Predictive analytic with online data for WSO2 Machine Learner" for GSOC2 this time. Since i have been engaging with some similar projects i think it will be a great experience for me. Please let me know what you think and what you suggest. I

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

2016-03-01 Thread Vivekananthan Sivanayagam
Hi , I have implemented a method to support FTP Over proxy in file connector version 2, I used Java Client [1](commons-net 3.4) and configured "Squid" proxy[2]. I am getting the following errors when I invoke a method. [2016-03-02 10:56:19,535] ERROR - FileFtpOverProxy Error occurred while

[Dev] Drag and Drop not being supported by default in GMF gen code

2016-03-01 Thread Awanthika Senarath
Hi, The issue of datamapper operators not being drag, drop able, the issue is that GMF auto gen code by default does not support drag drop ability. Instead it support select and drop. This could be fixed as follows according to [1]. In the gen code the DataMapperPaletteFactory class contains

Re: [Dev] Issue in representing avro records with multiple namespaces

2016-03-01 Thread Nuwan Pallewela
+1 for using "attr_" . On Wed, Mar 2, 2016 at 11:35 AM, Sohani Weerasinghe wrote: > Thanks for the input. Let's use - "name" : "attr_gender" > > Sohani Weerasinghe > Software Engineer > WSO2, Inc: http://wso2.com > > Mobile : +94 716439774 > Blog

Re: [Dev] Issue in representing avro records with multiple namespaces

2016-03-01 Thread Sohani Weerasinghe
Thanks for the input. Let's use - "name" : "attr_gender" Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine On Wed, Mar 2, 2016 at 11:31 AM, Susinda Perera

Re: [Dev] Issue in representing avro records with multiple namespaces

2016-03-01 Thread Awanthika Senarath
+1 to attr Awanthika Senarath Software Engineer, WSO2 Inc. Mobile: +94717681791 On Wed, Mar 2, 2016 at 11:31 AM, Susinda Perera wrote: > How about *attr* (lowercase) > > On Wed, Mar 2, 2016 at 11:29 AM, Sohani Weerasinghe > wrote: > >> I think it's better

Re: [Dev] Issue in representing avro records with multiple namespaces

2016-03-01 Thread Susinda Perera
How about *attr* (lowercase) On Wed, Mar 2, 2016 at 11:29 AM, Sohani Weerasinghe wrote: > I think it's better if we can use "ATR" instead of "ATT" > > Sohani Weerasinghe > Software Engineer > WSO2, Inc: http://wso2.com > > Mobile : +94 716439774 > Blog

Re: [Dev] Issue in representing avro records with multiple namespaces

2016-03-01 Thread Sohani Weerasinghe
I think it's better if we can use "ATR" instead of "ATT" Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine On Wed, Mar 2, 2016 at 11:25 AM, Sohani Weerasinghe

[Dev] Fwd: GSoC '16 - Proposal 1

2016-03-01 Thread Malaka Silva
Hi ​ Danushka, Sounds good. Please proceed. -- Forwarded message -- From: Danushka Menikkumbura Date: Wed, Mar 2, 2016 at 11:07 AM Subject: GSoC '16 - Proposal 1 To: mal...@wso2.com, saj...@wso2.com Hi Malaka & Sajini, I am an ex-WOS2er and

Re: [Dev] Issue in representing avro records with multiple namespaces

2016-03-01 Thread Sohani Weerasinghe
Hi All, When representing attributes in avro schema, according to [1] the suggested approach is to use @ as a prefix. Since avro name should start with [A-Za-z] and subsequently contain only [A-Za-z0-9_], shall we represent it as below (adding ATT as a prefix) "name" : "*ATT*_gender" [1]

Re: [Dev] [ML] Visual (Deep) Neural Network Builder(GSoc Application)

2016-03-01 Thread Upul Bandara
[Looping dev] On Wed, Mar 2, 2016 at 11:09 AM, shubham kumar wrote: > Hi Upul, > > I want to work on this project during summers. I am very good at doing > tasks. I learn and implement things quickly. Presently I am in BTech 4rth > year and I am working as Big Data

Re: [Dev] [Puppet-Modules] Puppet Error: cwd must be a fully qualified path

2016-03-01 Thread Thanuja Uruththirakodeeswaran
Thanks Manula. I'll update the code. On Wed, Mar 2, 2016 at 10:51 AM, Manula Waidyanatha wrote: > Hi Thanuja, > > Always follow the Puppetlabs language style guide [1] when writing puppet > manifests. > Even the above code is working, the best practice to surround the >

Re: [Dev] [Puppet-Modules] Puppet Error: cwd must be a fully qualified path

2016-03-01 Thread Manula Waidyanatha
Hi Thanuja, Always follow the Puppetlabs language style guide [1] when writing puppet manifests. Even the above code is working, the best practice to surround the variables with curly braces. [1] https://docs.puppetlabs.com/guides/style_guide.html#variables On Tue, Mar 1, 2016 at 6:59 PM,

Re: [Dev] No such method when loading third party jar in eclipse

2016-03-01 Thread Awanthika Senarath
The fix is available at git branch core-update-4.0.0.201603020233 Awanthika Senarath Software Engineer, WSO2 Inc. Mobile: +94717681791 On Wed, Mar 2, 2016 at 10:35 AM, Awanthika Senarath wrote: > I have fixed this by moving the datamapper specific libraries from the >

Re: [Dev] No such method when loading third party jar in eclipse

2016-03-01 Thread Awanthika Senarath
I have fixed this by moving the datamapper specific libraries from the kernel libraries plugin into the datamapper plugin. This will give us the flexibility to change and add different libraries required for datamapper independent of kernel releases, We can release the composite zip for the ESB

Re: [Dev] [GSoC] Proposal 8: HTTP Load balancer on top of WSO2 Gateway

2016-03-01 Thread Kasun Indrasiri
Hi Pubudu, Can you come up with the use cases that you are planning to add on top of HTTP GW. Also, come up with a design of the existing GW and how the LB related features will be implemented on the GW. These things will be critical in order to proceed with the project. Thanks, Kasun On Wed,

Re: [Dev] [ML][GSOC] Ensemble learning for WSO2 ML

2016-03-01 Thread Supun Sethunga
Hi Minudika, Which options should be available for the user to get decisions? For > example, if the user is going to use the bagging method, the number of > samples can be pre-defined by the user. I think that depends on the implementation. As you've mentioned, # of samples, would definitely

Re: [Dev] [GSoC] Proposal 8: HTTP Load balancer on top of WSO2 Gateway

2016-03-01 Thread Isuru Ranawaka
Hi Pubudu, First you can evaluate existing loadbalancers (ex Nginx , HA ) and look in to main features related to HTTP loadbalancing such as Load balancing methods (roundrobin, iphash, leastconnected) , session persistence, ..etc. Try to identify how those concepts works within those and come

Re: [Dev] GSOC2016 Project of Machine Learning

2016-03-01 Thread Nirmal Fernando
Hi Mahesh, Thanks for your interest on machine learning projects. Could you please let us know what projects you are interested in ? Will be able to provide more details surely. PS: call me Nirmal not sir :) On Tue, Mar 1, 2016 at 10:41 PM, Mahesh Dananjaya wrote:

Re: [Dev] [APIM] Adding new API store themes for tenants via admin-dashboard

2016-03-01 Thread Shenavi de Mel
Hi Jo, Just another concern. Is there a particular reason why the deployment of web fonts with the theme is also not allowed. If user wants to change the default web fonts is that going to be of any harm to the product and it's functions? Regards Shenavi *Shenavi de Mel* Software Engineer WSO2

Re: [Dev] Issue in representing avro records with multiple namespaces

2016-03-01 Thread Sohani Weerasinghe
​Please find the attached image which represents the prefix in the tree view Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine On Wed, Mar 2, 2016 at 7:45 AM,

Re: [Dev] Issue in representing avro records with multiple namespaces

2016-03-01 Thread Sohani Weerasinghe
Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine On Wed, Mar 2, 2016 at 6:28 AM, Jasintha Dasanayake wrote: > > > On Tue, Mar 1, 2016 at

Re: [Dev] XML to json array in ESB

2016-03-01 Thread Chanaka Fernando
Hi Shazni, There should some information in the xml message to tell that it is an array when there is only one element. Otherwise, JSON builder cannot figure out it is an array. You can use the following in the xml message to instruct the consumers about array. ** user1 On Wed, Mar

Re: [Dev] [VOTE] Release WSO2 Business Process Server 3.5.1 RC3

2016-03-01 Thread Himasha Guruge
Hi, Tested following against mysql db. 1. Bpmn samples and bpmn explorer. 2. Human task sample and human-task explorer. 3. Bpel samples. 4.Email/sms notifications of humantasks. 5.Bpmn/bpel cleanup script execution with a load of 1000 instances each. [ ] Stable - go ahead and release.

Re: [Dev] Issue in representing avro records with multiple namespaces

2016-03-01 Thread Jasintha Dasanayake
On Tue, Mar 1, 2016 at 9:07 PM, Sohani Weerasinghe wrote: > Thanks Nuwan for the response. > > When generating the avro schema by adding elements to the tree view, user > can specify the namespace (xml namespace) with the prefix, so that when > generating the the avro schema we

Re: [Dev] [ML][GSOC] Ensemble learning for WSO2 ML

2016-03-01 Thread Minudika Malshan
Hi, Please help me to be clarified on this. Apart from the implementation of those ensemble methods at the back end, we're supposed to develop some UI features. Which options should be available for the user to get decisions? For example, if the user is going to use the bagging method, the number

[Dev] [GSoC] Proposal 8: HTTP Load balancer on top of WSO2 Gateway

2016-03-01 Thread Pubudu Fernando
Hi, I'm a 3rd year Computer Engineering undergraduate student from University of Moratuwa and I am interested in contributing to proposal 8, developing a HTTP load balancer on top of Gateway for GSoC. I am a bit familiar with load balancing concepts and WSO2 Gateway and I have configured and used

[Dev] XML to json array in ESB

2016-03-01 Thread Shazni Nazir
Hi, Say for example used a proxy below [1] to convert an xml to json. [1] http://ws.apache.org/ns/synapse; name="XmlToJSON" transports="https,http" statistics="disable" trace="disable" startOnLoad="true"> using a payload like [2]

Re: [Dev] [DAS] Retrieving sorted data from queries to DAS

2016-03-01 Thread Udara Rathnayake
If it's a temporary table, you should be able to do the sorting within the spark query. So no need to worry about sorting at the client side. On Mon, Feb 29, 2016 at 11:45 PM, Shabir Mohamed wrote: > Hi All, > > In the process of creating analytics gadgets for the IoT/EMM

Re: [Dev] [DAS] Retrieving sorted data from queries to DAS

2016-03-01 Thread Gimantha Bandara
Hi Suho, Yes, time should be indexed. On Tuesday, March 1, 2016, Sriskandarajah Suhothayan wrote: > Hi Gimantha > > In most cases we need data sorted by time, so in that case do we need to > index time ? > > Regards > Suho > > On Tue, Mar 1, 2016 at 12:08 PM, Gimantha Bandara

Re: [Dev] Calling DSS REST resources using JSON payloads

2016-03-01 Thread Gokul Balakrishnan
Hi Madhawa, Thanks, I was using an input format like: { "timeFrom" : "2001-01-01 11:44:52", "timeTo": "2010-06-01 11:44:52" } but it only worked once I'd incorporated the resource name as well, similar to: { "getFilteredNotices": { "timeFrom" : "2001-01-01 11:44:52",

Re: [Dev] Issue in representing avro records with multiple namespaces

2016-03-01 Thread Sohani Weerasinghe
Thanks Nuwan for the response. When generating the avro schema by adding elements to the tree view, user can specify the namespace (xml namespace) with the prefix, so that when generating the the avro schema we can map the namespace to doc and prefix to the namespace in avro. Thanks, Sohani

Re: [Dev] Issue in representing avro records with multiple namespaces

2016-03-01 Thread Nuwan Pallewela
On Tue, Mar 1, 2016 at 7:34 PM, Sohani Weerasinghe wrote: > Hi All, > > If we consider an XML which has multiple namespaces as below , > > > http://www.w3.org/TR/html4/;> > Asian Coffee Table > 74 > 129 > > http://www.w3schools.com/furniture;> > African Coffee Table >

[Dev] Issue in representing avro records with multiple namespaces

2016-03-01 Thread Sohani Weerasinghe
Hi All, If we consider an XML which has multiple namespaces as below , http://www.w3.org/TR/html4/;> Asian Coffee Table 74 129 http://www.w3schools.com/furniture;> African Coffee Table 80 120 The avro schema should be as follows , { "type" : "record", "name" : "root",

Re: [Dev] Publish data set in DAS

2016-03-01 Thread Ayyoob Hamza
Hi Lakshitha, WSO2 DAS has different event receivers[1] to receive events and there is one for soap[2]. Please refer the sample give in [2] which receive xml based events. [1] https://docs.wso2.com/display/DAS300/Configuring+Event+Receivers [2]

Re: [Dev] [Puppet-Modules] Puppet Error: cwd must be a fully qualified path

2016-03-01 Thread Thanuja Uruththirakodeeswaran
Thanks Manula !!! The error is because of the syntax error that we need to use *" " *for if the value has variable. Here the cwd attribute value has carbon_home variable. Following code will resolve the above puppet error: exec { "Applying secure vault": user => $user, path

[Dev] [Puppet-Modules] Puppet Error: cwd must be a fully qualified path

2016-03-01 Thread Thanuja Uruththirakodeeswaran
Hi All, I'm trying to change the cipher tool execution command at [1] so that first I need to go inside the $carbon_home/bin directory and then trying to execute the cipher tool with the following code snippet (We need to do this for carbon kernel 4.2.0 based products as discussed in [2]) : exec

Re: [Dev] [ESB500] JMS Inbound Endpoint behavior with Session Acknowledgement

2016-03-01 Thread Malaka Silva
Hi Dilshani, Flow is very simple except following exceptions. Take message -> execute mediation (sequence) -> ack the broker. If you want to rollback set SET_ROLLBACK_ONLY mc property to true in fault sequence. Also in mediation flow non-blocking mediator should be used. eg:- callout mediator

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.4 RC1

2016-03-01 Thread Kalpa Welivitigoda
Hi Devs, Thanks for testing and verifying Carbon kernel 4.4.4 RC1. We are closing this vote now. This vote has passed with 7 +1s and 0 -1s. Therefore, we will proceed with the Carbon kernel 4.4.4 release. On Mon, Feb 29, 2016 at 10:10 PM, KasunG Gajasinghe wrote: > Hi All, > >

Re: [Dev] Error on loading external OSGI bundles with Carbon 5

2016-03-01 Thread Anupama Pathirage
Hi Aruna, Thanks a lot. That solved the problem. :) and thanks Thusitha and Kalpa for the support. On Tue, Mar 1, 2016 at 4:39 PM, Aruna Karunarathna wrote: > * is defined wrong. > > Try adding > > * > > Refer this [1] for more details. > > [1].

Re: [Dev] Error on loading external OSGI bundles with Carbon 5

2016-03-01 Thread Aruna Karunarathna
* is defined wrong. Try adding * Refer this [1] for more details. [1]. https://docs.wso2.com/display/Carbon500/Using+the+Maven+Bundle+Plugin On Tue, Mar 1, 2016 at 4:24 PM, Anupama Pathirage wrote: > Hi, > > Thanks for the suggestions. > > I already tried with followings.

Re: [Dev] Error on loading external OSGI bundles with Carbon 5

2016-03-01 Thread Anupama Pathirage
Hi, Thanks for the suggestions. I already tried with followings. May be something is wrong in the way I specified them. 1) import the com.mysql.jdbc pacakage [5.1.35, 5.1.38) com.mysql.jdbc.*;version="${mysql.import.version.range}" 2) Adding dynamic import * I have attached my pom.xml file

Re: [Dev] Error on loading external OSGI bundles with Carbon 5

2016-03-01 Thread Aruna Karunarathna
Hi Anupama, Since you are doing a class.forName();, you have to do dynamic import package. Can you try adding that to your pom.xml? Regards, Aruna On Tue, Mar 1, 2016 at 2:54 PM, Thusitha Thilina Dayaratne < thusit...@wso2.com> wrote: > Hi Anupama, > > Are you importing the com.mysql.jdbc

[Dev] [ESB500] JMS Inbound Endpoint behavior with Session Acknowledgement

2016-03-01 Thread Dilshani Subasinghe
Hi Malaka, In ESB, JMS Inbound endpoint can configure Acknowledgement Type with "transport.jms.SessionAcknowledgement". When it set as "Client_Acknowledge" , What will be the behavior of ESB ? Does it behave like normal JMS Client which enabled "Client_Acknowledgement" ? I'm using separate JMS

Re: [Dev] Error on loading external OSGI bundles with Carbon 5

2016-03-01 Thread Thusitha Thilina Dayaratne
Hi Anupama, Are you importing the com.mysql.jdbc package inside your bundle which uses mysql? Thanks Thusitha On Tue, Mar 1, 2016 at 2:49 PM, Anupama Pathirage wrote: > Hi, > > I need to query MySQL database with Carbon 5 based product and I added the >

[Dev] Error on loading external OSGI bundles with Carbon 5

2016-03-01 Thread Anupama Pathirage
Hi, I need to query MySQL database with Carbon 5 based product and I added the mysql-connector-java-5.1.35.jar [1] file to the osgi/droppings directory. Since the jar file is already an osgi bundle I copied it directly to osgi/droppings folder. But when I load the class as below it gives the

Re: [Dev] Invoking Query type API call via People HR connector

2016-03-01 Thread Amalka Subasinghe
Thanks Amalka Subasinghe Senior Software Engineer WSO2 Inc. Mobile: +94 77 9401267 On Tue, Mar 1, 2016 at 2:10 PM, Thulasika Vijayanathan wrote: > Hi Amalka, > > Please find the updated peoplehr connector in store[1]. > [1] >

Re: [Dev] Invoking Query type API call via People HR connector

2016-03-01 Thread Thulasika Vijayanathan
Hi Amalka, Please find the updated peoplehr connector in store[1]. [1] https://store.wso2.com/store/assets/esbconnector/875a8019-8fe9-42ff-9cd2-acb0ea7e2d3a Thanks, Thulasika. On Mon, Feb 29, 2016 at 12:05 PM, Amalka Subasinghe

Re: [Dev] Packaging the Kubernetes Artifacts

2016-03-01 Thread Vishanth Balasubramaniam
Thanks Isuru. Noted, will do it that way. On Tue, Mar 1, 2016 at 1:45 PM, Isuru Haththotuwa wrote: > Hi Vishanth, > > Few comments: > >- Move the property kubernetes.artifacts.version to root pom >- No need to define profiles, common plugins (assembly) and >

Re: [Dev] Packaging the Kubernetes Artifacts

2016-03-01 Thread Isuru Haththotuwa
Hi Vishanth, Few comments: - Move the property kubernetes.artifacts.version to root pom - No need to define profiles, common plugins (assembly) and repositories in each pom, they can be declared in the root pom and inherited. On Tue, Mar 1, 2016 at 9:29 AM, Vishanth Balasubramaniam