[Dev] [EI] Proxy Access Requires Authorization Even Though Security Disabled

2018-01-11 Thread Thishani Lucas
Hi All, According to the issue [1], when deploying a proxy in the EI with a policy key defined and without the 'enableSec' element, the proxy is getting deployed. When accessing even the http endpoint, we need to give authorization details. When I reproduced this scenario, I had certain observatio

[Dev] [Announce] [Architecture] WSO2 Enterprise Integrator 6.1.1-update16 Released !

2018-01-11 Thread Malaka Gangananda
Hi All, The WSO2 Integration team is pleased to announce the release of Enterprise Integrator 6.1.1-update16. It is available for download from here . *Tasks/Bug Fixes and Improvements* - https:/

Re: [Dev] Dev studio expands

2018-01-11 Thread Kevin Ratnasekera
Seems I missed the correct PR. [1] [1] https://github.com/wso2/wso2-synapse/pull/265 Regards Kevin On Fri, Jan 12, 2018 at 12:03 PM, Kevin Ratnasekera wrote: > Hi Lahiru, > > Yes, the statement you pointed out is no longer a valid statement. We need > to correct the documentation. [1] Thanks

Re: [Dev] Dev studio expands

2018-01-11 Thread Kevin Ratnasekera
Hi Lahiru, Yes, the statement you pointed out is no longer a valid statement. We need to correct the documentation. [1] Thanks for pointing out. [1] https://github.com/wso2/wso2-synapse/pull/265 Regards Kevin On Thu, Jan 11, 2018 at 10:03 PM, Lahiru Sandaruwan wrote: > Hi Kevin, > > Thanks f

[Dev] WSO2 IoT Server 3.1.0-UPDATE10 Released!

2018-01-11 Thread Charitha Goonetilleke
WSO2 IoT Server 3.1.0 UPDATE 10 We are pleased to announce the latest update to WSO2 IoT Server 3.1.0 WSO2 IoT Server is one of the most adaptive Apache licensed open source IoT platforms available today. It provides best of breed technologies for device manufacturers to develop connected product

Re: [Dev] WSO2 Oxygen Tank > Message Forwarding Processor > Use of propeties tag inside a Scheduled Message Forwarding Processor

2018-01-11 Thread Vijitha Ekanayake
Hi Marcos, Likewise, Another option is to use Message Sampling Processor[1] rather than Scheduled Message Forwarding Processor and define the required properties inside the pointing sequence and call the endpoint from that sequence. [1]. https://docs.wso2.com/display/EI611/Message+Sampling+Proces

Re: [Dev] Tes automation framework for SOA integration test

2018-01-11 Thread Nuwan Wimalasekara
Hi Godwin, Since this is only a http service invocation, There is no need to use WSO2 automation framework. You have few options. Hope options listed below, will help you 1) Write your own maven test module using unit test framework like testng or junit. In the test module, you can use a

Re: [Dev] [EI-Analytics] Having two different Keystores for analytic nodes

2018-01-11 Thread Gokul Balakrishnan
Hi Godwin, There's a small caveat where we need a same key between the analytics nodes if they're clustered (which will be used to encrypt and pass Spark environment variables). Thanks, On 12 January 2018 at 11:08, Gihan Anuruddha wrote: > Hi Godwin, > > AFAIK, we can share the same Keystrore

Re: [Dev] [EI-Analytics] Having two different Keystores for analytic nodes

2018-01-11 Thread Gihan Anuruddha
Hi Godwin, AFAIK, we can share the same Keystrore with two nodes. We are not storing analytics data by encrypting using the keystore. So this won't be any issue. Regards, GIhan On Fri, Jan 12, 2018 at 8:12 AM, Godwin Shrimal wrote: > Hi Devs, > > Think we have two analytics nodes and EI conne

[Dev] WSO2 Identity Server 5.5.0 is ready for the release process

2018-01-11 Thread Sathya Bandara
The WSO2 Identity and Access Management team is pleased to announce that WSO2 Identity Server 5.5.0 branch is ready to be released. We have performed a dry release to verify and confirm that the release process for WSO2 Identity Serve 5.5.0-M1 is now in a ready state. You can build the distribution

Re: [Dev] Tes automation framework for SOA integration test

2018-01-11 Thread Godwin Shrimal
Thanks for the response Vinod. Thanks Godwin On Fri, Jan 12, 2018 at 6:34 AM, Vinod Kavinda wrote: > Hi Godwin, > In that case, I think you can use the existing wso2 automation framework. > You can refer mediation tests in the product-ei for reference. > > Regards, > Vinod > > On Fri, Jan 12,

