[Dev] 5.6.x branch created in identity-inbound-auth-oauth repository

2018-01-08 Thread Maduranga Siriwardena
Hi Devs, We have done $subject. Branch url is [1]. This branch contains the initial implementations of AuthenticationContext Class Reference (ACR) and Authentication Methods References (AMR). We will be using this branch for Identity Server 5.5.0 development work. [1]

[Dev] [MSF4J] Running multiple MicroserviceRunners in a single JVM.

2018-01-08 Thread Irshad Nilam
Hi all, I am working on integration test for 4 microservices written in MSF4J. 1 - A Microservice 2 - B Microservice 3 - C Microservice 4 - D Microservice These are implemented in a way to deploy them separately. Application code (where we deploy the microservice using microservice runner)

Re: [Dev] [EI][Test] Mocking malformed response from BE

2018-01-08 Thread Vijitha Ekanayake
Hi Milinda, AFAIK, there is no inbuilt capability to mocking such BEs within test framework itself. But you should be able to use HttpServer class to start a new server instance with a malformed payload within the test case itself. Can you try programmatically start simple HTTPServer within test

Re: [Dev] Load balancing + HA with MySQL NDB cluster

2018-01-08 Thread Samitha Chathuranga
Hi Godwin, Thanks for the reply. But there seems an issue with ClusterJ as in [1] "ClusterJ supports primary key and unique key operations and single-table queries; it does not support multi-table operations, including joins". I don't think we should be supporting multi table operations for WSO2

[Dev] [EI][Test] Mocking malformed response from BE

2018-01-08 Thread Milinda Perera
Hi, I'm writing a test case for product-ei, testing fault sequence execution while building the message when BE returns malformed payload. I tried mocking BE with EI API but failed to return malformed payload. Do we have the ability to mock BE server within our test framework or EI integration

Re: [Dev] WSO2 SP Aggregation problem

2018-01-08 Thread Charini Nanayakkara
Hi Juan, Thanks again for reporting this issue. We will look into it. Best Regards Charini On Tue, Jan 9, 2018 at 10:18 AM, Juan Pablo Vadell wrote: > Hi Charini, > > You must take care of Oracle table names Max Length, that is 30 until 12.1 > and 128 bytes from 12.2. > >

Re: [Dev] [MSF4J] Configuring transports using MSF4J JAVA API

2018-01-08 Thread Afkham Azeez
Ok, so this is something we are missing in MSF4J. What we can do is introduce an MSF4JRuntimeBuilder which can be used to configure the MSF4J runtime. This is a simple change. Can you send a PR? On Mon, Jan 8, 2018 at 11:18 PM, Asanka Abeyweera wrote: > Hi Azeez, > > We are

Re: [Dev] WSO2 SP Aggregation problem

2018-01-08 Thread Juan Pablo Vadell
Hi Charini, You must take care of Oracle table names Max Length, that is 30 until 12.1 and 128 bytes from 12.2. I created an issue at github before you, but in the wrong place. https://github.com/wso2/siddhi/issues/717 Thank you, Juan Pablo Vadell | *VATROX* On Tue, Jan 9, 2018 at 12:35 AM,

Re: [Dev] [EI-Enalytics] Search messages by status

2018-01-08 Thread Pubudu Gunatilaka
Hi Godwin, Based on [1], looks like there is no way to give the status when searching. [1] - https://docs.wso2.com/display/EI610/Searching+for+Messages Thank you! On Tue, Jan 9, 2018 at 7:49 AM, Godwin Shrimal wrote: > Reminder on this. > > > Thanks > Godwin > > On Mon, Jan

Re: [Dev] [EI] Issue on send an email with the attachment.

2018-01-08 Thread Nadeeshaan Gunasinghe
Hi Senuwan, Can you check whether you can send the email with the attachment without the body? In order to isolate the issue, if there is any. Also please refer the following article by Chanaka for more details. [1]

Re: [Dev] Places we are using super tenant keystore

2018-01-08 Thread Godwin Shrimal
Thanks for the response Johann. Could you please point me to the source location of the registry migration client? I couldn't find it under [1]. [1] https://github.com/wso2/product-is Thanks Godwin On Tue, Jan 9, 2018 at 10:57 AM, Johann Nallathamby wrote: > *[+Prasanna]* > >

Re: [Dev] Places we are using super tenant keystore

2018-01-08 Thread Johann Nallathamby
*[+Prasanna]* There are resources in the registry that also get encrypted specific to each product. Also some fields in the database which again is specific to each product. To get an idea of what are those registry resources in each product, you could take a look at the registry migration client

Re: [Dev] Load balancing + HA with MySQL NDB cluster

2018-01-08 Thread Godwin Shrimal
Hi Samith, There is a java connector called Clusterj which provides APIs to connect MySQL NDB cluster. Please see the links below. [1] https://dev.mysql.com/doc/ndbapi/en/mccj.html [2] http://www.clusterdb.com/mysql-cluster/using-clusterj-part-of-mysql-cluster-connector-for-java-a-tutorial

Re: [Dev] Places we are using super tenant keystore

