Re: [Dev] [DAS][HA] Reason for using a receiver queue in HA mode

2018-01-30 Thread Nirmal Fernando
Thanks, Grainier. Please see my comments inline. On Wed, Jan 31, 2018 at 1:07 PM, Grainier Perera wrote: > InputEventDispatcher will send the event to the callback immediately while > QueueInputEventDispatcher will queue events first and there will be an > internal worker (QueueInputEventDispatc

[Dev] Moving from BOSH deployment manifest schema v1 to v2

2018-01-30 Thread Chiranga Alwis
Hi all, while working on BOSH releases for WSO2 Identity Server deployment patterns, I encountered the existing deployment manifest implementations which utilize v1 schema [1]. Upon research of existing, popular BOSH release samples (e.g. zookeeper sample [2]) and references, it was identified th

Re: [Dev] [APIM][1.10] Setting HTTP_SC in Auth failure handler does not work

2018-01-30 Thread Sanjeewa Malalgoda
Yes send from custom sequence and then drop flow will work. Its better to maintain separate convert sequence. Thanks, sanjeewa. On Wed, Jan 31, 2018 at 8:21 AM, Harsha Kumara wrote: > Hi Lahiru, > > I think it's not possible to override it but you can follow [1] to do it > in a separate way. >

Re: [Dev] The location to find the jars for siddhi 4.0.0 extentions has not been properly mentioned in the docs

2018-01-30 Thread Sriskandarajah Suhothayan
Kalayarasi was working on that, @Kalayarasi can you update the status of this? On Wed, Jan 31, 2018 at 7:40 AM Minudika Malshan wrote: > Hi all, > > In the docs of the siddhi extensions[1][2], under how to use section[3], > it points user to find the jar of the extension in github. But the those

Re: [Dev] [APIM][1.10] Setting HTTP_SC in Auth failure handler does not work

2018-01-30 Thread Lahiru Sandaruwan
I see. Will follow that and set the code, respond from the sequence then. Thanks. On Tue, Jan 30, 2018 at 9:28 PM, Sanjeewa Malalgoda wrote: > Yes send from custom sequence and then drop flow will work. Its better to > maintain separate convert sequence. > > Thanks, > sanjeewa. > > On Wed, Jan

[Dev] The location to find the jars for siddhi 4.0.0 extentions has not been properly mentioned in the docs

2018-01-30 Thread Minudika Malshan
Hi all, In the docs of the siddhi extensions[1][2], under how to use section[3], it points user to find the jar of the extension in github. But the those are not hosted in the github releases[4]. The exact location to find those jars should be included in the docs (perhaps the maven repo url [5])

Re: [Dev] [APIM][1.10] Setting HTTP_SC in Auth failure handler does not work

2018-01-30 Thread Harsha Kumara
Hi Lahiru, I think it's not possible to override it but you can follow [1] to do it in a separate way. [1] http://sanjeewamalalgoda.blogspot.com/2015/04/how-to-generate-custom-error-message.html Thanks, Harsha On Wed, Jan 31, 2018 at 2:08 AM, Lahiru Sandaruwan wrote: > Hi, > > I changed _auth

[Dev] [DAS][HA] Reason for using a receiver queue in HA mode

2018-01-30 Thread Nirmal Fernando
Hi All, Can any of you remember the reason for using a receiver queue in HA mode? if (mode == Mode.HA) { HAConfiguration haConfiguration = EventReceiverServiceValueHolder.getEventManagementService() .getManagementModeInfo().getHaConfiguration(); Lock readLock = EventReceiverSe

[Dev] [APIM][1.10] Setting HTTP_SC in Auth failure handler does not work

2018-01-30 Thread Lahiru Sandaruwan
Hi, I changed _auth_failure_handler_ to set HTTP code to 498. But it still responds with 401. My handler after change is as follows, http://ws.apache.org/ns/synapse";> Anything wrong with my config? Thanks. -- -- Lahiru Sandaruwan Associate Technical Lead, WSO2 Inc., http://w

Re: [Dev] [APIM-ANALYTICS-2.1.0] Error ORG_WSO2_APIMGT_STATISTICS_PERHOURREQUES does not exist

2018-01-30 Thread Chaminda Jayawardena
Hi All, Just to Update. I went through several trial and error rounds as below and finally could successful. But the cause is still unknown. 1. Cleaned all the dbs(as recommending in several threads) and cleaned /repository/data/*, /solr/* /tmp/* directories and started back. - No luck 2. Rever

Re: [Dev] Artifact synchronization in WSO2 Identity Server deployment patterns in Cloud Foundry BOSH

2018-01-30 Thread Chiranga Alwis
Hi all, please find the following issues in GitHub ([1] and [2]) which refer to discussions which I initiated at Cloud Foundry BOSH official repository with regards to this issue. Based on @Imesh's feedback and the discussions highlighted below, it was understood that this has to be performed thr

Re: [Dev] Cannot find the Doc Site for siddhi-map-csv

2018-01-30 Thread Kalaiyarasi Ganeshalingam
Hi all, Please find the PR [1][2] for this. [1] https://github.com/wso2-extensions/siddhi-map-csv/pull/5 [2] https://github.com/wso2-extensions/siddhi-map-csv/pull/4 Regards, Kalaiyarasi Ganeshalingam Associate Software Engineer| WSO2 WSO2 Inc : http://wso2.org

[Dev] PayloadFactory and XML array to JSON

2018-01-30 Thread Thomas LEGRAND
Hello, I found a problem with the PayloadFactory. I have the following XML structure generated by an aggregate mediator: Bundle Bundle Bundle

Re: [Dev] How to recover from a java.net exception in a template?

2018-01-30 Thread Thomas LEGRAND
Hello Vinod, I am not sure that the error happens in the backend server. We fixed the problem and then, I switched off the services on the backend server to simulate the faulty environment. So, this time, I will receive this error: TID: [-1234] [] [2018-01-30 09:11:40,150] INFO > {org.apache.axi