Re: [Dev] Getting Error "ServerWorker Error while building message for REST_URL request" for all API requests

2018-02-22 Thread Vijitha Ekanayake
Hi Nuwan, According to below code segment, it seems like this happens when request Content-Type doesn't match with the payload. try { soapEnvelope = TransportUtils.createSOAPMessage(msgContext, null, contentType); } catch (Exception e) { log.error("Error while building message for

Re: [Dev] Design Review : User Preferences in Carbon Dashboard Widgets

2018-02-22 Thread SajithAR Ariyarathna
Hi Devs, On Tue, Feb 20, 2018 at 7:06 PM, Irindu Nugawela wrote: > Hi All, > I am implementing a feature for Widget Configuration Panel of Carbon > Dashboard's designer view, > to allow users(dashboard designers) to configure the properties of the > widgets such as the widget

Re: [Dev] Set captcha on by default for tenants

2018-02-22 Thread Thanuja Jayasinghe
On Fri, Feb 23, 2018 at 8:55 AM, Isura Karunaratne wrote: > According to the code [1], we should call the method > setSSOLoginConnectorConfigs from CaptchaUtil.buildReC > aptchaFilterProperties method to get the default values from > captcha-config.properties > file. So,

Re: [Dev] NotificationSendingImpl class in identity management endpoint

2018-02-22 Thread Isura Karunaratne
On Fri, Feb 23, 2018 at 9:00 AM, Pulasthi Mahawithana wrote: > Hi, > > Seems like this class [1] is not needed and it contains some test code. > Shall we remove this? > +1. Removed from 5.11.x branch with [1]. Please review and merge the PR for the maser [2] > > [1]

[Dev] NotificationSendingImpl class in identity management endpoint

2018-02-22 Thread Pulasthi Mahawithana
Hi, Seems like this class [1] is not needed and it contains some test code. Shall we remove this? [1] https://github.com/wso2/carbon-identity-framework/ blob/master/components/identity-mgt/org.wso2.carbon. identity.mgt.endpoint/src/main/java/org/wso2/carbon/

Re: [Dev] Set captcha on by default for tenants

2018-02-22 Thread Isura Karunaratne
According to the code [1], we should call the method setSSOLoginConnectorConfigs from CaptchaUtil.buildReCaptchaFilterProperties method to get the default values from captcha-config.properties file. So, currently, we cannot set default values from a config file. @Thanuja, Please confirm? [1]

[Dev] [Architecture] WSO2 Identity Server 5.5.0-Alpha2 Released!

2018-02-22 Thread Sathya Bandara
WSO2 Identity and Access Management team is pleased to announce the release of Identity Server 5.5.0 Alpha2! Download You can download WSO2 Identity Server 5.5.0 Alpha2 distributions from following locations. Identity Server:

[Dev] Installation Resources for WSO2 Products Released!

2018-02-22 Thread Ching Tien Shi
WSO2 Installation Experience team is pleased to announce the release of WSO2 Docker, Vagrant and BOSH resources for WSO2 products. *Docker* Released Artifacts: - WSO2 Enterprise Integrator v6.1.1.4 - https:// github.com/wso2/docker-ei/releases/tag/v6.1.1.4

[Dev] How to handle HTML with unclosed tags in Synapse

2018-02-22 Thread Lahiru Sandaruwan
Hi devs, When there are unclosed tags, Synapse throws following error if try to get rid of payload(Payload Factory). [2018-02-21 20:45:49,351] ERROR - com.ctc.wstx.exc.WstxParsingException: Unexpected close tag ; expected . at [row,col {unknown-source}]: [17,187]

Re: [Dev] Accessing authentication admin service right after server startup

2018-02-22 Thread Amanda Jayanetti
Hi Thusitha, Thank you for the information. My requirement is actually to deploy some APIs upon server startup to the API gateway. And the authentication admin service is accessed during this process. Although transports are activated before ServerStartupObservers are notified, there's seems to

[Dev] WSO2 API Manager 3.0.0-M19 Released!

2018-02-22 Thread Pubudu Gunatilaka
The WSO2 API Manager team is pleased to announce the release of API Manager 3.0.0-M19. It's now available to download. Distribution - https://github.com/wso2/product-apim/releases/download/v3.0.0 -m19/wso2apim-3.0.0-m19.zip

