[Dev] Consume OSGi services in web app

2014-10-19 Thread Harshan Liyanage
Hi, I'm trying to do the following. 1. Create a JAX-RS web app deploy it in AS 2. Create an OSGi bundle which has all the business logic implementation (exposed as OSGi services) for above JAX-RS web services 3. Consume above OSGi services inside JAX-RS web app What is the best way

[Dev] AS install to IS as feature

2014-10-19 Thread Manoj Gunawardena
Hi , AS 5.2.1 install as a feature to identity server has a issue when uploading AAR file. I have created a public JIRA [1] [1] https://wso2.org/jira/browse/WSAS-1832 Thanks -- Manoj Gunawardena Tech Lead WSO2, Inc.: http://wso2.com lean.enterprise.middleware Mobile : +94 77 2291643

Re: [Dev] Using an External Library in writing Siddhi Extention - Need clarifications

2014-10-19 Thread Lahiru Cooray
Hi Jonann, Thanks a lot for the feedback. On Sat, Oct 18, 2014 at 7:07 PM, Johann Nallathamby joh...@wso2.com wrote: On Wed, Oct 15, 2014 at 1:25 PM, Lahiru Cooray lahi...@wso2.com wrote: Hi, We are writing some extensions to Siddhi (eg: TopK, Cardinality, etc) and we are using an

Re: [Dev] Consume OSGi services in web app

2014-10-19 Thread Bhathiya Jayasekara
Hi Harshan, On Sun, Oct 19, 2014 at 11:37 AM, Harshan Liyanage hars...@wso2.com wrote: Hi, I'm trying to do the following. 1. Create a JAX-RS web app deploy it in AS 2. Create an OSGi bundle which has all the business logic implementation (exposed as OSGi services) for above

Re: [Dev] how to make sure that cache doesn't get invalidated

2014-10-19 Thread Afkham Azeez
For your use case, the time between these actions cannot be a very long period. So, you should be using a regular cache with a timeout. Azeez On Sun, Oct 19, 2014 at 11:22 AM, Firzhan Naqash firz...@wso2.com wrote: Hi, This random password will only be used to populate the connection

Re: [Dev] Custome Function in siddhi query

2014-10-19 Thread Lahiru Cooray
Hi, I guess Shashika needs to read all the events in a single stream and out put a *single value.* *Stream1 * Event 1 {BookID:'001'} {BookName:'aaa' } Event 2 {BookID:'002'} {BookName:'bbb' } Event 3 {BookID:'003'} {BookName:'ccc' } *Eg: Output the Book Count * As per my understanding we

Re: [Dev] Custome Function in siddhi query

2014-10-19 Thread Awanthika Senarath
Hi Lahiru, Yes, my bad. In that case he has to use a custom window. thanks and regards On Sun, Oct 19, 2014 at 3:21 PM, Lahiru Cooray lahi...@wso2.com wrote: Hi, I guess Shashika needs to read all the events in a single stream and out put a *single value.* *Stream1 * Event 1

Re: [Dev] Consume OSGi services in web app

2014-10-19 Thread Dilan Udara Ariyaratne
Hi Harshan! Apart from Apache CXF, Jersey is also a very good alternative that you can consider in writing your JAX-RS web applications. I am personally impressed with the simplicity of getting up-and-running Restful web services using Jersey. Resources that you may find useful on this: [1]

Re: [Dev] Custome Function in siddhi query

2014-10-19 Thread Lahiru Cooray
Hi Awanthika, I totally agree with your point when we except result for each event. We can pass a single attribute to a custom function (in multiple events/streams) and store it. We wrote a function to calculate the cardinality (distinct event count in each stream).And there we updated a single

Re: [Dev] AS install to IS as feature

2014-10-19 Thread Manoj Gunawardena
Hi Joham, The above JIRA closed. Because it's not complete. Please refer https://wso2.org/jira/browse/WSAS-1832 Thanks On Sun, Oct 19, 2014 at 12:01 PM, Manoj Gunawardena man...@wso2.com wrote: Hi , AS 5.2.1 install as a feature to identity server has a issue when uploading AAR file. I

