Re: [Dev] [Vote] Release WSO2 Carbon Kernel 4.4.2 RC1

2015-09-24 Thread Johann Nallathamby
On Fri, Sep 25, 2015 at 11:16 AM, Darshana Gunawardana wrote: > Hi Indunil, > > On Fri, Sep 25, 2015 at 10:15 AM, Indunil Upeksha Rathnayake < > indu...@wso2.com> wrote: > >> Hi, >> >> The deadlock issue(https://wso2.org/jira/browse/MB-1326) come up in >> oracle and mssql when clearResourceAuthor

Re: [Dev] Build failed in Jenkins: carbon-deployment #717

2015-09-24 Thread Supun Malinga
Hi, Let's put -Xmx2048M -XX:MaxPermSize=512M On Fri, Sep 25, 2015 at 11:13 AM, Maheshika Goonetilleke wrote: > Hi Supun, > > This was added last evening. carbon-data and carbon-dashboards jobs build > successfully with the same configuration. > > We are adding this incrementally to the Jobs. >

Re: [Dev] [Vote] Release WSO2 Carbon Kernel 4.4.2 RC1

2015-09-24 Thread Darshana Gunawardana
Hi Indunil, On Fri, Sep 25, 2015 at 10:15 AM, Indunil Upeksha Rathnayake < indu...@wso2.com> wrote: > Hi, > > The deadlock issue(https://wso2.org/jira/browse/MB-1326) come up in > oracle and mssql when clearResourceAuthorizations where permissions are > deleted in UM_ROLE_PERMISSIONS, UM_USER_PER

Re: [Dev] Build failed in Jenkins: carbon-deployment #717

2015-09-24 Thread Maheshika Goonetilleke
Hi Supun, This was added last evening. carbon-data and carbon-dashboards jobs build successfully with the same configuration. We are adding this incrementally to the Jobs. On Fri, Sep 25, 2015 at 10:47 AM, Supun Malinga wrote: > > > On Fri, Sep 25, 2015 at 10:36 AM, Maheshika Goonetilleke < >

Re: [Dev] [DEV] [IS] [Oauth] Clarification on the issue with SAML2 bearer type accesstoken genaration

2015-09-24 Thread Kavitha Subramaniyam
Hi Maduranga, I have been checked with adding tenant domain at travelocity.properties as you mentioned above and access token has generated now. Appreciated for your help! Thanks & Kind regards, On Thu, Sep 24, 2015 at 9:51 PM, Maduranga Siriwardena wrote: > Hi Kavitha, > > By going through y

Re: [Dev] [ML] Accuracy Measure for Anomaly Detection?

2015-09-24 Thread Ashen Weerathunga
Thanks Dr. Ruvan and Supun for the suggestions! Yes Supun, In this scenario we consider a percentile value of all distances to identify the cluster boundary rather than just considering the max distance. Right now we are getting that percentile value from the user. yes, If we do calculate set of c

Re: [Dev] Build failed in Jenkins: carbon-deployment #717

2015-09-24 Thread Supun Malinga
On Fri, Sep 25, 2015 at 10:36 AM, Maheshika Goonetilleke wrote: > Hi SupunM > > The build is failing during sonar analysis. > > I have configured Jenkins with the following : -Xmx1024M > -XX:MaxPermSize=2048M > This is enough for carbon-deployment. Was the sonar analysis there previously or was

Re: [Dev] Build failed in Jenkins: carbon-deployment #717

2015-09-24 Thread Maheshika Goonetilleke
Hi SupunM The build is failing during sonar analysis. I have configured Jenkins with the following : -Xmx1024M -XX:MaxPermSize=2048M Please advice what is the best combination to be given. On Fri, Sep 25, 2015 at 8:34 AM, Supun Malinga wrote: > This is due to an OOM error. > > Caused by: java

[Dev] Fwd: Help ESB WSO2 (please)

2015-09-24 Thread Malaka Silva
Hi Sebastian, I will add you query to dev mail list so that we can help you quickly. I guess you are using WSO2 ESB 4.8.1? If so please try using latest ESB (4.9.0) Most of the issues related to this nature is fixed in latest version. [1] http://wso2.com/products/enterprise-service-bus/ 015-09

Re: [Dev] Finding the feature that pack a particular bundle

2015-09-24 Thread Nuwan Pallewela
Hi Maduranga, I also wanted this some time back. I could not find any way to do it using osgi console. So what I did was grep the source code folder which contains the .pom files. grep -r "bundle_name" . Thanks, Nuwan On Wed, Sep 23, 2015 at 12:37 PM, Thusitha Thilina Dayaratne < thusit...@wso2

[Dev] [BPS 3.5.0] QA Cycle

2015-09-24 Thread Chathurika De Silva
Hi For BPS 3.5.0 following sections will be tested. Please note that this will be a non release oriented test. 1. BPEL 2. BPMN 3. BPMN Explorer (new feature in 3.5.0) 4. Human Tasks 5. Human Task Explorer (new feature in 3.5.0) 6. Migration from 3.2.0 to 3.5.0 7. Performance 8. Provided patches

Re: [Dev] [Vote] Release WSO2 Carbon Kernel 4.4.2 RC1

2015-09-24 Thread Indunil Upeksha Rathnayake
Hi, The deadlock issue(https://wso2.org/jira/browse/MB-1326) come up in oracle and mssql when clearResourceAuthorizations where permissions are deleted in UM_ROLE_PERMISSIONS, UM_USER_PERMISSIONS and UM_PERMISSION tables through one transaction. The fix would be using cascade delete for above tabl

Re: [Dev] Regard Authorization token to BE

2015-09-24 Thread Sanjeewa Malalgoda
No vanji, currently there is no possible way of doing this per API. If you need only option is remove it using custom sequence(enable sending in global level and remove it per API). Thanks, sanjeewa. On Fri, Sep 25, 2015 at 4:24 AM, Vanjikumaran Sivajothy wrote: > Hi team, > > AFAIK, false valu

Re: [Dev] [UX] [Carbon-jira] [jira] (IDENTITY-3528) Error while adding datepicker for selecting date range with jquery 1.6.0

2015-09-24 Thread Chamila Wijayarathna
Hi Dakshika,' The issue can be reproduced in IS-5.1.0-alpha pack which can be downloaded from [1]. The jsp page relevant to this issue is at [2]. I have described how the issue can be reproduced at the above jira [3]. Please let me know if you need any further details on this. Thanks 1. https:/

Re: [Dev] WSO2 Committers += Kathees Rajendram

2015-09-24 Thread Elilmatha Sivanesan
Congratulations Kathees :) On Thu, Sep 24, 2015 at 9:46 PM, Viraj Senevirathne wrote: > congratz Kathees > > On Thu, Sep 24, 2015 at 9:32 PM, Keerthika Mahendralingam < > keerth...@wso2.com> wrote: > >> Congratulations Kathees :) >> >> On Thu, Sep 24, 2015 at 9:31 PM, Malaka Silva wrote: >> >>

Re: [Dev] Build failed in Jenkins: carbon-deployment #717

2015-09-24 Thread Supun Malinga
This is due to an OOM error. Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded @Maheshika, How much memory have we allocated for this project? On Fri, Sep 25, 2015 at 2:12 AM, wrote: > See > > --

Re: [Dev] [UX] [Carbon-jira] [jira] (IDENTITY-3528) Error while adding datepicker for selecting date range with jquery 1.6.0

2015-09-24 Thread Dakshika Jayathilaka
Hi Chamila, Yes we can help you on this. Can you share latest pack and other relevant information. Regards, *Dakshika Jayathilaka* PMC Member & Committer of Apache Stratos Senior Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Thu, Sep 24, 2015 at 5:04 PM, Chamila Wijayara

[Dev] Regard Authorization token to BE

2015-09-24 Thread Vanjikumaran Sivajothy
Hi team, AFAIK, false value in api-manager.xml property "RemoveOAuthHeadersFromOutMessage" will allow the calls to send the Authorization BE. However, is there anyway to restrict to certain APIs? -- Vanjikumaran Sivajothy *Associate Technical Lead* *WSO2 Inc. http://wso2.com

Re: [Dev] [CEP] "order by" clause in SiddhiQL

2015-09-24 Thread Sriskandarajah Suhothayan
I think this can be achieved using https://docs.wso2.com/display/CEP400/Inbuilt+Windows#InbuiltWindows-sortsort As this will collect sort and output the max or min value. Suho On Thu, Sep 24, 2015 at 9:58 PM, Maheshakya Wijewardena wrote: > An approach to do this is: first group by each result

Re: [Dev] [CEP] "order by" clause in SiddhiQL

2015-09-24 Thread Maheshakya Wijewardena
> > An approach to do this is: first group by each result, then order by the > descending order of the count of each result and finally retrieving the > first entry from that. > Sorry, the approach should be as follows: First group by result, then order by the descending order of the count of each

Re: [Dev] [CEP] "order by" clause in SiddhiQL

2015-09-24 Thread Maheshakya Wijewardena
Hi Lasantha, Thank you for the references. What I want to is something similar to the following: Suppose you have an input stream and there are multiple number of processing logics. Each logic will generate a result after consuming the events the stream. What I'm trying to do is obtaining the mo

Re: [Dev] [DEV] [IS] [Oauth] Clarification on the issue with SAML2 bearer type accesstoken genaration

2015-09-24 Thread Maduranga Siriwardena
Hi Kavitha, By going through your configurations in travelocity.properties , I noticed few missing and incorrect configurations. #OAuth2 token endpoint URL OAuth2.TokenURL=https://localhost:9443/oauth2/token?tenantDomain=test.com #Additional request parameters QueryParams=tenantDomain=test.com

Re: [Dev] WSO2 Committers += Kathees Rajendram

2015-09-24 Thread Viraj Senevirathne
congratz Kathees On Thu, Sep 24, 2015 at 9:32 PM, Keerthika Mahendralingam < keerth...@wso2.com> wrote: > Congratulations Kathees :) > > On Thu, Sep 24, 2015 at 9:31 PM, Malaka Silva wrote: > >> Hi Devs, >> >> Its my pleasure to welcome Kathees Rajendram as a WSO2 Committer. >> >> Kathees has be

