Re: [Dev] Orbit bundle for shaded HBase client

2016-06-30 Thread Gokul Balakrishnan
Hi team, Kind reminder on the above. This is required for DAS and product analytics releases. Thanks, On 29 June 2016 at 18:24, Gokul Balakrishnan wrote: > Hi Kernel team, > > I have sent a pull request for $subject at [1]. > > This orbit bundle exposes packages from the

Re: [Dev] [API Store] Switching through Side Panes and them moving around while switching does not look cool

2016-06-30 Thread Joseph Fonseka
>From the experience we had thus far with the new store theme almost all the new users complained / mentioned about this behavior. But after some time they get used to it. On Fri, Jul 1, 2016 at 7:54 AM, Chamara Ariyarathne wrote: > Totally agree. and I'm not suggesting

Re: [Dev] [API Store] Switching through Side Panes and them moving around while switching does not look cool

2016-06-30 Thread Chamara Ariyarathne
Totally agree. and I'm not suggesting something like a T pattern or something. My concern is the Menu Items in the F moving around in a weird way. If those heat graphs in that article are true then I'm pretty sure the reader will get totally distracted by that action. On Fri, Jul 1, 2016 at 4:36

Re: [Dev] [API Store] Switching through Side Panes and them moving around while switching does not look cool

2016-06-30 Thread Dakshika Jayathilaka
Hi all, IMO this is the expected behavior for this type of menu. If the user view this page first time, they can see related menu options which are available and corresponding actions to each menu item will display within the action bar(next to the menu in same level). Intentionally we don't

Re: [Dev] Read Flat File with different file size

2016-06-30 Thread Júnior
Hi, I was able by using the CSVParser, setting the strict attribute to false. Thanks 2016-06-28 15:23 GMT-03:00 Júnior : > Hi, > > I have a flat file with 3 lines each one having a different size. > > I'd like to read it and insert each line in a different table. > > I was

Re: [Dev] BPS 3.5.1 sends emails with empty bodies

2016-06-30 Thread Amal Gunatilake
Hi Manu, According to the mail thread [1] discussion, it seems this is a potential bug in email task when message body configured in HTML format. I have created a jira ticket[2] to track this. Meanwhile as a workaround, using the text format body works. [1] Re: WSO2 BPS - Email Task [2]

[Dev] BPS 3.5.1 sends emails with empty bodies

2016-06-30 Thread Manuranga Perera
Hi Amal, 1) The doc [1] asks me to copy commons-email:jar:1.3 but the product already comes with 1.4 2) Even if I copy the jars, I still get emails with empty body, only with title. (emails are send with html bodies using ) [1] https://docs.wso2.com/display/BPS351/Working+with+the+Email+Task

[Dev] Streaming + accessing headers in interceptors does not work

2016-06-30 Thread Afkham Azeez
If you have an interceptor that reads headers combined with a service which does streaming input, the streaming will not happen. This can be seen in the pet store sample, fileserver service. The JWTSecurityInterceptor accesses the headers, so the content will not be received by the service. --

Re: [Dev] [APIM-2.0.0-Cluster] continuous PoolExhaustedException on APIM and keymanager node

2016-06-30 Thread Isabelle Mauny
Increasing the pool only makes it fail later.. The connections are not freed apparently. Who holds them ? Can't you see that in JMX console ? - *Isabelle Mauny* VP, Product Strategy - WSO2, Inc. - http://wso2.com/

Re: [Dev] Configure SSO for WSO2 products using WSO2 puppet modules

2016-06-30 Thread Imesh Gunaratne
Hi Akila, On Thu, Jun 30, 2016 at 5:52 PM, Akila Ravihansa Perera wrote: > ​ >>> [1] - https://wso2.org/jira/browse/PMODULES-1 >>> >> >> ​I do not think we need a JIRA for this task on Puppet Modules side as it >> is not released yet.​ >> > > I didn't get what you meant by

Re: [Dev] Configure SSO for WSO2 products using WSO2 puppet modules

2016-06-30 Thread Akila Ravihansa Perera
> > >> I have created relevant jiras in [1] and [2]. >> >> [1] - https://wso2.org/jira/browse/PMODULES-1 >> > > ​I do not think we need a JIRA for this task on Puppet Modules side as it > is not released yet.​ > I didn't get what you meant by this. We need to track this from Puppet side because

Re: [Dev] Enterprise Subscription + Default JWT implementation

2016-06-30 Thread Rushmin Fernando
Thanks Dinusha ! You are correct. In a typical enterprise subscription scenario we can set to true and move forward without zero changes. On Thu, Jun 30, 2016 at 5:03 PM, Dinusha Senanayaka wrote: > Hi Rushmin, > > If I remember correctly, we have two options in JWT