[Dev] [Announce] [Architecture] WSO2 Enterprise Integrator 6.1.1-update22 Released !

2018-02-22 Thread Malaka Gangananda
The WSO2 Integration team is pleased to announce the release of Enterprise Integrator 6.1.1-update22. It is available for download here . *Tasks/Bug Fixes and Improvements* -

Re: [Dev] [IAM] Password policy per role

2018-02-22 Thread Ruwan Abeykoon
Hi Gayan, Looks like this is an invalid requirement. A person usually have more than one role. It is complex to set the password policy per role, as one can not define which policy to be taken effect in this case. Password policy is to protect user account/credential leak. So it does not matter

Re: [Dev] Not able to write esb processed file to a folder at remote location. Please guide.

2018-02-22 Thread Prabushi Samarakoon
Hi Aditya, At the vfs code level, we first create the output file [1] and then write content to that created file [2]

Re: [Dev] Detect the APIM profile by analyzing product folder structure

2018-02-22 Thread Rajith Roshan
Hi, Adding more to Fazlan's reply, usually this system property is specified in either wso2server.sh or wso2server.bat file Thanks! Rajith On Thu, Feb 22, 2018 at 4:25 PM, Fazlan Nazeem wrote: > Hi Sachithra, > > The directory structure does not differ according to the

[Dev] WSO2 API Manager 2.1.0-update12 Released !

2018-02-22 Thread Chamalee De Silva
*The WSO2 API Manager team is pleased to announce the release of version 2.1.0-update12 of API Manager.WSO2 API Manager is a platform for creating, managing, consuming and monitoring APIs. It employs proven SOA best practices to solve a wide range of API management challenges such as API

Re: [Dev] Detect the APIM profile by analyzing product folder structure

2018-02-22 Thread Fazlan Nazeem
Hi Sachithra, The directory structure does not differ according to the profiles. executing the following can tell which profile was passed as a system property when starting the server. jcmd VM.system_properties | grep "profile" On Thu, Feb 22, 2018 at 3:28 PM, Sachithra Dangalla

Re: [Dev] Clarification on user account unlock - self signup users

2018-02-22 Thread Harsha Thirimanna
On Thu, Feb 22, 2018 at 2:55 PM, Isura Karunaratne wrote: > Hi Isuru, > > > > On Thu, Feb 22, 2018 at 2:26 PM, Isuru Uyanage wrote: > >> Hi All, >> >> I tried the steps included in doc [1]. As it describes, after 5 invalid >> login attempts, the particular user

Re: [Dev] Not able to write esb processed file to a folder at remote location. Please guide.

2018-02-22 Thread Chanika Geeganage
Hi Aditya, You need to have write access to this folder to create a file. Can you check the permissions given for the user in this location. And also to find out the absolute path in windows for FTP, [1] might be helpful. [1]

[Dev] Detect the APIM profile by analyzing product folder structure

2018-02-22 Thread Sachithra Dangalla
Hi, Is there a way to detect the profile of an APIM instance by looking at the folder structure of the product? If not the folder structure, can we read a specific file and/or a configuration (common to all profiles) and detect which profile it is? Thanks, Regards, -- *Sachithra Dangalla*

Re: [Dev] Design Review : User Preferences in Carbon Dashboard Widgets

