[Dev] [Analytics] NoClassDefFoundError:com.codahale.metrics.json.MetricsModule when installing latest analytics features in IOT server

2016-10-03 Thread Waruna Jayaweera
Hi, After moving to latest analytics version(1.2.8) , we are getting class not found error [1]. This is due to the package import conflicts of spark bundle and io.dropwizard.metrics.json which imports different version of jackson packages. IOT server packs multiple jackson versions 2.4.4 and 2.8.2

[Dev] [ESB 490] Create empty named json array inside an xslt

2016-10-03 Thread Udara Liyanage
Hi, I want to generate an empty json array ("addresses":[]) when addresses count is zero. I tried below as [1] which resulted only in null. [1] https://docs.wso2.com/display/ESB500/JSON+Support -- Udara Liyanage Software Engineer WSO2, Inc.: http:/

Re: [Dev] [MB] Message Expiration Task and Messages shown in UI

2016-10-03 Thread Asanka Abeyweera
Hi Sirojan, Yes, In user's perspective it is better not to show the expired messages. How are we going to filter out the expired messages from UI? Since we have the expiry time information in the database, I think we can use that information to filter. On Tue, Oct 4, 2016 at 12:00 PM, Sirojan Th

[Dev] [MB] Message Expiration Task and Messages shown in UI

2016-10-03 Thread Sirojan Tharmakulasingam
Hi All, Currently, we have two tasks to deal with expired messages. 1. Pre-delivery expiry message deletion task --> Will catch the expired messages at the Message flusher 2. Periodic message deletion task --> each 15 minutes it checks expired messages and deleted them for the messages which are

[Dev] WSO2 Committers += Ashen Weerathunga

2016-10-03 Thread Nirmal Fernando
Hi all, It is my pleasure to welcome Ashen Weerathunga as a WSO2 Committer. In recognition of Ashen's contributions to ML, Siddhi and IoT analytics, he has been voted as a Committer. Ashen, welcome aboard and keep up the good work. -- Thanks & regards, Nirmal Team Lead - WSO2 Machine Learner

Re: [Dev] Aggregate Mediator Disregarding 'enclosingElementProperty'

2016-10-03 Thread Isuru Haththotuwa
Thanks IsuruU. On Tue, Oct 4, 2016 at 6:38 AM, Isuru Udana wrote: > Hi Isuru, > > Property name is "aggregated_response" and the value is following. > > * http://abc.com/>" />* > > So message is getting added to above element as a child. > > Thanks. > > On Mon, Oct 3, 2016 at 10:17 PM, Isuru Hat

Re: [Dev] [APPM]Signature validation failed error when trying to login to publisher of APPM as a tenant admin

2016-10-03 Thread Prakhash Sivakumar
Hi Megala, Those configuration parameters in authenticators.xml are related to the IDP, in publisher the SP side validation should happen based on the configurations in publisher.json. But when I try to debug the scenario, the spId was taken from authenticators.xml but it shouldn't happen like th

Re: [Dev] [APPM]Signature validation failed error when trying to login to publisher of APPM as a tenant admin

2016-10-03 Thread Megala Uthayakumar
Hi Thilini, Thank you for your explanation. The above mentioned error log got printed if the following are not included in authenticators.xml false false under SAML2SSOAuthenticator configuration. Because in [1] those 2 parameters are checked and if those are false, validate signature part

Re: [Dev] Status code in the log never get print on response path!

2016-10-03 Thread Abimaran Kugathasan
Hi Vanji, Thanks for the fix. Your PR was merged. On Tue, Oct 4, 2016 at 6:15 AM, Vanjikumaran Sivajothy wrote: > Hi APIM team, > > $subject due to wrong use of method. It should be isNotEmpty[1]. I have > fixed that and the send the pull request. Further i have introduced HTTP > method in the

Re: [Dev] Aggregate Mediator Disregarding 'enclosingElementProperty'

2016-10-03 Thread Isuru Udana
Hi Isuru, Property name is "aggregated_response" and the value is following. * http://abc.com/>" />* So message is getting added to above element as a child. Thanks. On Mon, Oct 3, 2016 at 10:17 PM, Isuru Haththotuwa wrote: > Hi, > > $subject. The relevant in and out sequences are at [1]. He

[Dev] Status code in the log never get print on response path!

2016-10-03 Thread Vanjikumaran Sivajothy
Hi APIM team, $subject due to wrong use of method. It should be isNotEmpty[1]. I have fixed that and the send the pull request. Further i have introduced HTTP method in the log for more granular level of information to analyzing the log with log analyzing tools if (DIRECTION_OUT.equals(direction

[Dev] Aggregate Mediator Disregarding 'enclosingElementProperty'

2016-10-03 Thread Isuru Haththotuwa
Hi, $subject. The relevant in and out sequences are at [1]. Here, I expect the aggregated response to be in a root element element named 'aggregated_response'. But the actual response has the root element as 'Information' [2]. This is APIM 1.10, synapse version is 2.1.5.wso2v2. Any idea why this i

Re: [Dev] Scatter and Gather Pattern for Dynamic Endpoints

2016-10-03 Thread Isuru Haththotuwa
Thanks for the info IsuruU and Viraj. Will check this. On Mon, Oct 3, 2016 at 10:03 AM, Viraj Rajaguru wrote: > Hi, > > On Mon, Oct 3, 2016 at 7:43 AM, Isuru Udana wrote: > >> Hi Isuru, >> >> By looking at the synapse code of RecipientListEndpoint, I can see that >> there is an option to pick e

Re: [Dev] [APPM]Signature validation failed error when trying to login to publisher of APPM as a tenant admin

2016-10-03 Thread Thilini Shanika
Hi Megala, When I try to login to carbon-appmgt publisher as a tenant admin in EMM, it prints the following message in the console, *[2016-10-02 20:23:46,814] ERROR {org.wso2.carbon.identity.authenticator.saml2.sso.SAML2SSOAuthenticator} - Authentication Request is rejected. Signature validation