Re: [Dev] Enterprise Subscription + Default JWT implementation

2016-06-30 Thread Dinusha Senanayaka
Hi Rushmin, If I remember correctly, we have two options in JWT generation. If option is set to true then the claims are taken from SAML Response and populate the JWT. If that property is set to false, then we take the all claims from user store where it can cause the issue that you have

Re: [Dev] Difference in the ReadWriteLDAPUserStoreManager of Identity Server and API Manager

2016-06-30 Thread Ushani Balasooriya
+Pushpalanka On Thu, Jun 30, 2016 at 5:00 PM, Ushani Balasooriya wrote: > Hi Pushpalanka, > > Couldn't see this is fixed yet in API Manager 17-6-201 Nightly build pack > with kernel v4.4.6. Will it be available any sooner? > > > Thanks, > > On Thu, May 26, 2016 at 9:50 AM,

Re: [Dev] Difference in the ReadWriteLDAPUserStoreManager of Identity Server and API Manager

2016-06-30 Thread Ushani Balasooriya
Hi Pushpalanka, Couldn't see this is fixed yet in API Manager 17-6-201 Nightly build pack with kernel v4.4.6. Will it be available any sooner? Thanks, On Thu, May 26, 2016 at 9:50 AM, Darshana Gunawardana wrote: > Hi Shavantha, > > Please note that I have reduce the

Re: [Dev] Configure SSO for WSO2 products using WSO2 puppet modules

2016-06-30 Thread Imesh Gunaratne
On Thu, Jun 30, 2016 at 4:13 PM, Pubudu Gunatilaka wrote: > Hi, > > I have created relevant jiras in [1] and [2]. > > [1] - https://wso2.org/jira/browse/PMODULES-1 > ​I do not think we need a JIRA for this task on Puppet Modules side as it is not released yet.​ Thanks >

Re: [Dev] [APIM-2.0.0-Cluster] continuous PoolExhaustedException on APIM and keymanager node

2016-06-30 Thread Chalitha Waldeniyage
Carbon db is on local H2 all the other databases has pointed to the oracle (APIM,GOV,Conf,UM,MB.THROTTLE) On Thu, Jun 30, 2016 at 4:35 PM, Nuwan Dias wrote: > You're getting it for the H2 db right? How can it have so many > connections? Have you validated the datasources file

Re: [Dev] Enterprise Subscription + Default JWT implementation

2016-06-30 Thread Rushmin Fernando
[+ dev@] On Thu, Jun 30, 2016 at 4:41 PM, Rushmin Fernando wrote: > One thing we can do is, check whether the user is available using > userStoreManager.isExistingUser() method call before the line [1] > > > [1] >

Re: [Dev] [APIM-2.0.0-Cluster] continuous PoolExhaustedException on APIM and keymanager node

2016-06-30 Thread Nuwan Dias
You're getting it for the H2 db right? How can it have so many connections? Have you validated the datasources file to ensure the other datasources (APIM, Gov, UM) point to different DBs? On Thu, Jun 30, 2016 at 4:32 PM, Chalitha Waldeniyage wrote: > Hi All, > > I have set

Re: [Dev] [APIM-2.0.0-Cluster] continuous PoolExhaustedException on APIM and keymanager node

2016-06-30 Thread Chalitha Waldeniyage
Hi All, I have set the property as false in Gateway and Key manager components. Now i am unable to see the above mentioned error in key manager and gateway nodes. But it's continuously printing in publisher and Store nodes On Thu, Jun 30, 2016 at 3:16 PM, Chalitha Waldeniyage

Re: [Dev] [Architecture] Carbon Security Login Module - JWT 1.0.0 M1 Released

2016-06-30 Thread Rushmin Fernando
Omindu, is there some kind or documentation or a blog regarding the usage of this login module ? On Tue, Jun 14, 2016 at 6:12 PM, Omindu Rathnaweera wrote: > *Carbon Security Login Module - JWT 1.0.0 M1 Released* > > We are pleased to announce the 1st milestone release of

Re: [Dev] Configure SSO for WSO2 products using WSO2 puppet modules

2016-06-30 Thread Pubudu Gunatilaka
Hi, I have created relevant jiras in [1] and [2]. [1] - https://wso2.org/jira/browse/PMODULES-1 [2] - https://wso2.org/jira/browse/IDENTITY-4747 Thank you! On Thu, Jun 30, 2016 at 3:49 PM, Sanjaya Ratnaweera wrote: > Hi all, > > On Thu, Jun 30, 2016 at 3:34 PM, Akila

Re: [Dev] Configure SSO for WSO2 products using WSO2 puppet modules

