Re: [Dev] API-Proxy for Single Page Application

2017-11-17 Thread Thilina Madumal
Actually in our case the requests to third-party APIs the we get would look like the following, https://wso2.is:9443/oauth_proxy/api_proxy?code="appIdCode"="get name:name,age:18,city:colombo from https://some.third.party.api.com; https://wso2.is:9443/oauth_proxy/api_proxy?code="appIdCode"="post

Re: [Dev] Self Contained Access Tokens in IS 5.4.0

2017-11-17 Thread Johann Nallathamby
Hi Farasath, On Fri, Nov 17, 2017 at 5:35 PM, Farasath Ahamed wrote: > > On Fri, Nov 17, 2017 at 3:23 PM, Johann Nallathamby > wrote: > >> Self contained JWT's may get quite large and if we set it as the default >> size in the script, for users who are not

Re: [Dev] Self Contained Access Tokens in IS 5.4.0

2017-11-17 Thread Isura Karunaratne
On Fri, Nov 17, 2017 at 1:35 PM, Isura Karunaratne wrote: > Hi all, > > Currently, ACCESS_TOKEN column length is defined as 512 [1] which is not > enough to store self-contained access token [2]. > > Shall we increase the column size by default? > > Thanks > Isura. > > > [1] >

Re: [Dev] API-Proxy for Single Page Application

2017-11-17 Thread Thilina Madumal
Hi all, While researching I found the yahoo provides an API proxy service and it adopts SQL like language. Please see [1]. In our implementation, we also can adopt the same. For an example from the SPA it just need to send a query parameter like [2] If so a request from SPA to our APIProxy will

Re: [Dev] Self Contained Access Tokens in IS 5.4.0

2017-11-17 Thread Farasath Ahamed
On Fri, Nov 17, 2017 at 3:23 PM, Johann Nallathamby wrote: > Self contained JWT's may get quite large and if we set it as the default > size in the script, for users who are not using self contained JWT also it > is going to consume large space in the database. > > Did we think

Re: [Dev] Siddhi: carbon context not initialized for trigger in execution plan

2017-11-17 Thread Charitha Goonetilleke
Hi Grainier, Thank you for the prompt help. As per the discussion we had offline, I had separate out above execution plan in to two plans as follows: *Plan 1* @Export('timer.stream:1.0.0') define stream timeStream (user string, type string); define trigger cronTriggerStream at '0 * * ? * *' ;

[Dev] Fwd: Anomaly Detection in JIra Using CEP

2017-11-17 Thread Isham Mohamed
-- Forwarded message -- From: Isham Mohamed Date: Fri, Nov 17, 2017 at 2:34 PM Subject: Anomaly Detection in JIra Using CEP To: d...@wso2.com Cc: Sriskandarajah Suhothayan , Tishan Dahanayakage < tis...@wso2.com>, Srinath Perera

Re: [Dev] Self Contained Access Tokens in IS 5.4.0

2017-11-17 Thread Johann Nallathamby
Self contained JWT's may get quite large and if we set it as the default size in the script, for users who are not using self contained JWT also it is going to consume large space in the database. Did we think about storing a hash of the access token? On Fri, Nov 17, 2017 at 3:06 PM, Isura

Re: [Dev] Exception while start the Gatewaynode.

2017-11-17 Thread Sam Sivayogam
Hi Dilusha, This happens because gateway node is trying to connect to the throttling topic in TM node. Please start your TM node and then start your GW node. Once your TM node up running this exception will go away. Thanks, Sam On Fri, Nov 17, 2017 at 3:38 PM, Dilusha Alphonso

[Dev] Exception while start the Gatewaynode.

2017-11-17 Thread Dilusha Alphonso
Hi All, I am trying to do a distributed system in APIM 2.1.0. In my setup, 2 gateway nodes (worker, worker + manager), a key manager and publisher, store and Traffic manager together. After configuring the system when I start the gateway node I am getting the below error. INFO - AMQConnection

Re: [Dev] Self Contained Access Tokens in IS 5.4.0

2017-11-17 Thread Malithi Edirisinghe
On Fri, Nov 17, 2017 at 6:12 PM, Johann Nallathamby wrote: > Hi Farasath, > > On Fri, Nov 17, 2017 at 5:35 PM, Farasath Ahamed > wrote: > >> >> On Fri, Nov 17, 2017 at 3:23 PM, Johann Nallathamby >> wrote: >> >>> Self contained JWT's may

Re: [Dev] API-Proxy for Single Page Application

2017-11-17 Thread Cyril Rognon
Hi Roshan, I have looked at the APIM 3.0.0-M7 security ilmplementation for store and publisher SPAs and it seems that it is using password grant_type and using "server-side" endpoints provided by apim server /login/token/publisher or /login/token/store. Do you agree or did I miss something ?

Re: [Dev] Self Contained Access Tokens in IS 5.4.0

2017-11-17 Thread Johann Nallathamby
On Fri, Nov 17, 2017 at 6:39 PM, Malithi Edirisinghe wrote: > > > On Fri, Nov 17, 2017 at 6:12 PM, Johann Nallathamby > wrote: > >> Hi Farasath, >> >> On Fri, Nov 17, 2017 at 5:35 PM, Farasath Ahamed >> wrote: >> >>> >>> On Fri, Nov 17,

Re: [Dev] Self Contained Access Tokens in IS 5.4.0

2017-11-17 Thread Johann Nallathamby
On Fri, Nov 17, 2017 at 7:08 PM, Farasath Ahamed wrote: > > > Farasath Ahamed > Software Engineer, WSO2 Inc.; http://wso2.com > Mobile: +94777603866 > Blog: blog.farazath.com > Twitter: @farazath619 > > > > > On

Re: [Dev] Fwd: Anomaly Detection in JIra Using CEP

2017-11-17 Thread Tishan Dahanayakage
Hi Isham, I know We discussed this earlier. But I don't remember why we have filter [e1.maxCount==2] in scenario (1) second query. I understand that We have to have that single pattern to capture very first event. But what is the need for the filter. Also I suppose we are running these queries

[Dev] Why we have a feature folder in extensions?

2017-11-17 Thread Dulanja Liyanage
$subject. E.g. https://github.com/wso2-extensions/identity-local-auth-basicauth/tree/master/features Are they supposed to be

[Dev] WSO2 IoT Server 3.1.0-UPDATE6 Released!

2017-11-17 Thread Charitha Goonetilleke
WSO2 IoT Server 3.1.0 UPDATE 6 We are pleased to announce the latest update to WSO2 IoT Server 3.1.0 WSO2 IoT Server is one of the most adaptive Apache licensed open source IoT platforms available today. It provides best of breed technologies for device manufacturers to develop connected

Re: [Dev] Self Contained Access Tokens in IS 5.4.0

2017-11-17 Thread Farasath Ahamed
Farasath Ahamed Software Engineer, WSO2 Inc.; http://wso2.com Mobile: +94777603866 Blog: blog.farazath.com Twitter: @farazath619 On Fri, Nov 17, 2017 at 6:48 PM, Johann Nallathamby wrote: > > > On Fri, Nov 17, 2017