[Dev] How to validate email adddress

2017-11-24 Thread Dilusha Alphonso
Hi All, Requirement: I need to check a condition " Patient ID is the email address of given patient". When I give any string to the ID, it must be an email address. I have to validate ID whether it is in email format. For this, I used the filter mediator in ESB, But I noticed my request didn't go

Re: [Dev] [Architecture] WSO2 Enterprise Integrator 6.1.1-update10 Released !

2017-11-24 Thread Samisa Abeysinghe
I think we will have to move onto an aggressive hackathon mode to get this fixed. We can learn some lessons from what IAM team did. Please arrange a meeting Monday to discuss the plans with the issue fixing sub team. Thanks, Samisa... Samisa Abeysinghe Chief Engineering and Delivery Officer

Re: [Dev] [SP][Windows] Error during startup

2017-11-24 Thread Sriskandarajah Suhothayan
@Gokul also please test and verity whether it fixes in SP. On Fri, Nov 24, 2017 at 7:54 PM, Danesh Kuruppu wrote: > Hi Gokul, > > This Issue is fixed with PR[1]. Can you please test with new changes. > @Kishanthan/Nira/Jayanga, please review and merge > > 1.

Re: [Dev] [SP][Windows] Error during startup

2017-11-24 Thread Danesh Kuruppu
Hi Gokul, This Issue is fixed with PR[1]. Can you please test with new changes. @Kishanthan/Nira/Jayanga, please review and merge 1. https://github.com/wso2/carbon-config/pull/62 Thanks Danesh On Fri, Nov 24, 2017 at 5:19 AM, Gokul Balakrishnan wrote: > Hi, > > We're seeing

Re: [Dev] [DEV][puppet-apim]

2017-11-24 Thread Prasanna Dangalla
On Fri, Nov 24, 2017 at 10:08 AM, Anuruddha Liyanarachchi < anurudd...@wso2.com> wrote: > Hi Nuwan, > > As per the current patterns, there is no HA in traffic manager. The > approach you have taken should work. However, you will need to configure > dep-sync between two nodes if you are deploying

[Dev] [Validate Mediator] JSON validation issue