Re: [Dev] WSO2 Committers += Kathees Rajendram

2015-09-24 Thread Keerthika Mahendralingam
Congratulations Kathees :) On Thu, Sep 24, 2015 at 9:31 PM, Malaka Silva wrote: > Hi Devs, > > Its my pleasure to welcome Kathees Rajendram as a WSO2 Committer. > > Kathees has been a key member of the Platform Extensions Team (Earlier > Connector Team) contributing immensely to many aspects ESB

[Dev] WSO2 Committers += Kathees Rajendram

2015-09-24 Thread Malaka Silva
Hi Devs, Its my pleasure to welcome Kathees Rajendram as a WSO2 Committer. Kathees has been a key member of the Platform Extensions Team (Earlier Connector Team) contributing immensely to many aspects ESB Connectors, IS Connectors and ESB product development ever since he joined us. In recognitio

Re: [Dev] [CEP] "order by" clause in SiddhiQL

2015-09-24 Thread Lasantha Fernando
Hi Maheshakya, Ordering of events for real-time analytics need to be done within a time frame or an event frame. Siddhi does have a sort window processor that can be used to sort events within the window itself. You can find the documentation at [1] or refer to our test cases at [2]. If you can d

[Dev] problem in integrating g-reg with svn

2015-09-24 Thread Akila Nimantha [IT/EKO/LOITS]
Hi all, I want to know if the SCM configuration in the registry.xml of wso2 governance registry allows to synchronize with the subversion repository. I used below SCM code in registry.xml, but it's not working. There is no specific server log in registry carbon log. [cid:image001.png@01D0F6F6.

