[Dev] Issue in File connector when dump the entire payload

2018-10-11 Thread Shazni Nazeer
Hi, I have the below which I was trying to place the entire body in the remote site and it's failing. I suppose this same syntax has worked for me in the past with an older version of file-connector with older versions of ESB sftp://

Re: [Dev] How to transfer API manager to a new system

2018-10-11 Thread Rukshan Premathunga
Hi Bernard, On Thu, Oct 11, 2018 at 8:44 PM Bernard Paris wrote: > Hello, > > we have an API manager running 2.1.0 version ; we want to replace this > server and install a brandnew API manager with a 2 nodes cluster > (active/active) running 2.5.0 (new servers and new DBs). > The question is

[Dev] How to transfer API manager to a new system

2018-10-11 Thread Bernard Paris
Hello, we have an API manager running 2.1.0 version ; we want to replace this server and install a brandnew API manager with a 2 nodes cluster (active/active) running 2.5.0 (new servers and new DBs). The question is how shall we proceed to transfer datas (APIs definition, applications, users,

Re: [Dev] [IAM] InCommon Federation Compliance for WSO2IS - eduPerson Claim Dialect

2018-10-11 Thread Sahan Gunathilaka
Hi All, I have discussed the above matter with some team members and came up with a solution. Therefore, I am going to make a change that will let to add properties for claims in *external dialects* too. To do that, I will change the "*LOCAL_CLAIM_ID*" column name in "*IDN_CLAIM_PROPERTY*" table

Re: [Dev] [IAM] Loading Function Libraries to Authentication Scripts

2018-10-11 Thread Ruwan Abeykoon
Hi Anuradha, I think require() [1] function better suited for this. Reason is that many other dynamic language based on JS uses it and seems intuitive. [1] https://stackoverflow.com/questions/9901082/what-is-this-javascript-require Cheers, Ruwan ___

Re: [Dev] [IS 560] Adaptive authentication - How to handle retry scenarios

2018-10-11 Thread Hasitha De Silva
I believe this is specific to the federated authenticator use within conditional auth retry flow. Best regards, On Thu, Oct 11, 2018 at 1:58 PM Hasitha De Silva wrote: > I did try this with 5.7.0 as well .. however the NPE was still there. > > Best Regards, > > On Thu, Oct 11, 2018 at 1:54 PM

Re: [Dev] [IS 560] Adaptive authentication - How to handle retry scenarios

2018-10-11 Thread Hasitha De Silva
I did try this with 5.7.0 as well .. however the NPE was still there. Best Regards, On Thu, Oct 11, 2018 at 1:54 PM Ruwan Abeykoon wrote: > Hi Hasitha, > Will you able to try this on IS 5.7.0 ? > Adaptive authentication was in dev state as at IS 5.6.0. > Cheers, > Ruwan > > On Thu, Oct 11,

Re: [Dev] [IS 560] Adaptive authentication - How to handle retry scenarios

2018-10-11 Thread Ruwan Abeykoon
Hi Hasitha, Will you able to try this on IS 5.7.0 ? Adaptive authentication was in dev state as at IS 5.6.0. Cheers, Ruwan On Thu, Oct 11, 2018 at 5:01 PM Hasitha De Silva wrote: > Thanks a lot Hasintha. > > I tried with the above approach and still got an NPE. Created a PR with a > possible

Re: [Dev] [IS 560] Adaptive authentication - How to handle retry scenarios

2018-10-11 Thread Hasitha De Silva
Thanks a lot Hasintha. I tried with the above approach and still got an NPE. Created a PR with a possible fix. https://github.com/wso2-extensions/identity-extension-utils/pull/13 Do let me know if there is a better approach that works out of the box. Best Regards, On Thu, Oct 11, 2018 at

Re: [Dev] [IS 560] Adaptive authentication - How to handle retry scenarios

2018-10-11 Thread Hasintha Indrajee
I am using the below script to re-attempt on failures from step1; var rolesToStepUp = ['admin', 'Manager']; var errorPageParameters = { 'status': 'Unauthorized', 'statusMsg': 'You are not authorized to access this application' }; var errorPage = ''; function onLoginRequest(context) {

Re: [Dev] [IS 560] Adaptive authentication - How to handle retry scenarios

2018-10-11 Thread Hasitha De Silva
[+ maduranga] On Wed, Oct 10, 2018 at 3:46 PM Hasitha De Silva wrote: > Hi, > > I'm having some trouble trying to simulate the login failure scenarios > with conditional auth scripts. What is the ideal way to enforce the script > to retry login attempts ? > > Right now my script is as below; >

Re: [Dev] Error while copying file from Server to Local WSO2

2018-10-11 Thread Thishani Lucas
You should give the port on which the ftp server is running. "sftp://username:password@hostname:*port*/home/folder1; On Thu, Oct 11, 2018 at 12:56 PM, Aman Singh wrote: > Hi, > > I am trying to copy files of any format(xml,json etc) placed in my server. > I want to copy all files from my

[Dev] Error while copying file from Server to Local WSO2

2018-10-11 Thread Aman Singh
Hi, I am trying to copy files of any format(xml,json etc) placed in my server. I want to copy all files from my server to local machine. The code for copying the file I am using is :- http://ws.apache.org/ns/synapse;> sftp://username:password@hostname

Re: [Dev] Retry an Endpoint

2018-10-11 Thread Kamidu Sachith Punchihewa
Hi Junior, You got it correct. If you in the process of enabling guaranteed delivery I suggest the store-forward pattern. Thanks and Best Regards, On Wed, Oct 10, 2018 at 6:05 PM Júnior wrote: > Hi Kamidu, > > but this retry, it will be done in the same request, or it is just a > number of

Re: [Dev] Dynamic Max Records on DSS

2018-10-11 Thread Sangeeth Karunaratne
Hi Junior, The Max Rows property can only be set at deploying time of a data service , it is not possible to change the property at runtime. On Thu, Oct 11, 2018 at 1:34 AM Júnior wrote: > Hello, > > I have a DSS Service that calls a stored procedure and this procedure can > return a huge

[Dev] [IAM] InCommon Federation Compliance for WSO2IS - eduPerson Claim Dialect

2018-10-11 Thread Sahan Gunathilaka
Hi All, According to a requirement of InCommon Federation, each SAML entity should support eduPerson attribute schema to exchange claims. Since there is not a claim dialect in WSO2IS to support that schema, I previously mailed mentioning about creating a new claim dialect for that. As a further

Re: [Dev] TestCaseName is not setting properly

2018-10-11 Thread Mohanadarshan Vivekanandalingam
Hi Vasanth, It seems, you have to pass the className as the header parameter as per yout MSF4J service implementation. Please set the className as the header in the http sink and tryout. Thanks, Mohan On Thu, Oct 11, 2018 at 10:52 AM, Vasanthan Sivalingam wrote: > Hi SP team, > > Currently i