2016-06-30 Thread Sanjaya Ratnaweera
Hi all, On Thu, Jun 30, 2016 at 3:34 PM, Akila Ravihansa Perera wrote: > Hi Pubudu, > > It's good that we fix this from Puppet side for now. But this should > ideally be fixed in the product. Shall we create a JIRA in the relevant > project and also create another JIRA in

Re: [Dev] Configure SSO for WSO2 products using WSO2 puppet modules

2016-06-30 Thread Akila Ravihansa Perera
Hi Pubudu, It's good that we fix this from Puppet side for now. But this should ideally be fixed in the product. Shall we create a JIRA in the relevant project and also create another JIRA in Puppet project to keep track of this? Thanks. On Thu, Jun 30, 2016 at 3:27 PM, Pubudu Gunatilaka

Re: [Dev] Configure SSO for WSO2 products using WSO2 puppet modules

2016-06-30 Thread Pubudu Gunatilaka
Hi Sanjaya, As per the suggestion we thought of doing the change in the puppet level to cater this requirement as it would be more cleaner for the users. Ideally this should be done in the configuration file. I have done the relevant changes in [1] and [2]. [1] -

Re: [Dev] [APIM-2.0.0-Cluster] continuous PoolExhaustedException on APIM and keymanager node

2016-06-30 Thread Chalitha Waldeniyage
Hi All, As i mentioned above, our cluster setup is running on 15th Beta pack. In that pack, we were unable find "startIndexing" property in registry.xml. But it's available on 17th pack. As per the offline chat with chandana, It will be o.k put that property and check. We will let you know

Re: [Dev] [APIM-2.0.0-Cluster] continuous PoolExhaustedException on APIM and keymanager node

2016-06-30 Thread Nuwan Dias
I updated the 2.0.0 tuning doc and mentioned to disable indexing on Gateways and Key Managers. On Thu, Jun 30, 2016 at 2:42 PM, Chandana Napagoda wrote: > Hi Chalitha, > > You can disable the indexing in the APIM GW and KM nodes by setting > "startIndexing" parameter as

Re: [Dev] [GSOC 16] Initial Project Progress

2016-06-30 Thread Osura Rathnayake
Hi Imesh, For the Log analytics, we can directly feed the logs if they are in .txt format. [1] [1] https://azure.microsoft.com/en-us/documentation/articles/log-analytics-data-sources-custom-logs/ thanks, On Thu, Jun 30, 2016 at 2:36 PM, Imesh Gunaratne wrote: > Hi Osura, > >

Re: [Dev] Deleting events from DAS

2016-06-30 Thread Anjana Fernando
Also, just to add for completeness, data in DAS analytics tables can be deleted using the CEP analytics event tables. There you can delete all or delete data on a conditional basis. Cheers, Anjana. On Thu, Jun 30, 2016 at 11:18 AM, Chathura Ekanayake wrote: > Can we delete

Re: [Dev] [APIM-2.0.0-Cluster] continuous PoolExhaustedException on APIM and keymanager node

2016-06-30 Thread Chandana Napagoda
Hi Chalitha, You can disable the indexing in the APIM GW and KM nodes by setting "startIndexing" parameter as false. This "startIndexing" parameter should be configured in the registry.xml file under "indexingConfiguration" section. Anyway, it's better to check the DB query execution time by

Re: [Dev] [APIM-2.0.0-Cluster] continuous PoolExhaustedException on APIM and keymanager node

2016-06-30 Thread Abimaran Kugathasan
Hi Chalitha, It's unlikely to happen that all allocated threads are exhausted. Increasing the value will solve the problem, but we need to find out why APIM takes these much threads. Do you see this continuously? On Thu, Jun 30, 2016 at 2:29 PM, Chalitha Waldeniyage wrote: >

Re: [Dev] [GSOC 16] Initial Project Progress

2016-06-30 Thread Imesh Gunaratne
Hi Osura, On Thu, Jun 30, 2016 at 12:10 PM, Osura Rathnayake wrote: > Hi Isuru, > > Is there a way to configure application server to get logs in .txt format > instead of .log format? > ​ C ​an you please explain the reason for this requirement? Thanks​ > thanks, > > On

Re: [Dev] [APIM-2.0.0-Cluster] continuous PoolExhaustedException on APIM and keymanager node

2016-06-30 Thread Chalitha Waldeniyage
Hi Abimaran, As per Danesh comment, I have increase the max active connection till 120. Still i am seeing this error printed continuously. Do we need to increase the value further [2016-06-30 08:58:28,802] ERROR - TransactionManager Failed to start new registry transaction.

Re: [Dev] [APIM-2.0.0-Cluster] continuous PoolExhaustedException on APIM and keymanager node

2016-06-30 Thread Abimaran Kugathasan
Hi Chalitha, Caused by: org.apache.tomcat.jdbc.pool.PoolExhaustedException: [pool-216-thread-7] Timeout: Pool empty. Unable to fetch a connection in 60 seconds, none available[size:50; busy:50; idle:0; lastwait:6]. >From the above logs, the problem lies with the database connection which has

