Re: [Dev] [C5][OSGI-Tests] ExamReactorStrategy

2017-04-18 Thread Chanaka Cooray
Hi Lakshman, In kernel OSGi tests, each test class has its own configurations. So the test distribution will be different from class to class even though the base distribution is same. So we have to start test distribution for each and every class since we can not change the configurations at the

Re: [Dev] Running a WSO2 server via ssh issue

2017-04-18 Thread Thusitha Thilina Dayaratne
Hi Chamara, Try like below ssh ubuntu@192.168.48.168 'export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/ubuntu/java/jdk1.8.0_121/bin;echo $PATH;./esb/wso2esb-5.0.0/bin/wso2server.sh' Thanks Thusitha On Tue, Apr 18, 2017 at 5:18 PM,

Re: [Dev] Improvements for JWT Bearer Grant

2017-04-18 Thread Farasath Ahamed
Hi Keerthika, Just to know, haven't we enabled CI/CD for repo[1]? [1] https://github.com/wso2-extensions/identity-oauth2-grant-jwt/ Thanks, Farasath Farasath Ahamed Software Engineer, WSO2 Inc.; http://wso2.com Mobile:

Re: [Dev] Improvements for JWT Bearer Grant

2017-04-18 Thread Keerthika Mahendralingam
Hi Farashath, AFAIK we didn't enable it yet. Could you please check with Maheshika. Thanks, Keerthika. On Tue, Apr 18, 2017 at 12:18 PM, Farasath Ahamed wrote: > Hi Keerthika, > > Just to know, haven't we enabled CI/CD for repo[1]? > > [1]

Re: [Dev] Running a WSO2 server via ssh issue

2017-04-18 Thread Bhathiya Jayasekara
Maybe the $PATH variable is not set properly. @Chamara: What's the output of echo $PATH? Thanks, Bhathiya On Tue, Apr 18, 2017 at 2:49 PM, Thusitha Thilina Dayaratne < thusit...@wso2.com> wrote: > Hi Chamara, > > ubuntu@esbperf-prototype-2:~$ ssh -i chamaraa.pem ubuntu@192.168.48.168 >>

Re: [Dev] WSO2 Enterprise Integrator 6.1.0 Released

2017-04-18 Thread KasunG Gajasinghe
+announce On Tue, Apr 18, 2017 at 10:49 AM, Eranda Rajapakshe wrote: > *WSO2 Enterprise Integrator 6.1.0 Released* > > WSO2 Enterprise Integrator team is pleased to announce the release of WSO2 > Enterprise Integrator 6.1.0. > > *Release Note* > > April 2017 > > WSO2 EI is a

Re: [Dev] [APIM] Read only source view not allowed to edit single API

2017-04-18 Thread Mariangela Hills
Ack for docs! Regards, Mariangela *Mariangela Hills* Associate Lead Technical Writer - WSO2, Inc. http://wso2.com Committer and PMC member - Apache Stratos email:mariang...@wso2.com | mobile: +94 773 500185 On Tue, Apr 18, 2017 at 11:22 AM, Lakmali Baminiwatta

Re: [Dev] OSGI tests for secure vault and configuration provider

2017-04-18 Thread Kishanthan Thangarajah
As discussed, please use the OSGi services exposed for both sec-vault and config-provider separately when writing test cases for these. On Tue, Apr 18, 2017 at 10:10 AM, Lakshman Udayakantha wrote: > Hi, > > I was working on writing test cases for secure vault and

Re: [Dev] Running a WSO2 server via ssh issue

2017-04-18 Thread Bhathiya Jayasekara
Yes, that's the problem. When java was installed, $PATH variable has been replaced. In remote machine set it correctly. *export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$JAVA_HOME/bin* Thanks, Bhathiya On Tue, Apr 18, 2017 at 4:46 PM, Chamara Ariyarathne

Re: [Dev] Running a WSO2 server via ssh issue

2017-04-18 Thread Chamara Ariyarathne
I am afraid if this is the correct explanation. What I meant to say above is; Consider it is machine1 and machine2 and I'm trying to ssh from 2 to 1. PATH in machine1: $ echo $PATH

[Dev] [C5][OSGI-Tests] ExamReactorStrategy

