[Dev] Obtaining user attributes via authentication context.

2018-07-09 Thread Isurianuradha96
Hi all, I have come up with a scenario in WSO2IS which is required to first user needs to authenticate with primary usestore and get authenticated user's attributes. From user attributes list, I need to get a specific attribute which is pre-configured by the end user and then call an external

[Dev] [SP] What is our dashboard packaging modal

2018-07-09 Thread Udara Rathnayake
Similar to what we had earlier in DS do we have an option to package a dashboard? My requirement is to design/develop a custom dashboard with all dependencies then deploy in SP programmatically along with a streaming app. ​ -- Regards, UdaraR

Re: [Dev] File Upload to Application Server 5.3.0 with Admin Services

2018-07-09 Thread Sathya Bandara
Hi Maneesha, You need to include the following entity in your soap request . cid:464597495550 The value of the cid can be a random integer. Then in the attachment, you need to select this value in the 'Part' column. Using following request I was able to successfully upload a web application.

Re: [Dev] [Architecture] [VOTE] Release of WSO2 API Manager Microgateway Toolkit 2.5.0 RC2

2018-07-09 Thread Rukshan Premathunga
Hi All, Thanks for testing WSO2 API Manager Microgateway Toolkit 2.5.0 RC2. Since this vote passed with 8 [+1]s and 0 [-1]s, we’re hereby closing this vote and proceeding with API Manager Microgateway Toolkit 2.5.0 GA release. Thanks and Regards. On Mon, Jul 9, 2018 at 2:55 PM, Pubudu

Re: [Dev] CORS ERROR in userinfo API

2018-07-09 Thread Naduni Pamudika
You can add *CORSRequestHandler* inside the section as below to the *_UserInfoAPI_.xml* file in */repository/deployment/server/synapse-configs/default/api/ *folder. Thanks, Naduni On Mon, Jul 9, 2018 at 4:59 PM, Naduni Pamudika wrote: > Hi, > > You can refer

Re: [Dev] CORS ERROR in userinfo API

2018-07-09 Thread Naduni Pamudika
Hi, You can refer the document [1] for enabling CORS for userinfo API. [1] https://docs.wso2.com/display/AM210/Include+Additional+Headers+in+the+API+Console#IncludeAdditionalHeadersintheAPIConsole-EnableCORSForOauthTokenApis Thanks, Naduni On Mon, Jul 9, 2018 at 4:49 PM, shibsankar wrote: >

[Dev] CORS ERROR in userinfo API

2018-07-09 Thread shibsankar
Hi , I'm getting CORS ERROR in * userinfo** API * invocation. Which * file / **files* has the CORS configuration in WSO2 for *userinfo **API *? Error : *Failed to load http://xx-xx-xxx-xx-xx..xx.xxx.com:8280/userinfo

[Dev] File Upload to Application Server 5.3.0 with Admin Services

2018-07-09 Thread Maneesha Wijesekara
Hi All, I'm trying to use admin services to upload a web application (.war) to Application Server 5.3.0 with 'uploadWebapp' in 'WebappAdmin' admin service, but I receive the following error when uploading the file. I've attached the .war file along with the request using SoapUI. *Error*

Re: [Dev] [Architecture] [VOTE] Release of WSO2 API Manager Microgateway Toolkit 2.5.0 RC2

2018-07-09 Thread Pubudu Gunatilaka
Hi, Tested the following use cases. 1. Micro gw with docker deployment 2. Micro gw with Kubernetes deployment - NodePort service type 3. Tested tenancy mode API invocation with JWT [+] Stable - go ahead & release. Thank you! On Mon, Jul 9, 2018 at 10:16 AM Fazlan Nazeem wrote: > Hi all, > >

Re: [Dev] Connect to a RDMBS datastore to retrieve data for a SP dashboard widget

2018-07-09 Thread Niveathika Rajendran
@Rukshani Looks good. Thank you. Best Regards, *Niveathika Rajendran,* *Software Engineer.* *Mobile : +94 077 903 7536* On Mon, Jul 9, 2018 at 12:14 PM Rukshani Weerasinha wrote: > Hello Niveathika, > > I added a tip on this in the *Extending from base widget* section in [1], > [2], [3]

Re: [Dev] Connect to a RDMBS datastore to retrieve data for a SP dashboard widget

2018-07-09 Thread Rukshani Weerasinha
Hello Niveathika, I added a tip on this in the *Extending from base widget* section in [1], [2], [3] and [4]. Can you please check? [1] https://docs.wso2.com/display/SP4xx/Creating+Custom+Widgets [2] https://docs.wso2.com/display/SP400/Creating+Custom+Widgets [3]

Re: [Dev] Connect to a RDMBS datastore to retrieve data for a SP dashboard widget

2018-07-09 Thread Nisala Nanayakkara
Hi, @Nivethika: +1 for documenting it. @ Thisaru: If you are using a previous version of SP such as 4.0.0,4.1.0 or 4.2.0-rc1, Please upgrade it to SP 4.2.0-rc2 which is treated as the GA. So you can use the latest artefacts such as base-widget which will simplify the widget development. Thanks,

Re: [Dev] Connect to a RDMBS datastore to retrieve data for a SP dashboard widget

2018-07-09 Thread Niveathika Rajendran
Hi Nisala, Thank you for the explanation, as we have not documented the depended base widget version, I thought they should be compatible with all versions of SP. How about adding a note in SP creating custom widget documentation about depended base widget version? SP 4.2.0 ->