Re: [Dev] [APIM-2.0.0-Cluster] continuous PoolExhaustedException on APIM and keymanager node

2016-06-30 Thread Chalitha Waldeniyage
Hi Danesh, Yes, We have done that on Registry,AM,UM,Conf,Gov databases up to 100 which are pointed to oracle database. But for the carbon db we didn't change it since it's local h2. Do we need to change it also? On Thu, Jun 30, 2016 at 1:34 PM, Danesh Kuruppu wrote: > Hi

Re: [Dev] [APIM-2.0.0-Cluster] continuous PoolExhaustedException on APIM and keymanager node

2016-06-30 Thread Danesh Kuruppu
Hi Chalitha, Can you increase the maxActive in Registry DB configuration. Seems like there are no available connections in tomcat jdbc pool. Please set this to 80 at least. Thanks Danesh On Thu, Jun 30, 2016 at 8:29 AM, Chalitha Waldeniyage wrote: > Hi All, > > We have

[Dev] [APIM-2.0.0-Cluster] continuous PoolExhaustedException on APIM and keymanager node

2016-06-30 Thread Chalitha Waldeniyage
Hi All, We have setup an API Manager cluster (beta 15th pack) fronted by nginx with following details. Publisher Two store nodes Gateway Cluster(one manager with two workers) IS as key manager(two node cluster) DB-Oracle 12c Userstore-Read/write ldap We have ran a long running test for some

Re: [Dev] Deleting events from DAS

2016-06-30 Thread Gihan Anuruddha
+1. AnalyticsDataService is an internal representation and can be changed with subsequent DAS versions. All the external parties must use public representation like AnalyticsDataAPI. On Thu, Jun 30, 2016 at 12:28 PM, Inosh Goonewardena wrote: > Hi, > > On Thu, Jun 30, 2016 at

Re: [Dev] Deleting events from DAS

2016-06-30 Thread Inosh Goonewardena
Hi, On Thu, Jun 30, 2016 at 12:15 PM, Gihan Anuruddha wrote: > We don't have a direct method to do this. But we can achieve this if you > have access to AnalyticsDataService instance. First, you need to call the > *search* method which will return list of SearchResultEntry list.

Re: [Dev] Deleting events from DAS

2016-06-30 Thread Gihan Anuruddha
We don't have a direct method to do this. But we can achieve this if you have access to AnalyticsDataService instance. First, you need to call the *search* method which will return list of SearchResultEntry list. Each SearchResultEntry will contain the id that satisfied the given search query,

Re: [Dev] [GSOC 16] Initial Project Progress

2016-06-30 Thread Osura Rathnayake
Hi Isuru, Is there a way to configure application server to get logs in .txt format instead of .log format? thanks, On Thu, Jun 30, 2016 at 10:24 AM, Isuru Haththotuwa wrote: > Hi Osura, > > If it supports syslog as an input source, you can use the syslog appender > [1]. > >

Re: [Dev] Deleting events from DAS

2016-06-30 Thread Chathura Ekanayake
Yes, requirement is to delete events using a filtering criteria (e.g. delete all events with processId=p1). One usecase is for testing. On Thu, Jun 30, 2016 at 11:30 AM, Inosh Goonewardena wrote: > Hi, > > On Thu, Jun 30, 2016 at 11:22 AM, Nirmal Fernando

Re: [Dev] Adding drill down capabilities to the Area Chart in IS Analytics Server Dashboard

2016-06-30 Thread Inosh Goonewardena
Hi Hasintha, Currently, we are not doing any region based summarizations for sessions. So at the moment we don't need this field in session stream. However if there is such requirement we can add it to the stream. Not only the region if there any other information that is useful related to

Re: [Dev] Adding drill down capabilities to the Area Chart in IS Analytics Server Dashboard

2016-06-30 Thread Hasintha Indrajee
Hi Inosh, Do we need this new field in session stream as well ? On Wed, Jun 29, 2016 at 3:13 PM, Nuwandi Wickramasinghe wrote: > Please find the public jira in [1] > > [1] https://wso2.org/jira/browse/IDENTITY-4739 > > On Wed, Jun 29, 2016 at 2:51 PM, Hasintha Indrajee

Re: [Dev] Deleting events from DAS

2016-06-30 Thread Inosh Goonewardena
Hi, On Thu, Jun 30, 2016 at 11:22 AM, Nirmal Fernando wrote: > You can schedule data purging > https://docs.wso2.com/display/DAS301/Purging+Data > Yes, we have per table and global data purging support in DAS. However, you cannot delete events by using filtering criteria OOTB.