2017-04-18 Thread Lakshman Udayakantha
Hi, We have used PerClass ExamReactorStrategy as the default strategy. This means test distribution will start for every class in the test suite. Is there any particular reason to select that strategy? This will increase the build time when the test class space grows. So we can go with PerSuite

Re: [Dev] Running a WSO2 server via ssh issue

2017-04-18 Thread Thusitha Thilina Dayaratne
Hi Chamara, ubuntu@esbperf-prototype-2:~$ ssh -i chamaraa.pem ubuntu@192.168.48.168 > './esb/wso2esb-5.0.0/bin/wso2server.sh' > > > *./esb/wso2esb-5.0.0/bin/wso2server.sh: 1: > ./esb/wso2esb-5.0.0/bin/wso2server.sh: uname: not > found./esb/wso2esb-5.0.0/bin/wso2server.sh: 1: >

[Dev] Running a WSO2 server via ssh issue

2017-04-18 Thread Chamara Ariyarathne
I'm trying to run ESB via an ssh session. The issue is like following. Any idea how to make it work? ubuntu@esbperf-prototype-2:~$ ssh -i chamaraa.pem ubuntu@192.168.48.168 './esb/wso2esb-5.0.0/bin/wso2server.sh' ./esb/wso2esb-5.0.0/bin/wso2server.sh: 1: ./esb/wso2esb-5.0.0/bin/wso2server.sh:

Re: [Dev] [APIM] Read only source view not allowed to edit single API

2017-04-18 Thread Mariangela Hills
Thanks for reporting! I updated [1] and [2] as follows: - Removed the instructions that explain how to update the API source code via the source view UI in order to engage a custom API to a specific set of APIs. - Mentioned that the velocity_template should be used to engage a custom

Re: [Dev] Running a WSO2 server via ssh issue

2017-04-18 Thread Chamara Ariyarathne
Well, it's like this. In the same machine: $ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/ubuntu/java/jdk1.8.0_121/bin In the remote machine: $ ssh -i chamaraa.pem ubuntu@192.168.48.168 'echo $PATH' $PATH:$JAVA_HOME/bin On Tue, Apr

Re: [Dev] Configure the subject claim and set a default value only if no value is configured in IdP configuration

2017-04-18 Thread Malaka Silva
IS Team, Can you please comment on this? On Wed, Apr 19, 2017 at 9:40 AM, Vivekananthan Sivanayagam < vivekanant...@wso2.com> wrote: > Hi , > > I am working on the ticket[1] and analysed the existing authenticators. As > mentioned on the ticket, default subject identifier claim is hard coded[2]

Re: [Dev] Configure the subject claim and set a default value only if no value is configured in IdP configuration

2017-04-18 Thread Nuwandi Wickramasinghe
Ideally any Federated authenticator should give the flexibility to configure the subject claim from IS side. If admin selects a value as *User ID Claim URI *in the identity provider claim configuration, that selected value needs to be treated as subject of that authenticated user within the IS.

[Dev] Configure the subject claim and set a default value only if no value is configured in IdP configuration

2017-04-18 Thread Vivekananthan Sivanayagam
Hi , I am working on the ticket[1] and analysed the existing authenticators. As mentioned on the ticket, default subject identifier claim is hard coded[2] and have to modify the existing authenticators as implemented in Facebook authenticator [3][4]. @Malaka, If we have to improve the

Re: [Dev] Configure the subject claim and set a default value only if no value is configured in IdP configuration

2017-04-18 Thread Ruwan Abeykoon
Hi All, Thanks Vivekananthan to bring this up. Also any code resembling the following needs to be removed as it performs an unwanted action against IDP config. It sets a config on IDP within an authenticator, which is wrong practice in programming which breaks "Abstraction" principle. if

Re: [Dev] Configure the subject claim and set a default value only if no value is configured in IdP configuration

2017-04-18 Thread Malaka Silva
Thx Nuwandi, @Vivekananthan Shall we test this with Pinterest ​?​ On Wed, Apr 19, 2017 at 10:34 AM, Nuwandi Wickramasinghe wrote: > Ideally any Federated authenticator should give the flexibility to > configure the subject claim from IS side. If admin selects a value as