[Dev] [UES] Connecting a database to dashboard

2015-08-25 Thread Chanuka Dissanayake
Hi, We are going to implement new gadgets(charts) in UES, for that data has to be retrieved by joining mysql database tables (at the moments which is relying on streams). I would like to know if there's a way of directly querying a database in order to get the required data for the gadgets. Thank

Re: [Dev] [ES] UX team feedback on following JIRAs

2015-08-25 Thread Chankami Maddumage
Hi Udara, Please check the attached Image. My suggestion is to either use dark shades or lighter shades throughout ES . In the registration page ES use darker shades and after login it use lighter shades .And also its better to add same validation colours for asset creation form (like in registr

Re: [Dev] Append escape character in json payload -ESB RC1 pack

2015-08-25 Thread Kesavan Yogarajah
Yes Malaka. Kesavan Yogarajah Associate Software Engineer Mobile :+94 (0) 779 758021 kesav...@wso2.com WSO2, Inc. lean . enterprise . middleware On Tue, Aug 25, 2015 at 3:42 PM, Malaka Silva wrote: > Hi Senduran, > > Can this be due to [1]? > > @Keerthika/Kesavan - I guess we are using payloadf

Re: [Dev] Append escape character in json payload -ESB RC1 pack

2015-08-25 Thread Kesavan Yogarajah
please find the configurations below. *template* http://ws.apache.org/ns/synapse"; name="updateIssue"> $1

[Dev] [ES]ES tag cloud support

2015-08-25 Thread Lalaji Sureshika
Hi, Is the $subject available from ES 2.0.0 features or is it disable by default..? This is regarding [1] and problem in [1] is not tags saving problem rather there's no UI option in Enterprise Store to view tags cloud.. [1] https://wso2.org/jira/browse/REGISTRY-2795 Thanks; -- Lalaji Sureshik

Re: [Dev] [AppFactory][Discuss] URL construction for snigle tenant applications

2015-08-25 Thread Dimuthu Leelarathne
Hi Anuruddha, We need to check how domain mapping works on top of this as well. thanks, dimuthu On Mon, Aug 24, 2015 at 8:42 PM, Imesh Gunaratne wrote: > Hi Anuruddha, > > Yes, the only way to avoid exposing the generated Kubernetes service ports > is to use a load balancer in front. +1 for t

Re: [Dev] Install ES features into IoTServer

2015-08-25 Thread Sumedha Rubasinghe
Ayyoob, It should be being ES capabilities into CDMF layer. Not into IoT Server. Are you sure it's AM 1.4.0 features? That's very old. At some point it needs to be updated to latest. Since there is a EMM release going on, I think the only other option is to work on a fork for IoT Server and then

Re: [Dev] [Connectors] Storing connector endpoint in registry

2015-08-25 Thread Bhathiya Jayasekara
Thanks Malaka. I will do that. On Wed, Aug 26, 2015 at 1:27 AM, Malaka Silva wrote: > Hi Bhathiya, > > You can store the complete init config in registry and refer that in your > salesforce methods. > > Eg: > > http://ws.apache.org/ns/synapse"; name="sfdc" > transports="https,http" statistics="

[Dev] [ES] UX team feedback on following JIRAs

2015-08-25 Thread Udara Rathnayake
Hi UX team, Please provide your feedback on following[1][2]. I'm +1 for the suggestion provided for STORE-1014 [2]. Shall we stick to the lighter green color for "success" messages? Or is the other green variation the platform standard? @Chankami, I'm unable to find out the place where we use re

[Dev] Install ES features into IoTServer

2015-08-25 Thread Ayyoob Hamza
Hi, As the discussion on moving the web app layer to CDMF. We tried to install the features but ES requires carbon common version 4.4.4. However CDMF is on carbon common version 4.4.0. which is needed for api.mgt 1.4.0, So is it okay if we fork and continue the development with the latest versions

Re: [Dev] [Connectors] Storing connector endpoint in registry

2015-08-25 Thread Malaka Silva
Hi Bhathiya, You can store the complete init config in registry and refer that in your salesforce methods. Eg: http://ws.apache.org/ns/synapse"; name="sfdc" transports="https,http" statistics="disable" trace="disable" startOnLoad="true"> 200 select i

Re: [Dev] [ML] Spark K-means clustering on KDD cup 99 dataset

2015-08-25 Thread Ashen Weerathunga
@Nirmal, okay i'll arange it today. @Mahesan Thanks for the suggestion. yes 100 must me too high for some cases. I thought that during 100 iterations most probably it will converge to stable clusters. Thats why I put 100. yes as cases like k = 100 it might be not enough. Thanks and ill try with d

Re: [Dev] Append escape character in json payload -ESB RC1 pack

2015-08-25 Thread Senduran Balasubramaniyam
Hi Kesavan, I guess that you are passing the json as a string to the payload mediator so that the payload mediator escapes the double quotes, considering them as special characters. Could you please share your proxy service so that I guess, I can recommend you the correct way. Regards Senduran O

Re: [Dev] [VOTE] Release WSO2 ESB 4.9.0 RC1

2015-08-25 Thread Nirmal Fernando
[Looping Sinthuja and Lasantha] On Wed, Aug 26, 2015 at 8:49 AM, Nirmal Fernando wrote: > We have a small issue when installing ML features into ESB. Issue log is > [1]. Reason being following; > > 215 INSTALLED org.wso2.carbon.databridge.commons.thrift_4.4.4 > > > osgi> diag 215 > > reference

[Dev] API Manager 1.9.1 build 25-08-2015

2015-08-25 Thread Nuwan Dias
Hi, $subject can be found from [1]. [1] - http://builder1.us1.wso2.org/~apim/25-08-2015/ Thanks, NuwanD. -- Nuwan Dias Technical Lead - WSO2, Inc. http://wso2.com email : nuw...@wso2.com Phone : +94 777 775 729 ___ Dev mailing list Dev@wso2.org http

Re: [Dev] [ML] Spark K-means clustering on KDD cup 99 dataset

2015-08-25 Thread Nirmal Fernando
@Ashen let's have a code review today, if it's possible. @Srinath Forgot to mention that I've already given some feedback to Ashen, on how he could use Spark transformations effectively in his code. On Tue, Aug 25, 2015 at 4:33 PM, Ashen Weerathunga wrote: > Okay sure. > > On Tue, Aug 25, 2015

Re: [Dev] [ML] Error when deserializing model summary

2015-08-25 Thread Nirmal Fernando
Shall we try adding an all-in-one parquet jar? Can you check whether there's one? http://mvnrepository.com/artifact/com.twitter/parquet/1.6.0 On Wed, Aug 26, 2015 at 8:55 AM, Madawa Soysa wrote: > Both bundles are required. I tried removing one at a time and checked. > > On 26 August 2015 at 08

Re: [Dev] [ML] Error when deserializing model summary

2015-08-25 Thread Madawa Soysa
Both bundles are required. I tried removing one at a time and checked. On 26 August 2015 at 08:43, Nirmal Fernando wrote: > So it's coming from 2 bundles? Can we get rid of 1 and see? > > On Wed, Aug 26, 2015 at 8:40 AM, Madawa Soysa > wrote: > >> Gives following output. >> >> parquet.hadoop.me

Re: [Dev] [ML] Spark K-means clustering on KDD cup 99 dataset

2015-08-25 Thread Sinnathamby Mahesan
Hi Ashen Thank you for sharing the results. When I looked at the last column - anomaly data % the best value 99.04% results in for 3 clusters with 100 iterations and the worst case (28.12%) for 100 clusters with 100 iterations. This would happen as k increases (with fixed number of iterations)

Re: [Dev] [VOTE] Release WSO2 ESB 4.9.0 RC1

2015-08-25 Thread Nirmal Fernando
We have a small issue when installing ML features into ESB. Issue log is [1]. Reason being following; 215 INSTALLED org.wso2.carbon.databridge.commons.thrift_4.4.4 osgi> diag 215 reference:file:../plugins/org.wso2.carbon.databridge.commons.thrift_4.4.4.jar [215] Direct constraints which ar

Re: [Dev] [ML] Error when deserializing model summary

2015-08-25 Thread Nirmal Fernando
So it's coming from 2 bundles? Can we get rid of 1 and see? On Wed, Aug 26, 2015 at 8:40 AM, Madawa Soysa wrote: > Gives following output. > > parquet.hadoop.metadata; version="0.0.0" > parquet.hadoop.metadata; version="0.0.0" > > On 26 August 2015 at 08:35, Nirmal Fernando wrote: > >> You adde

Re: [Dev] [ML] Error when deserializing model summary

2015-08-25 Thread Madawa Soysa
Gives following output. parquet.hadoop.metadata; version="0.0.0" parquet.hadoop.metadata; version="0.0.0" On 26 August 2015 at 08:35, Nirmal Fernando wrote: > You added them to repository/components/lib right? Can you start the > server in OSGi mode (./wso2server.sh -DosgiConsole ) and issue fo

Re: [Dev] [VOTE] Release WSO2 ESB 4.9.0 RC1

2015-08-25 Thread Nirmal Fernando
Do we need to have the release-note? On Wed, Aug 26, 2015 at 8:34 AM, Ravindra Ranwala wrote: > Hi All, > > I have tested scenarios [1]. No issues found. > > [X] Stable - go ahead and release > > > [1] > https://docs.google.com/document/d/1UpXN3SJvXOzp5UH6eF0lkO_vXTnvko7ruY5VMs9bDDI/edit > > > >

Re: [Dev] [ML] Error when deserializing model summary

2015-08-25 Thread Nirmal Fernando
You added them to repository/components/lib right? Can you start the server in OSGi mode (./wso2server.sh -DosgiConsole ) and issue following command in OSGi console; osgi> p parquet.hadoop.metadata On Wed, Aug 26, 2015 at 8:32 AM, Madawa Soysa wrote: > Hi Nirmal, > > Not actually. I have added

Re: [Dev] [VOTE] Release WSO2 ESB 4.9.0 RC1

2015-08-25 Thread Ravindra Ranwala
Hi All, I have tested scenarios [1]. No issues found. [X] Stable - go ahead and release [1] https://docs.google.com/document/d/1UpXN3SJvXOzp5UH6eF0lkO_vXTnvko7ruY5VMs9bDDI/edit Thanks & Regards, On Wed, Aug 26, 2015 at 7:29 AM, Prabath Ariyarathna wrote: > HI All. > > I have tested basic

Re: [Dev] [ML] Error when deserializing model summary

2015-08-25 Thread Madawa Soysa
Hi Nirmal, Not actually. I have added parquet-common, parquet-encoding, parquet-column, parquet-hadoop as mentioned at https://github.com/Parquet/parquet-mr . But still

Re: [Dev] [ML] Error when deserializing model summary

2015-08-25 Thread Nirmal Fernando
Madawa, hope the issue is resolved now after the instructions given offline. On Mon, Aug 24, 2015 at 8:34 PM, Madawa Soysa wrote: > I have tested the model.save() with a simple Java program. It works fine. > > I have noticed that scala-library:2.11.6 is a dependency of > spark:spark-core_2.11:1.

Re: [Dev] [VOTE] Release WSO2 ESB 4.9.0 RC1

2015-08-25 Thread Prabath Ariyarathna
HI All. I have tested basic security scenarios on the Java7 and Java8. No issues found. [X] Stable - go ahead and release. Thanks. On Tue, Aug 25, 2015 at 9:20 PM, Viraj Senevirathne wrote: > Hi all, > > I have tested VFS inbound and transport use cases for file, ftp and sftp > protocols. No i

Re: [Dev] Can't upload carbon app in cluster mode

2015-08-25 Thread Bhathiya Jayasekara
Hi John, Some time back I setup a similar cluster with ESB 4.8.1. I just tried to install a car file, and it worked fine. I'm attaching my nginx config file here. Thanks, Bhathiya On Tue, Aug 25, 2015 at 12:23 PM, John Hawkins wrote: > Hi Folks, > having problems with using an LB infront of tw

Re: [Dev] About Edge Analytics Service-Mobile IOT

2015-08-25 Thread Lasantha Fernando
Hi Lakini, I earlier assumed that you would be using the latest Siddhi-3.0.0 which has the concept of different ExecutionPlanRuntimes. But looking at the code, it seems you are using Siddhi-2.1.0.wso2v1. In that case, my explanation about ExecutionPlanRuntime would be incorrect since Siddhi-2.1.0

Re: [Dev] Issues in setting up distributed mode deployment for CEP

2015-08-25 Thread Sajith Ravindra
To add to Lasantha's comment on point 2 2) After starting the STORM cluster, CEP managers and CEP worker node, We couldn't see anything on the STORM UI under topology. Does that mean cluster is not setup correctly? You can verify if the cluster has setup correctly by logging in to storm UI. You s

[Dev] Can't upload carbon app in cluster mode

2015-08-25 Thread John Hawkins
Hi Folks, having problems with using an LB infront of two ESB's. I'm using nginx to LB two ESBs One of the ESBs is both a worker and a manager. Both nodes are on my machine - as is everything else (SVN, nginx etc ) I have set up mgt.esb.wso2.com in nginx and I can see and log in to the carbon co

Re: [Dev] [VOTE] Release WSO2 ESB 4.9.0 RC1

2015-08-25 Thread Viraj Senevirathne
Hi all, I have tested VFS inbound and transport use cases for file, ftp and sftp protocols. No issues found. [X] Stable - go ahead and release Thanks. On Tue, Aug 25, 2015 at 8:28 PM, Nadeeshaan Gunasinghe wrote: > Hi, > > I tested JMS use cases and MSMP fail over use cases. No issues found. >

Re: [Dev] Pull Request

2015-08-25 Thread Dhanuka Ranasinghe
In asset-api.js --- > update function , why we make *asset = null; *at catch block. *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 715381915 On Tue, Aug 25, 2015 at 9:04 PM, Dhanuka Ranasinghe wrote: > slightly change the f

Re: [Dev] Pull Request

2015-08-25 Thread Dhanuka Ranasinghe
slightly change the fix *Dhanuka Ranasinghe* Senior Software Engineer WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 715381915 On Tue, Aug 25, 2015 at 8:27 PM, Manuranga Perera wrote: > Hi Sameera, > It was not possible to override asset manager and return a custom obj

Re: [Dev] Accessing original file name from Smooks ESB Mediator

2015-08-25 Thread Rudy Hilado
Ok. Thank you. Is there another WSO2 ESB implementation pattern I can use to split a large (> 1 GB) file into smaller files without using the Smooks mediator? (where I can avoid loading the entire file into memory and also have the split files be named based on the original file name) Re

Re: [Dev] Issues in setting up distributed mode deployment for CEP

2015-08-25 Thread Lasantha Fernando
Hi Suho, Sure. Will do. @Sashika, can you share the event-processor.xml and the axis2.xml files of your configuration? Also please find my comments inline regarding the queries raised above. On 25 August 2015 at 19:34, Sriskandarajah Suhothayan wrote: > Lasantha & Sajith please look into it

Re: [Dev] Accessing original file name from Smooks ESB Mediator

2015-08-25 Thread Shiva Balachandran
Hi Rudy, AFAIK, we cannot use that property inside smooks, cause we only pass the stream to the smooks mediator. Thank you. Regards, Shiva Balachandran On Tue, Aug 25, 2015 at 8:38 PM, Rudy Hilado wrote: > Shiva, > > Yes, I can access the file name and put it into the property > “Processing_F

Re: [Dev] Append escape character in json payload -ESB RC1 pack

2015-08-25 Thread Malaka Silva
Hi Kesavan/Keertika, Please share your config to reproduce this issue. Maybe you can extract the transformation from connector and give a sample to simulate the issue. On Tue, Aug 25, 2015 at 7:18 PM, Senduran Balasubramaniyam < sendu...@wso2.com> wrote: > Hi Kesavan, > > I guess that you are p

Re: [Dev] Accessing original file name from Smooks ESB Mediator

2015-08-25 Thread Rudy Hilado
Shiva, Yes, I can access the file name and put it into the property “Processing_File_Name”, but how can I access that property from within the Smooks mediator configuration (), particularly from within the element? Thanks, - Rudy From: Shiva Balachandran [mailto:sh...@wso2.com] Se

Re: [Dev] Append escape character in json payload -ESB RC1 pack

2015-08-25 Thread Malaka Silva
Hi Senduran, Can this be due to [1]? @Keerthika/Kesavan - I guess we are using payloadfactory in connector templates in both cases? [1] https://wso2.org/jira/browse/ESBJAVA-3995 On Tue, Aug 25, 2015 at 3:36 PM, Keerthika Mahendralingam < keerth...@wso2.com> wrote: > Escape characters appended

Re: [Dev] [ML] Wrangler Integration

2015-08-25 Thread Danula Eranjith
Thanks Supun On Tue, Aug 25, 2015 at 7:25 PM, Supun Sethunga wrote: > You can integrate it to [1], by adding a new component > "org.wso2.carbon.ml.wrangler". Each component is a carbon component. > > Please follow the naming conventions used in the other components, for > package names and etc..

Re: [Dev] [VOTE] Release WSO2 ESB 4.9.0 RC1

2015-08-25 Thread Nadeeshaan Gunasinghe
Hi, I tested JMS use cases and MSMP fail over use cases. No issues found. [X] Stable - go ahead and release Regards. *Nadeeshaan Gunasinghe* Software Engineer, WSO2 Inc. http://wso2.com +94770596754 | nadeesh...@wso2.com | Skype: nadeeshaan.gunasinghe <#>

Re: [Dev] Pull Request

2015-08-25 Thread Manuranga Perera
Hi Sameera, It was not possible to override asset manager and return a custom object so I added this fix for Dhanuka. was this intentional do you see any issues with this fix. On Tue, Aug 25, 2015 at 8:23 PM, Dhanuka Ranasinghe wrote: > Hi, > > Please merge PR [1]. > > [1] https://github.com/ws

[Dev] Engaging an axis2 module in ESB 490

2015-08-25 Thread Hasitha Aravinda
Hi team, Since we are removing QoS UI feature from next release, we need to way to engage axis2 module for a proxy. AFAIK there is no synapse config or service parameter to engage a module with proxy at deployment time.( Like handler for API). How we are going to provide this function in ESB 490

[Dev] [PPaaS] WSO2 Private PaaS build failure

2015-08-25 Thread Thanuja Uruththirakodeeswaran
Hi Devs, I've built *Stratos 4.1.x* branch successfully and after that tried to build PPaaS using Stratos - 4.1.2. I'm getting the following error when building PPaaS: [INFO] --- carbon-p2-plugin:1.5.4:p2-repo-gen (2-p2-repo-generation) @ ppaas-p2-profile-gen --- [ERROR] Error occured when proces

Re: [Dev] Accessing original file name from Smooks ESB Mediator

2015-08-25 Thread Shiva Balachandran
Have you tried setting a property to capture the file name that's being processed? Check this link . On Mon, Aug 24, 2015 at

Re: [Dev] Issues in setting up distributed mode deployment for CEP

2015-08-25 Thread Sriskandarajah Suhothayan
Lasantha & Sajith please look into it, looks like there is a config issue. And also add this info the to docs so it will not be miss leading. Suho On Tue, Aug 25, 2015 at 8:55 AM, Sashika Wijesinghe wrote: > Hi All, > > We have set up the distributed mode deployment for CEP using two CEP > man

Re: [Dev] [ML] Wrangler Integration

2015-08-25 Thread Supun Sethunga
You can integrate it to [1], by adding a new component "org.wso2.carbon.ml.wrangler". Each component is a carbon component. Please follow the naming conventions used in the other components, for package names and etc.. [1] https://github.com/wso2/carbon-ml/tree/master/components/ml Thanks, Supun

Re: [Dev] About Edge Analytics Service-Mobile IOT

2015-08-25 Thread Lakini Senanayaka
Hi all, As per request I have shared my source code.You can find my sample project [1] from this link and I have point out the place[2][3][4] it will be easier to you to understand. [1] - sample edgeAnalyticsService [2] - EdgeAnalyticsService

Re: [Dev] [ML] P2 profile generation fails after upgrading

2015-08-25 Thread CD Athuraliya
Hi KasunG, Kernel version is already 4.4.1. On Tue, Aug 25, 2015 at 6:15 PM, KasunG Gajasinghe wrote: > Did u update kernel version to 4.4.1? > > On Tue, Aug 25, 2015 at 6:07 PM, CD Athuraliya > wrote: > >> Hi all, >> >> I upgraded following dependencies to given versions and now P2 profile >>

Re: [Dev] [ML] P2 profile generation fails after upgrading

2015-08-25 Thread KasunG Gajasinghe
Did u update kernel version to 4.4.1? On Tue, Aug 25, 2015 at 6:07 PM, CD Athuraliya wrote: > Hi all, > > I upgraded following dependencies to given versions and now P2 profile > generation fails with below error. > > 4.4.5 > 4.5.4 > 4.5.1 > 4.4.3 > > > Installation failed. > Cannot complete the

Re: [Dev] Using multiple manager nodes after enabling deployment synchronization

2015-08-25 Thread Ramindu De Silva
Thanks for the reply suho. I will do as suggested. Best Regards, On Tue, Aug 25, 2015 at 5:47 PM, Sriskandarajah Suhothayan wrote: > The correct way is to make only one CEP manager node to have write access, > and all others having read access. > > Suho > > On Tue, Aug 25, 2015 at 6:14 AM, Ram

[Dev] [ML] P2 profile generation fails after upgrading

2015-08-25 Thread CD Athuraliya
Hi all, I upgraded following dependencies to given versions and now P2 profile generation fails with below error. 4.4.5 4.5.4 4.5.1 4.4.3 Installation failed. Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 Carbon - CXF Runtime

Re: [Dev] [VOTE] Release WSO2 ESB 4.9.0 RC1

2015-08-25 Thread Kevin Ratnasekera
Hi all, I have tested HTTP inbound use cases, dispatching logic for proxy, api and defined sequences for both super tenant and tenant mode also Kafka inbound endpoint basic consumer use cases. No issues found. [X] Stable - go ahead and release Thanks. On Tue, Aug 25, 2015 at 6:01 PM, Jagath Sis

Re: [Dev] [VOTE] Release WSO2 ESB 4.9.0 RC1

2015-08-25 Thread Jagath Sisirakumara Ariyarathne
Hi, I executed performance tests for basic scenarios with this pack. No issues observed. [X] Stable - go ahead and release Thanks. On Mon, Aug 24, 2015 at 10:27 PM, Chanaka Fernando wrote: > Hi Devs, > > WSO2 ESB 4.9.0 RC1 Release Vote > > This release fixes the following issues: > https://ws

Re: [Dev] Using multiple manager nodes after enabling deployment synchronization

2015-08-25 Thread Sriskandarajah Suhothayan
The correct way is to make only one CEP manager node to have write access, and all others having read access. Suho On Tue, Aug 25, 2015 at 6:14 AM, Ramindu De Silva wrote: > Looping Suho > > On Tue, Aug 25, 2015 at 11:00 AM, Ramindu De Silva > wrote: > >> Hi all, >> >> As per the offline chat

[Dev] [ML] Wrangler Integration

2015-08-25 Thread Danula Eranjith
Hi all, Can you suggest where I should be ideally integrating these files[1] in ML. [1] - https://github.com/danula/wso2-ml-wrangler-integration/tree/master/src Thanks, Danula ___

Re: [Dev] [ML] jQuery conflict in Wrangler Integration

2015-08-25 Thread Danula Eranjith
Cannot use jquery-1.4.2 alone as bootstrap in ML require 1.9 or higher. No help from noConflict() as well. It seems the only option is to load both versions and then resolve the issues with wrangler. On Tue, Aug 25, 2015 at 10:36 AM, CD Athuraliya wrote: > > > On Mon, Aug 24, 2015 at 6:49 PM, Ni

Re: [Dev] Using multiple manager nodes after enabling deployment synchronization

2015-08-25 Thread Ramindu De Silva
Looping Suho On Tue, Aug 25, 2015 at 11:00 AM, Ramindu De Silva wrote: > Hi all, > > As per the offline chat with KasunG from the carbon team, theres no > particular way to make a CEP node passive or active. What they suggested > was to handle it from CEP to check whether it should be given righ

Re: [Dev] Few Comments about DAS

2015-08-25 Thread Maninda Edirisooriya
On Tue, Aug 25, 2015 at 3:28 PM, Srinath Perera wrote: > Using yesterday's pack > > 1. Can we make creating a receiver part of the creating/ editing new > streams flow? e.g. by asking what transports to expose and automatically > creating it. > > 2. In the gadget generation wizard, x, y axis drop

Re: [Dev] Moving app-manager branch from product-es repo to carbon-store repo

2015-08-25 Thread Rushmin Fernando
Hi Udara, Thanks for merging ! This should because there are 3 commits in the carbon-store master branch since we forked the branch. I will let you know about the stability of this branch after few test rounds. Thanks Rushmin On Tue, Aug 25, 2015 at 3:38 PM, Udara Rathnayake wrote: > Hi Rush

Re: [Dev] [ML] Spark K-means clustering on KDD cup 99 dataset

2015-08-25 Thread Ashen Weerathunga
Okay sure. On Tue, Aug 25, 2015 at 3:55 PM, Nirmal Fernando wrote: > Sure. @Ashen, can you please arrange one? > > On Tue, Aug 25, 2015 at 2:35 PM, Srinath Perera wrote: > >> Nirmal, Seshika, shall we do a code review? This code should go into ML >> after UI part is done. >> >> Thanks >> Srinat

Re: [Dev] About Edge Analytics Service-Mobile IOT

2015-08-25 Thread Lasantha Fernando
Hi Srinath, Lakini, Siddhi is thread safe when sending events. You can send events via multiple threads without any issue. When changing queries via multiple threads, the execution plan runtime of the previous query would have to be shutdown manually. Looking at the current code, it seems that an

Re: [Dev] About Edge Analytics Service-Mobile IOT

2015-08-25 Thread Srinath Perera
Please point to your code. CEP team, please help. On Tue, Aug 25, 2015 at 4:00 PM, Lakini Senanayaka wrote: > Srinath,thank you for your prompt reply. > > My Client and Service run separately in 2 different processes.I have just > developed 2 simple apps which send random data and I controlled

Re: [Dev] About Edge Analytics Service-Mobile IOT

2015-08-25 Thread Lakini Senanayaka
Srinath,thank you for your prompt reply. My Client and Service run separately in 2 different processes.I have just developed 2 simple apps which send random data and I controlled it using a timer.I have set 2 different rules for the 2 apps.one client has a rule like notify when the value>50 and t

Re: [Dev] [ML] Spark K-means clustering on KDD cup 99 dataset

2015-08-25 Thread Nirmal Fernando
Sure. @Ashen, can you please arrange one? On Tue, Aug 25, 2015 at 2:35 PM, Srinath Perera wrote: > Nirmal, Seshika, shall we do a code review? This code should go into ML > after UI part is done. > > Thanks > Srinath > > On Tue, Aug 25, 2015 at 2:20 PM, Ashen Weerathunga wrote: > >> Hi all, >>

Re: [Dev] Moving app-manager branch from product-es repo to carbon-store repo

2015-08-25 Thread Udara Rathnayake
Hi Rushmin, I have merged the PR. While browsing app-manager branch I noticed following "This branch is 1270 commits ahead, 3 commits behind master." Is this "3 commits behind master" part correct? It might be due to the fact that we have preserved git history from both master of carbon-store and

Re: [Dev] About Edge Analytics Service-Mobile IOT

2015-08-25 Thread Srinath Perera
Suho is Siddhi engine thread safe 1. send events 2. to change queries. Lakini answer depends on above. Could u explain how two clients override the same query? are they running the same query? Thanks Srinath On Tue, Aug 25, 2015 at 3:24 PM, Lakini Senanayaka wrote: > Hi Srinath, > > As an sma

[Dev] Moving app-manager branch from product-es repo to carbon-store repo

2015-08-25 Thread Rushmin Fernando
Hi Udara and Manu, As per our discussion on $subject, i moved the code and fixed the maven group ids. Please review and merge the pull request [1] Thanks Rushmin [1] - https://github.com/wso2/carbon-store/pull/168 -- *Rushmin Fernando* *Technical Lead* WSO2 Inc. - Lean .

[Dev] Few Comments about DAS

2015-08-25 Thread Srinath Perera
Using yesterday's pack 1. Can we make creating a receiver part of the creating/ editing new streams flow? e.g. by asking what transports to expose and automatically creating it. 2. In the gadget generation wizard, x, y axis drop downs are now not be populated. [image: Inline image 1] 3. When yo

Re: [Dev] [ML] Spark K-means clustering on KDD cup 99 dataset

2015-08-25 Thread Srinath Perera
Nirmal, Seshika, shall we do a code review? This code should go into ML after UI part is done. Thanks Srinath On Tue, Aug 25, 2015 at 2:20 PM, Ashen Weerathunga wrote: > Hi all, > > This is the source code of the project. > https://github.com/ashensw/Spark-KMeans-fraud-detection > > Best Regard

[Dev] Append escape character in json payload -ESB RC1 pack

2015-08-25 Thread Kesavan Yogarajah
Hi All, In jira connectoor I need to send json object instead of atomic entities.When I send ,ESB RC1 pack behave differently (append escape characters).Is this a expected behavior? or am I miss anything?please find the wire log below. [2015-08-25 09:44:49,017] DEBUG - wire >> "POST /services/upda

Re: [Dev] Setting the carbon-analytics-common repo version to 5.0.0-SNAPSHOT

2015-08-25 Thread Gokul Balakrishnan
Thanks Lasantha. Noted. On 25 August 2015 at 14:23, Lasantha Fernando wrote: > Hi all, > > Since carbon-analytics-common has components that have already being > released with versions 4.2.x, 4.3.x, 4.4.x etc. (e.g. > databridge-components), we have decided to release the next version of > carbo

[Dev] Setting the carbon-analytics-common repo version to 5.0.0-SNAPSHOT

2015-08-25 Thread Lasantha Fernando
Hi all, Since carbon-analytics-common has components that have already being released with versions 4.2.x, 4.3.x, 4.4.x etc. (e.g. databridge-components), we have decided to release the next version of carbon-analytics-common repo as 5.0.0. Since otherwise, OSGi package conflicts might occur. So

Re: [Dev] [ML] Spark K-means clustering on KDD cup 99 dataset

2015-08-25 Thread Ashen Weerathunga
Hi all, This is the source code of the project. https://github.com/ashensw/Spark-KMeans-fraud-detection Best Regards, Ashen On Tue, Aug 25, 2015 at 2:00 PM, Ashen Weerathunga wrote: > Thanks all for the suggestions, > > There are few assumptions I have made, > >- Clusters are uniform >

[Dev] error creating ESB Proxy Service based on G-REG wsdl which is created from data service (DSS)

2015-08-25 Thread Akila Nimantha [IT/EKO/LOITS]
Hi All, I am working on integration of wso2 governance registry with wso2 DSS and wso2 ESB. What I did was configured a central governance registry for both DSS and ESB swiched on ws-discovery option. Then I created a data service in DSS. When I trying to create a ESB proxy service based on pre

Re: [Dev] [ML] Spark K-means clustering on KDD cup 99 dataset

2015-08-25 Thread Ashen Weerathunga
Thanks all for the suggestions, There are few assumptions I have made, - Clusters are uniform - Fraud data always will be outliers to the normal clusters - Clusters are not intersect with each other - I have given the number of Iterations as 100. So I assume that 100 iterations wil

[Dev] XMLStreamException cannot be resolved. 'event' component UI.

2015-08-25 Thread Hemika Kodikara
Hi All, I am facing the following error when trying to publish a message to a topic in MB using the UI[1]. The topic implementation is taken from "event" component in carbon-commons. Following is the error that is coming : SEVERE: Servlet.service() for servlet [bridgeservlet] in context with pat

Re: [Dev] XMLStreamException cannot be resolved. 'event' component UI.

2015-08-25 Thread Hemika Kodikara
Note : After adding the package to import-package as in the earlier mail, I get the following output. : osgi> p javax.xml.stream javax.xml.stream; version="1.0.1" abdera_1.0.0.wso2v3 [4] imports andes_3.0.0.SNAPSHOT [6] imports annogen_0.1.0.wso2v1 [7] imports axiom_1.2.11.wso2v6 [12] impo

Re: [Dev] Restructure tuned samples

2015-08-25 Thread Nirmal Fernando
Thanks. On Tue, Aug 25, 2015 at 12:26 PM, Manorama Perera wrote: > Updated the samples. > > Thanks. > > On Tue, Aug 25, 2015 at 11:46 AM, Nirmal Fernando wrote: > >> Thanks Mano! Also, we need to make all scrips (*.sh files) executable (chmod >> +x model-generation.sh and commit). Also, in READ

Re: [Dev] [ML] Spark K-means clustering on KDD cup 99 dataset

2015-08-25 Thread Maheshakya Wijewardena
Is there any particular reason why you are putting aside 65% of anomalous data at the evaluation? Since there is an obvious imbalance when the numbers of normal and abnormal cases are taken into account, you will get greater accuracy at the evaluation because a model tends to produce more accurate

Re: [Dev] Restructure tuned samples

2015-08-25 Thread Manorama Perera
Updated the samples. Thanks. On Tue, Aug 25, 2015 at 11:46 AM, Nirmal Fernando wrote: > Thanks Mano! Also, we need to make all scrips (*.sh files) executable (chmod > +x model-generation.sh and commit). Also, in README, we need to mention > that the samples only works in Unix environment. > > O

Re: [Dev] Java Security Manager needs read permission to h2 db in AS 5.3.0 SNAPSHOT

2015-08-25 Thread Supun Malinga
thanks Isuru. Let me see what I can find. thanks On Tue, Aug 25, 2015 at 12:12 PM, Isuru Perera wrote: > Hi Supun, > > I'm sorry I missed this mail. We need to identify which method is > accessing the local database. We should never give explicit read > permissions for the H2 database. > > We n

Re: [Dev] [Atom/RSS Inbound endpoint] Test Server for Automation test

2015-08-25 Thread Krishantha Samaraweera
Hi Rajaaz, As we discussed offline lets try to use registry atom feeds first rather implementing our own server or consuming external atom/rss endpoints (highly discourage as those endpoints trend to change in future - we had many bad experience with consuming external endpoints). Thanks, Krishan

Re: [Dev] [ML] Spark K-means clustering on KDD cup 99 dataset

2015-08-25 Thread CD Athuraliya
Hi Ashen, It would be better if you can add the assumptions you make in this process (uniform clusters etc). It will make the process more clear IMO. Regards, CD On Tue, Aug 25, 2015 at 11:39 AM, Nirmal Fernando wrote: > Can we see the code too? > > On Tue, Aug 25, 2015 at 11:36 AM, Ashen Weer

Re: [Dev] Java Security Manager needs read permission to h2 db in AS 5.3.0 SNAPSHOT

2015-08-25 Thread Isuru Perera
Hi Supun, I'm sorry I missed this mail. We need to identify which method is accessing the local database. We should never give explicit read permissions for the H2 database. We need to use Java Privileged Block API in Carbon Context APIs. If you cannot figure out the protection domain for the acc

Re: [Dev] Intermittent Classloading issue in WebApp

2015-08-25 Thread Supun Malinga
Yeah Good work Madhawa. What was the fix done ?. On Tue, Aug 25, 2015 at 10:08 AM, Anjana Fernando wrote: > Hi Madhawa, > > Good work in finding the issue and fixing it! .. > > Cheers, > Anjana. > > On Tue, Aug 25, 2015 at 8:57 AM, Madhawa Gunasekara > wrote: > >> Hi All, >> >> able to fix this

Re: [Dev] Restructure tuned samples

2015-08-25 Thread Nirmal Fernando
Thanks Mano! Also, we need to make all scrips (*.sh files) executable (chmod +x model-generation.sh and commit). Also, in README, we need to mention that the samples only works in Unix environment. On Tue, Aug 25, 2015 at 11:27 AM, Manorama Perera wrote: > Sure. I'll rename the folders. > > On T

Re: [Dev] [ML] Spark K-means clustering on KDD cup 99 dataset

2015-08-25 Thread Nirmal Fernando
Can we see the code too? On Tue, Aug 25, 2015 at 11:36 AM, Ashen Weerathunga wrote: > Hi all, > > I am currently working on fraud detection project. I was able to cluster > the KDD cup 99 network anomaly detection dataset using apache spark k means > algorithm. So far I was able to achieve 99% a

[Dev] [ML] Spark K-means clustering on KDD cup 99 dataset

2015-08-25 Thread Ashen Weerathunga
Hi all, I am currently working on fraud detection project. I was able to cluster the KDD cup 99 network anomaly detection dataset using apache spark k means algorithm. So far I was able to achieve 99% accuracy rate from this dataset.The steps I have followed during the process are mentioned below.

Re: [Dev] [Connectors] Storing connector endpoint in registry

2015-08-25 Thread Bhathiya Jayasekara
Hi Dushan/Malaka, So, is it not possible to achieve the $subject? Any workaround at least? Thanks, Bhathiya On Mon, Aug 24, 2015 at 4:34 PM, Bhathiya Jayasekara wrote: > Hi Dushan, > > The initial service URL[1] can be different from account to account. Hence > the requirement. > > Thanks, > B