Re: [Dev] Provide deployment.yaml support for carbon-transport

2017-10-09 Thread Thusitha Thilina Dayaratne
Kind reminder on this :) On Fri, Oct 6, 2017 at 9:44 AM, Thusitha Thilina Dayaratne < thusit...@wso2.com> wrote: > Hi Team, > > Could you please review and merge the PR [1]. This is mainly to remove the > unnecessary OSGi dependencies from the netty.http bundle and to provide > deployment.yaml

Re: [Dev] What is the best way to unit test methods with new instances created inside the method?

2017-10-09 Thread Ishara Cooray
Thanks for the reply Fazlan. One option is to move the new object creation into a protected method and override the implementation in a subclass. The con is this will add additional lines to the class being tested and therefore will have to be decided whether the effort is useful case by case.

Re: [Dev] Couldn't authenticate the Tiqr by scanning QR code with enrolled user

2017-10-09 Thread Malaka Silva
Hi Kanapriya, TIQR has changed the mobile app recently and seems they have deprecated the support for previous versions. Can we deprecate the current authinticator? Can we also checking with TIQR team the possibility to upgrade? [1]

Re: [Dev] WSOEI 6.1.1 & Kafka_2.12-0.10.2.1 Inbound Endpoint : how we can distribute load on WSO2EI nodes ?

2017-10-09 Thread Malaka Silva
Hi Youcef, That is the expected behavior. If you make coordination true it'll only run on one node at a given time. On Tue, Oct 10, 2017 at 3:48 AM, Youcef HILEM wrote: > Hi Malaka, > > If I set coordination to false, in a cluster setup, this will run the > inbound in

[Dev] What is the best way to unit test methods with new instances created inside the method?

2017-10-09 Thread Ishara Cooray
Hi, Let's say in a legacy code we have new instance created inside the constructor and it is being used inside methods to be unit tested as below. public boolean updateApi(String apiConfig, String tenantDomain) throws AxisFault { > try { > return

Re: [Dev] WSOEI 6.1.1 & Kafka_2.12-0.10.2.1 Inbound Endpoint : how we can distribute load on WSO2EI nodes ?