Re: [Dev] Tes automation framework for SOA integration test

2018-01-11 Thread Godwin Shrimal
Hi Kasun, I also looked at the SOAP UI Test. But still not much confident of writing integration test. As an example. 1. Call API1 and get the response 2. Extract some values from that response got from #1 3. Create a new payload by using the value in #2 4. Call AP1 2 Thanks Godwin On Fri, Jan

Re: [Dev] WSO2 Oxygen Tank > Manage endpoint text responses from proxy (Unexpected character 'some_character' code 45 in prolog expected '<')

2018-01-11 Thread Vinod Kavinda
HI, I'm sorry, I'm not clear about your question. Too much info :) However, if you need to passthrough a non-standard content type, add following message formatter and builder to your axis2.xml. Here the content type should be whatever content type your backend is sending. Refer [1] for more

Re: [Dev] Tes automation framework for SOA integration test

2018-01-11 Thread Kasun Indrasiri
Hi Godwin, I have seen several users using SOAP UI for modeling testing of REST and SOAP services of EI/ESB. I think it has the ability to integrate with maven and other CICD tools. On Thu, Jan 11, 2018 at 3:34 PM, Vinod Kavinda wrote: > Hi Godwin, > In that case, I think you can use the existi

[Dev] [EI-Analytics] Having two different Keystores for analytic nodes

