[Dev] [Siddhi] Counting Patterns

2014-10-29 Thread Seshika Fernando
Hi, I was trying out counting patterns and the result was not what I expected. Let me explain through the example I was trying. The incoming stream is a stream of credit card transactions. I want to get an alert on a pattern of every 3 or more transactions done using the same card at different

Re: [Dev] BAM 2.5.0 Release testing

2014-10-29 Thread Aparna Karunarathna
Hi Dunith, Any update on puppet scripts? Regards, Aparna. On Mon, Oct 27, 2014 at 10:42 AM, Sewmini Jayaweera sewm...@wso2.com wrote: Hi Aparna, I tested following issues, [1] https://wso2.org/jira/browse/BAM-1611 [2] https://wso2.org/jira/browse/BAM-1515 [3]

Re: [Dev] BAM 2.5.0 Release testing

2014-10-29 Thread Dunith Dhanushka
Hi Aparna, I have completed the scripts for BAM and Cassandra nodes. But still need to work on Hadoop scripts. I have started testing them on the centos cluster created in the research cloud. Hopefully by today EOD I'll be able to finish testing with full BAM cluster. Regards, Dunith On

Re: [Dev] Introducing getOSGiService() method to CarbonContext

2014-10-29 Thread Sameera Jayasoma
+1. We've also improve the APIs by allowing users to pass a dictionary of properties. This allows users to filter OSGi service in a more granular fashion. Thanks, Sameera. On Wed, Oct 29, 2014 at 12:30 PM, Afkham Azeez az...@wso2.com wrote: Rename the file to

Re: [Dev] Introducing getOSGiService() method to CarbonContext

2014-10-29 Thread Afkham Azeez
Where is the security check in this code to ensure that only the services declared in the carboncontext-osgi-service.properties file are allowed to be accessed? On Tue, Oct 28, 2014 at 9:40 PM, Nipuni Perera nip...@wso2.com wrote: Hi, I am working on $subject. Please find the implementation

Re: [Dev] [Siddhi] Counting Patterns

2014-10-29 Thread Rajeev Sampath
Hi, On Wed, Oct 29, 2014 at 11:38 AM, Seshika Fernando sesh...@wso2.com wrote: Hi, I was trying out counting patterns and the result was not what I expected. Let me explain through the example I was trying. The incoming stream is a stream of credit card transactions. I want to get an

Re: [Dev] [Siddhi] Counting Patterns

