Re: [Dev] Regarding the messageContext creation for Custom Inbounds

2017-07-20 Thread Hariprasath Thanarajah
[-support-dev][+dev] On Fri, Jul 21, 2017 at 11:58 AM, Hariprasath Thanarajah < haripras...@wso2.com> wrote: > Hi All, > > When we extend the GenericPollingConsumer, ListeningConsumer or > EventBasedConsumer to create a custom inbound for ESB there we don't have a > method to pass the messageCont

Re: [Dev] Please review and merge the pull request

2017-07-20 Thread Thanuja Jayasinghe
Thanks! On Fri, Jul 21, 2017 at 10:17 AM, Thusitha Thilina Dayaratne < thusit...@wso2.com> wrote: > Hi Thanuja, > > PR is merged to 4.4.x branch. > > Thanks > Thusitha > > On Thu, Jul 20, 2017 at 6:31 PM, Thanuja Jayasinghe > wrote: > >> Hi Kishanthan, >> >> Please merge the pull request [1] whi

Re: [Dev] Fwd: Possible Bug Reports

2017-07-20 Thread Chiranga Alwis
Hi Sagar, can you please specify the WSO2 Data Analytics Server version you are using, as well? On Thu, Jul 20, 2017 at 11:00 PM, Chiranga Alwis wrote: > Hi Sagar, > > it would be helpful if you could share the code mentioned in part a. of > your question. > > On Thu, Jul 20, 2017 at 1:02 PM, C

Re: [Dev] Please review and merge the pull request

2017-07-20 Thread Thusitha Thilina Dayaratne
Hi Thanuja, PR is merged to 4.4.x branch. Thanks Thusitha On Thu, Jul 20, 2017 at 6:31 PM, Thanuja Jayasinghe wrote: > Hi Kishanthan, > > Please merge the pull request [1] which contains the fix for [2]. > > [1] - https://github.com/wso2/carbon-kernel/pull/1445 > [2] - https://github.com/wso2/

Re: [Dev] Adding responses as elements , to an array in json response

2017-07-20 Thread Himasha Guruge
Hi Aditya, You can use XSLT mediator [1] for this purpose. You could pass your current response from AggregateMediator to an XSLT mediator and build the required response. I have tried with the attached XSLT and received below output. http://schemas.xmlsoap.org/soap/envelope/";>

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.17 RC3

2017-07-20 Thread Kishanthan Thangarajah
Dropping this due to an important fix needed from commons-httpclient - https://github.com/wso2/carbon-kernel/issues/1447 Will fix them and call for the vote soon. On Thu, Jul 20, 2017 at 9:49 AM, Kishanthan Thangarajah wrote: > Hi All, > > This is the 3rd release candidate of WSO2 Carbon Kernel

Re: [Dev] javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/related

2017-07-20 Thread Fathima Dilhasha
Hi Godwin, I have solved it by forcefully loading the correct class at runtime as follows. ClassLoader currentClassLoader = Thread.currentThread().getContextClassLoader(); //Added to load the latest javax.mail.Message class Thread.currentThread().setContextClassLoader(javax.mail.Message.class.get

Re: [Dev] API ManagerToken API

2017-07-20 Thread Rajkumar Rajaratnam
This the key manager host name you configure under APIKeyValidator section in api-manager.xml of Gateway. On Thu, Jul 20, 2017 at 8:58 PM Júnior wrote: > Hi Rajkumar, > > In the code you sent, it tries to take the property from the > SystemProperty: -DkeyManagerHostname=myhost. > > But it alway

Re: [Dev] API ManagerToken API

2017-07-20 Thread Júnior
Hi Rajkumar, In the code you sent, it tries to take the property from the SystemProperty: -DkeyManagerHostname=myhost. But it always take localhost. Where do I need to set this value? Thanks, 2017-07-20 18:19 GMT-03:00 Rajkumar Rajaratnam : > You don't need to set this manually. > > Gateway

Re: [Dev] javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/related

2017-07-20 Thread Godwin Shrimal
I was able to do it by following [1] [1] http://tanyamadurapperuma.blogspot.com/2014/01/struggling-with-nosuchproviderexception.html On Thu, Jul 20, 2017 at 4:06 PM, Godwin Shrimal wrote: > Hi Platform Team, > > Do we have any limitation here ? Can't we send email with attachment ? > > Thanks >

