Re: [Architecture] [IS] Regenerating client secret/key and revoking an oauth app in OAuth 2.0 implementation

2016-06-02 Thread Farasath Ahamed
Hi Indunil, In a case of client_secret being revealed wouldn't it be sufficient only to regenerate the client_key without regenerating the consumer key? In Google API console I have noticed that you only have the option to reset the client secret of an OAuth application. If you want to regenerate

[Architecture] [IS] Regenerating client secret/key and revoking an oauth app in OAuth 2.0 implementation

2016-06-02 Thread Indunil Upeksha Rathnayake
Hi, I am working on [1] for implementing regeneration of client secret/key of an oauth app and revocation of an oauth app for the next milestone release of Identity Server. Appreciate your feedbacks on the following approaches I have taken. A trusted client would need to update the client

Re: [Architecture] [IS] Regenerating client secret/key and revoking an oauth app in OAuth 2.0 implementation

2016-06-02 Thread Indunil Upeksha Rathnayake
Hi, I am working on implementing regeneration of client secret/key of an oauth app and revocation of an oauth app for the next milestone release of Identity Server. Appreciate your feedbacks on the following approaches I have taken. A trusted client would need to update the client secret/key, in

Re: [Architecture] BPMN - Bulk Task Reassignment, Substitution feature

2016-06-02 Thread Nandika Jayawardana
Shall we provide a UI from bpmn explorer for the user substitution. We should also provide the capability to view a substitute defined for a given user. So we need to introduce the substitute lookup API as well. Shall we define a permission for the substitute operation as well. In case the user

Re: [Architecture] Data Bridge Agent Publisher for C5 products

2016-06-02 Thread Isuru Perera
Hi Suho, In Metrics, I have written the DAS Reporter using the data publisher. Do you think I should change the implementation to use an HTTP client? We also need to release Metrics soon. So, if we are going to change the implementation, we need to decide soon. However I think it'll have an

Re: [Architecture] [IS] User Challenge question Internationalization

2016-06-02 Thread Harsha Thirimanna
I think, Farasath was suggesting to have simple framework to manage resource based on different languages and then it can be used to the Email feature as well and in future. As I understood, you are going to provide some extension points to manage resource without tiddly couple with registry when

Re: [Architecture] [IS] User Challenge question Internationalization

2016-06-02 Thread Kasun Bandara
Hi Farasath, I guess you can follow the same implementation flow we have followed when we developing the Email Internationalization feature. Can i know what is the current implementation with respect to registry persistence of Challenge Questions. For example check whether how corresponding

Re: [Architecture] SMPP Connector for ESB

2016-06-02 Thread Biruntha Gnaneswaran
Adding Malaka Biruntha Associate Software Engineer WSO2 Email : birun...@wso2.com On Thu, Jun 2, 2016 at 11:41 AM, Biruntha Gnaneswaran wrote: > Hi All, > > I have planned to implement $subject as described below, > > SMPP (Short Message Peer to Peer) protocol [1] is an

Re: [Architecture] [IS] User Challenge question Internationalization

2016-06-02 Thread Harsha Thirimanna
forward to architecture...​ *Harsha Thirimanna* Associate Tech Lead; WSO2, Inc.; http://wso2.com * * *email: **hars...@wso2.com* * cell: +94 71 5186770 * *twitter: **http://twitter.com/ * *harshathirimannlinked-in: **http:

Re: [Architecture] Data Bridge Agent Publisher for C5 products

2016-06-02 Thread Sinthuja Ragendran
Hi, On Thu, Jun 2, 2016 at 3:18 PM, Sriskandarajah Suhothayan wrote: > Are we going to use data bridge in C5 ? > C5 have Netty based transports, cant we use one of them to publish events > to DAS, since DAS have the capability to receiving from any transport > protocol via

Re: [Architecture] [DS] Gadget Generation from REST API

2016-06-02 Thread Sriskandarajah Suhothayan
Looks good please proceed. For your point #2 don't store the token in files but rather keep that in memory. Regards Suho On Wed, Jun 1, 2016 at 10:19 PM, Geesara Prathap wrote: > Hi All, > > I am to implement a new data provider which requires getting data from > some third

[Architecture] [APIM] CEP Based Throttling Implementation - Non clustered mode for MB Components

2016-06-02 Thread Amila De Silva
Hi All, APIM 2.0.0 will have a new profile named Decision Engine , which will be solely used for determining whether a request is throttled out or not and to propagate that decision across a Gateway cluster. Decision engine is nothing more than CEP and MB components bundled into a single

Re: [Architecture] Data Bridge Agent Publisher for C5 products

2016-06-02 Thread Sriskandarajah Suhothayan
Are we going to use data bridge in C5 ? C5 have Netty based transports, cant we use one of them to publish events to DAS, since DAS have the capability to receiving from any transport protocol via extensions this will not be a problem. In my opinion we should not be depending on data publisher as

Re: [Architecture] [CEP] Extending the Regression Function to support time window

2016-06-02 Thread Charini Nanayakkara
Noted with thanks. Will proceed with the implementation likewise. Charini On Thu, Jun 2, 2016 at 2:28 PM, Sriskandarajah Suhothayan wrote: > I think having batchSize & duration will be good as this will limit the > number of events considered, this can help to improve

Re: [Architecture] Data Bridge Agent Publisher for C5 products

2016-06-02 Thread Kishanthan Thangarajah
A separate point to note. Thinking along the AS 6.0 and C5 aspect, what we need is a library, where we could use that in both OSGi env and non-OSGi environments. It should not have any direct dependency on carbon API's. Currently, with AS 6.0, we are using the data publisher from C4 without any

Re: [Architecture] [CEP] Extending the Regression Function to support time window

