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] [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 nadeesh...@wso2.com wrote: Hi, I tested JMS use cases and MSMP fail over use cases.

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

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 dhan...@wso2.com wrote: Hi, Please merge PR [1]. [1]

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 rudy.hil...@centrihealth.com wrote: Shiva, Yes, I can access the file name and put it into

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: [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 sash...@wso2.com wrote: Hi All, We have set up the distributed mode deployment for CEP using

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? property name=”Processing_File_Name” expression=”get-property(‘transport’,’FILE_NAME’)” type=”STRING”/ Check this link

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] [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] 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 (smooks-resource-list), particularly from within the fileNamePattern element? Thanks, - Rudy From: Shiva

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 in

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 m...@wso2.com wrote: Hi Sameera, It was not possible to override asset manager and return

[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

[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

Re: [Dev] [ML] Wrangler Integration

2015-08-25 Thread Danula Eranjith
Thanks Supun On Tue, Aug 25, 2015 at 7:25 PM, Supun Sethunga sup...@wso2.com 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

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

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 s...@wso2.com wrote: Lasantha Sajith please

[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

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 dhan...@wso2.com wrote:

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 https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FParquet%2Fparquet-mrsa=Dsntz=1usg=AFQjCNEHFd3g0eqXClZCkN35QgFYl0FVww . But still get

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 ravin...@wso2.com wrote: Hi All, I have tested scenarios [1]. No issues found. [X] Stable - go ahead and release [1]

[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

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: proxy xmlns=http://ws.apache.org/ns/synapse; name=sfdc transports=https,http statistics=disable trace=disable startOnLoad=true target inSequence salesforce.query

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 im...@wso2.com wrote: Hi Anuruddha, Yes, the only way to avoid exposing the generated Kubernetes service ports is to use a load balancer in

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 madawa...@cse.mrt.ac.lk wrote: Gives following output. parquet.hadoop.metadata; version=0.0.0parquet_common_1.6.0_1.0.0 [321] parquet.hadoop.metadata;

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

[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

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

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 mal...@wso2.com wrote: Hi Bhathiya, You can store the complete init config in registry and refer that in your salesforce methods. Eg: proxy xmlns=http://ws.apache.org/ns/synapse; name=sfdc

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 madawa...@cse.mrt.ac.lk 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

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

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

2015-08-25 Thread Madawa Soysa
Gives following output. parquet.hadoop.metadata; version=0.0.0parquet_common_1.6.0_1.0.0 [321] parquet.hadoop.metadata; version=0.0.0parquet_hadoop_1.6.0_1.0.0 [323] On 26 August 2015 at 08:35, Nirmal Fernando nir...@wso2.com wrote: You added them to repository/components/lib right? Can you

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 as...@wso2.com wrote: Okay sure. On Tue,

[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] [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 nir...@wso2.com 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 madawa...@cse.mrt.ac.lk wrote: Gives following

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 madawa...@cse.mrt.ac.lk wrote: Both bundles are required. I tried removing one at a time and checked. On

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] [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 madawa...@cse.mrt.ac.lk wrote: Hi Nirmal, Not

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 prabat...@wso2.com wrote: HI All. I

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 nir...@wso2.com 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

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 jo...@wso2.com wrote: Hi Folks, having problems with using an LB

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.1org.eclipse.osgi_3.9.1.v20130814-1242 [0] abdera_1.0.0.wso2v3 [4] imports andes_3.0.0.SNAPSHOT [6] imports annogen_0.1.0.wso2v1 [7]

[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 path

[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

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

[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

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 as...@wso2.com wrote: Hi all, This is the source code of the project. https://github.com/ashensw/Spark-KMeans-fraud-detection

[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] 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 lasan...@wso2.com 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

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] [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 srin...@wso2.com 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 as...@wso2.com

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 isu...@wso2.com 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

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,

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 nir...@wso2.com wrote: Can we see the code too? On Tue, Aug 25, 2015 at 11:36

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 anj...@wso2.com 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 madha...@wso2.com wrote: Hi All,

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

[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. http://wso2.com/ - Lean .

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 lak...@wso2.com wrote: Hi

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 value50 and

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 nir...@wso2.com 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

Re: [Dev] Restructure tuned samples

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

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 lak...@wso2.com 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

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 as...@wso2.com 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

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 manor...@wso2.com wrote: Sure. I'll rename the

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 bhath...@wso2.com wrote: Hi Dushan, The initial service URL[1] can be different from account to account. Hence the requirement.

[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

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 as...@wso2.com wrote: Thanks all for the suggestions, There are few assumptions I have made, - Clusters are

[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

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

Re: [Dev] Few Comments about DAS

2015-08-25 Thread Maninda Edirisooriya
On Tue, Aug 25, 2015 at 3:28 PM, Srinath Perera srin...@wso2.com 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

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 chathur...@wso2.com wrote: On Mon, Aug 24,

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 ramin...@wso2.com 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

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 uda...@wso2.com

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 nir...@wso2.com wrote: Sure. @Ashen, can you please arrange one? On Tue, Aug 25, 2015 at 2:35 PM, Srinath Perera srin...@wso2.com wrote: Nirmal, Seshika, shall we do a code review? This code should go into ML after UI part is

[Dev] [ML] Wrangler Integration

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

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 https://github.com/Lakini/EdgeAnalyticServiceSample/ [2] - EdgeAnalyticsService

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 ramin...@wso2.com wrote: Looping Suho On Tue, Aug 25, 2015 at 11:00 AM, Ramindu De Silva ramin...@wso2.com wrote: Hi all,

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 chana...@wso2.com wrote: Hi Devs, WSO2 ESB 4.9.0 RC1 Release Vote This release fixes the following issues:

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 s...@wso2.com 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

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 kas...@wso2.com wrote: Did u update kernel version to 4.4.1? On Tue, Aug 25, 2015 at 6:07 PM, CD Athuraliya chathur...@wso2.com wrote: Hi all, I upgraded following dependencies to given

[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. carbon.registry.version4.4.5/carbon.registry.version carbon.identity.version4.5.4/carbon.identity.version carbon.deployment.version4.5.1/carbon.deployment.version

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

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 chathur...@wso2.com wrote: Hi all, I upgraded following dependencies to given versions and now P2 profile generation fails with below error. carbon.registry.version4.4.5/carbon.registry.version

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 vir...@wso2.com wrote: Hi all, I have tested VFS inbound and transport use cases for file, ftp and sftp