2018-02-22 Thread Irindu Nugawela
Hi All, The term defaultData will be changed to defaultValue. The Option list will be changed as follows { id: "someId" title: "Some Title" type: { name: "text" } defaultValue: "some-default-value" }, { id: "someId" title: "Some Title" type: { name: "boolean" }

Re: [Dev] Not able to write esb processed file to a folder at remote location. Please guide.

2018-02-22 Thread aditya shivankar
I am able to access the remote folder using same credentials and ftp protocol in Filezilla. Since I am using the same credentials , I think I have the permissions. With Regards, Aditya On Thu, Feb 22, 2018 at 3:15 PM, Himasha Guruge wrote: > Hi Aditya, > > Please note below

Re: [Dev] Not able to write esb processed file to a folder at remote location. Please guide.

2018-02-22 Thread aditya shivankar
Tried below : added prefix "vfs:" to uri -- 1. ftp://username:password@windowsServerIp/output"/> -- Getting different error : [2018-02-22 15:12:55,315] [EI-Core] ERROR - VFSUtils Cannot get the

Re: [Dev] Clarification on user account unlock - self signup users

2018-02-22 Thread Isuru Uyanage
Hi Isura, thanks for the reply. Created an issue for that. https://github.com/wso2/product-is/issues/2590 Thanks Isuru *Thanks and Best Regards,* *Isuru Uyanage* *Software Engineer - QA | WSO2* *Mobile : **+94 77 <+94%2077%20767%201807> 55 30752* *LinkedIn:

Re: [Dev] Accessing authentication admin service right after server startup

2018-02-22 Thread Thusitha Thilina Dayaratne
Hi Amanda, AFAIK ServerStartupObservers get notify after the transport activation[1]. [1] - https://github.com/wso2/carbon-kernel/blob/4.4.x/core/org.wso2.carbon.core/src/main/java/org/wso2/carbon/core/internal/StartupFinalizerServiceComponent.java#L209 Thanks On Thu, Feb 22, 2018 at 6:25 PM,

Re: [Dev] Not able to write esb processed file to a folder at remote location. Please guide.

2018-02-22 Thread Himasha Guruge
Hi Aditya, Please note below extraction from [1]. Therefore make sure proper permissions are set. Are you receiving any error logs on this? "When you transfer a file to a remote FTP location via VFS, the ESB tries to detect the FTP location by navigating from the root folder first. If the ESB

Re: [Dev] Clarification on user account unlock - self signup users

2018-02-22 Thread Isura Karunaratne
Hi Isuru, On Thu, Feb 22, 2018 at 2:26 PM, Isuru Uyanage wrote: > Hi All, > > I tried the steps included in doc [1]. As it describes, after 5 invalid > login attempts, the particular user account gets locked. After 5 minutes, > as per the config, once user tries to log in

Re: [Dev] wso 5.4.0-update-4

2018-02-22 Thread Omindu Rathnaweera
Hi Deepak, This issue is fixed with [1] and will be available with IS 5.4.1-Update3 (Scheduled to be released within the week). However as a workaround, you can modify the affected query as follows, In /repository/conf/identity.xml file, change the the DeleteExpiredDataTask query as follows.

Re: [Dev] wso 5.4.0-update-4

2018-02-22 Thread Chiran Wijesekara
This is a known issue which persists in the version you use. However, it is fixed in the next release. + adding Omindu and Darshana On Wed, Feb 21, 2018 at 9:49 PM, Deepak Singla wrote: > Gentle Reminder > > > > *From:* Deepak Singla > *Sent:* Tuesday, February 20,

[Dev] Getting Error "ServerWorker Error while building message for REST_URL request" for all API requests

2018-02-22 Thread Nuwan Dias
Hi, I'm seeing the error "*ServerWorker Error while building message for REST_URL request*" on the logs for all API requests on Synapse version 2.1.7.wso2v40. Any idea what could be causing this? AFAIR this wasn't there on earlier versions. Thanks, NuwanD. -- Nuwan Dias Software Architect -

[Dev] [IAM] Password policy per role

2018-02-22 Thread Gayan Yalpathwala
Hi team, How can we achieve different password policies per user roles in IAM? Is this supported in a configuration or else by writing a custom password policy? Thanks, -- *Gayan Kaushalya Yalpathwala* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware LK: +94 71

[Dev] Not able to write esb processed file to a folder at remote location. Please guide.

2018-02-22 Thread aditya shivankar
I wrote a application which is now able to poll files from "input" folder on my local machine and put the esb processed files in "output folder" on my local machine. Code which worked for me for Flatfile(putting processed files to folder on local machine) is below

[Dev] Clarification on user account unlock - self signup users

2018-02-22 Thread Isuru Uyanage
Hi All, I tried the steps included in doc [1]. As it describes, after 5 invalid login attempts, the particular user account gets locked. After 5 minutes, as per the config, once user tries to log in with correct credentials, he is able to log in and the account gets unlocked. As per doc[2] step