2016-06-02 Thread Sriskandarajah Suhothayan
I think having batchSize & duration will be good as this will limit the number of events considered, this can help to improve performance as well. Suho On Thu, Jun 2, 2016 at 1:59 PM, Charini Nanayakkara wrote: > Hi Tishan, > > For my requirement, having time window alone is

Re: [Architecture] [CEP] Extending the Regression Function to support time window

2016-06-02 Thread Charini Nanayakkara
Hi Tishan, For my requirement, having time window alone is adequate. So your point might be valid. However I'm concerned of the re-usability of the extension. @Srinath, WDYT? Which would be the better option? Having a single implementation or two different ones? Thanks On Thu, Jun 2, 2016 at

Re: [Architecture] [CEP] Extending the Regression Function to support time window

2016-06-02 Thread Tishan Dahanayakage
Charini, My knowledge on the on this domain is sparse. Hence I do not know whether a scenario where time AND length is a valid business case. If it is a valid business case +1 for the design including both parameters in same implementation. Thanks /Tishan On Thu, Jun 2, 2016 at 12:54 PM,

Re: [Architecture] Data Bridge Agent Publisher for C5 products

2016-06-02 Thread Isuru Perera
Hi, On Thu, Jun 2, 2016 at 1:10 PM, Sinthuja Ragendran wrote: > Hi IsuruP, > > Please find the comments inline. > > On Thu, Jun 2, 2016 at 12:18 PM, Isuru Perera wrote: > >> Hi, >> >> This is regarding $subject and the main problem we have is that there is

Re: [Architecture] Carbon 5 based message broker analytics design

2016-06-02 Thread Indika Sampath
Hi Shammi, As you said ESB and MB analytics developing as features where we build analytics product with DAS features. Artifacts (dashboard design, gadgets, event receivers, execution plan) bundle as car file in the feature. Installation of feature copies necessary artifacts to the relevant

Re: [Architecture] BPMN - Bulk Task Reassignment, Substitution feature

2016-06-02 Thread Frank Leymann
Fantastic! Thanks! Best regards, Frank 2016-06-02 5:21 GMT+02:00 Vinod Kavinda : > Hi Frank, > Yes, the determining of users as substitutes will be a transitive process. > > Regards, > Vinod > > On Wed, Jun 1, 2016 at 10:48 PM, Frank Leymann wrote: > >> Hi

Re: [Architecture] Data Bridge Agent Publisher for C5 products

2016-06-02 Thread Sinthuja Ragendran
Hi IsuruP, Please find the comments inline. On Thu, Jun 2, 2016 at 12:18 PM, Isuru Perera wrote: > Hi, > > This is regarding $subject and the main problem we have is that there is > no Carbon 5 compatible feature for data bridge agent. > Data bridge agent publisher is not

Re: [Architecture] Back channel authentication for IS 5.3.0

2016-06-02 Thread Johann Nallathamby
Hi Shariq, Do we have any changes to the framework component? I don't think right? Its just the custom grant extension and the JWT authenticator extension you have written. In that case these can go to separate repo and be released as extensions to IS. If so we can even get this working with IS

Re: [Architecture] [CEP] Extending the Regression Function to support time window

2016-06-02 Thread Charini Nanayakkara
Hi Tishan, Yes. Assuming batch size is 5 and time window is 20 mins, only 5 out of 10 events which arrive within last 5 mins would be processed due to batch size constraint (even though all events must be processed if time alone was considered). Having separate implementations would work on the

Re: [Architecture] Back channel authentication for IS 5.3.0

2016-06-02 Thread Muhammed Shariq
Hi folks, As Prabath mentioned, we have implemented back channel authentication for using Extensions. The approach we have used is, we use the commonAuthId cookie which is issued to *.cloud.wso2.com. The back channel authentication flow is as follows; 1. Before we redirect to IdP, we check if

Re: [Architecture] [DS] Gadget Generation Framework

2016-06-02 Thread Dunith Dhanushka
Hi all, Apart from the default JDBC provider shipped with the wizard, there are other data providers implemented specific to analytical data sources (DAS/CEP). 1. Batch data provider (polls data from tables stored in DAS) 2. Realtime data provider (subscribes to a web socket in DAS/CEP and

[Architecture] WSO2 Carbon-Cashing 1.0.0 Released

2016-06-02 Thread Nipuni Perera
WSO2 Carbon-Caching 1.0.0 Released The Carbon team is pleased to announce the release of Carbon-Caching 1.0.0. Carbon-Caching 1.0.0 implements the JSR 107 (JCache) 1.0 specification. Installing as a Feature You may install carbon-caching feature to your product with: org.wso2.carbon.caching

[Architecture] Data Bridge Agent Publisher for C5 products

2016-06-02 Thread Isuru Perera
Hi, This is regarding $subject and the main problem we have is that there is no Carbon 5 compatible feature for data bridge agent. Since Data Bridge Agent is already an OSGi bundle, we can use it within C5 products. But we have to include it with some feature. For example, Carbon Metrics needs

Re: [Architecture] [CEP] Extending the Regression Function to support time window

2016-06-02 Thread Tishan Dahanayakage
​Charini, What happens when you have 10 events within last 5 mins and your batch size is 5. Do you get the latest 5 out of the 10? Both time and length are defining ceiling here. So if we are having to different parameters defining ceilings ​there needs to be precedence. IMO it will be better if

[Architecture] SMPP Connector for ESB

2016-06-02 Thread Biruntha Gnaneswaran
Hi All, I have planned to implement $subject as described below, SMPP (Short Message Peer to Peer) protocol [1] is an open, industry standard protocol designed to provide a flexible data communications interface for transfer of short message data between a Message Center, such as a Short Message