Re: [Dev] [ML] Accuracy Measure for Anomaly Detection?

2015-09-24 Thread Supun Sethunga
> > ...test data according to the percentile value that user provided. Sorry I missed this part. If so, can't we not ask the user the percentile, but instead create the ROC and let him decide the best percentile looking at the ROC? On Thu, Sep 24, 2015 at 10:26 AM, Supun Sethunga wrote: > Hi A

Re: [Dev] [ML] Accuracy Measure for Anomaly Detection?

2015-09-24 Thread Supun Sethunga
Hi Ashen, In probabilistic models, what we do is, compare the predicted output of a new data-point, against a cutoff probability, to decide which class it belongs to. And this cutoff probability is decided by the user, hence has the freedom to change from 0 to 1. So for a set of newly-arrived data

[Dev] [CEP] "order by" clause in SiddhiQL

2015-09-24 Thread Maheshakya Wijewardena
Hi, Does SiddhiQL support "ORDER BY" statement? I couldn't find that in the documentation[1]. Best regards, [1] https://docs.wso2.com/display/CEP400/SiddhiQL+Guide+3.0 -- Pruthuvi Maheshakya Wijewardena Software Engineer WSO2 : http://wso2.com/ Email: mahesha...@wso2.com Mobile: +94711228855 _