Re: [Dev] AS install to IS as feature

2014-10-19 Thread Manoj Gunawardena
Hi, Sorry , Please ignore the second mail. Thanks On Sun, Oct 19, 2014 at 6:09 PM, Manoj Gunawardena man...@wso2.com wrote: Hi Joham, The above JIRA closed. Because it's not complete. Please refer https://wso2.org/jira/browse/WSAS-1832 Thanks On Sun, Oct 19, 2014 at 12:01 PM, Manoj

Re: [Dev] Backup Hive queries on BAM

2014-10-19 Thread Maninda Edirisooriya
+1 for a EMM toolbox for BAM. Adding to Inosh (InoshG) it is better to add a sample which will complete the useability of the scenario. Thanks. *Maninda Edirisooriya* Senior Software Engineer *WSO2, Inc.*lean.enterprise.middleware. *Blog* : http://maninda.blogspot.com/ *E-mail* :

[Dev] Frequency extension for CEP - TopK Capacity and processing time relation

2014-10-19 Thread Asok Perera
Hi All, I ran several test runs for getting the correlation between 'event processing time' and 'TopK capacity' for Frequency implementation (transformer extension). I have put the stats for each test runs below (Graphs are event vs processing time). According to the results, it seems we need to

[Dev] FORCE_ERROR_ON_SOAP_FAULT - not directing soap fault to (default) fault sequence

2014-10-19 Thread Dimuthu De Lanerolle
Hi, As per the documentation if FORCE_ERROR_ON_SOAP_FAULT property is set to true inside the inSequence , once a SOAP Fault response received it should redirect to a fault sequence. To test this scenario , I have created two proxy services where one proxy receives the request and the other

Re: [Dev] AS install to IS as feature

2014-10-19 Thread KasunG Gajasinghe
Hi, The reason for this error is that AS AAR upload servlet [1] and IS Entitlement policy upload servlet [2] has the same url-mapping, service. I guess it would be better to have the url-mapping, service, for the AAR upload servlet. So, I have moved the above issue to [3]. You may simply change

Re: [Dev] WSO2 Committers += Tishan Dahanayakage

2014-10-19 Thread Inosh Perera
Congrats!!! On Fri, Oct 17, 2014 at 12:40 PM, Dinesh J Weerakkody dine...@wso2.com wrote: Congratulations... ! On Fri, Oct 17, 2014 at 12:36 PM, Abimaran Kugathasan abima...@wso2.com wrote: Congrats! On Fri, Oct 17, 2014 at 12:15 PM, Supun Sethunga sup...@wso2.com wrote:

Re: [Dev] Consume OSGi services in web app

2014-10-19 Thread Inosh Perera
Hi Harshan, Yes, you can use Apache CXF for this purpose. You can find a simpler example here[1] with sample code. [1] . http://wso2.com/library/articles/2012/10/develop-cxf-based-jaxws-wso2-developer-studio/ Regards, Inosh On Sun, Oct 19, 2014 at 5:07 PM, Dilan Udara Ariyaratne dil...@wso2.com

Re: [Dev] Consume OSGi services in web app

2014-10-19 Thread Harshan Liyanage
Hi Inosh, As per the offline discussion with InoshP, I've modified the web app libs. Now I'm able to access the logic implemented in OSGi bundles. Thanks, Best Regards, Lakshitha Harshan Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog :

Re: [Dev] Reduce the execution speed of Web Driver

2014-10-19 Thread Ayesha Dissanayaka
Hi, I'm also having this concern while executing UI test cases in WSO2 ES. In my case ES Publisher App take ablout 15sec in order to populate properly after completing indexing and all. Hence, I have to thread sleep all the test classes. I would also like to know whether this is the recommended

Re: [Dev] {chunk 13 packs}-14-09-2014/

2014-10-19 Thread Uvindra Dias Jayasinha
Not yet, will be getting it out today On 20 October 2014 10:42, Chathurika De Silva chathuri...@wso2.com wrote: Hi All Is a new pack available? Thanks Erandi On Fri, Oct 17, 2014 at 12:08 PM, Uvindra Dias Jayasinha uvin...@wso2.com wrote: There is a newer pack,