2014-10-29 Thread Seshika Fernando
Ya Rajeev, this is not scalable, especially if we were looking for a higher number. Most importantly, this would mean counting patterns cannot be used for what they are supposed to be used. :( On Wed, Oct 29, 2014 at 12:41 PM, Rajeev Sampath raje...@wso2.com wrote: Hi, On Wed, Oct 29, 2014

Re: [Dev] How to create a new ESB mediator

2014-10-29 Thread Lahiru Chandima
Thanks Waruna. ESB detected the new mediator when mediator bundle is placed in dropins directory. Anyway, can somebody explain why this needs to be placed in dropins? I created the new mediator by copying the existing BAM mediator and BAM mediator bundle and all other mediator bundles files are

Re: [Dev] Introducing getOSGiService() method to CarbonContext

2014-10-29 Thread Afkham Azeez
On Wed, Oct 29, 2014 at 12:41 AM, Afkham Azeez az...@wso2.com wrote: Here you go. This is the implementation we require. I have not tested this but the logic flow should be correct. /** * Obtain the first OSGi service found for interface or class codeclazz/code * @param

Re: [Dev] [Siddhi] Counting Patterns

2014-10-29 Thread Awanthika Senarath
Hi Seshika, The problem seems to be involved with comparing more than two events for a pattern, I'm not much familiar with siddhi.. yet according to your logic you only check for e2 = Transaction[(e2.cardnum == e1.cardnum) and (e2.location != e1.location)] essentially your output will have a

Re: [Dev] [Siddhi] Counting Patterns

2014-10-29 Thread Seshika Fernando
Well when we use counting patterns, we can have multiple occurrences of e1 or e2. Refer, the last part of [1] 1. https://docs.wso2.com/display/CEP310/Patterns On Wed, Oct 29, 2014 at 1:21 PM, Awanthika Senarath awanth...@wso2.com wrote: Hi Seshika, The problem seems to be involved with

Re: [Dev] [Siddhi] Counting Patterns

2014-10-29 Thread Awanthika Senarath
Hi Seshika, yes, as long as you are comparing against a constant it will work, but here since you are comparing against the event elements themselves, according to your equation I think you can get an event as below too, [3714496353984310, Dehiwela, Nairobi, Dehiwela] correct me if I am wrong

Re: [Dev] Introducing getOSGiService() method to CarbonContext

2014-10-29 Thread Nipuni Perera
Hi, @Azeez I have updated the getOSGiService(Class clazz) method to getOSGiService(Class clazz, HashtableString, String props) so that we can pass properties when access to osgi services registered under a specific interface and matching a given filter. I have updated the name of the file to

Re: [Dev] Introducing getOSGiService() method to CarbonContext

2014-10-29 Thread Afkham Azeez
A property file with a single property? Why have a property file in the first place? On Wed, Oct 29, 2014 at 1:16 AM, Nipuni Perera nip...@wso2.com wrote: Hi, @Azeez I have updated the getOSGiService(Class clazz) method to getOSGiService(Class clazz, HashtableString, String props) so that

Re: [Dev] [Siddhi] Counting Patterns

2014-10-29 Thread Seshika Fernando
Well that is right (assuming that there were 3 transactions done first in dehiwela, then in nairobi then again in dehiwela in the span of 10 minutes) then it is a possible fraud. And that should be captured. My issue here is that I should be able to capture just that, in one go, using counting

[Dev] [Carbon] Changing ports 9443 to 443 and 9763 to 80

2014-10-29 Thread Kasun Dananjaya Delgolla
Hi All, I have a customer request to do the $subject. I tried adding proxy ports in catalina-server.xml but it didn't work out for me. Any idea on this? Thanks -- Kasun Dananjaya Delgolla Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware Tel: +94 11 214 5345 Fax: +94 11

Re: [Dev] [Carbon] Changing ports 9443 to 443 and 9763 to 80

2014-10-29 Thread Nirmal Fernando
Why not changing 9443 to 443? If you do so, you need to start the server with root privileges, since those are restricted ports. Proxy port is meant not for this. On Wed, Oct 29, 2014 at 10:48 AM, Kasun Dananjaya Delgolla kas...@wso2.com wrote: Hi All, I have a customer request to do the

Re: [Dev] [Carbon] Changing ports 9443 to 443 and 9763 to 80

2014-10-29 Thread Supun Malinga
Hi Kasun, You can simply change the port to the required value. thanks, On Wed, Oct 29, 2014 at 3:18 PM, Kasun Dananjaya Delgolla kas...@wso2.com wrote: Hi All, I have a customer request to do the $subject. I tried adding proxy ports in catalina-server.xml but it didn't work out for me.

Re: [Dev] [Carbon] Changing ports 9443 to 443 and 9763 to 80

2014-10-29 Thread Udara Liyanage
Hi, You can change the ports of transport receivers and start as root. Proxy ports art used when the instance is fronted by ELB. It tell traffic from which port of ELB to forward which port of the back end instance On Wed, Oct 29, 2014 at 3:24 PM, Supun Malinga sup...@wso2.com wrote: Hi Kasun,

Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-29 Thread Denuwanthi De Silva
Congratulations!! On Tue, Oct 28, 2014 at 7:05 PM, Shiva Balachandran sh...@wso2.com wrote: Congrats :) On Tue, Oct 28, 2014 at 5:07 PM, Roshan Deniyage rosh...@wso2.com wrote: Congratulations Milinda ! Roshan Deniyage Associate Technical Lead WSO2, Inc: http://wso2.com Mobile:

Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-29 Thread Malintha Adikari
Congratulations, Milinda! On Wed, Oct 29, 2014 at 9:59 AM, Denuwanthi De Silva denuwan...@wso2.com wrote: Congratulations!! On Tue, Oct 28, 2014 at 7:05 PM, Shiva Balachandran sh...@wso2.com wrote: Congrats :) On Tue, Oct 28, 2014 at 5:07 PM, Roshan Deniyage rosh...@wso2.com wrote:

Re: [Dev] [Carbon] Changing ports 9443 to 443 and 9763 to 80

2014-10-29 Thread Rajeevan Vimalanathan
Hi Kasun, The port numbers in the range from 0 to 1023 are the well-known ports or system ports. They are used by system processes that provide widely used types of network services. On Unix like operating systems, a process must execute with super user privileges to be able to bind a network

Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-29 Thread Amal Gunatilake
Congratulations Milinda!! Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Wed, Oct 29, 2014 at 3:31 PM, Malintha Adikari malin...@wso2.com wrote: Congratulations, Milinda! On Wed, Oct 29, 2014 at 9:59 AM, Denuwanthi De

Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-29 Thread Inshaf Mahath
Congrats Milinda!! :) On Wed, Oct 29, 2014 at 3:39 PM, Amal Gunatilake am...@wso2.com wrote: Congratulations Milinda!! Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware On Wed, Oct 29, 2014 at 3:31 PM, Malintha Adikari

Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-29 Thread Thilini Shanika
Congratulations Milinda!!! On Wed, Oct 29, 2014 at 4:14 PM, Inshaf Mahath ins...@wso2.com wrote: Congrats Milinda!! :) On Wed, Oct 29, 2014 at 3:39 PM, Amal Gunatilake am...@wso2.com wrote: Congratulations Milinda!! Thank you Best regards, *Amal Gunatilake* Software Engineer WSO2

Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-29 Thread Manula Chathurika Thantriwatte
Congratulations !!! On Wed, Oct 29, 2014 at 4:18 PM, Thilini Shanika thili...@wso2.com wrote: Congratulations Milinda!!! On Wed, Oct 29, 2014 at 4:14 PM, Inshaf Mahath ins...@wso2.com wrote: Congrats Milinda!! :) On Wed, Oct 29, 2014 at 3:39 PM, Amal Gunatilake am...@wso2.com wrote:

Re: [Dev] [Carbon] Changing ports 9443 to 443 and 9763 to 80

2014-10-29 Thread Kasun Dananjaya Delgolla
Hi All, Thanks a lot for your comments. I changed the port as you guys mentioned and ran as root. It worked fine. Thanks On Wed, Oct 29, 2014 at 3:38 PM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Hi Kasun, The port numbers in the range from 0 to 1023 are the well-known ports or

[Dev] How to bundle HectorBasedDataSourceReader in MB pack?

2014-10-29 Thread Sewwandi Perera
Hi, I found that there is a data source provider named org.wso2.carbon.cassandra.hector.datareader.HectorBasedDataSourceReader to read Cassandra using Hector API. What is the feature that I should bundle with the MB pack to use this? Thanks, Sewwandi -- Sewwandi Perera Software Engineer WSO2

Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-29 Thread Shashika Karunatilaka
Congrats Milinda On Wed, Oct 29, 2014 at 4:22 PM, Manula Chathurika Thantriwatte manu...@wso2.com wrote: Congratulations !!! On Wed, Oct 29, 2014 at 4:18 PM, Thilini Shanika thili...@wso2.com wrote: Congratulations Milinda!!! On Wed, Oct 29, 2014 at 4:14 PM, Inshaf Mahath

Re: [Dev] Merged Carbon-utils to Carbon-Commons

2014-10-29 Thread Aruna Karunarathna
Seems like there are .class files in the PR which is very strange, can you please check? On Wed, Oct 29, 2014 at 5:34 PM, Himan Gamage hi...@wso2.com wrote: Hi, please review and merge the pull request [1], [1] https://github.com/wso2/carbon-commons/pull/20 Thanks. -- Best Regards,

[Dev] Merger the pull Request

2014-10-29 Thread Sohani Weerasinghe
Hi, Please note $subject at [1] for the test case written for ESBJAVA-3031. [1] https://github.com/wso2-dev/product-esb/pull/68 Thanks, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter :

Re: [Dev] integrating IS 5.0 with Active Directory

2014-10-29 Thread Godwin Amila Shrimal
Hi Akila, Can you enable debug mode in Identity Server and recreate the issue and send back the log file. Please see below link for enabling debug. http://soasecurity.org/2014/02/26/how-to-wso2is-troubleshooting-wso2-identity-server-1/ On Wed, Oct 29, 2014 at 5:44 PM, Akila Nimantha

Re: [Dev] Merged Carbon-utils to Carbon-Commons

2014-10-29 Thread Himan Gamage
Resent the correct PR[1]. Please check and merge it. [1] https://github.com/wso2/carbon-commons/pull/21 Thanks On Wed, Oct 29, 2014 at 5:47 PM, Aruna Karunarathna ar...@wso2.com wrote: Seems like there are .class files in the PR which is very strange, can you please check? On Wed, Oct 29,

Re: [Dev] Introducing getOSGiService() method to CarbonContext

2014-10-29 Thread Afkham Azeez
OK then, go ahead. But we don't know what other properties we will add to carbon-context.properties, and most probably we will not add any other properties in the future. On Wed, Oct 29, 2014 at 4:57 AM, Sameera Jayasoma same...@wso2.com wrote: Hi Azeez, We've been using this pattern in the

[Dev] Cache already exists Exception when redeploying a webapp that uses the cache with changes to the cache configurations

2014-10-29 Thread Gayashan Amarasinghe
Hi Azeez, During Carbon testing i've created a simple web app that utilize the cache (source code at [1]). In this web app I've created a cache with custom expiry and deployed it in a cluster and hit it using jmeter. During testing i changed the expiry time of the cache prorgrammatically and

Re: [Dev] Cache already exists Exception when redeploying a webapp that uses the cache with changes to the cache configurations

2014-10-29 Thread Afkham Azeez
You cannot call the builder twice when the cache already exists. Other teams such as IS use both the getCache the builder method with proper synchronization which will return the cache if it exists, or will build return the cache with custom parameter if it does not exist. I will try to write a

Re: [Dev] Cache already exists Exception when redeploying a webapp that uses the cache with changes to the cache configurations

2014-10-29 Thread Gayashan Amarasinghe
Thanks Azeez. Understood. However in case the developer wanted to change the cache configuration of an existing cache what is the recommended approach? Only possible way would be to make the cache have a different name? On Wed, Oct 29, 2014 at 6:37 PM, Afkham Azeez az...@wso2.com wrote: You

Re: [Dev] Cache already exists Exception when redeploying a webapp that uses the cache with changes to the cache configurations

2014-10-29 Thread Afkham Azeez
It doesn't happen like that in practice. The developer suddenly doesn't change the mind and change the cache configuration on the fly. These parameters are fixed, and will be set upon cache creation. On Wed, Oct 29, 2014 at 6:15 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Thanks Azeez.

[Dev] Invoking data service with Accept header application/json returns fault string when data source columns have null values.

2014-10-29 Thread Jayanga Dissanayake
Hi All, I am currently working on issue [1], which was observed in DSS. When a data service is invoked with Accept: application/json, it returns an error, if the resultant data contains a NULL value. When debugging the code I found out that, this is happened, when processing

Re: [Dev] Cache already exists Exception when redeploying a webapp that uses the cache with changes to the cache configurations

2014-10-29 Thread Gayashan Amarasinghe
Wouldn't it be a valid scenario to change the cache expiry time as in my case? As you've said, I understand that we cannot expect every new version of the app to have cache configuration changes. But during testing or initial development i think it could happen. Even in that case this is not a

Re: [Dev] [ESB] Issue in Load Balanced Endpoint when one end point is unavailable

2014-10-29 Thread Dilini Muthumala
Hi, This is to inform that I've created a Jira - https://wso2.org/jira/browse/ESBJAVA-3407 Thanks, Dilini On Tue, Oct 28, 2014 at 9:17 PM, Dilini Muthumala dil...@wso2.com wrote: Correction: On Tue, Oct 28, 2014 at 8:12 PM, Dilini Muthumala dil...@wso2.com wrote: When (at least) one

Re: [Dev] Cache already exists Exception when redeploying a webapp that uses the cache with changes to the cache configurations

2014-10-29 Thread Afkham Azeez
If this is the case, you have to deploy a servlet in your webapp which will get initialized when the app is getting deployed, and in the init method of that servlet, you need to call CacheManager.removeCache(cacheName) On Wed, Oct 29, 2014 at 6:28 AM, Gayashan Amarasinghe gayas...@wso2.com wrote:

Re: [Dev] How to bundle HectorBasedDataSourceReader in MB pack?

2014-10-29 Thread Bhathiya Jayasekara
Hi Harsha, On Wed, Oct 29, 2014 at 5:29 PM, Harsha Kumara hars...@wso2.com wrote: Hi Sewwandi, Current data reader feature is registering a cql data source. We don't have a feature for hector based data source reader as we going to move to cql. As you saw hector data reader component in the

Re: [Dev] Cache already exists Exception when redeploying a webapp that uses the cache with changes to the cache configurations

2014-10-29 Thread Gayashan Amarasinghe
That makes sense. In such a scenario cache name could be mentioned as a context parameter. Thanks for the clarification! Gayashan Amarasinghe (sent from mobile) On 29 Oct 2014 19:35, Afkham Azeez az...@wso2.com wrote: If this is the case, you have to deploy a servlet in your webapp which

[Dev] Dep Sync in Analyzer and Receiver nodes

2014-10-29 Thread Aparna Karunarathna
Hi Anjana/KasunG/suho, According to the new BAM 2.5.0 deployment pattern [1] we have configured the BAM cluster with 11 nodes(4 cassandra, 3 hadoop, 2 analyzer and 2 receiver). Since BAM 2.5.0 is releasing with CEP features, we have to enable the dep sync for receiver nodes as well. Therefore one

Re: [Dev] How to create a new ESB mediator

2014-10-29 Thread Udara Liyanage
Hi Lahiru, Could you try by placing the jar in plugins directory and manually add the entry to bundle.info file and restart the server. You can find the it at CARBON_HOME/repository/components/configuration/org.eclipse.equinox.simpleconfigurator/ bundles.info Touched, not typed. Erroneous

Re: [Dev] How to create a new ESB mediator

2014-10-29 Thread Udara Liyanage
Hi, This post might help you. http://wso2.com/library/tutorials/2014/03/understanding-the-carbon-component-architecture/ Touched, not typed. Erroneous words are a feature, not a typo. ___ Dev mailing list Dev@wso2.org

Re: [Dev] [DEV][API-M] - SSO Cofiguration Documentation issue

2014-10-29 Thread Nuwan Dias
What if you define the SP as a 'SaaS Application', doesn't it work? It used to work with 1.7.0 and IS 5.0.0 AFAIR. On Wed, Oct 29, 2014 at 1:51 AM, Yasassri Ratnayake yasas...@wso2.com wrote: Hi All, When enabling SSO for Publisher and Store. A new config element should be added to

[Dev] [APPFAC] Re-factoring ProjectUtils

2014-10-29 Thread Kasun De Silva
Hi All, Why we are using a separate method *deletePOMFile()* in *org.wso2.carbon.appfactory.utilities.project.ProjectUtils* to delete pom files of generated non-maven archetypes in AF, can't we use *org.codehaus.plexus.util.FileUtils *instead ? In my understanding we are using FIleUtils for our

Re: [Dev] [APPFAC] Re-factoring ProjectUtils

2014-10-29 Thread Dimuthu Leelarathne
On Wed, Oct 29, 2014 at 8:53 AM, Kasun De Silva kas...@wso2.com wrote: Hi All, Why we are using a separate method *deletePOMFile()* in *org.wso2.carbon.appfactory.utilities.project.ProjectUtils* to delete pom files of generated non-maven archetypes in AF, can't we use

Re: [Dev] [APPFAC] Re-factoring ProjectUtils

2014-10-29 Thread Samith Dassanayake
Hi Kasun, The correct FileUtils class is org.apache.commons.io.FileUtils not the org.codehaus.plexus.util.FileUtils. Thanks, Samith On Wed, Oct 29, 2014 at 9:49 PM, Dimuthu Leelarathne dimut...@wso2.com wrote: On Wed, Oct 29, 2014 at 8:53 AM, Kasun De Silva kas...@wso2.com wrote: Hi All,

Re: [Dev] [APPFAC] Re-factoring ProjectUtils

2014-10-29 Thread Harsha Thirimanna
+1 Samitha. harshat@mobile On Oct 29, 2014 9:52 AM, Samith Dassanayake sam...@wso2.com wrote: Hi Kasun, The correct FileUtils class is org.apache.commons.io.FileUtils not the org.codehaus.plexus.util.FileUtils. Thanks, Samith On Wed, Oct 29, 2014 at 9:49 PM, Dimuthu Leelarathne

Re: [Dev] [Appfactory] Use GJit plugin for repository management

2014-10-29 Thread Mahesh Chinthaka
Hi Dimuthu, I worked on above suggested method and got succeeded. So *org.wso2.carbon.appfactory.repository.mgt.client.* *AppfacotryRepositoryClient* is used inside appfactory.deployers as well. We got rid of one AppfactoryRepositoryClient out of two. :) *AppfactoryRepositoryClient* in

Re: [Dev] [Appfactory] Use GJit plugin for repository management

2014-10-29 Thread Samith Dassanayake
Hi Mahesh, As you have suggested before, can't we remove undeploy functionalities from appfactory.core and move them to appfactory.deployers such that deployment and undeployment related operations will handle from the same bundle. Then we can remove the AppfactoryRepositoryClient from the

Re: [Dev] Dep Sync in Analyzer and Receiver nodes

2014-10-29 Thread Sriskandarajah Suhothayan
On Wed, Oct 29, 2014 at 7:27 AM, Aparna Karunarathna apa...@wso2.com wrote: Hi Anjana/KasunG/suho, According to the new BAM 2.5.0 deployment pattern [1] we have configured the BAM cluster with 11 nodes(4 cassandra, 3 hadoop, 2 analyzer and 2 receiver). Since BAM 2.5.0 is releasing with CEP

[Dev] [CEP] Sending messages to multiple email addresses using CEP output email adapter

2014-10-29 Thread Madhawa Gunasekara
Hi All, I'm working on a traffic analysis project. I just need to send traffic alert messages to subscribers. But email addresses vary according to their subscribed location. As per my understanding the email address should be fixed when using a CEP email output adapter. How can I use WSO2 CEP

[Dev] Developing support for tool-box approach for WSO2 CEP

2014-10-29 Thread Tishan Dahanayakage
Hi all, I was working on $Subject and following scenario came up. My initial design was to create a new deployment directory, say 'cep-toolbox'. Then write a deployer extending AbstractDeployer. Deployer will get deployed toolbox, unzip it and deploy each artifact to respective deployment

Re: [Dev] [CEP] Sending messages to multiple email addresses using CEP output email adapter

2014-10-29 Thread Mohanadarshan Vivekanandalingam
On Thu, Oct 30, 2014 at 1:03 AM, Madhawa Gunasekara madha...@wso2.com wrote: Hi All, Hi Madhawa, I'm working on a traffic analysis project. I just need to send traffic alert messages to subscribers. But email addresses vary according to their subscribed location. As per my understanding

Re: [Dev] Dep Sync in Analyzer and Receiver nodes

2014-10-29 Thread Anjana Fernando
On Wed, Oct 29, 2014 at 10:34 AM, Sriskandarajah Suhothayan s...@wso2.com wrote: On Wed, Oct 29, 2014 at 7:27 AM, Aparna Karunarathna apa...@wso2.com wrote: Hi Anjana/KasunG/suho, According to the new BAM 2.5.0 deployment pattern [1] we have configured the BAM cluster with 11 nodes(4

Re: [Dev] Developing support for tool-box approach for WSO2 CEP

2014-10-29 Thread Lasantha Fernando
Hi Tishan, Since we can't catch any exceptions properly when simply dropping the files to the relevant directories, I think going for a admin service call approach might be better. Also, I think initially there were discussions on aligning the toolboxes for BAM/CEP. e.g. You have one toolbox for

Re: [Dev] Developing support for tool-box approach for WSO2 CEP

2014-10-29 Thread Sinthuja Ragendran
Hi, On Wed, Oct 29, 2014 at 7:30 PM, Lasantha Fernando lasan...@wso2.com wrote: Hi Tishan, Since we can't catch any exceptions properly when simply dropping the files to the relevant directories, I think going for a admin service call approach might be better. Also, I think initially there

Re: [Dev] WSO2 Committers += Milinda Perera

2014-10-29 Thread Akila Ravihansa Perera
Congratulations Milinda!!! On Wed, Oct 29, 2014 at 5:09 AM, Shashika Karunatilaka shashi...@wso2.com wrote: Congrats Milinda On Wed, Oct 29, 2014 at 4:22 PM, Manula Chathurika Thantriwatte manu...@wso2.com wrote: Congratulations !!! On Wed, Oct 29, 2014 at 4:18 PM, Thilini Shanika

[Dev] CARBON-14955 please do a brief description

2014-10-29 Thread Supun Malinga
Hi, $subject. Title is not clear what needs to be done. Next time creating a jira make sure you add a description to explain what you mean.. :) https://wso2.org/jira/browse/CARBON-14955 thanks, -- Supun Malinga, Senior Software Engineer, WSO2 Inc. http://wso2.com email: sup...@wso2.com

[Dev] [App Factory] Error while building components with latest gitblit dependency with java 1.6

2014-10-29 Thread Gayan Dhanushka
Hi all, I am seeing the following error while trying to build App Factory components with the latest gitblit dependency. BUILD FAILURE [INFO] [INFO] Total time: 1:01.152s [INFO] Finished at: Thu Oct 30 07:45:24 IST 2014

Re: [Dev] [CEP] Sending messages to multiple email addresses using CEP output email adapter

2014-10-29 Thread Madhawa Gunasekara
Hi Mohan, Thanks for the quick response. Best Regards. On Thu, Oct 30, 2014 at 3:57 AM, Mohanadarshan Vivekanandalingam mo...@wso2.com wrote: On Thu, Oct 30, 2014 at 1:03 AM, Madhawa Gunasekara madha...@wso2.com wrote: Hi All, Hi Madhawa, I'm working on a traffic analysis project.

Re: [Dev] How to create a new ESB mediator

2014-10-29 Thread Ravindra Ranwala
Hi Lahiru, WSO2 Carbon is based on OSGi. To extend the framework you need to drop an OSGi bundle. What you are having at the moment is an external jar file. Once you place the jar file in to $CARBON_HOME/repository/components/dropins directory, the platform converts the legacy jar file into an

Re: [Dev] [DEV][API-M] - SSO Cofiguration Documentation issue

2014-10-29 Thread Uvindra Dias Jayasinha
Even if that works still we will need to do the change to the documentation, since if we follow the official documented method for enabling SSO it does not work for tenant users. On 29 October 2014 20:39, Nuwan Dias nuw...@wso2.com wrote: What if you define the SP as a 'SaaS Application',

Re: [Dev] [DEV][API-M] - SSO Cofiguration Documentation issue

2014-10-29 Thread Yasassri Ratnayake
Hi Nuwan, No it didn't work for me, I used IS 5 and APIM 1.8. I had to add the above mentioned Config in-order to tenant users to login. With Regards, On Wed, Oct 29, 2014 at 8:39 PM, Nuwan Dias nuw...@wso2.com wrote: What if you define the SP as a 'SaaS Application', doesn't it work? It

Re: [Dev] [APPFAC] Re-factoring ProjectUtils

2014-10-29 Thread Kasun De Silva
Thanks, I will proceed with *org.apache.commons.io http://org.apache.commons.io.FileUtils* Kasun *Kasun de Silva* Software Engineer | *WSO2 Inc.*; http://wso2.com lean.enterprise.middleware email : kas...@wso2.com mobile : +94 77 794 4260 On Wed, Oct 29, 2014 at 10:25 PM, Harsha Thirimanna

Re: [Dev] How to create a new ESB mediator

2014-10-29 Thread Udara Liyanage
Hi Lahiru, We put OSGi bundles to dropings , so no need to convert it to an OSGi again. Non OSGi jars are put in lib folder which are converted to OSGi bundles. Touched, not typed. Erroneous words are a feature, not a typo. On Oct 30, 2014 8:41 AM, Ravindra Ranwala ravin...@wso2.com wrote:

[Dev] Invitation: Code Review - Geo Dashboard @ Thu Oct 30, 2014 11am - 11:30am (Damith Wickramasinghe)

2014-10-29 Thread Damith Wickramasinghe
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20141030T053000Z DTEND:20141030T06Z DTSTAMP:20141030T044819Z ORGANIZER;CN=Damith Wickramasinghe:mailto:dami...@wso2.com UID:vs4v0fh0ge14m9qe68s9gqn...@google.com

Re: [Dev] [App Factory] Error while building components with latest gitblit dependency with java 1.6

2014-10-29 Thread Danushka Fernando
Hi Gayan What are the components that we are depending on gitblit? Do we really need to depend on gitblit code? Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Oct 30, 2014 at 7:55 AM, Gayan Dhanushka gay...@wso2.com wrote: Hi all,

Re: [Dev] [APPFAC] Re-factoring ProjectUtils

2014-10-29 Thread Danushka Fernando
+1 to make it consistent everywhere. Lets use this when we needs to any file operations. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Oct 30, 2014 at 9:43 AM, Kasun De Silva kas...@wso2.com wrote: Thanks, I will proceed with

[Dev] [CEP] Appropriate Regex values to map CSV file fields into an event stream

2014-10-29 Thread Supun Muthutantrige
Hii, I am using a csv file which consists of several fields similar to pin12345678 ip192.168.10.2 mailt...@abc.com addcolombo pin34345678 ip192.168.10.3 mailt...@abc.com addcolombo1 pin12345678 ip192.168.10.2 mailt...@abc.com addcolombo2 and so on *Note: Ignore

Re: [Dev] CARBON-14955 please do a brief description

2014-10-29 Thread Ayash
Hi, For example, org.wso2.carbon.identity.oauth.stub-4.2.2 should export packages in version 4.2.2. Instead it exports version 4.2.0. Thanks, -Ayash On Thu, Oct 30, 2014 at 7:14 AM, Supun Malinga sup...@wso2.com wrote: Hi, $subject. Title is not clear what needs to be done. Next time

[Dev] Updated Invitation: Code Review - Geo Dashboard @ Thu Oct 30, 2014 10:45am - 11:15am (Damith Wickramasinghe)

2014-10-29 Thread dami...@wso2.com
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20141030T051500Z DTEND:20141030T054500Z DTSTAMP:20141030T050957Z ORGANIZER;CN=Damith Wickramasinghe:mailto:dami...@wso2.com UID:vs4v0fh0ge14m9qe68s9gqn...@google.com

Re: [Dev] [App Factory] Error while building components with latest gitblit dependency with java 1.6

2014-10-29 Thread Gayan Dhanushka
Hi Danushka, Following are the components that use gitblit as a dependency. org.wso2.carbon.appfactory.s4.integration org.wso2.carbon.appfactory.listners org.wso2.carbon.appfactory.deployers org.wso2.carbon.appfactory.repository org.wso2.carbon.appfactory.stratos.listners I think we need to use

[Dev] Why REST bean singolons are destroyed just after created?

2014-10-29 Thread Bhathiya Jayasekara
Hi all, I'm developing a REST API using Apache CXF. war file of the web service get deployed successfully. But when I send requests, I can see following INFO logs for each request, and all requests are failed. According to the logs, REST resource beans are destroyed just after created. I'm