[Dev] [UX] [Carbon-jira] [jira] (IDENTITY-3528) Error while adding datepicker for selecting date range with jquery 1.6.0

2015-09-24 Thread Chamila Wijayarathna
Hi Dakshika/ UX-team, We are having the issue mentioned in IDENTITY-3525, this is a blocker for IS 5.1.0 release. Can someone from UX team look into this ASAP? Thanks -- Forwarded message -- From: Chamila Wijayarathna (JIRA) Date: Fri, Aug 21, 2015 at 4:29 PM Subject: [Carbon-j

[Dev] WSO2 Committers += Milan Harindu Perera

2015-09-24 Thread Prabath Abeysekera
Hi Everyone, It's my pleasure to welcome Milan Harindu Perera as a WSO2 Committer. Milan has been a key member of the EMM/CDM-F team contributing immensely to many aspects of product development ever since he joined us. In recognition of his contributions, ownership shown towards the tasks/respon

Re: [Dev] [Identity] traveolcity.com app doesn't redirect to Facebook login page.

2015-09-24 Thread Lakshani Gamage
Hi Hasanthi & Tharindu, Thanks for the quick response. Regards, Lakshani On Thu, Sep 24, 2015 at 3:19 PM, Tharindu Edirisinghe wrote: > Hi Lakshani, > > I tested the same and it is working. I have attached the screenshots of > the config I used. Can you try it and confirm. > > Regards, > Thari

[Dev] [DEV] [IS] [Oauth] Clarification on the issue with SAML2 bearer type accesstoken genaration

2015-09-24 Thread Kavitha Subramaniyam
Hi team, I have tried SAML bearer in tenant mode and it is failing for signature validation. I have followed below steps to produce this: - SP created for travelocity.com and an app for oauth(here myapp2) - Exported public certificate of the private key used at webapp side (here wso2carbon.cer) a

Re: [Dev] [Identity] traveolcity.com app doesn't redirect to Facebook login page.

2015-09-24 Thread Hasanthi Purnima Dissanayake
Hi Lakshani, In IS-5.1.0 when you are adding FB as a federated authenticator you need to enter comma-separated user information fields you want to retrieve in 'User Information Fields' textbox. By using this parameter IS sends a query param named 'feilds' to Facebook. Though the previous FB API ve

Re: [Dev] [AF] Error while creating a version for existing application.

2015-09-24 Thread Kasun De Silva
Hi Amalka, According to the registry team this could be possibly fix with the following change into the RxtManager. Is this intermittent? Can you reproduce this regularly? This should be reproducible in our local setups right? Is so please patch the appfactory.core with the diff provided, and tes

[Dev] [Identity] traveolcity.com app doesn't redirect to Facebook login page.

2015-09-24 Thread Lakshani Gamage
Hi Devs, Following steps in [1], I tried login to travelocity.com app using facebook credentials. I followed the all the steps in the document correctly. But travelocity.com app doesn't redirect to Facebook login page. IS server version and facebook API version are mentioned in below. *IS server

Re: [Dev] [AF] Call a same method simultaneously like BPS

2015-09-24 Thread Samith Dassanayake
Hi Lahiru, Working with the Thread class can be very tedious and error-prone. The executor framework has protection against crashed runnables and automatically re-create worker threads . On the other hand, as Ruwan has mentioned, it gives much more control to the programmer. therefore going with e

Re: [Dev] [carbon-kernel-5.0.0] Carbon stop command not working in sh script

2015-09-24 Thread Kasun Indrasiri
Thanks a lor Anura. @Bhanuka : Can we please test this. On Wed, Sep 23, 2015 at 12:36 PM, Aruna Karunarathna wrote: > @Kasun > > This is fixed with [1]. > > [1]. https://github.com/wso2/carbon4-kernel/pull/504 > > > On Wed, Sep 23, 2015 at 10:01 AM, Aruna Karunarathna > wrote: > >> >> >> On We

Re: [Dev] Creating user Define Functions in spark-sql

2015-09-24 Thread Isuru Wijesinghe
Hi Thanuja, Thanks a lot. It is really helpful :) On Thu, Sep 24, 2015 at 2:25 PM, Thanuja Uruththirakodeeswaran < thanu...@wso2.com> wrote: > Hi Isuru, > > Yes, it is not possible to query date directly from spark-sql. I also had > a requirement to get current time when executing a query in spa