2018-01-08 Thread Godwin Shrimal
We use super tenant keystore for Secure vault. Thanks Godwin On Tue, Jan 9, 2018 at 10:19 AM, Godwin Shrimal wrote: > Hi Devs, > > What are the places(except tenant keystore password) we are using super > tenant keystore for encryption/decryption? I want to understand what is

Re: [Dev] WSO2 SP Aggregation problem

2018-01-08 Thread Charini Nanayakkara
Hi Juan, Thank you for reporting this issue. SP aggregation has only been tested with MySql so far. We have updated that information in SP documentation [1] As explained by you, the reported issue arises in Oracle, due to not specifying attributes starting with underscore (such as _TIMESTAMP)

[Dev] Places we are using super tenant keystore

2018-01-08 Thread Godwin Shrimal
Hi Devs, What are the places(except tenant keystore password) we are using super tenant keystore for encryption/decryption? I want to understand what is the impact of changing a keystore in a running system. Thanks Godwin -- *Godwin Amila Shrimal* Associate Technical Lead WSO2 Inc.;

Re: [Dev] [EI-Enalytics] Search messages by status

2018-01-08 Thread Godwin Shrimal
Reminder on this. Thanks Godwin On Mon, Jan 8, 2018 at 4:57 PM, Godwin Shrimal wrote: > Hi Devs, > > How can we search messages in the EI Analytics dashboard with Status? > > Thanks > Godwin > > -- > *Godwin Amila Shrimal* > Associate Technical Lead > WSO2 Inc.;

Re: [Dev] [MSF4J] Configuring transports using MSF4J JAVA API

2018-01-08 Thread Asanka Abeyweera
Hi Azeez, We are using MSF4J in a non-C5 (non-OSGI) environment. I think we could still point msf4j.conf system property to the yaml config used in the product and use the MSF4j namespace in the product config file. But we have following two requirements which we think is not available in the

Re: [Dev] [MSF4J] Configuring transports using MSF4J JAVA API

2018-01-08 Thread Afkham Azeez
MSF4J now supports the unified deployment.yaml approach. This is the single config file all C5 based products should be using. So you can have the relevant MSF4J config in that file and provide it to the MSF4J runtime. MSF4J knows about the msf4j.conf System property. You can point that property

Re: [Dev] Certificate verification error when running the puppet agent

2018-01-08 Thread Pubudu Gunatilaka
Hi Isuru, Make sure you have the correct hostname in puppet master. This can be verified by using the hostname command. Thank you! On Mon, Jan 8, 2018 at 5:34 PM, Samitha Chathuranga wrote: > Hi Isuru, > > Hope you have correctly followed these steps to clean certs and try

[Dev] [MSF4J] Configuring transports using MSF4J JAVA API

2018-01-08 Thread Asanka Abeyweera
Hi all, I couldn't find a way to enable "https" transport in MSF4J using MSF4J JAVA API. AFAIU we can do that only by using the listener configurations in the netty-transports.yml. But we would prefer if we can specify the configs in our own product related config and then provide those configs

[Dev] Load balancing + HA with MySQL NDB cluster

2018-01-08 Thread Samitha Chathuranga
Hi, How to configure a wso2 product with a MySQL NDB cluster database so as the High availability as well the load balancing can be catered altogether. We can have these two capabilities separately by configuring the database connection url appropriately as below. *For High Availability [1]*

[Dev] [EI] Issue on send an email with the attachment.

2018-01-08 Thread Senuwan Withana
Hi Team, According to my Scenario I need to send an email and an attachment to the two users. One user works inside the company and other user changes dynamically. Email send sequence is functioning correctly. But I have two questions to solve, [1]. When I execute the sequence it will send

Re: [Dev] Certificate verification error when running the puppet agent

2018-01-08 Thread Samitha Chathuranga
Hi Isuru, Hope you have correctly followed these steps to clean certs and try back. Enter the following commands with root permissions, 1) on agent>> - rm -rf /var/lib/puppet/ssl/ 2) on master>> - puppet cert clean --all - service puppetmaster restart Then try to run agent again.

Re: [Dev] Json Array transformation using payloadfactory or enrich mediator. Please guide.

2018-01-08 Thread Vinod Kavinda
Hi Aditya, You need to add the local entry declaration in the registry inside your API config. Without that, synapse does not know the location of your xsl. Refer [1] for more details. [1] - https://docs.wso2.com/display/EI611/Working+with+Local+Registry+Entries Regards, Vinod On Mon, Jan 8,

Re: [Dev] Problem with extracting a value in a SOAP response through a shell script

2018-01-08 Thread Ruwan Abeykoon
Hi Nipuni, +1 on asking to install xmlint as pre-requisites. Please add a check on the shell script and prompt the user to install the package if the xmlint is not present on the OS. Cheers, Ruwan On Mon, Jan 8, 2018 at 11:50 AM, Nipuni Bhagya wrote: > Adding Sagara and

[Dev] [EI-Enalytics] Search messages by status

2018-01-08 Thread Godwin Shrimal
Hi Devs, How can we search messages in the EI Analytics dashboard with Status? Thanks Godwin -- *Godwin Amila Shrimal* Associate Technical Lead WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/