Re: [Dev] API ManagerToken API

2017-07-20 Thread Rajkumar Rajaratnam
You don't need to set this manually. Gateway will read key manager configuration from api-manager.xml and automatically set these values. See - https://github.com/wso2/carbon-apimgt/blob/5.0.x/components/apimgt/org.wso2.carbon.apimgt.gateway/src/main/java/org/wso2/carbon/apimgt/gateway/handlers/c

[Dev] API ManagerToken API

2017-07-20 Thread Júnior
Hi, Where do I set the value for those variables: Used in the Token API in API Manager. I didn't find in the docs where to set those values. Any tips are very welcome. Thanks, -- Francisco Ribeiro *SCEA|SCJP|SCWCD|IBM Certified SOA Associate* ___

Re: [Dev] javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/related

2017-07-20 Thread Godwin Shrimal
Hi Platform Team, Do we have any limitation here ? Can't we send email with attachment ? Thanks Godwin On Thu, Jul 20, 2017 at 4:05 PM, Godwin Shrimal wrote: > Hi Fathima, > > Did you find any solution for this ? I am also facing the same issue. > > > Thanks > Godwin > > On Thu, Sep 15, 2016 a

Re: [Dev] javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/related

2017-07-20 Thread Godwin Shrimal
Hi Fathima, Did you find any solution for this ? I am also facing the same issue. Thanks Godwin On Thu, Sep 15, 2016 at 7:19 AM, Fathima Dilhasha wrote: > > Hi, > > I'm trying to send an email with images within an osgi component. > > But I'm getting the following error when trying to send an

Re: [Dev] Adding responses as elements , to an array in json response

2017-07-20 Thread Sudharma Subasinghe
HI Aditya, I tried the attached configs in the mail thread and could get expected output as in above. Sorry for missing the point of backend service. The xpath *get-property('firstResponse')/children* works for me and it will add elements to *children* element as in your config. Hope you are try

Re: [Dev] Fwd: Possible Bug Reports

2017-07-20 Thread Chiranga Alwis
Hi Sagar, it would be helpful if you could share the code mentioned in part a. of your question. On Thu, Jul 20, 2017 at 1:02 PM, Chandana Napagoda wrote: > +Chiranga > > On Thu, Jul 20, 2017 at 11:39 AM, Sagar Kapadia > wrote: > >> >> -- Forwarded message -- >> From: Sagar Kap

Re: [Dev] Is quartz-2.3.0.wso2v1 orbit bundle created properly ?

2017-07-20 Thread Thusitha Thilina Dayaratne
Hi Mohan, Yes, agree with you. But it would be better if we define the import packages rather than depending on Dynamic Imports. We can do the necessary changes and re release the v2 bundle. Thanks Thusitha On Thu, Jul 20, 2017 at 10:19 PM, Mohanadarshan Vivekanandalingam < mo...@wso2.com> wrote

[Dev] Is quartz-2.3.0.wso2v1 orbit bundle created properly ?

2017-07-20 Thread Mohanadarshan Vivekanandalingam
Hi Team, We have faced below issue after upgrading the carbon-transports version for product-sp milestone release. Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 MSF4J Feature 2.3.0.m2 (org.wso2.msf4j.feature.group 2.3.0.m2) Mis

[Dev] WSO2 Stream Processor 4.0.0-M7 Released !

2017-07-20 Thread Yasara Dissanayake
Hi All, The WSO2 Analytics team is pleased to announce the release of WSO2 Stream Processor Version 4.0.0 Milestone 7. WSO2 Smart Analytics let digital business creating real-time, intelligent, actionable business insights, and data products which are achieved by WSO2 Stream Processor's real-time

Re: [Dev] [ESB 4.8.1] Relate iterator mediator response with request

2017-07-20 Thread Lahiru Sandaruwan
Thanks Nirmal. I followed this approach! On Wed, Jul 19, 2017 at 12:07 PM, Nirmal Fernando wrote: > What about following; > > Iterate -> keep the message in a property () -> call back-end -> enrich > response & property -> aggregate ? > > On Wed, Jul 19, 2017 at 10:16 PM, Lahiru Sandaruwan > wr