Re: [Dev] Creating user Define Functions in spark-sql

2015-09-24 Thread Thanuja Uruththirakodeeswaran
Hi Isuru, Yes, it is not possible to query date directly from spark-sql. I also had a requirement to get current time when executing a query in spark ( similar to mysql NOW()) and formatting a timestamp which is in milli-second to some data format. You can write User Defined Function(UDF) in spar

[Dev] How do I override Siddhi's default sequence and pattern matching functionality?

2015-09-24 Thread Jonathan Yom-Tov
hi, I'd like to write an extension to Siddhi that changes the way it finds event sequences and patterns. The idea would is that I would be trying to find sequences/patterns in order of selectivity, not time. For example, say I wanted to match A->B->C, but I know that C is the rarest event, followe

Re: [Dev] identical pages in documentation

2015-09-24 Thread Shavantha Weerasinghe
Hi Jonathan Thanks for pointing this out will inform the documentation team to make the required changes regards, Shavantha Weerasinghe Senior Software Engineer QA WSO2, Inc. lean.enterprise.middleware. http://wso2.com http://wso2.org Tel : 94 11 214 5345 Fax :94 11 2145300 On Wed, Sep 23, 201

[Dev] Creating user Define Functions in spark-sql

2015-09-24 Thread Isuru Wijesinghe
Hi, I was trying to query on process and task instance data using spark-sql which published from BPMNDataPublisher to the DAS. Here I need to convert the date string (eg: Thu Sep 24 09:35:56 IST 2015) into one of the datetime format that allows in spark. I think it is not possible to query date di

Re: [Dev] [AF] Call a same method simultaneously like BPS

2015-09-24 Thread Ruwan Abeykoon
Hi Lahiru, I would go for option 1 (Concurrent Framework) as it gives much more control to the programmer e.g. 1. Thread pooling, how many threads can be active etc, 2. Better blocking mechanism than Trhead.join(), which blocks the caller thread. We can make things totally asynchronous by creating