2017-11-24 Thread Lahiru Cooray
Hi team, Im using ESB 5.0.0 and trying to validate a json payload against a schema. Below is my sample synapse code snippet {"Error":$1"}

Re: [Dev] [DEV][puppet-apim]

2017-11-24 Thread Pubudu Gunatilaka
Hi Nuwan, It is not actually Spark clustering, you need to do the CEP related clustering [1] when you are using TM in clustered mode. Read more on TM articles [2] and [3]. [1] - https://docs.wso2.com/display/CLUSTER44x/Clustering+CEP+4.0.0 [2] -

Re: [Dev] How to set ThriftClientPort in APIM Gate Way Node in a cluster setup

2017-11-24 Thread Chamalee De Silva
[1] Port offsetting the Thrift port in APIM On Fri, Nov 24, 2017 at 7:01 PM, Chamalee De Silva wrote: > hi Dushantha, > > For API Manager 2.0.0 and later versions, we do not need to configure the > ThriftClient and ThriftServer ports as they get incremented according to > the

Re: [Dev] How to set ThriftClientPort in APIM Gate Way Node in a cluster setup

2017-11-24 Thread Chamalee De Silva
hi Dushantha, For API Manager 2.0.0 and later versions, we do not need to configure the ThriftClient and ThriftServer ports as they get incremented according to the offset. For API Manager versions prior to APIM 2.0.0 we need to modify these ports according to the port offset. Please refer mail

Re: [Dev] Error occurs with Response caching enabled.

2017-11-24 Thread Thivya Mahenthirarasa
Hi all, Does the caching is needed for the Creation scenarios too?. Is it a good practice to have to cache for 200 ok responses? Thanks, Thivya On Fri, Nov 24, 2017 at 4:23 PM, Krishan Wijesena wrote: > Hi buddhimala, > > Can you check your payload of put method again,

Re: [Dev] [Architecture] WSO2 Enterprise Integrator 6.1.1-update10 Released !

2017-11-24 Thread Jasintha Dasanayake
HI Nandika On Fri, Nov 24, 2017 at 2:16 PM, Nandika Jayawardana wrote: > Actually, we have another 489 issues in DEVTOOLEI project which I think is > also critically important since dev studio is the primary development tool > the developers interact with. The perception

Re: [Dev] [APIM]Cannot login to APIM Management console with admin credentials

2017-11-24 Thread roshan wijesena
So this is not because of java problem? On Fri, Nov 24, 2017 at 10:24 PM Isuru Uyanage wrote: > Hi Irham, > Yes it worked with *carbon/** with java build 1.8.0_144-b01. > > > Thanks > Isuru > > *Thanks and Best Regards,* > > *Isuru Uyanage* > *Software Engineer - QA | WSO2* >

Re: [Dev] [DEV][puppet-apim] pre-packed IS as the KM throwing The service cannot be found for the endpoint reference (EPR)

2017-11-24 Thread Samitha Chathuranga
Hi Nuwan, Probably there is a connection issue from store node to is-as-km node. Can you check whether the host mappings are correct in /etc/hosts file? Regards, Samitha On Fri, Nov 24, 2017 at 12:34 PM, Chalitha Waldeniyage wrote: > Hi Nuwan, > > I'm working on similar

Re: [Dev] [DEV][puppet-apim]

2017-11-24 Thread Samitha Chathuranga
> > I'm not sure whether we are using dep-sync now since in APIM docker > patterns we removed depsync and added rsync.[1] > Using rsync [1] is completely external configuration with wso2 product configs, hence different to the usage of svn-dep-sync. But if you follow up with svn dep sync, required

Re: [Dev] Error occurs with Response caching enabled.

2017-11-24 Thread Mushthaq Rumy
Hi Buddhimala, By looking at the error log it seem like the JSON conversion is not working properly. Have you enabled the JSONStreamBuilder in axis2.xml? Thanks & Regards, Mushthaq On Fri, Nov 24, 2017 at 4:23 PM, Krishan Wijesena wrote: > Hi buddhimala, > > Can you check

[Dev] [Architecture] AWS CloudFormation for WSO2 API Manager 2.1.0

2017-11-24 Thread Chiranga Alwis
Hi, the WSO2 Installer Experience team is pleased to announce the release of AWS CloudFormation for WSO2 API Manager 2.1.0. This is the first release of AWS CloudFormation resources for WSO2 API Manager version 2.1.0. It contains the WSO2 API Manager CloudFormation template and the resources

Re: [Dev] [DEV][puppet-apim] pre-packed IS as the KM throwing The service cannot be found for the endpoint reference (EPR)

2017-11-24 Thread Nuwan Silva
Checked the /etc/hosts file and it seems to be pointing correctly. Im using the latest wum packs. Cheers, NuwanS. On Fri, Nov 24, 2017 at 1:14 PM, Samitha Chathuranga wrote: > Hi Nuwan, > > Probably there is a connection issue from store node to is-as-km node. Can > you check

[Dev] [EI] Required permission to invoke secure proxy

2017-11-24 Thread Godwin Shrimal
Hi Devs, What are the required permissions for the user to invoking a secure proxy service using UserTokenPolicy? Thanks Godwin -- *Godwin Amila Shrimal* Associate Technical Lead WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin:

Re: [Dev] How to compare two synapse properties in ESB

2017-11-24 Thread Senduran Balasubramaniyam
On Fri, Nov 24, 2017 at 10:20 AM, Thivya Mahenthirarasa wrote: > Hi Dev, > > Requirement: I need to check a condition before loop back to out sequence > whether the USER_NAME and PATIENT_ID are equal. > > I'm using a filter in my in sequence. > > > > The above configuration is

[Dev] [DEV][puppet-apim] pre-packed IS as the KM throwing The service cannot be found for the endpoint reference (EPR)

2017-11-24 Thread Nuwan Silva
Hi Team, While deploying the IS as the KM via puppet I used [1] with the pre-packaged IS that is updated through wum "wso2is-km-5.3.0.zip". Installation was successful and after deploying I tried to generate keys with the Default Application in the store. (please see below logs) I've notices

Re: [Dev] [APIM]Cannot login to APIM Management console with admin credentials

2017-11-24 Thread roshan wijesena
Ok, thanks Bhathiya. On Fri, Nov 24, 2017 at 11:02 PM Bhathiya Jayasekara wrote: > It is. What Irham has suggested is a workaround to fix one of a few issues > which occur due to that bug, and it opens up a security vulnerability too. > In a production environment, you

Re: [Dev] IS migration client usage of class.forName()

2017-11-24 Thread Ruwan Abeykoon
Hi Rasika, The problem this needs to address are, 1. The IS new version connected to old schema on database. The server should/can not start until migration completes. 2. Migration should only happen when the "migration client jar" is present (and the jvm parameter present-in new way) 3. Migration

[Dev] WSO2 Identity Server 5.4.0 Alpha 10 Released !!!

2017-11-24 Thread Jayanga Kaushalya
The WSO2 Identity and Access Management team is pleased to announce the release of WSO2 Identity Server 5.4.0 Alpha 10. You can build the distribution from the source tag https://github.com/wso2/ product-is/releases/tag/v5.4.0-alpha10 following the steps below. *Building from the source* 1.

Re: [Dev] Error occurs with Response caching enabled.

2017-11-24 Thread Samitha Chathuranga
Hi Buddhimala, Same error is reported here [1] and fixed with esb 5.1.0. Please check with it. [1] - https://wso2.org/jira/browse/ESBJAVA-4999 Regards, Samitha On Fri, Nov 24, 2017 at 2:18 PM, Buddhimala Ranasinghe wrote: > Hi All, > > I'm trying a scenario where I need

Re: [Dev] [APIM]Cannot login to APIM Management console with admin credentials

2017-11-24 Thread Bhathiya Jayasekara
It is. What Irham has suggested is a workaround to fix one of a few issues which occur due to that bug, and it opens up a security vulnerability too. In a production environment, you shouldn't do that. Thanks, Bhathiya On Fri, Nov 24, 2017 at 4:56 PM, roshan wijesena

Re: [Dev] IS migration client usage of class.forName()

2017-11-24 Thread Rasika Perera
Hi Dhanushka and All, ​ ​I don't understand the exact context here. Have few questions based on what you have mentioned. Migration client is called from the identity.core bundle at the activation > level > Would that mean identity.core has a dependency to the Migration Client?​ This is done in

Re: [Dev] [APIM]Cannot login to APIM Management console with admin credentials

2017-11-24 Thread Isuru Uyanage
Hi Irham, Yes it worked with *carbon/** with java build 1.8.0_144-b01. Thanks Isuru *Thanks and Best Regards,* *Isuru Uyanage* *Software Engineer - QA | WSO2* *Mobile : **+94 77 <+94%2077%20767%201807> 55 30752* *LinkedIn: **https://www.linkedin.com/in/isuru-uyanage/

Re: [Dev] Error occurs with Response caching enabled.

2017-11-24 Thread Krishan Wijesena
Hi buddhimala, Can you check your payload of put method again, refer [1] [1] https://docs.wso2.com/display/AM210/Configuring+Caching#ConfiguringCaching-Responsecache Thanks, krishan. On Fri, Nov 24, 2017 at 2:18 PM, Buddhimala Ranasinghe wrote: > Hi All, > > I'm trying a

Re: [Dev] [DEV][puppet-apim]

2017-11-24 Thread Tharindu Dharmarathna
Hi Nuwan, I think pubudu get missed understanding as Analytics nodes. We do not need to have spark clustering in TM . On Fri, Nov 24, 2017 at 11:28 AM, Nuwan Silva wrote: > Thanks for the info but, do we need to configure spark cluster > configurations for traffic manager? If

[Dev] Error occurs with Response caching enabled.

2017-11-24 Thread Buddhimala Ranasinghe
Hi All, I'm trying a scenario where I need to have caching enabled to improve perfomance at API level.So I enabled response caching from my API. The API contains resources to perform CRUD operations. My problem is, when I try to invoke PUT method in my API after enabling response caching, it

Re: [Dev] How to compare two synapse properties in ESB

2017-11-24 Thread Irham Iqbal
Hi Thivya, Did you try as below. IMO this should work. Thanks, Iqbal On Fri, Nov 24, 2017 at 2:13 PM, Rukshan Premathunga wrote: > Hi Thivya, > > You may be able to use script mediator[1]. You can perfume the string >

Re: [Dev] [Architecture] WSO2 Enterprise Integrator 6.1.1-update10 Released !

2017-11-24 Thread Nandika Jayawardana
Actually, we have another 489 issues in DEVTOOLEI project which I think is also critically important since dev studio is the primary development tool the developers interact with. The perception generated from dev studio will have a lasting effect on the product quality. In order to reduce the

Re: [Dev] How to set ThriftClientPort in APIM Gate Way Node in a cluster setup

2017-11-24 Thread Samitha Chathuranga
Hi Dushantha, The point is that by default those thrift port values are commented out. (if they are commented-out the all the port values are changed by the offset value ) If you uncomment them, you have to configure them correctly. By the way in the doc [1] you mentioned, note the below section,

Re: [Dev] How to compare two synapse properties in ESB

2017-11-24 Thread Rukshan Premathunga
Hi Thivya, You may be able to use script mediator[1]. You can perfume the string comparison in the script mediator and then use the filter mediator for the result.