Re: [Dev] Adding responses as elements , to an array in json response

2017-07-20 Thread aditya shivankar
Thanks Sudharma for reply, As I mentioned* "modifyAgRes.xml" *is a mock of backend service. I cannot change the backend service. Whatever modifications I have to do is only to main xml* "**addChild.xml**".* Plus I think we cannot use payloadFactory this way , as number of elements coming in input

[Dev] [IDENTITY-3355] Better if only warning is shown for signature verification failures

2017-07-20 Thread Sugirjan Ragunaathan
Hi, I'm working on the WSO2 public JIRA issue $subject [1]. In the Source code [2], when the SAML2 signature is validated and if validation exception is catched, then the exception is logged as well as debug message. } catch (ValidationException e) { if (log.isDebugEnabled()) { log.d

[Dev] Please review and merge the pull request

2017-07-20 Thread Thanuja Jayasinghe
Hi Kishanthan, Please merge the pull request [1] which contains the fix for [2]. [1] - https://github.com/wso2/carbon-kernel/pull/1445 [2] - https://github.com/wso2/carbon-kernel/issues/1444 Thanks, Thanuja -- *Thanuja Lakmal* Associate Technical Lead WSO2 Inc. http://wso2.com/ *lean.enterpris

Re: [Dev] Error while building the product-is

2017-07-20 Thread Piraveena Paralogarajah
[+Darshana, Maduranga] We found a workaround solution for this issue. We used -X flag to get more debug logs. org.eclipse.osgi_3.8.0.v20110726-1606.jar was the final jar installed during the execution. So we assumed the issue was in this file. Even though we imported the certificates of the jar

[Dev] Error while building the product-is

2017-07-20 Thread Piraveena Paralogarajah
Hi, I tried to build the product-is. When building product-is using java 1.8, the build was failed due to error - one or more certificates rejected. Error log: ​[INFO] Command line: /bin/sh -c cd /home/piraveena/Documents/wso2/product_is/product-is/modules/p2-profile-gen && /usr/lib/jvm/java-8-

Re: [Dev] Adding responses as elements , to an array in json response

2017-07-20 Thread Sudharma Subasinghe
Hi, Try using PayloadFactory mediator as below. Change your configs as following. *modifyAgRes.xml* $1 $1 $2 Car Tmaze

Re: [Dev] Recommended init.ora parameters for WSO2 product

2017-07-20 Thread Jayanga Dissanayake
Hi Chamara, There are no specifics that we rely upon on Oracle DB Generic optimization guidelines in the Oracle DB side would be enough in almost all the cases. Thanks, Jayanga. *Jayanga Dissanayake* Associate Technical Lead WSO2 Inc. - http://wso2.com/ lean . enterprise . middleware email: jay

[Dev] Possible Bug in generation of JSON payload from Kafka Publisher

2017-07-20 Thread Sagar Kapadia
Hi, I am trying to read from a stream and wrtie json to a kafka pubisher. I have selected json There is an extra set of quotes at the beginning of twitterMessage, which prevents the parsing library [jackson] from treating it as a either valid string or valid object *Note the quote after the : fol

Re: [Dev] How to customize MessageBodyReader with msf4j

2017-07-20 Thread Thomas LEGRAND
OK, I saw that the @Provider annotation is not yet supported: https://github.com/wso2/msf4j/issues/295 2017-07-19 16:48 GMT+02:00 Thomas LEGRAND : > Hello, > > I would like to create a custom MessageBodyReader to parse custom > application/json content but it seems it is not registered at the st

Re: [Dev] Fwd: Possible Bug Reports

2017-07-20 Thread Chandana Napagoda
+Chiranga On Thu, Jul 20, 2017 at 11:39 AM, Sagar Kapadia wrote: > > -- Forwarded message -- > From: Sagar Kapadia > Date: Wed, Jul 19, 2017 at 5:05 PM > Subject: Possible Bug Reports > To: dev-requ...@wso2.org, ash...@avinashi.com, > sa...@cloudnineconsulting.in > > > Hi, > a.