2018-01-11 Thread Godwin Shrimal
Hi Devs, Think we have two analytics nodes and EI connects to them via IP address for data publishing. I hope theoretically we need to configure two Keystores for each nodes correct CommonName (correct me if I am wrong). Both these nodes connect to shared UM, registry and other analytics DB (as re

Re: [Dev] Tes automation framework for SOA integration test

2018-01-11 Thread Vinod Kavinda
Hi Godwin, In that case, I think you can use the existing wso2 automation framework. You can refer mediation tests in the product-ei for reference. Regards, Vinod On Fri, Jan 12, 2018 at 4:48 AM, Godwin Shrimal wrote: > Hi Nuwan, > > Let me explain the scenario. I am building up an echo system

Re: [Dev] Tes automation framework for SOA integration test

2018-01-11 Thread Godwin Shrimal
Hi Nuwan, Let me explain the scenario. I am building up an echo system and using wso2ei-6.1.1 in the mediation layer. So I have many numbers of proxy services and APIs. I want to write an automation test suit to test those Proxy services and APIs (integration test). So service innovation will be e

[Dev] Simple example for Rates-based throttling policy

2018-01-11 Thread Lahiru Sandaruwan
Hi, I'm trying to get a sample throttling policy for rate limiting similar to "Example for a rates-based policy" explained at [1], and I'm having the policy file as a Registry artifact, separately. I could get it working with below policy. http://schemas.xmlsoap.org/ws/2004/09/policy";

Re: [Dev] Insulating Privacy in User Operations

2018-01-11 Thread Tharindu Edirisinghe
Hi Jayanga, Currently for identity claims, the claim URIs start with *http://wso2.org/claims/identity/ *X which is used to identify the identity related claims separately. How about we follow similar approach here for isolating the sensitive attributes? This w

Re: [Dev] Insulating Privacy in User Operations

2018-01-11 Thread Awanthika Senarath
Hello Jayanga, This looks interesting and timely, however, two questions. How do you plan to identify the "privacy concerned attributes" for a particular person? >From your email, it appears as the identification of the "privacy concerned attributes" is straightforward or you are having a predefin

[Dev] WSO2 Stream Processor 4.0.0 Released!

2018-01-11 Thread Gokul Balakrishnan
The WSO2 Analytics team is pleased to announce the general availability of WSO2 Stream Processor version 4.0.0! WSO2 Stream Processor (SP) 4.0.0 could be downloaded from the WSO2 Analytics Page . WSO2 SP 4.0.0 is the embodiment of the WSO2 Analytics platform, whose rea

[Dev] WSO2 Oxygen Tank > Manage endpoint text responses from proxy (Unexpected character 'some_character' code 45 in prolog expected '<')

2018-01-11 Thread Marcos Tarín Esteve
Hi ... I'm making a soap call to an endpoint service through ESB6.1.1 from SOAPUI PROXY CONFIGURATION ((( I bloted out some information with ))) http://ws.apache.org/ns/synapse"; name="WsV2_Based_Proxy" startOnLoad="true" statistics="disable" trace="enable" transports="http,https">

Re: [Dev] WSO2 Oxygen Tank > Message Forwarding Processor > Use of propeties tag inside a Scheduled Message Forwarding Processor

2018-01-11 Thread Juan Pablo Vadell
Hi Marcos, Maybe you can set an endpoint at the Scheduled Message Forwarding Processor, that calls a local Proxy Service that inside this new Proxy, set the the properties that you need and then call the real endpoint. JP Juan Pablo Vadell | *VATROX* *CTO* Cel: +54 9 351 678-1414 Work: +54 351

[Dev] WSO2 Oxygen Tank > Message Forwarding Processor > Use of propeties tag inside a Scheduled Message Forwarding Processor

2018-01-11 Thread Marcos Tarín Esteve
Hello How can i add tags (or similar functionality) to a Scheduled Message Forwarding Processor? I explain the case: I'm sending a message from a proxy service to an endpoint adding last mentioned properties without problem. In case of endpoint is fallen, I save the message in

Re: [Dev] Tes automation framework for SOA integration test

2018-01-11 Thread Nuwan Wimalasekara
Hi Godwin, The requirement is not clear to me. You want to service invocation only or service deployment and invocation for your testing. Thanks, Nuwanw On Thu, Jan 11, 2018 at 10:44 AM, Milinda Perera wrote: > Hi, > > @Nuwan: can we use our existing integration test framework that we use in >

Re: [Dev] Tes automation framework for SOA integration test

2018-01-11 Thread Milinda Perera
Hi, @Nuwan: can we use our existing integration test framework that we use in product-ei. Since all extensions, utils, etc released we can do integration test using it. WDYT? Thanks, Milinda On Thu, Jan 11, 2018 at 4:39 PM, Godwin Shrimal wrote: > Hi Devs, > > I want to write the *integration

Re: [Dev] Dev studio expands

2018-01-11 Thread Lahiru Sandaruwan
Hi Kevin, Thanks for the response. [1] says below about 'Maximum Concurrent Accesses', "When this parameter is used, the same Throttle mediator ID should be included in the response flow so that the completed responses are deducted from the available limit." Do we need to update docs? [1] https

Re: [Dev] [DAS] Inferring actual table name from the table's encoded name

2018-01-11 Thread Sajith Ravindra
Have to agree with Sinthuja on this. IMO this is a simple utility function. People will be mostly using this while debugging an issue to get the actual table name. Having script makes things much easy and simple IMO. Thanks *,Sajith Ravindra* Associate Technical Lead WSO2 Inc.; http://wso2.com le

Re: [Dev] Date formatting in datamapper

2018-01-11 Thread Eranda Rajapakshe
Hi Aditya, There's no direct way to manipulate date-time using Data Mapper. But since it flows as strings, you can do the following transformation using string manipulations (sub-string) Input: { "From": "2017-03-17T00:00:00", "To": "2018-03-16T00:00:00" } output { "From": "2017-03-17", "To

[Dev] WSO2 Identity Server 5.4.0 Update4 Released !!!

2018-01-11 Thread Ashen Weerathunga
The WSO2 Identity and Access Management team is pleased to announce the release of WSO2 Identity Server 5.4.0 Update4. You can build the distribution from the source tag, Runtime: https://github.com/wso2/product-is/releases/tag/v5.4.0-update4 Analytics: https://github.com/wso2/analytics-is/release

[Dev] A util method to convert a PEM encoded to a Certificate object.

2018-01-11 Thread Rushmin Fernando
When working on storing the certificate against the service provider, I came across with a need for the above util method. I couldn't find it identity-core code. Do we have one? If not shall we add it -- *Best Regards* *Rushmin Fernando* *Technical Lead* WSO2 Inc. - Lean .

[Dev] WSO2 API Manager 3.0.0-M13 Released!

2018-01-11 Thread Kasun Thennakoon
The WSO2 API Manager team is pleased to announce the release of API Manager 3.0.0-M13. It's now available to download. Distribution - https://github.com/wso2/product-apim/releases/download/v3.0.0-m13/wso2apim-3.0.0-m13.zip - https://github.com/wso2/product-apim/releases/download/v3.

Re: [Dev] How to handle null response , with http header "content-type = application/json" from third party service.

2018-01-11 Thread Susankha Nirmala
Hi Vikram, You can use payload factory mediator like below in the fault sequence to achieve your requirement. {"Message": "Not Data Found."} Thanks, /Susankha. On Thu, Jan 11, 2018 at 9:17 AM, Vinod Kavinda wrote: > Hi, > This should be triggering the fault sequence o

Re: [Dev] JKS with multiple keys (each with unique passwords)

2018-01-11 Thread Pubudu Fernando
Hi, I raised this question on Stackoverflow [1] and someone has answered it. Apparently we have to implement ManagerFactoryParameters [2]. Is this something that would be worth looking into? [1] - https://stackoverflow.com/questions/48183829/jks-with-multiple-keys-different-passwords [2] - https

[Dev] [IS] Implemeting SAML SSO Agent in .NET

2018-01-11 Thread Chiran Wijesekara
Hi all, I am in the process of developing the $subject. This agent should be pluggable to any ASP.NET web application. Repo is available at [1] it has the sample and also the agent. Currently, I have developed it with Http module(resides inside agent) and a listener(resides inside agent) class. Fu

Re: [Dev] [APIM] API or AdminService for Automating API Notification Subscriptions?

2018-01-11 Thread Chamin Dias
On Thu, Jan 11, 2018 at 3:57 PM, Prasanna Dangalla wrote: > HI Chaminda, > > Please refer my inline comments. > > On Thu, Jan 11, 2018 at 3:09 PM, Chaminda Jayawardena > wrote: > >> Hi, >> >> The Requirement is to automate adding notification subscriptions to and >> API on lifecycle changing.(Pl

Re: [Dev] [APIM] API or AdminService for Automating API Notification Subscriptions?

2018-01-11 Thread Rajith Roshan
Hi Chaminda, On Thu, Jan 11, 2018 at 3:09 PM, Chaminda Jayawardena wrote: > Hi, > > The Requirement is to automate adding notification subscriptions to and > API on lifecycle changing.(Please refer[1] for more.). > This can be done via mgt console but couldn't find any API for this on[2]. > Fou

Re: [Dev] Date formatting in datamapper

2018-01-11 Thread Himasha Guruge
Hi Aditya, Could you please try with a custom function in data-mapper? Please refer[1] for more information. [1] http://chathurikaerandi.blogspot.com/2016/07/custom-function-and-global-variables-in.html Thanks, Himasha On Wed, Jan 10, 2018 at 6:40 PM, aditya shivankar < shivankar.adit...@gmail.

[Dev] Tes automation framework for SOA integration test

2018-01-11 Thread Godwin Shrimal
Hi Devs, I want to write the *integration* test for Proxy service and APIs deployed in wso2ei-6.1.1. Can someone propose a recommended open source framework for this? Thanks Godwin -- *Godwin Amila Shrimal* Associate Technical Lead WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile:

Re: [Dev] [APIM] API or AdminService for Automating API Notification Subscriptions?

2018-01-11 Thread Prasanna Dangalla
HI Chaminda, Please refer my inline comments. On Thu, Jan 11, 2018 at 3:09 PM, Chaminda Jayawardena wrote: > Hi, > > The Requirement is to automate adding notification subscriptions to and > API on lifecycle changing.(Please refer[1] for more.). > For this ARAIK you need to create a custom life

[Dev] [APIM] API or AdminService for Automating API Notification Subscriptions?

2018-01-11 Thread Chaminda Jayawardena
Hi, The Requirement is to automate adding notification subscriptions to and API on lifecycle changing.(Please refer[1] for more.). This can be done via mgt console but couldn't find any API for this on[2]. Found this[3] in [4] but its not available in apim2xx. Is there any other option that we rec

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

2018-01-11 Thread aditya shivankar
Respected Sir, Due to some missing configurations which I am not able to point out,I am not able to use xslt for now. Is there any other way to achieve this? Using PayloadFactory etc.. { "Children": [ { "Name": { "Type": "System.String", "Value": "Gayle" }, "Education":{ "Type": "System.String",

Re: [Dev] Building XACML-APIManager repository

2018-01-11 Thread Chamalee De Silva
Thanks a lot Nadeesha. We are going to maintain the entitlement JAR source within the API Manager from 2.2.0 onwards. Uvindra is working on it. I have tested the dependency fixed jar given by Uvindra and it is working without an issue when we are using Identity Server as PDP as described in the D

[Dev] Adding a Fix to Axis2 Repo

2018-01-11 Thread Thishani Lucas
Hi All, According to [1], the reported issue was due to an issue [2] in the axis2 which has been fixed in the 1.7.0 version of axis2. But it seems that wso2-axis2 [3] has not incorporated that fix yet. These days I'm planning to implement that fix in order to resolve the reported issue. Since it h