Re: [Dev] {chunk 13 packs}-14-09-2014/

2014-10-19 Thread Chathurika De Silva
Hi All Is a new pack available? Thanks Erandi On Fri, Oct 17, 2014 at 12:08 PM, Uvindra Dias Jayasinha uvin...@wso2.com wrote: There is a newer pack, https://svn.wso2.org/repos/wso2/scratch/chunk13-release/06-10-2014/ But we plan to build another pack tonight On 17 October 2014

Re: [Dev] WSO2 Committers += Tishan Dahanayakage

2014-10-19 Thread Priyadarssini Kishokumar
Congratulations Tishan ! On Mon, Oct 20, 2014 at 10:27 AM, Hasintha Indrajee hasin...@wso2.com wrote: Congratulations Tishan !!! On Mon, Oct 20, 2014 at 10:06 AM, Milinda Perera milin...@wso2.com wrote: Congratulations Tishan .. ! On Mon, Oct 20, 2014 at 9:44 AM, Ayesha Dissanayaka

Re: [Dev] WSO2 Committers += Tishan Dahanayakage

2014-10-19 Thread Milinda Perera
Congratulations Tishan .. ! On Mon, Oct 20, 2014 at 9:44 AM, Ayesha Dissanayaka aye...@wso2.com wrote: Congratulations Tishan !!! On Mon, Oct 20, 2014 at 8:26 AM, Inosh Perera ino...@wso2.com wrote: Congrats!!! On Fri, Oct 17, 2014 at 12:40 PM, Dinesh J Weerakkody dine...@wso2.com wrote:

Re: [Dev] WSO2 Committers += Tishan Dahanayakage

2014-10-19 Thread Hasintha Indrajee
Congratulations Tishan !!! On Mon, Oct 20, 2014 at 10:06 AM, Milinda Perera milin...@wso2.com wrote: Congratulations Tishan .. ! On Mon, Oct 20, 2014 at 9:44 AM, Ayesha Dissanayaka aye...@wso2.com wrote: Congratulations Tishan !!! On Mon, Oct 20, 2014 at 8:26 AM, Inosh Perera

Re: [Dev] Cannot find a method to get the Error Response in Jaggery

2014-10-19 Thread Damith Wickramasinghe
Hi Harshan, I think this way is much more convenient . Thank you Regards, Damith. On Sun, Oct 19, 2014 at 11:21 AM, Harshan Liyanage hars...@wso2.com wrote: Hi Damith, That way is also ok. But I think you can get the error in result.data. Please check the following code. var result =

Re: [Dev] WSO2 Committers += Tishan Dahanayakage

2014-10-19 Thread Ayesha Dissanayaka
Congratulations Tishan !!! On Mon, Oct 20, 2014 at 8:26 AM, Inosh Perera ino...@wso2.com wrote: Congrats!!! On Fri, Oct 17, 2014 at 12:40 PM, Dinesh J Weerakkody dine...@wso2.com wrote: Congratulations... ! On Fri, Oct 17, 2014 at 12:36 PM, Abimaran Kugathasan abima...@wso2.com wrote:

Re: [Dev] Add Cassandra 1.2.13.wso2v4 into Orbit repository

2014-10-19 Thread Prabath Abeysekera
Thanks Maheshika! On Fri, Oct 17, 2014 at 5:05 PM, Maheshika Goonetilleke mahesh...@wso2.com wrote: Hi Prabath Amended the deploy command and now it is successful. On Fri, Oct 17, 2014 at 1:47 PM, Maheshika Goonetilleke mahesh...@wso2.com wrote: Hi Prabath Any update on this?

Re: [Dev] Frequency extension for CEP - TopK Capacity and processing time relation

2014-10-19 Thread Mohanadarshan Vivekanandalingam
On Sun, Oct 19, 2014 at 8:15 PM, Asok Perera as...@wso2.com wrote: Hi All, I ran several test runs for getting the correlation between 'event processing time' and 'TopK capacity' for Frequency implementation (transformer extension). I have put the stats for each test runs below (Graphs are