2017-10-09 Thread Youcef HILEM
Hi Malaka, If I set coordination to false, in a cluster setup, this will run the inbound in a all worker nodes (https://docs.wso2.com/display/EI611/Kafka+Inbound+Protocol) That fine for me. Thanks, Youcef HILEM -- Sent from:

Re: [Dev] Fwd: Error while Building Identity Server from Source

2017-10-09 Thread Omindu Rathnaweera
Hi Sandun, Please have a look at [1]. It might help [1] - https://www.mail-archive.com/dev@wso2.org/msg57254.html Regards, Omindu. On Mon, Oct 9, 2017 at 11:06 PM, Sandun Perera wrote: > > -- Forwarded message -- > From: Sandun Perera

[Dev] Error while Building Identity Server from Source

2017-10-09 Thread Sandun Perera
Hi I got following maven error while trying to build Identity Server from Source. *[ERROR] Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5.4:p2-profile-gen (3-p2-profile-generation) on project identity-profile-gen: P2 publisher return code was 13 -> [Help 1]*

[Dev] Fwd: Error while Building Identity Server from Source

2017-10-09 Thread Sandun Perera
-- Forwarded message -- From: Sandun Perera Date: Mon, Oct 9, 2017 at 10:01 PM Subject: [Dev] Error while Building Identity Server from Source To: dev@wso2.org Hi I got following maven error while trying to build Identity Server from Source. *[ERROR]

Re: [Dev] Couldn't authenticate the Tiqr by scanning QR code with enrolled user

2017-10-09 Thread Shakila Sasikaran
Hi Kanapriya, It seems they released new version of tiqr mobile application and this issue comes on this latest one. We may need to modify the tiqr client to support the latest version. Thanks On Mon, Oct 9, 2017 at 2:22 PM, Kanapriya Kuleswararajan wrote: > Hi All, > > I

Re: [Dev] Couldn't authenticate the Tiqr by scanning QR code with enrolled user

2017-10-09 Thread Malaka Silva
​Hi Kanapriya, We need to investigate if TIQR has done and api change with the new app. If so we need to deprecate the current authenticator.​ On Mon, Oct 9, 2017 at 3:27 PM, Shakila Sasikaran wrote: > Hi Kanapriya, > > You can refer the repo [1]. > > [1]

Re: [Dev] query help

2017-10-09 Thread Grainier Perera
Hi Jayesh, I don't think the OOTB event windows will support the feature that you are looking for. The best approach for you is to use an event table instead. You try something similar to below; @Plan:name('TestExecutionPlan') > define stream jobsStream (id int, eventdata string); > define table

Re: [Dev] Is there a CryptoUtil available in C5?

2017-10-09 Thread Subhashinie Koshalya
Hi Thusitha and Niranjan, The requirement is to encrypt a JWT without having to store another password or a key. Thanks a lot for the links. They seem to solve the problem. I'll get back to you if it did not come out as expected. Thanks and regards, Subhashinie Intern | Software Engineering

Re: [Dev] Is there a CryptoUtil available in C5?

2017-10-09 Thread Thusitha Thilina Dayaratne
Hi Subhashinie, C5 doesn't contain that particular class. Could you tell us what do you wanna achieve? If you want to encrypt/decrypt texts, you can use the secvault. You can refer [1] if that is your intention. [1]

[Dev] Is there a CryptoUtil available in C5?

2017-10-09 Thread Subhashinie Koshalya
Hi all, I am supposed to store a token securely. Is there something similar to CryptoUtil [1] available in C5? [1] https://github.com/wso2/carbon-kernel/blob/4.4.x/core/org.wso2.carbon.core/src/main/java/org/wso2/carbon/core/util/CryptoUtil.java

Re: [Dev] Is there a CryptoUtil available in C5?

2017-10-09 Thread Niranjan Karunanandham
Hi Subhashinie, In C5, the secure vault component is moved to a separate repo [1]. In order to encrypt your value, you need to get an instance of the secure vault and call the encrypt method in [2]. [1] - https://github.com/wso2/carbon-secvault [2] -

Re: [Dev] Couldn't authenticate the Tiqr by scanning QR code with enrolled user

2017-10-09 Thread Shakila Sasikaran
Hi Kanapriya, You can refer the repo [1]. [1] https://github.com/simplesamlphp/simplesamlphp Thanks On Mon, Oct 9, 2017 at 3:04 PM, Shakila Sasikaran wrote: > Hi Kanapriya, > > It seems they released new version of tiqr mobile application and this > issue comes on this

[Dev] Couldn't authenticate the Tiqr by scanning QR code with enrolled user

2017-10-09 Thread Kanapriya Kuleswararajan
Hi All, I have tried with Tiqr authenticator [1] as mentioned [2] , I couldn't authenticate the enrolled user by scanning the QR code. I got response as below in the mobile app once I scanned the QR code. Please note that I connected my phone to the same WiFi network on which my tiqr-client is

Re: [Dev] Request to install mkdocs and mkdocs-material in jenkins.

2017-10-09 Thread Chathurika Amarathunga
Hi Maheshika, To enable the auto deployment of gh-pages after the build is finished, it is required to add following configurations to the Jenkins jobs of ' *siddhi*' and to all '*siddhi-extension*'[1]. 1. Add GIitHub username and password which has verified email address to access to

Re: [Dev] WSO2 debugger is not working for me .Please guide.

2017-10-09 Thread aditya shivankar
Hi Nandika, I tried "-Desb.debug=true" as well . But getting the same issue. With Regards, Aditya On Fri, Oct 6, 2017 at 5:33 PM, Nandika Jayawardana wrote: > Hi Aditya, > > Please follow the instructions from the page [1] > > [1]

[Dev] WSO2 Committers += Biruntha Gnaneswaran

2017-10-09 Thread Malaka Silva
​Hi Devs, It is my pleasure to welcome ​ Biruntha Gnaneswaran as a WSO2 Committer. Biruntha ​ has made some great contributions to WSO2 ​Extensions during the last months and in recognition of his commitment and contributions, she has been voted as a Committer for WSO2. @Biruntha, welcome

Re: [Dev] [IS][XACML] Introducing a Custom functionId

2017-10-09 Thread Isuranga Perera
Hi All, This is an issue with entitlement component. You can find issue[1] and PR[2]. [1] https://wso2.org/jira/browse/IDENTITY-6648 [2] https://github.com/wso2/carbon-identity-framework/pull/1112 Best Regards Isuranga Perera On Sat, Oct 7, 2017 at 5:53 PM, Farasath Ahamed