[Dev] Consume OSGi services in web app
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 to achieve the above? Do I need to use Apache CXF for this? Thanks, Best Regards, Lakshitha Harshan Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] AS install to IS as feature
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 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Using an External Library in writing Siddhi Extention - Need clarifications
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 external library (Stream Lib[1]) to reuse its already implemented algorithms and same library is used in many functions. We need to know what is the standard way to deploy a third party library? is it ok to copy the jar file under CEP_HOMErepositorycomponentslib ? Its OK to test it by deploying it into lib. But if you shipping it with CEP you need to create a proper OSGi bundle out of it and install it through a CEP related feature. [1]https://github.com/addthis/stream-lib -- *Lahiru Cooray* Software Engineer WSO2, Inc.;http://wso2.com/ lean.enterprise.middleware Mobile: +94 715 654154 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Regards, *Johann Dilantha Nallathamby* Associate Technical Lead Product Lead of WSO2 Identity Server Integration Technologies Team WSO2, Inc. lean.enterprise.middleware Mobile - *+9476950* Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com* -- *Lahiru Cooray* Software Engineer WSO2, Inc.;http://wso2.com/ lean.enterprise.middleware Mobile: +94 715 654154 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Consume OSGi services in web app
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 JAX-RS web services 3. Consume above OSGi services inside JAX-RS web app What is the best way to achieve the above? Do I need to use Apache CXF for this? Yes, you can use CXF to write the REST service. We have used it in several places[1][2][3] in platform. You can have look and learn how it is used. [1] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth.endpoint/4.2.3 [2] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/data-bridge/org.wso2.carbon.databridge.receiver.restapi/4.2.0 [3] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.scim.provider/4.2.1 Thanks, Bhathiya Thanks, Best Regards, Lakshitha Harshan Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] how to make sure that cache doesn't get invalidated
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 password field in the secondary store web ui. This password will be generated when the user presses the edit button and it will be removed when the user completes update operation. This password is merely used to populate the connection password field ( Because leaving it blank forces the user to type it each and every time when ever he edits other properties also ). When the request comes to back end, we remove that random value and store the original password in to config file. @Darshana Since this usage violates the security best practices, shall we restrict the cache invalidation time for an hour ? Regards, Firzhan On Sun, Oct 19, 2014 at 11:14 AM, Afkham Azeez az...@wso2.com wrote: On Sun, Oct 19, 2014 at 1:12 AM, Firzhan Naqash firz...@wso2.com wrote: Hi All, Let me explain the use case that I am trying to implement. Currently the secondary user store web ui does not displaying the connection password property . If a user wanted to edit some properties, before updating those properties, user have to type the connection password again. As a solution for this we are trying to generate a random password and assign an an unique ID for that password. This unique ID will be associated with that particular edit request message for identifying the random password. This unique ID should be unique across the cluster. This random password will be displayed in the connection password field. Therefore the editUserStoreConfiguration message will include unique ID + properties. Once user done with updating other properties ( No password change), he can send the updateUserStoreConfiguration message. Since the update UserStoreConfiguration message has an unique ID, by using that ID we can obtain the random password and do a comparison with the password that comes with the request. If there are any changes, new password will be encrypted and saved with other changes to the secondary store configuration file. In order to support non-sticky session scenarios, we need that particular unique ID and random password to be shared across the cluster. Do I have to persist this information ? Or is it ok to use javax.cache's expiry time set for longer duration ? You want to maintain this random password indefinitely? Production clusters could run for years without being shutdown. Even when it comes to normal passwords, users are required to frequently change it, but you want to keep a random password forever? That would violate security best practices. Regards, Firzhan On Sat, Oct 18, 2014 at 7:13 PM, Afkham Azeez az...@wso2.com wrote: If this doesn't get invalidated, why do you need a cache or distributed map? Why not simply store it and load it from registry, and keep it in memory? On Sat, Oct 18, 2014 at 5:42 PM, Johann Nallathamby joh...@wso2.com wrote: On Fri, Oct 17, 2014 at 9:52 AM, Darshana Gunawardana darsh...@wso2.com wrote: Hi Azeez, What it needs here is a distributed map which get synced among nodes in the cluster. 1. What would be the best way to do that? Using a Hazelcast distributed map? 2. If Hazelcast distributed map is a option, do we have a way to use a Hazelcast map when writing a component using 4.2.0 kernel. I don't see any difference between using javax.cache.Cache and distributed map except that cache has a timeout. But you can set the timeout to a large value and that makes it no different to distributed map. Anyway we can't rely on both of them for HA if entire cluster goes down. In that case we need to persist. So +1 for javax.cache.Cache. Thanks, Darshana On Fri, Oct 17, 2014 at 9:31 AM, Afkham Azeez az...@wso2.com wrote: On Fri, Oct 17, 2014 at 12:44 AM, Firzhan Naqash firz...@wso2.com wrote: Hi, Are there any specific way to make sure that cache doesn't get invalidated other than setting a longer duration in the setExpiry() method of CacheBuilder ? No you have to set a large cache expiry time Regards, Firzhan -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * http://www.apache.org/* *email: **az...@wso2.com* az...@wso2.com * cell: +94 77 3320919 %2B94%2077%203320919blog: * *http://blog.afkham.org* http://blog.afkham.org *twitter: **http://twitter.com/afkham_azeez* http://twitter.com/afkham_azeez *linked-in: **http://lk.linkedin.com/in/afkhamazeez http://lk.linkedin.com/in/afkhamazeez* *Lean . Enterprise . Middleware* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Regards, *Darshana
Re: [Dev] Custome Function in siddhi query
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 cannot use a custom function for this use case since it will output a result for each event. On Thu, Oct 16, 2014 at 6:42 PM, Shashika Karunatilaka shashi...@wso2.com wrote: Hi Mohanadarshan, Thanks for the info, yes i have to go with the custom window. On Wed, Oct 15, 2014 at 6:03 PM, Mohanadarshan Vivekanandalingam mo...@wso2.com wrote: On Wed, Oct 15, 2014 at 5:52 PM, Shashika Karunatilaka shashi...@wso2.com wrote: Hi, Hi Shashika, I'm in the process of creating siddhi custom function, its like an aggregate function which inputs a set of data returns a single value. Is there a way i can send data array to my custom function or else can i handle that inside my custom function? As an example there is a stream called A, stream A has attribute called bookID, i need to pass all the bookID's in that stream to the aggregate function and return a single value. Based on my understanding, i don't believe siddhi function is appropriate for your usecase.. You may need to use transform processor or window.. Thanks, Mohan Thank you. -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *V. Mohanadarshan* *Software Engineer,* *Data Technologies Team,* *WSO2, Inc. http://wso2.com http://wso2.com * *lean.enterprise.middleware.* email: mo...@wso2.com phone:(+94) 771117673 -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Lahiru Cooray* Software Engineer WSO2, Inc.;http://wso2.com/ lean.enterprise.middleware Mobile: +94 715 654154 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Custome Function in siddhi query
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 {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 cannot use a custom function for this use case since it will output a result for each event. On Thu, Oct 16, 2014 at 6:42 PM, Shashika Karunatilaka shashi...@wso2.com wrote: Hi Mohanadarshan, Thanks for the info, yes i have to go with the custom window. On Wed, Oct 15, 2014 at 6:03 PM, Mohanadarshan Vivekanandalingam mo...@wso2.com wrote: On Wed, Oct 15, 2014 at 5:52 PM, Shashika Karunatilaka shashi...@wso2.com wrote: Hi, Hi Shashika, I'm in the process of creating siddhi custom function, its like an aggregate function which inputs a set of data returns a single value. Is there a way i can send data array to my custom function or else can i handle that inside my custom function? As an example there is a stream called A, stream A has attribute called bookID, i need to pass all the bookID's in that stream to the aggregate function and return a single value. Based on my understanding, i don't believe siddhi function is appropriate for your usecase.. You may need to use transform processor or window.. Thanks, Mohan Thank you. -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *V. Mohanadarshan* *Software Engineer,* *Data Technologies Team,* *WSO2, Inc. http://wso2.com http://wso2.com * *lean.enterprise.middleware.* email: mo...@wso2.com phone:(+94) 771117673 -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Lahiru Cooray* Software Engineer WSO2, Inc.;http://wso2.com/ lean.enterprise.middleware Mobile: +94 715 654154 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Awanthika Senarath Software Engineer, WSO2 Inc. Mobile: +94717681791 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Consume OSGi services in web app
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] http://stackoverflow.com/questions/2704700/java-rest-implementation-jersey-vs-cxf [2] https://jersey.java.net/documentation/latest/getting-started.html [2] http://www.vogella.com/tutorials/REST/article.html Cheers! *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Sun, Oct 19, 2014 at 12:09 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: 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 JAX-RS web services 3. Consume above OSGi services inside JAX-RS web app What is the best way to achieve the above? Do I need to use Apache CXF for this? Yes, you can use CXF to write the REST service. We have used it in several places[1][2][3] in platform. You can have look and learn how it is used. [1] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth.endpoint/4.2.3 [2] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/data-bridge/org.wso2.carbon.databridge.receiver.restapi/4.2.0 [3] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.scim.provider/4.2.1 Thanks, Bhathiya Thanks, Best Regards, Lakshitha Harshan Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Custome Function in siddhi query
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 instance for multiple streams. On Sun, Oct 19, 2014 at 4:31 PM, Awanthika Senarath awanth...@wso2.com wrote: 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 {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 cannot use a custom function for this use case since it will output a result for each event. On Thu, Oct 16, 2014 at 6:42 PM, Shashika Karunatilaka shashi...@wso2.com wrote: Hi Mohanadarshan, Thanks for the info, yes i have to go with the custom window. On Wed, Oct 15, 2014 at 6:03 PM, Mohanadarshan Vivekanandalingam mo...@wso2.com wrote: On Wed, Oct 15, 2014 at 5:52 PM, Shashika Karunatilaka shashi...@wso2.com wrote: Hi, Hi Shashika, I'm in the process of creating siddhi custom function, its like an aggregate function which inputs a set of data returns a single value. Is there a way i can send data array to my custom function or else can i handle that inside my custom function? As an example there is a stream called A, stream A has attribute called bookID, i need to pass all the bookID's in that stream to the aggregate function and return a single value. Based on my understanding, i don't believe siddhi function is appropriate for your usecase.. You may need to use transform processor or window.. Thanks, Mohan Thank you. -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *V. Mohanadarshan* *Software Engineer,* *Data Technologies Team,* *WSO2, Inc. http://wso2.com http://wso2.com * *lean.enterprise.middleware.* email: mo...@wso2.com phone:(+94) 771117673 -- Shashika Prabath Karunatilaka, Software Engineer, WSO2, Inc: http://wso2.com/ mobile : +94 77 7487792 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Lahiru Cooray* Software Engineer WSO2, Inc.;http://wso2.com/ lean.enterprise.middleware Mobile: +94 715 654154 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Awanthika Senarath Software Engineer, WSO2 Inc. Mobile: +94717681791 -- *Lahiru Cooray* Software Engineer WSO2, Inc.;http://wso2.com/ lean.enterprise.middleware Mobile: +94 715 654154 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] AS install to IS as feature
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 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 -- Manoj Gunawardena Tech Lead WSO2, Inc.: http://wso2.com lean.enterprise.middleware Mobile : +94 77 2291643 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] AS install to IS as feature
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 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 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 -- Manoj Gunawardena Tech Lead WSO2, Inc.: http://wso2.com lean.enterprise.middleware Mobile : +94 77 2291643 -- Manoj Gunawardena Tech Lead WSO2, Inc.: http://wso2.com lean.enterprise.middleware Mobile : +94 77 2291643 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Backup Hive queries on BAM
+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* : mani...@wso2.com *Skype* : @manindae *Twitter* : @maninda On Tue, Oct 14, 2014 at 9:22 AM, Inosh Goonewardena in...@wso2.com wrote: Hi Inosh, One thing you can do is, you can create a bam toolbox project. In the toolbox you can include your hive queries(and stream definition, dashboard). Then you can simply use this toolbox to install your hive queries in any BAM inctance. On Tuesday, October 14, 2014, Inosh Perera ino...@wso2.com wrote: Hi Gihan, I have written a quite a lot of Hive queries to summaries data. This is regarding the EMM and BAM integration I discussed offline earlier. Isn't it possible to backup/restore these registry values? Regards, Inosh On Mon, Oct 13, 2014 at 5:46 PM, Gihan Anuruddha gi...@wso2.com wrote: Hi Inosh, All the hive scripts are saved in the registry under /_system/config/repository/hive/scripts location. At the moment we don't provide backup/restore functionality. What is your use case? Regards, Gihan On Mon, Oct 13, 2014 at 5:34 PM, Inosh Perera ino...@wso2.com wrote: Hi all, Is there a way to backup/restore the Hive queries(Analytics) you write on BAM. Where are these queries stored? Regards, Inosh -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 -- W.G. Gihan Anuruddha Senior Software Engineer | WSO2, Inc. M: +94772272595 -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 -- Regards, Inosh Goonewardena Associate Technical Lead- WSO2 Inc. Mobile: +94779966317 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] Frequency extension for CEP - TopK Capacity and processing time relation
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 decide the most optimal TopK capacity for this. Common tests specs, Input event stream has 2 attributes (symbol and price). Symbol will be the selected attribute for frequency calculation. Client - 50 events within a for loop without a sleep time in between (to get the behaviour for maximum in-event stream rate). Calculating algorithm runs in a synchronised method. *TOPK_CAPACITY = 1* *Test Results,* *Average event processing time = 700.02 ms* *Processing time for all 50 events = 35001 ms* *[image: Inline image 2]* *TOPK_CAPACITY = 1000* *Test Results,* *Average event processing time = 296.68 ms* *Processing time for all 50 events = 14834 ms* *[image: Inline image 3]* *TOPK_CAPACITY = 500* *Test Results,* *Average event processing time = 3.88 ms* *Processing time for all 50 events = 194 ms* *[image: Inline image 4]* *TOPK_CAPACITY = 100* *Test Results,* *Average event processing time = 0.98 ms* *Processing time for all 50 events = 49 ms* *[image: Inline image 5]* According to the results, there is significant correlation between event processing time and TopK capacity. (TopK capacity represents the number of *distinct* attribute values for frequency consideration). Please suggest a suitable TopK Capacity value for a production environment. Then we can continue more testings changing some other parameters to find out the relations and best possible values. BR *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/ http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2Fsa=Dsntz=1usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ lean.enterprise.middleware Mobile: +94722241032 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] FORCE_ERROR_ON_SOAP_FAULT - not directing soap fault to (default) fault sequence
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 proxy returns a Soap Fault to the first proxy service . It works as expected if we define an in-line fault sequence inside the first proxy service. However if we do not define any in-line fault sequence with the mentioned proxy service, the SOAP Fault is NOT redirected to the (default) fault sequence. However if we add onError=fault to the inSequence as mentioned in [2] it redirects the SOAP Fault to the (default) fault sequence. I have created a JIRA [1] for this and the tested configuration is also mentioned in the same ticket. [1] https://wso2.org/jira/browse/ESBJAVA-3386 [2] inSequence onError=fault property name=FORCE_ERROR_ON_SOAP_FAULT value=true scope=default type=STRING/ send endpoint key=Axis2EP/ /send /inSequence Regards -- Dimuthu De Lanerolle Software Engineer WSO2 Inc. lean . enterprise . middlewear. http://wso2.com/ Tel. : +94 11 2145345 Fax : +94 11 2145300 email : dimut...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] AS install to IS as feature
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 the //FileUploadConfig/Mapping/Actions/Action/ value in component.xml to fix this issue. [1] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/aar-services/org.wso2.carbon.aarservices.ui/4.2.0/src/main/resources/META-INF/component.xml [2] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.entitlement.ui/4.2.1/src/main/resources/META-INF/component.xml [3] https://wso2.org/jira/browse/IDENTITY-2806 Regards, KasunG On Sun, Oct 19, 2014 at 6:11 PM, Manoj Gunawardena man...@wso2.com wrote: 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 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 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 -- Manoj Gunawardena Tech Lead WSO2, Inc.: http://wso2.com lean.enterprise.middleware Mobile : +94 77 2291643 -- Manoj Gunawardena Tech Lead WSO2, Inc.: http://wso2.com lean.enterprise.middleware Mobile : +94 77 2291643 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Tishan Dahanayakage
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: Congratulations Tishan !! On Fri, Oct 17, 2014 at 12:11 PM, Lasindu Charith lasi...@wso2.com wrote: Congratz Tishan ..!!! On Fri, Oct 17, 2014 at 11:35 AM, Lakshman Udayakantha lakshm...@wso2.com wrote: Congratulations Tishan...!!! On Fri, Oct 17, 2014 at 10:41 AM, Sriskandarajah Suhothayan s...@wso2.com wrote: Hi all, It's our pleasure to welcome Tishan Dahanayakage as a WSO2 Committer. Tishan has contributed immensely to WSO2 Complex Event Processor especially on Siddhi and shown great commitment. In recognition of his contribution, he has been voted as a WSO2 Commiter. Welcome aboard and keep up the good work ! Regards Suho. -- *S. Suhothayan* Technical Lead Team Lead of WSO2 Complex Event Processor *WSO2 Inc. *http://wso2.com * http://wso2.com/* lean . enterprise . middleware *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog: http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter: http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in: http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Lakshman Udayakantha WSO2 Inc. www.wso2.com lean.enterprise.middleware Mobile: *0711241005* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Lasindu Charith* Software Engineer, WSO2 Inc. Mobile: +94714427192 Web: blog.lasindu.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Abimaran Kugathasan Software Engineer | WSO2 Inc Data APIs Technologies Team Mobile : +94 77 1708229 http://stackoverflow.com/users/515034 http://lk.linkedin.com/in/abimaran http://www.lkabimaran.blogspot.com/ https://github.com/abimaran https://twitter.com/abimaran ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Dinesh J. Weerakkody* Software Engineer WSO2 Inc. lean | enterprise | middleware M : +94 727 361788 | E : dine...@wso2.com | W : www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Consume OSGi services in web app
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 wrote: 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] http://stackoverflow.com/questions/2704700/java-rest-implementation-jersey-vs-cxf [2] https://jersey.java.net/documentation/latest/getting-started.html [2] http://www.vogella.com/tutorials/REST/article.html Cheers! *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Sun, Oct 19, 2014 at 12:09 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: 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 JAX-RS web services 3. Consume above OSGi services inside JAX-RS web app What is the best way to achieve the above? Do I need to use Apache CXF for this? Yes, you can use CXF to write the REST service. We have used it in several places[1][2][3] in platform. You can have look and learn how it is used. [1] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth.endpoint/4.2.3 [2] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/data-bridge/org.wso2.carbon.databridge.receiver.restapi/4.2.0 [3] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.scim.provider/4.2.1 Thanks, Bhathiya Thanks, Best Regards, Lakshitha Harshan Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Consume OSGi services in web app
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 : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. On Mon, Oct 20, 2014 at 8:50 AM, Inosh Perera ino...@wso2.com wrote: 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 wrote: 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] http://stackoverflow.com/questions/2704700/java-rest-implementation-jersey-vs-cxf [2] https://jersey.java.net/documentation/latest/getting-started.html [2] http://www.vogella.com/tutorials/REST/article.html Cheers! *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Sun, Oct 19, 2014 at 12:09 PM, Bhathiya Jayasekara bhath...@wso2.com wrote: 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 JAX-RS web services 3. Consume above OSGi services inside JAX-RS web app What is the best way to achieve the above? Do I need to use Apache CXF for this? Yes, you can use CXF to write the REST service. We have used it in several places[1][2][3] in platform. You can have look and learn how it is used. [1] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth.endpoint/4.2.3 [2] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/data-bridge/org.wso2.carbon.databridge.receiver.restapi/4.2.0 [3] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.scim.provider/4.2.1 Thanks, Bhathiya Thanks, Best Regards, Lakshitha Harshan Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com http://wso2.com* *Phone: +94715478185 %2B94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj http://www.linkedin.com/in/bhathiyaj* *Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax* *Blog: http://movingaheadblog.blogspot.com http://movingaheadblog.blogspot.com/* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Reduce the execution speed of Web Driver
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 way to slow down the web driver, or can we implicitly wait to start the test execution by the framework. Thanks! - Ayesha On Fri, Oct 17, 2014 at 10:10 AM, Sohani Weerasinghe soh...@wso2.com wrote: Hi, When using selenium web driver to write test cases, currently I am using Thread sleeps in order to control the speed of the browser. Is this the recommended way to slow down the execution speed? Please note that I am also using explicit waits to wait for certain conditions to occur before proceeding further and implicit waits to poll the DOM for a certain amount of time to find an element. Thanks, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Ayesha Dissanayaka* Software Engineer, WSO2, Inc : http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg 20, Palmgrove Avenue, Colombo 3 E-Mail: aye...@wso2.com ayshsa...@gmail.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] {chunk 13 packs}-14-09-2014/
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, https://svn.wso2.org/repos/wso2/scratch/chunk13-release/06-10-2014/ But we plan to build another pack tonight On 17 October 2014 12:04, Chathurika De Silva chathuri...@wso2.com wrote: Hi All Since we are going to start the release testing is it ok to use the packs in the location https://svn.wso2.org/repos/wso2/scratch/chunk13-release/29-09-2014/ because it's the most recent for APIM Thank You Erandi On Wed, Sep 17, 2014 at 5:55 PM, Evanthika Amarasiri evanth...@wso2.com wrote: Hi Ratha, The OOM issue we noticed was due to the fact there was not enough memory in the cloud instance that these servers were running on. We will move the servers to an instance with more memory and see whether we see the same. You can ignore this issue for the moment. Regards, Evanthika On Tue, Sep 16, 2014 at 6:51 PM, Evanthika Amarasiri evanth...@wso2.com wrote: Hi Ratha, We are getting an OOM error and key manager/gatway nodes crash when regenerating tokens and doing some other operations. See [1]. We are blocked by this issue since we cannot continue testing on our clustered setup. Also, we see some other issues with the store as well. See [2]. How soon can we get a new pack with fixes for these issues? [1] - https://wso2.org/jira/browse/APIMANAGER-2856 [2] - https://wso2.org/jira/browse/APIMANAGER-2858 Regards, Evanthika Amarasiri Senior Technical Lead - Quality Assurance Mobile: +94773125935 wso2.com lean.enterprise.middleware On Mon, Sep 15, 2014 at 11:08 AM, Amila De Silva ami...@wso2.com wrote: Hi, Added the config element mentioned in [1] to specify a custom JWTGenerator. However, the default implementation will be picked if this change is absent. [1] https://wso2.org/jira/browse/APIMANAGER-2711 On Mon, Sep 15, 2014 at 9:18 AM, Pavithra Madurangi pavit...@wso2.com wrote: Hi Ratha, In the latest build, observed that configuration for self sign up to the store is missing from api-manager.xml (below config). Any particular reason for that? !-- Use this configuration to control the self-sign-up capability in API store. -- SelfSignUp !-- Enable or disable the self-sign-up feature. -- Enabledtrue/Enabled !-- Self signed up users should be associated with a suitable subscriber role for them to be able to access the API store portal. This required parameter specifies which role should be used for that purpose. The role specified here must have the '/permission/admin/manage/api/subscribe' permission. -- SubscriberRoleNamesubscriber/SubscriberRoleName /SelfSignUp On Mon, Sep 15, 2014 at 7:05 AM, Evanthika Amarasiri evanth...@wso2.com wrote: Meaning, have you introduced new configurations since the last release? We are planning to replace the packs and copy the conf folder in the setup we have done. But last time we noticed you have introduced two new parameters to registry.xml api manager.xmls. Hence the question. On Monday, September 15, 2014, Vijayaratha Vijayasingam rat...@wso2.com wrote: What type of config change you mean? BTW, p2 repo is here[1] (not in the same folder since i got some svn conflicts). @Pavithra, i will check the p2 issue you reported.. [1] https://svn.wso2.org/repos/wso2/scratch/chunk13-release/14_09_2014_p2/ Thanks On 14 September 2014 22:37, Evanthika Amarasiri evanth...@wso2.com wrote: Hi Ratha, Have you guys done any configuration changes since the day you released 4th September packs? Regards, Evanthika On Sun, Sep 14, 2014 at 10:21 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Please find here; https://svn.wso2.org/repos/wso2/scratch/chunk13-release/14-09-2014/ Will commit p2 repo soon.. Thanks.. -- -Ratha -- -Ratha -- Regards, Evanthika Amarasiri Senior Technical Lead - Quality Assurance Mobile: +94773125935 wso2.com lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Pavithra Madurangi* Associate Technical Lead - QA. WSO2 Inc.: http://wso2.com/ Mobile: +94777207357 / +94773814110 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Amila De Silva* WSO2 Inc. mobile :(+94) 775119302 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org
Re: [Dev] {chunk 13 packs}-14-09-2014/
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 12:04, Chathurika De Silva chathuri...@wso2.com wrote: Hi All Since we are going to start the release testing is it ok to use the packs in the location https://svn.wso2.org/repos/wso2/scratch/chunk13-release/29-09-2014/ because it's the most recent for APIM Thank You Erandi On Wed, Sep 17, 2014 at 5:55 PM, Evanthika Amarasiri evanth...@wso2.com wrote: Hi Ratha, The OOM issue we noticed was due to the fact there was not enough memory in the cloud instance that these servers were running on. We will move the servers to an instance with more memory and see whether we see the same. You can ignore this issue for the moment. Regards, Evanthika On Tue, Sep 16, 2014 at 6:51 PM, Evanthika Amarasiri evanth...@wso2.com wrote: Hi Ratha, We are getting an OOM error and key manager/gatway nodes crash when regenerating tokens and doing some other operations. See [1]. We are blocked by this issue since we cannot continue testing on our clustered setup. Also, we see some other issues with the store as well. See [2]. How soon can we get a new pack with fixes for these issues? [1] - https://wso2.org/jira/browse/APIMANAGER-2856 [2] - https://wso2.org/jira/browse/APIMANAGER-2858 Regards, Evanthika Amarasiri Senior Technical Lead - Quality Assurance Mobile: +94773125935 wso2.com lean.enterprise.middleware On Mon, Sep 15, 2014 at 11:08 AM, Amila De Silva ami...@wso2.com wrote: Hi, Added the config element mentioned in [1] to specify a custom JWTGenerator. However, the default implementation will be picked if this change is absent. [1] https://wso2.org/jira/browse/APIMANAGER-2711 On Mon, Sep 15, 2014 at 9:18 AM, Pavithra Madurangi pavit...@wso2.com wrote: Hi Ratha, In the latest build, observed that configuration for self sign up to the store is missing from api-manager.xml (below config). Any particular reason for that? !-- Use this configuration to control the self-sign-up capability in API store. -- SelfSignUp !-- Enable or disable the self-sign-up feature. -- Enabledtrue/Enabled !-- Self signed up users should be associated with a suitable subscriber role for them to be able to access the API store portal. This required parameter specifies which role should be used for that purpose. The role specified here must have the '/permission/admin/manage/api/subscribe' permission. -- SubscriberRoleNamesubscriber/SubscriberRoleName /SelfSignUp On Mon, Sep 15, 2014 at 7:05 AM, Evanthika Amarasiri evanth...@wso2.com wrote: Meaning, have you introduced new configurations since the last release? We are planning to replace the packs and copy the conf folder in the setup we have done. But last time we noticed you have introduced two new parameters to registry.xml api manager.xmls. Hence the question. On Monday, September 15, 2014, Vijayaratha Vijayasingam rat...@wso2.com wrote: What type of config change you mean? BTW, p2 repo is here[1] (not in the same folder since i got some svn conflicts). @Pavithra, i will check the p2 issue you reported.. [1] https://svn.wso2.org/repos/wso2/scratch/chunk13-release/14_09_2014_p2/ Thanks On 14 September 2014 22:37, Evanthika Amarasiri evanth...@wso2.com wrote: Hi Ratha, Have you guys done any configuration changes since the day you released 4th September packs? Regards, Evanthika On Sun, Sep 14, 2014 at 10:21 PM, Vijayaratha Vijayasingam rat...@wso2.com wrote: Please find here; https://svn.wso2.org/repos/wso2/scratch/chunk13-release/14-09-2014/ Will commit p2 repo soon.. Thanks.. -- -Ratha -- -Ratha -- Regards, Evanthika Amarasiri Senior Technical Lead - Quality Assurance Mobile: +94773125935 wso2.com lean.enterprise.middleware ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Pavithra Madurangi* Associate Technical Lead - QA. WSO2 Inc.: http://wso2.com/ Mobile: +94777207357 / +94773814110 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Amila De Silva* WSO2 Inc. mobile :(+94) 775119302 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Chathurika Erandi* Software Engineer, WSO2 Inc. *E-mail:* chathuri...@wso2.com
Re: [Dev] WSO2 Committers += Tishan Dahanayakage
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 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: 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: Congratulations Tishan !! On Fri, Oct 17, 2014 at 12:11 PM, Lasindu Charith lasi...@wso2.com wrote: Congratz Tishan ..!!! On Fri, Oct 17, 2014 at 11:35 AM, Lakshman Udayakantha lakshm...@wso2.com wrote: Congratulations Tishan...!!! On Fri, Oct 17, 2014 at 10:41 AM, Sriskandarajah Suhothayan s...@wso2.com wrote: Hi all, It's our pleasure to welcome Tishan Dahanayakage as a WSO2 Committer. Tishan has contributed immensely to WSO2 Complex Event Processor especially on Siddhi and shown great commitment. In recognition of his contribution, he has been voted as a WSO2 Commiter. Welcome aboard and keep up the good work ! Regards Suho. -- *S. Suhothayan* Technical Lead Team Lead of WSO2 Complex Event Processor *WSO2 Inc. *http://wso2.com * http://wso2.com/* lean . enterprise . middleware *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog: http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter: http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in: http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Lakshman Udayakantha WSO2 Inc. www.wso2.com lean.enterprise.middleware Mobile: *0711241005 0711241005* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Lasindu Charith* Software Engineer, WSO2 Inc. Mobile: +94714427192 Web: blog.lasindu.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Abimaran Kugathasan Software Engineer | WSO2 Inc Data APIs Technologies Team Mobile : +94 77 1708229 http://stackoverflow.com/users/515034 http://lk.linkedin.com/in/abimaran http://www.lkabimaran.blogspot.com/ https://github.com/abimaran https://twitter.com/abimaran ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Dinesh J. Weerakkody* Software Engineer WSO2 Inc. lean | enterprise | middleware M : +94 727 361788 | E : dine...@wso2.com | W : www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Ayesha Dissanayaka* Software Engineer, WSO2, Inc : http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg 20, Palmgrove Avenue, Colombo 3 E-Mail: aye...@wso2.com ayshsa...@gmail.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Milinda Perera Software Engineer; WSO2 Inc. http://wso2.com , Mobile: (+94) 714 115 032 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Priya Kishok Software Engineer WSO2, Inc : http://wso2.com Mob : +94774457404 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Tishan Dahanayakage
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: 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: Congratulations Tishan !! On Fri, Oct 17, 2014 at 12:11 PM, Lasindu Charith lasi...@wso2.com wrote: Congratz Tishan ..!!! On Fri, Oct 17, 2014 at 11:35 AM, Lakshman Udayakantha lakshm...@wso2.com wrote: Congratulations Tishan...!!! On Fri, Oct 17, 2014 at 10:41 AM, Sriskandarajah Suhothayan s...@wso2.com wrote: Hi all, It's our pleasure to welcome Tishan Dahanayakage as a WSO2 Committer. Tishan has contributed immensely to WSO2 Complex Event Processor especially on Siddhi and shown great commitment. In recognition of his contribution, he has been voted as a WSO2 Commiter. Welcome aboard and keep up the good work ! Regards Suho. -- *S. Suhothayan* Technical Lead Team Lead of WSO2 Complex Event Processor *WSO2 Inc. *http://wso2.com * http://wso2.com/* lean . enterprise . middleware *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog: http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter: http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in: http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Lakshman Udayakantha WSO2 Inc. www.wso2.com lean.enterprise.middleware Mobile: *0711241005* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Lasindu Charith* Software Engineer, WSO2 Inc. Mobile: +94714427192 Web: blog.lasindu.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Abimaran Kugathasan Software Engineer | WSO2 Inc Data APIs Technologies Team Mobile : +94 77 1708229 http://stackoverflow.com/users/515034 http://lk.linkedin.com/in/abimaran http://www.lkabimaran.blogspot.com/ https://github.com/abimaran https://twitter.com/abimaran ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Dinesh J. Weerakkody* Software Engineer WSO2 Inc. lean | enterprise | middleware M : +94 727 361788 | E : dine...@wso2.com | W : www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Ayesha Dissanayaka* Software Engineer, WSO2, Inc : http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg 20, Palmgrove Avenue, Colombo 3 E-Mail: aye...@wso2.com ayshsa...@gmail.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Milinda Perera Software Engineer; WSO2 Inc. http://wso2.com , Mobile: (+94) 714 115 032 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Tishan Dahanayakage
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 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: Congrats! On Fri, Oct 17, 2014 at 12:15 PM, Supun Sethunga sup...@wso2.com wrote: Congratulations Tishan !! On Fri, Oct 17, 2014 at 12:11 PM, Lasindu Charith lasi...@wso2.com wrote: Congratz Tishan ..!!! On Fri, Oct 17, 2014 at 11:35 AM, Lakshman Udayakantha lakshm...@wso2.com wrote: Congratulations Tishan...!!! On Fri, Oct 17, 2014 at 10:41 AM, Sriskandarajah Suhothayan s...@wso2.com wrote: Hi all, It's our pleasure to welcome Tishan Dahanayakage as a WSO2 Committer. Tishan has contributed immensely to WSO2 Complex Event Processor especially on Siddhi and shown great commitment. In recognition of his contribution, he has been voted as a WSO2 Commiter. Welcome aboard and keep up the good work ! Regards Suho. -- *S. Suhothayan* Technical Lead Team Lead of WSO2 Complex Event Processor *WSO2 Inc. *http://wso2.com * http://wso2.com/* lean . enterprise . middleware *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog: http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter: http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in: http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Lakshman Udayakantha WSO2 Inc. www.wso2.com lean.enterprise.middleware Mobile: *0711241005 0711241005* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Lasindu Charith* Software Engineer, WSO2 Inc. Mobile: +94714427192 Web: blog.lasindu.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Abimaran Kugathasan Software Engineer | WSO2 Inc Data APIs Technologies Team Mobile : +94 77 1708229 http://stackoverflow.com/users/515034 http://lk.linkedin.com/in/abimaran http://www.lkabimaran.blogspot.com/ https://github.com/abimaran https://twitter.com/abimaran ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Dinesh J. Weerakkody* Software Engineer WSO2 Inc. lean | enterprise | middleware M : +94 727 361788 | E : dine...@wso2.com | W : www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Ayesha Dissanayaka* Software Engineer, WSO2, Inc : http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg 20, Palmgrove Avenue, Colombo 3 E-Mail: aye...@wso2.com ayshsa...@gmail.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Milinda Perera Software Engineer; WSO2 Inc. http://wso2.com , Mobile: (+94) 714 115 032 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Cannot find a method to get the Error Response in Jaggery
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 = post(url, {}, {},'json); result = parse(result.data); //Now check for error if (result.error) { //do the error handling }else{ } Thanks, Best Regards, Lakshitha Harshan Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.com http://wso2.com/* lean.enterprise.middleware. On Fri, Oct 17, 2014 at 2:43 PM, Damith Wickramasinghe dami...@wso2.com wrote: Hi Manoj, No i'm calling to a external resource in server side using jaggery POST method to retrieve some attributes. As per the documentation On success callback there is a success method. Is there a method to handle failure use cases as well? As for now using following code i'm checking the status code to verify whether its success or not. var result = post(url, { code : CODE, client_id : C_ID, client_secret : C_SEC, redirect_uri : REDIRECT, grant_type : TYPE, }, { User-Agent : Jaggery-XHR, Country : LK }, 'json'); var code=result.xhr.status; Regards, Damith. On Fri, Oct 17, 2014 at 1:51 PM, Manoj Gunawardena man...@wso2.com wrote: Hi Damith, Not clear your requirement. Post into jag mean? Are you trying to call JAG APi from java script? Please share the client code and JAg code. Thanks On Thu, Oct 16, 2014 at 7:10 PM, Damith Wickramasinghe dami...@wso2.com wrote: Hi, I have developed a Jaggery app to our training project and i needed to do a Jaggery post and handle some error cases if the response fails. I went through the documentation but i could not find a Post error method. So as for a work around i checked the returned code using userInfo.xhr.status and did the logic. I'm not sure whether its a good approach to do so. Can some please tel me if there's a method to handle that. For success the method is, success(data:Object, xhr:Object) as per the documentation. Regards, Damith -- Software Engineer WSO2 Inc.; http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg lean.enterprise.middleware mobile: *+94728671315 %2B94728671315* -- Manoj Gunawardena Tech Lead WSO2, Inc.: http://wso2.com lean.enterprise.middleware Mobile : +94 77 2291643 -- Software Engineer WSO2 Inc.; http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg lean.enterprise.middleware mobile: *+94728671315 %2B94728671315* -- Software Engineer WSO2 Inc.; http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg lean.enterprise.middleware mobile: *+94728671315* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] WSO2 Committers += Tishan Dahanayakage
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: Congrats! On Fri, Oct 17, 2014 at 12:15 PM, Supun Sethunga sup...@wso2.com wrote: Congratulations Tishan !! On Fri, Oct 17, 2014 at 12:11 PM, Lasindu Charith lasi...@wso2.com wrote: Congratz Tishan ..!!! On Fri, Oct 17, 2014 at 11:35 AM, Lakshman Udayakantha lakshm...@wso2.com wrote: Congratulations Tishan...!!! On Fri, Oct 17, 2014 at 10:41 AM, Sriskandarajah Suhothayan s...@wso2.com wrote: Hi all, It's our pleasure to welcome Tishan Dahanayakage as a WSO2 Committer. Tishan has contributed immensely to WSO2 Complex Event Processor especially on Siddhi and shown great commitment. In recognition of his contribution, he has been voted as a WSO2 Commiter. Welcome aboard and keep up the good work ! Regards Suho. -- *S. Suhothayan* Technical Lead Team Lead of WSO2 Complex Event Processor *WSO2 Inc. *http://wso2.com * http://wso2.com/* lean . enterprise . middleware *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog: http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter: http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in: http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Lakshman Udayakantha WSO2 Inc. www.wso2.com lean.enterprise.middleware Mobile: *0711241005* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Lasindu Charith* Software Engineer, WSO2 Inc. Mobile: +94714427192 Web: blog.lasindu.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Thanks Abimaran Kugathasan Software Engineer | WSO2 Inc Data APIs Technologies Team Mobile : +94 77 1708229 http://stackoverflow.com/users/515034 http://lk.linkedin.com/in/abimaran http://www.lkabimaran.blogspot.com/ https://github.com/abimaran https://twitter.com/abimaran ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Dinesh J. Weerakkody* Software Engineer WSO2 Inc. lean | enterprise | middleware M : +94 727 361788 | E : dine...@wso2.com | W : www.wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- Inosh Perera Software Engineer, WSO2 Inc. Tel: 0785293686 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev -- *Ayesha Dissanayaka* Software Engineer, WSO2, Inc : http://wso2.com http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg 20, Palmgrove Avenue, Colombo 3 E-Mail: aye...@wso2.com ayshsa...@gmail.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] Add Cassandra 1.2.13.wso2v4 into Orbit repository
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? Hasithad has provided an updated version of cassandra 1.2.13.wso2v5 and assume it would fail due to the same error. Please advice. On Tue, Oct 14, 2014 at 8:36 AM, Prabath Abeysekera praba...@wso2.com wrote: As it appears, 1.2.13.wso2v3 version of apache-cassandra-thrift dependency, which is something that Cassandra depends on, is not properly uploaded to the proper wso2-managed public repositories for some reason, causing the build to fail. Will fix this and let you know. Cheers, Prabath On Mon, Oct 13, 2014 at 12:06 PM, Prabath Abeysekera praba...@wso2.com wrote: Let me check on this and get back to you. Cheers, Prabath On Mon, Oct 13, 2014 at 12:05 PM, Maheshika Goonetilleke mahesh...@wso2.com wrote: Hi Prabath Release of cassandra-driver/1.0.5.wso2v was success. However the following error occurred while trying to release cassandra/1.2.13wso2v4; [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 1.177s [INFO] Finished at: Mon Oct 13 06:32:16 UTC 2014 [INFO] Final Memory: 7M/224M [INFO] [ERROR] Failed to execute goal on project apache-cassandra: Could not resolve dependencies for project org.apache.cassandra.wso2:apache-cassandra:bundle:1.2.13.wso2v4: The following artifacts could not be resolved: org.apache.cassandra:apache-cassandra:jar:1.2.13-wso2v3, org.apache.cassandra:apache-cassandra-thrift:jar:1.2.13-wso2v3: Failure to find org.apache.cassandra:apache-cassandra:jar:1.2.13-wso2v3 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced - [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project apache-cassandra: Could not resolve dependencies for project org.apache.cassandra.wso2:apache-cassandra:bundle:1.2.13.wso2v4: The following artifacts could not be resolved: org.apache.cassandra:apache-cassandra:jar:1.2.13-wso2v3, org.apache.cassandra:apache-cassandra-thrift:jar:1.2.13-wso2v3: Failure to find org.apache.cassandra:apache-cassandra:jar:1.2.13-wso2v3 in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210) at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117) at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project
Re: [Dev] Frequency extension for CEP - TopK Capacity and processing time relation
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 event vs processing time). According to the results, it seems we need to decide the most optimal TopK capacity for this. Common tests specs, Input event stream has 2 attributes (symbol and price). Symbol will be the selected attribute for frequency calculation. Client - 50 events within a for loop without a sleep time in between (to get the behaviour for maximum in-event stream rate). Calculating algorithm runs in a synchronised method. *TOPK_CAPACITY = 1* *Test Results,* *Average event processing time = 700.02 ms* *Processing time for all 50 events = 35001 ms* *[image: Inline image 2]* *TOPK_CAPACITY = 1000* *Test Results,* *Average event processing time = 296.68 ms* *Processing time for all 50 events = 14834 ms* *[image: Inline image 3]* *TOPK_CAPACITY = 500* *Test Results,* *Average event processing time = 3.88 ms* *Processing time for all 50 events = 194 ms* *[image: Inline image 4]* *TOPK_CAPACITY = 100* *Test Results,* *Average event processing time = 0.98 ms* *Processing time for all 50 events = 49 ms* *[image: Inline image 5]* According to the results, there is significant correlation between event processing time and TopK capacity. (TopK capacity represents the number of *distinct* attribute values for frequency consideration). Please suggest a suitable TopK Capacity value for a production environment. Make it configurable through siddhi query.. We can mention necessary recommended value through the documentation (or allow user to decide on that) Thanks, Mohan Then we can continue more testings changing some other parameters to find out the relations and best possible values. BR *Asok Aravinda Perera* Software Engineer WSO2, Inc.;http://wso2.com/ http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2Fsa=Dsntz=1usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ lean.enterprise.middleware Mobile: +94722241032 -- *V. Mohanadarshan* *Software Engineer,* *Data Technologies Team,* *WSO2, Inc. http://wso2.com http://wso2.com * *lean.enterprise.middleware.* email: mo...@wso2.com phone:(+94) 771117673 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev