Re: [Dev] Shall we implement transformation methods in claim API.

2017-03-14 Thread Pushpalanka Jayawardhana
On Wed, Mar 15, 2017 at 11:07 AM, Harsha Thirimanna wrote: > Yes, as you said, we have to provide a service by merging the dialect and > profile. We can provide different service for that and there will more > aggregate method that can be reusable in future. > +1. To avoid

Re: [Dev] Shall we implement transformation methods in claim API.

2017-03-14 Thread Harsha Thirimanna
Yes, as you said, we have to provide a service by merging the dialect and profile. We can provide different service for that and there will more aggregate method that can be reusable in future. On Wed, Mar 15, 2017 at 10:42 AM, Pushpalanka Jayawardhana wrote: > Hi Harsha, > >

Re: [Dev] Shall we implement transformation methods in claim API.

2017-03-14 Thread Pushpalanka Jayawardhana
Hi Harsha, Please find the comments inline. On Tue, Mar 14, 2017 at 4:32 PM, Harsha Thirimanna wrote: > Hi Lanka, > > Shall we implement these two methods also in claim service side by merging > dialect and profile ? > > public Set transformToNativeDialect(Set

Re: [Dev] GSoC 2017 - Proposal 20: [IS] OAuth 2.0 Dynamic Client Registration Management Protocol Support

2017-03-14 Thread Dinuksha Ishwari
Hi, When I was going through the code base, I observed that Nimbus and Apache Oltu libraries are used for the OAuth2.0 implementation. Could you kindly let me know what other libraries are used? Thanks, Dinuksha On Mon, Feb 27, 2017 at 9:51 AM, Dinuksha Ishwari < dinuksha.ishw...@gmail.com>

Re: [Dev] [GSOC][CEP][DEV] Idea Plugin for Siddhi

2017-03-14 Thread Sriskandarajah Suhothayan
Yes, that will be good. Regards Suho On Wed, Mar 15, 2017 at 8:02 AM, Nipuna Sankalpa < nipunasankalpa...@cse.mrt.ac.lk> wrote: > Thank you for your response. I went through some materials and found that > idea is not supporting for Antlr grammar file directly but there was plugin > which

Re: [Dev] [IS] Custom Password Grant Validator

2017-03-14 Thread Danushka Fernando
Seems all request parameters are send if its a custom grant type only. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Mar 15, 2017 at 9:49 AM, Danushka Fernando wrote: > Hi All > I followed [1] and tried

[Dev] [IS] Custom Password Grant Validator

2017-03-14 Thread Danushka Fernando
Hi All I followed [1] and tried to implement a custom pwd grant validator. I ran server in debug mode. My validator get called and the my custom param get added to the required params. And in the flow I see it till it goes to token endpoint. But when it comes to password grant handler request

Re: [Dev] [GSOC][CEP][DEV] Idea Plugin for Siddhi

2017-03-14 Thread Nipuna Sankalpa
Thank you for your response. I went through some materials and found that idea is not supporting for Antlr grammar file directly but there was plugin which allowed me to generate the required parser(from the given grammar file) for the implementation of plugin. So as first step I'll try to resolve

Re: [Dev] [DEV] GSoC 2017 - Real-Time Machine Learning Toolkit for Siddhi

2017-03-14 Thread Upul Bandara
Hi Kasun, Sounds good. Also, please start working on the project proposal as well. The proposal should be included following high-level sections and please feel free to add sub-sections as needed. 1. Description 2. Deliverables 3. Timeline 4. Implementation Thanks, Upul On Tue, Mar 14, 2017

Re: [Dev] GSOC : OAuth 2.0 Dynamic Client Registration Management Protocol Support

2017-03-14 Thread Maduranga Siriwardena
Hi Abilashini, We are glad to see your interest in doing GSoC with WSO2. The requirement of the project is to fully implement the Dynamic Client Registration Management Protocol [1]. The current implementation of Dynamic Client Registration is in repo [2] and particularly component in [3].

Re: [Dev] GSoC, Proposal 4: Idea Plugin for Siddhi

2017-03-14 Thread Sriskandarajah Suhothayan
Please google on this project title you can find some basic resources about this project in other emails at d...@wso2.com, which are shared based on other students request. Regards Suho On Wed, Mar 15, 2017 at 12:54 AM, Nur-Magomed wrote: > Hi! > > I’m Nur-Magomed Dzhamiev,

Re: [Dev] [GSOC][CEP][DEV] Python API for Siddhi CEP

2017-03-14 Thread Sriskandarajah Suhothayan
As the first step focus on building APIs such that we can write the following test case[1] in python. [1] https://github.com/wso2/siddhi/blob/master/modules/siddhi-samples/quick-start-samples/src/main/java/org/wso2/siddhi/sample/SimpleFilterSample.java Regards Suho On Tue, Mar 14, 2017 at 9:55

Re: [Dev] GSoC 2017 Project proposal 6: Eclipse plugin for Siddhi

2017-03-14 Thread Sriskandarajah Suhothayan
Ack. On Tue, Mar 14, 2017 at 5:14 PM, Udeshika Sewwandi < sewwandikaus...@cse.mrt.ac.lk> wrote: > Hi, > I have skipped the path with Xtext. I have already started implementing > using Antlr and I am on implementing the PoC for syntax highlighting and > content assistance(auto completion) for a

Re: [Dev] [GSOC][CEP] Atom Plugin for Siddhi

2017-03-14 Thread Sriskandarajah Suhothayan
Sorry for the late reply, On Tue, Mar 14, 2017 at 6:56 PM, Dimuth Menikgama wrote: > Hi, > I'm willing to develop a prototype for the above mentioned GSOC project. > Can you give me any suggestions on what things to try first in the plugin. > > Thank you. > >

Re: [Dev] [CEP] GSoC Project - Siddhi Extension Doc Auto Generation

2017-03-14 Thread Sriskandarajah Suhothayan
On Tue, Mar 14, 2017 at 7:38 PM, Nadun De Silva wrote: > Hi, > > Thank you for the response. I have researched a bit more and have few more > follow-up questions > > It will not be in the current Siddhi format, we are thinking of a plain >> HTML and MD files which can be part

[Dev] GSoC, Proposal 4: Idea Plugin for Siddhi

2017-03-14 Thread Nur-Magomed
Hi! I’m Nur-Magomed Dzhamiev, 4th year student from institute of information technology (major: computer security) of North-Caucasus Federal University (Russia). I have experience with Java, SQL, Web (HTML, CSS, JavaScript, PHP) and also I designed Android apps. I would love to contribute to the

Re: [Dev] GSOC 2017 - Siddhi Extension Doc Auto Generation

2017-03-14 Thread Sriskandarajah Suhothayan
We can't use JavaDocs but we have to generate something like JavaDoc with the help of the @Extension annotation that we use, we also have JavaDocs for documenting Java classes and that will not work in this case. The motivation is to document extensions such that its easy to refer what's supported

Re: [Dev] GSOC 2017 - Siddhi Extension Doc Auto Generation

2017-03-14 Thread Pushpitha Dilhan
Hi, I studied several ways on how to generate HTML documentation and I think javadoc will be an easy solution for generating Documentation HTML pages. I have studied how to do that using command line and have written an article with an example in [1]my blog. If we are going to use javadoc for

Re: [Dev] [UUF]Handling events of fragments

2017-03-14 Thread Manuranga Perera
> > Fragment is a self contained re usable component. I think its better to > have the all the front end logic related to the fragment inside that > fragment. > +1 On Tue, Mar 14, 2017 at 4:36 PM, Rajith Roshan wrote: > Hi > > On Tue, Mar 14, 2017 at 7:32 PM, Denuwanthi De

Re: [Dev] [UUF]Handling events of fragments

2017-03-14 Thread Rajith Roshan
Hi On Tue, Mar 14, 2017 at 7:32 PM, Denuwanthi De Silva wrote: > Hi, > > I'm currently rendering a fragment inside a page using > 'UUFClient.renderFragment' method. > Then I display it in the page using "{{#defineZone}} helper. > > This fragment contains a button. > When I

Re: [Dev] [UUF]Handling events of fragments

2017-03-14 Thread Manuranga Perera
Hi Denuwanthi, This is not a UUF related issue, this is how DOM works. To fix register listener to a higher node [1]. In the given sample they are using 'document', but as a best practice you should use the closest know parent, eg: parent div of the zone you are rendering the fragment into. For

Re: [Dev] [CEP] GSoC Project - Siddhi Extension Doc Auto Generation

2017-03-14 Thread Nadun De Silva
Hi, Thank you for the response. I have researched a bit more and have few more follow-up questions It will not be in the current Siddhi format, we are thinking of a plain > HTML and MD files which can be part of Siddhi Docs in Github. Then I think when the Mojo is executed, I should create the

[Dev] [UUF]Handling events of fragments

2017-03-14 Thread Denuwanthi De Silva
Hi, I'm currently rendering a fragment inside a page using 'UUFClient.renderFragment' method. Then I display it in the page using "{{#defineZone}} helper. This fragment contains a button. When I click that button I need to do an ajax call to a micro service. I make the ajax call inside the

[Dev] Fwd: [GSOC][CEP] Atom Plugin for Siddhi

2017-03-14 Thread Dimuth Menikgama
Hi, I'm willing to develop a prototype for the above mentioned GSOC project. Can you give me any suggestions on what things to try first in the plugin. Thank you. -- Forwarded message -- From: Dimuth Menikgama Date: 11 March 2017 at 19:49 Subject:

Re: [Dev] GSOC 2017 - Native inbound and connector for FTP/SFTP operations

2017-03-14 Thread Chanaka Lakmal
Hi Malaka, Sure. Thanks for the suggestion. I will see to it and get back to you. Thanks. Best Regards. *Chanaka Lakmal,* Undergraduate B.Sc.Eng.(Hons.) Department of Computer Science & Engineering, University of Moratuwa, Sri Lanka. [image: LinkedIn]

Re: [Dev] [MSF4J] Can we provide HTTP handler args in Interceptor level?

2017-03-14 Thread Malintha Amarasinghe
Thanks for the update Vidura! On Tue, Mar 14, 2017 at 3:50 PM, Vidura Nanayakkara wrote: > Hi Sanjeewa and Malintha, > > Myself and Azeez had a discussion on the discussed enhancement in MSF4J > and we agreed to deliver it. We will be releasing MSF4J along with this > change,

Re: [Dev] How to Wrap Java Exception in UUF

2017-03-14 Thread Gayan Gunawardana
I could able to get errorCode as well since cause.getTargetException() provide UserPortalUIException. On Tue, Mar 14, 2017 at 9:24 AM, Gayan Gunawardana wrote: > > > On Tue, Mar 14, 2017 at 9:17 AM, Ayesha Dissanayaka > wrote: > >> Hi, >> >> I think this[1] has

Re: [Dev] GSoC 2017 Project proposal 6: Eclipse plugin for Siddhi

2017-03-14 Thread Udeshika Sewwandi
Hi, I have skipped the path with Xtext. I have already started implementing using Antlr and I am on implementing the PoC for syntax highlighting and content assistance(auto completion) for a sample grammar file based on simple maths expressions for now. I will update about it in the near future.

Re: [Dev] WSO2 Committers += Lakshani Gamage

2017-03-14 Thread Chamalee De Silva
Congrats Lakshani !!! On Tue, Mar 14, 2017 at 12:32 PM, Harshan Liyanage wrote: > Congratz Lakshani > > Harshan Liyanage > EMM/IoT TG > Mobile: *+94765672894* > Email: hars...@wso2.com > Blog : http://harshanliyanage.blogspot.com/ > *WSO2, Inc. :** wso2.com

[Dev] Shall we implement transformation methods in claim API.

2017-03-14 Thread Harsha Thirimanna
Hi Lanka, Shall we implement these two methods also in claim service side by merging dialect and profile ? public Set transformToNativeDialect(Set otherDialectClaims, String claimDialect, Optional profile) { public Set transformToOtherDialect(Set nativeDialectClaims, String dialect,

Re: [Dev] [MSF4J] Can we provide HTTP handler args in Interceptor level?

2017-03-14 Thread Vidura Nanayakkara
Hi Sanjeewa and Malintha, Myself and Azeez had a discussion on the discussed enhancement in MSF4J and we agreed to deliver it. We will be releasing MSF4J along with this change, Carbon Metrics and Interceptors. We will let you know the ETA probably in this week. Thank you, Vidura Nanayakkara On

Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for FTP/SFTP operations

2017-03-14 Thread Hasitha Jayasundara
Hi Malaka, Thank you for the reply.The server part was an additional implementation I went through to get an understanding about client server programming in java using sockets.I'll study the links provided and let you know if there's any issue. Thanks On Tue, Mar 14, 2017 at 1:43 PM, Malaka

Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for FTP/SFTP operations

2017-03-14 Thread Malaka Silva
Hi Hasitha, Thank you for the explanation. But you have misunderstood the requirement. Basically the requirement is FTP / SFTP server will already exists and with the new connectors user should be able to access the files already exists in the server using ESB. What I see is you tried to

Re: [Dev] GSOC 2017 - Native inbound and connector for FTP/SFTP operations

2017-03-14 Thread Malaka Silva
Hi Chanaka, Can we also try the following? This is more optimized. [1] http://java-nio-ftp-library.soft112.com/ On Mon, Mar 13, 2017 at 5:04 PM, Chanaka Lakmal wrote: > Hi Malaka, > > I researched for the libraries that we can use for FTP/SFTP operations in > addition to

Re: [Dev] [IS] Returning to application with authentication failure state

2017-03-14 Thread Danushka Fernando
Managed to return to application with following. But still working on sending a response with this. I added this parameter to authenticator public boolean isMaxRetriesExceeded = false; Then I override the retryAuthenticationEnabled as follows. @Override protected boolean

Re: [Dev] [MSF4J] Can we provide HTTP handler args in Interceptor level?

2017-03-14 Thread Sanjeewa Malalgoda
Hi All, Appreciate your urgent attention on this as we are depend on this feature for our M2 release. Thanks, sanjeewa. On Thu, Mar 9, 2017 at 6:18 PM, Malintha Amarasinghe wrote: > Hi Azeez, > > We would be very grateful if you can review the suggested approach above > by

Re: [Dev] [DEV][APIM][C5] - Caching requirement for OAuth2 protected microservices

2017-03-14 Thread Rajith Roshan
+Azeez, +Kishanthan On Tue, Mar 14, 2017 at 12:57 PM, Harsha Thirimanna wrote: > Hi Rajith, > > Yes as Shani said, do we have any final decision to do this as a platform > level solution ? > > *Harsha Thirimanna* > *Associate Tech Lead | WSO2* > > Email: hars...@wso2.com >

Re: [Dev] [DEV][APIM][C5] - Caching requirement for OAuth2 protected microservices

2017-03-14 Thread Harsha Thirimanna
Hi Rajith, Yes as Shani said, do we have any final decision to do this as a platform level solution ? *Harsha Thirimanna* *Associate Tech Lead | WSO2* Email: hars...@wso2.com Mob: +94715186770 Blog: http://harshathirimanna.blogspot.com/ Twitter: http://twitter.com/harshathirimann Linked-In:

Re: [Dev] WSO2 Committers += Lakshani Gamage

2017-03-14 Thread Harshan Liyanage
Congratz Lakshani Harshan Liyanage EMM/IoT TG Mobile: *+94765672894* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.com * lean.enterprise.middleware. On Tue, Mar 14, 2017 at 11:43 AM, Menaka Jayawardena wrote: >

Re: [Dev] WSO2 Committers += Lakshani Gamage

2017-03-14 Thread Menaka Jayawardena
Congratz Lakshani! On Tue, Mar 14, 2017 at 9:42 AM, Rushmin Fernando wrote: > Hi All, > > It's my pleasure to welcome Lakshani Gamage as a WSO2 Committer. > > Lakshani had been a valuable contributor to the App Manager team and she > is currently a member of the IoT team. In

Re: [Dev] [IS] Returning to application with authentication failure state

2017-03-14 Thread Danushka Fernando
Hi Harsha What I wants to achieve is to return a failed response to application side with some failure details after no of failed attempts. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Tue, Mar 14, 2017 at 11:31 AM, Harsha

Re: [Dev] [IS] Returning to application with authentication failure state

2017-03-14 Thread Harsha Thirimanna
On Tue, Mar 14, 2017 at 11:07 AM, Danushka Fernando wrote: > Hi All > > I am trying to work on $subject. While looking in to $subject I found a > status in AuthenticatorFlowStatus class named FAIL_COMPLETED but we > haven't used it in the code. So even from the authenticator