Re: [Dev] [ESB] Issue with Salesforce REST connector

2017-12-01 Thread Malaka Silva
er I/O dispatcher-2 <<
>>> "Cache-Control: no-cache,must-revalidate,max-a
>>> ge=0,no-store,private[\r][\n]"
>>> [2017-12-01 00:14:47,570] DEBUG - wire HTTP-Listener I/O dispatcher-2 <<
>>> "X-Content-Type-Options: nosniff[\r][\n]"
>>> [2017-12-01 00:14:47,571] DEBUG - wire HTTP-Listener I/O dispatcher-2 <<
>>> "Content-Security-Policy: upgrade-insecure-requests[\r][\n]"
>>> [2017-12-01 00:14:47,572] DEBUG - wire HTTP-Listener I/O dispatcher-2 <<
>>> "WWW-Authenticate: Token[\r][\n]"
>>> [2017-12-01 00:14:47,572] DEBUG - wire HTTP-Listener I/O dispatcher-2 <<
>>> "Set-Cookie: BrowserId=nrfXAmi3RPidZl2vKAAAiA;Path=/;Domain=.
>>> salesforce.com;Expires=Mon, 29-Jan-2018 18:44:47
>>> GMT;Max-Age=5184000[\r][\n]"
>>> [2017-12-01 00:14:47,572] DEBUG - wire HTTP-Listener I/O dispatcher-2 <<
>>> "Expires: Thu, 01 Jan 1970 00:00:00 GMT[\r][\n]"
>>> [2017-12-01 00:14:47,572] DEBUG - wire HTTP-Listener I/O dispatcher-2 <<
>>> "X-XSS-Protection: 1; mode=block[\r][\n]"
>>> [2017-12-01 00:14:47,572] DEBUG - wire HTTP-Listener I/O dispatcher-2 <<
>>> "Content-Type: application/json;charset=UTF-8[\r][\n]"
>>> [2017-12-01 00:14:47,572] DEBUG - wire HTTP-Listener I/O dispatcher-2 <<
>>> "Date: Thu, 30 Nov 2017 18:44:47 GMT[\r][\n]"
>>> [2017-12-01 00:14:47,572] DEBUG - wire HTTP-Listener I/O dispatcher-2 <<
>>> "Transfer-Encoding: chunked[\r][\n]"
>>> [2017-12-01 00:14:47,572] DEBUG - wire HTTP-Listener I/O dispatcher-2 <<
>>> "Connection: keep-alive[\r][\n]"
>>> [2017-12-01 00:14:47,572] DEBUG - wire HTTP-Listener I/O dispatcher-2 <<
>>> "[\r][\n]"
>>> [2017-12-01 00:14:47,572] DEBUG - wire HTTP-Listener I/O dispatcher-2 <<
>>> "4b[\r][\n]"
>>> [2017-12-01 00:14:47,572] DEBUG - wire HTTP-Listener I/O dispatcher-2 <<
>>> "[{"message":"Session expired or invalid","errorCode":"INVALID_
>>> SESSION_ID"}][\r][\n]"
>>> [2017-12-01 00:14:47,572] DEBUG - wire HTTP-Listener I/O dispatcher-2 <<
>>> "0[\r][\n]"
>>> [2017-12-01 00:14:47,572] DEBUG - wire HTTP-Listener I/O dispatcher-2 <<
>>> "[\r][\n]"
>>>
>>>
>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Rajith Siriwardana*
>> WSO2 Inc. | http://wso2.com
>> *lean. enterprise. middleware*
>>
>> ---
>> *https://home.apache.org/~siriwardana
>> <https://home.apache.org/~siriwardana>*
>>
>>
>>
>> Disclaimer: This communication may contain privileged or other
>> confidential information and is intended exclusively for the addressee/s.
>> If you are not the intended recipient/s, or believe that you may have
>> received this communication in error, please reply to the sender indicating
>> that fact and delete the copy you received and in addition, you should not
>> print, copy, re-transmit, disseminate, or otherwise use the information
>> contained in this communication. Internet communications cannot be
>> guaranteed to be timely, secure, error or virus-free. The sender does not
>> accept liability for any errors or omissions.
>>
>
>


-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to call rest streaming api in WSO2

2017-10-30 Thread Malaka Silva
Hi Bala,

Can you explain about your use case? Eg: when you say streaming to which
service etc?

+dev to add more audience to the discussion.

On Mon, Oct 30, 2017 at 11:55 AM, bala.kummi...@wipro.com <
bala.kummi...@wipro.com> wrote:

> Hi Team,
>
>
>
> How to call streaming api in wso2 ei(6.1.1), Gone through the documents
> saying like need to write java class is that mandatory to write java to do
> that?
>
> Or is there any option available in WSO2 itself?
>
> If it is mandatory to write JAVA code please share me the sample snippet.
>
> Thank you in advance.
>
> *Regards,*
>
> *Bala | Pune | +91-9986947584 <+91%2099869%2047584>*
>
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments. WARNING: Computer viruses can be
> transmitted via email. The recipient should check this email and any
> attachments for the presence of viruses. The company accepts no liability
> for any damage caused by any virus transmitted by this email.
> www.wipro.com
> __
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> __
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Default Scope is Thread Safe?

2017-10-20 Thread Malaka Silva
Hi Ribeiro
​,

Can you elaborate more on what you are trying to do. Your question is not
clear for us.​

On Fri, Oct 20, 2017 at 4:38 PM, Júnior <fjunio...@gmail.com> wrote:

> Hi,
>
> The problem was in duplicated records inside the databases.
>
> Thanks,
>
> 2017-10-16 10:43 GMT-02:00 Júnior <fjunio...@gmail.com>:
>
>> Hi,
>>
>> Is the default scope thread safe?
>>
>> I am facing an issue of a property set in the default scope being
>> overwritten when we have concurrent access to the same service.
>>
>> In this specific case it is happening in JMS Subscribers.
>>
>> Is this kind of behaviour expected?
>>
>> Thanks,
>> --
>> Francisco Ribeiro
>> *SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
>>
>
>
>
> --
> Francisco Ribeiro
> *SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IAM] Pre-configure "Identity Claim" mappings for widely used Local Authenticators

2017-10-15 Thread Malaka Silva
@IAM Team - Are there any plans to provide UI for those configs?

On Mon, Oct 16, 2017 at 1:46 AM, Johann Nallathamby <joh...@wso2.com> wrote:

> IAM Devs,
>
> Currently to setup some of the local authenticators it's a hassle to copy
> paste the claim URIs from the documentation and configure attribute
> mappings. It will be much easier if these mappings are available OOTB, and
> mapped to meaningful attributes. Also if we have this pre-configured in
> claim-config.xml we don't need to repeat for each tenant.
>
> Widely used local authenticators are - TOTP, SMS-OTP, Email-OTP, X509 and
> Password Policy authenticator.
>
> Thoughts? Any other authenticator to add to the above list?
>
> Regards,
> Johann.
>
> --
>
> *Johann Dilantha Nallathamby*
> Senior Lead Solutions Engineer
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - *+9476950*
> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Amazon Lambda project help

2017-10-12 Thread Malaka Silva
Hi Miyuru,

Seems from proxy there is no out call to lamda. Do you have a class
mediator (Java code) running before making the callout. Issue seems to be
happening inside that.

On Thu, Oct 12, 2017 at 10:57 AM, Miyuru Madusanka <
miyurumadusa...@yahoo.com> wrote:

> Hi,
> I am working on the amazon lambda connector project and I was encountered
> the following problem. The requests send with "POST" are working fine but I
> need to send "GET/DELETE/PUT" also. for that I change the code like this in
> the custom proxy [1], in the init.xml[2] ,deleteAlias templete [3]. But
> when I run the custom proxy in postman I get the following error in
> wso2server shell [3]. The request I need to send is [5]. The related images
> are attached below. Please help because I am unable to visit Jaffna office
> from Vavuniya due to some mid examinations during these weeks.
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Unit test for Kafka connector

2017-10-10 Thread Malaka Silva
Hi Kalaiyarasi,

Can you share your test case? If you are not writing any assert what is
purpose of writing the test case?

On Tue, Oct 10, 2017 at 4:52 PM, Kalaiyarasi Ganeshalingam <
kalaiyar...@wso2.com> wrote:

> Hi all,
>
> I am working on Kafka connector unit Test. I implemented a test case
> without mocking any method / class and also I didn't start any server. But
> I didn't get any error from back end. While debugging, It call  send method
> [1]
> But still i couldn't get any error message and couldn't assert values from
> this test case. How can we proceed further in this kind of unit test?
>
> [1] https://github.com/wso2-extensions/esb-connector-kafka/
> blob/master/src/main/java/org/wso2/carbon/connector/KafkaPro
> duceConnector.java#L150
> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fwso2-extensions%2Fesb-connector-kafka%2Fblob%2Fmaster%2Fsrc%2Fmain%2Fjava%2Forg%2Fwso2%2Fcarbon%2Fconnector%2FKafkaProduceConnector.java%23L150=D=1=AFQjCNFIFrejxgkKJlZdlzyiIv2LNM9tpQ>
>
> Regards,
> Kalaiyarasi Ganeshalingam
> Associate Software Engineer| WSO2
> WSO2 Inc : http://wso2.org
> <http://www.google.com/url?q=http%3A%2F%2Fwso2.org=D=1=AFQjCNE_eTDfyl2ibPcq0hcXvRDNVuQmMg>
> Tel:+94 076 6792895 <+94%2076%20679%202895>
> LinkedIn :www.linkedin.com/in/kalaiyarasiganeshalingam
> Blogs : http://kalai4.blogspot.com/
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Couldn't authenticate the Tiqr by scanning QR code with enrolled user

2017-10-09 Thread Malaka Silva
Hi Kanapriya,

TIQR has changed the mobile app recently and seems they have deprecated the
support for previous versions.

Can we deprecate the current authinticator? Can we also checking with TIQR
team the possibility to upgrade?

[1]
http://privacyidea.readthedocs.io/en/latest/configuration/tokens/tiqr.html#tiqr

On Mon, Oct 9, 2017 at 7:00 PM, Malaka Silva <mal...@wso2.com> wrote:

> ​Hi Kanapriya,
>
> We need to investigate if TIQR has done and api change with the new app.
> If so we need to deprecate the current authenticator.​
>
> On Mon, Oct 9, 2017 at 3:27 PM, Shakila Sasikaran <shak...@wso2.com>
> wrote:
>
>> Hi Kanapriya,
>>
>> You can refer the repo [1].
>>
>> [1] https://github.com/simplesamlphp/simplesamlphp
>>
>> Thanks
>>
>> On Mon, Oct 9, 2017 at 3:04 PM, Shakila Sasikaran <shak...@wso2.com>
>> wrote:
>>
>>> Hi Kanapriya,
>>>
>>> It seems they released new version of tiqr mobile application and this
>>> issue comes on this latest one. We may need to modify the tiqr client to
>>> support the latest version.
>>>
>>> Thanks
>>>
>>> On Mon, Oct 9, 2017 at 2:22 PM, Kanapriya Kuleswararajan <
>>> kanapr...@wso2.com> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I have tried with Tiqr authenticator [1] as mentioned [2] , I couldn't
>>>> authenticate the enrolled user by scanning the QR code. I got response as
>>>> below in the mobile app once I scanned the QR code.
>>>>
>>>> Please note that I connected my phone to the same WiFi network on
>>>> which my tiqr-client is running.
>>>>
>>>> [image: Inline image 1]
>>>>
>>>> @Shakila : Do you have any idea on this, What could be the reason for
>>>> this?
>>>>
>>>>
>>>> [1] https://store.wso2.com/store/assets/isconnector/details/9470
>>>> 9865-ea3f-478b-bb4d-6f12da1e8274
>>>> [2] https://docs.wso2.com/display/ISCONNECTORS/Configuring+Tiqr+
>>>> Authenticator
>>>>
>>>>
>>>> Thanks
>>>> Kanapriya Kuleswararajan
>>>> Software Engineer | WSO2
>>>> Mobile : - 0774894438 <077%20489%204438>
>>>> Mail : - kanapr...@wso2.com
>>>> LinkedIn : - https://www.linkedin.com/in/kanapriya-kules-94712685/
>>>> <https://www.linkedin.com/in/hariprasath-thanarajah-5234b660>
>>>>
>>>
>>>
>>>
>>> --
>>> Shakila Sasikaran
>>> Software Engineer
>>> Mobile :+94 (0) 77 526 6848 <+94%2077%20526%206848>
>>> shak...@wso2.com
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> http://www.wso2.com/
>>>
>>
>>
>>
>> --
>> Shakila Sasikaran
>> Software Engineer
>> Mobile :+94 (0) 77 526 6848 <077%20526%206848>
>> shak...@wso2.com
>> WSO2, Inc.
>> lean . enterprise . middleware
>> http://www.wso2.com/
>>
>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Associate Director / Architect
> M: +94 777 219 791 <077%20721%209791>
> Tel : 94 11 214 5345
> Fax :94 11 2145300 <011%202%20145300>
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> https://wso2.com/signature
> http://www.wso2.com/about/team/malaka-silva/
> <http://wso2.com/about/team/malaka-silva/>
> https://store.wso2.com/store/
>
> Don't make Trees rare, we should keep them with care
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSOEI 6.1.1 & Kafka_2.12-0.10.2.1 Inbound Endpoint : how we can distribute load on WSO2EI nodes ?

2017-10-09 Thread Malaka Silva
Hi Youcef,

That is the expected behavior. If you make coordination true it'll only run
on one node at a given time.

On Tue, Oct 10, 2017 at 3:48 AM, Youcef HILEM <youcef.hi...@laposte.fr>
wrote:

> Hi Malaka,
>
> If I set coordination to false, in a cluster setup, this will run the
> inbound in a all worker nodes
> (https://docs.wso2.com/display/EI611/Kafka+Inbound+Protocol)
>
> That fine for me.
>
> Thanks,
> Youcef HILEM
>
>
>
> --
> Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-
> Development-f3.html
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Couldn't authenticate the Tiqr by scanning QR code with enrolled user

2017-10-09 Thread Malaka Silva
​Hi Kanapriya,

We need to investigate if TIQR has done and api change with the new app. If
so we need to deprecate the current authenticator.​

On Mon, Oct 9, 2017 at 3:27 PM, Shakila Sasikaran <shak...@wso2.com> wrote:

> Hi Kanapriya,
>
> You can refer the repo [1].
>
> [1] https://github.com/simplesamlphp/simplesamlphp
>
> Thanks
>
> On Mon, Oct 9, 2017 at 3:04 PM, Shakila Sasikaran <shak...@wso2.com>
> wrote:
>
>> Hi Kanapriya,
>>
>> It seems they released new version of tiqr mobile application and this
>> issue comes on this latest one. We may need to modify the tiqr client to
>> support the latest version.
>>
>> Thanks
>>
>> On Mon, Oct 9, 2017 at 2:22 PM, Kanapriya Kuleswararajan <
>> kanapr...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> I have tried with Tiqr authenticator [1] as mentioned [2] , I couldn't
>>> authenticate the enrolled user by scanning the QR code. I got response as
>>> below in the mobile app once I scanned the QR code.
>>>
>>> Please note that I connected my phone to the same WiFi network on which
>>> my tiqr-client is running.
>>>
>>> [image: Inline image 1]
>>>
>>> @Shakila : Do you have any idea on this, What could be the reason for
>>> this?
>>>
>>>
>>> [1] https://store.wso2.com/store/assets/isconnector/details/9470
>>> 9865-ea3f-478b-bb4d-6f12da1e8274
>>> [2] https://docs.wso2.com/display/ISCONNECTORS/Configuring+Tiqr+
>>> Authenticator
>>>
>>>
>>> Thanks
>>> Kanapriya Kuleswararajan
>>> Software Engineer | WSO2
>>> Mobile : - 0774894438 <077%20489%204438>
>>> Mail : - kanapr...@wso2.com
>>> LinkedIn : - https://www.linkedin.com/in/kanapriya-kules-94712685/
>>> <https://www.linkedin.com/in/hariprasath-thanarajah-5234b660>
>>>
>>
>>
>>
>> --
>> Shakila Sasikaran
>> Software Engineer
>> Mobile :+94 (0) 77 526 6848 <+94%2077%20526%206848>
>> shak...@wso2.com
>> WSO2, Inc.
>> lean . enterprise . middleware
>> http://www.wso2.com/
>>
>
>
>
> --
> Shakila Sasikaran
> Software Engineer
> Mobile :+94 (0) 77 526 6848 <077%20526%206848>
> shak...@wso2.com
> WSO2, Inc.
> lean . enterprise . middleware
> http://www.wso2.com/
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Committers += Biruntha Gnaneswaran

2017-10-09 Thread Malaka Silva
​Hi Devs,

It is my pleasure to welcome
​
Biruntha Gnaneswaran as a WSO2 Committer. Biruntha
​
 has made some great contributions to WSO2
​Extensions
 during the last months and in recognition of his commitment and
contributions, she has been voted as a Committer for WSO2.

@Biruntha, welcome aboard and keep up the good work.​

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to mock the CarbonContext?

2017-10-04 Thread Malaka Silva
+Dharshana

On Wed, Oct 4, 2017 at 8:26 PM, Sivaramya Sivanathan <sivara...@wso2.com>
wrote:

> Hi all,
>
> Currently I am working on the unit testing for the esb-connector-jms
> extension. For that I need to mock the CarbonContext for the method
> CarbonContext.getThreadLocalCarbonContext().getTenantId(). But, I'm
> unable mock the CarbonContext.
> Can any one suggest me how can we mock the CarbonContext?
>
> Thanks,
> Sivaramya Sivanathan
> Associate Software Engineer | WSO2
> Tel: 0770874960 <077%20087%204960>
> WSO2 Inc : http://wso2.org
> <http://www.google.com/url?q=http%3A%2F%2Fwso2.org=D=1=AFQjCNE_eTDfyl2ibPcq0hcXvRDNVuQmMg>
> LinkedIn | www.linkedin.com/in/sivaramya
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSOEI 6.1.1 & Kafka_2.12-0.10.2.1 Inbound Endpoint : how we can distribute load on WSO2EI nodes ?

2017-10-02 Thread Malaka Silva
Hi Youcef,

Kafka inbound listens to a topic and it'll consume from all partitions. You
can get the meta data of the message in properties. eg: partitionNo,
offset, etc
​.

Also you can control the active con
sumers with coordination
​ ​
parameter
​. You will find more information regarding this in [2] ​

[1]
https://docs.wso2.com/display/ESBCONNECTORS/Configuring+Kafka+Inbound+Operations
[2] https://docs.wso2.com/display/EI611/Polling+Inbound+Endpoints

On Sun, Oct 1, 2017 at 5:12 PM, Youcef HILEM <youcef.hi...@laposte.fr>
wrote:

> Hi All,
>
> I don't found documentation or examples showing how to configure
> "Kafka_2.12-0.10.2.1 Inbound Endpoint" in a distributed architecture ?
>
> For example, if I have  5 partitions in a topic and two active/active nodes
> of WSO2-EI, I don't know
> how to specify the number of instances of the consumer (samegroupid) and
> how
> these instances will be distributed on my two nodes.
>
> Thanks,
> Youcef HILEM
>
>
>
> --
> Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-
> Development-f3.html
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Amazon Lambda Connector Error

2017-09-21 Thread Malaka Silva
Hi Miyuru,

Did you try directly calling the api and check if that works?

On Thu, Sep 21, 2017 at 5:18 PM, Miyuru Madusanka <miyurumadusa...@yahoo.com
> wrote:

> Hi,
> I tried to do the delete event source mapping part for the amazon lambda.
> The request syntax is like [req.png]. But I get an error when I tried to do
> it  [3.png] but I get an error as "signature does not match". Then I tried
> it by passing the parameter  [2.png]  through the proxy but it did not work
> and got the error "failed to authenticate service". hope you can help me.
> Thank you sir.
>
>


-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Fwd: Call Third party web service and Enriching the original message

2017-09-15 Thread Malaka Silva
+Dev
-- Forwarded message --
From: Vivek Kumar <vivku...@salmon.com>
Date: Fri, Sep 15, 2017 at 10:47 AM
Subject: Call Third party web service and Enriching the original message
To: "mal...@wso2.com" <mal...@wso2.com>


Hi Malaka,

I have below requirement.I have generated below scenario:

Original envelope(original.xml):





  a





  

c







a







x







When  contains value "a" like a

We need to call another web service and get response



Response is like below:



someLink.com

test

test

test

test



Then,

Original envelope should to be enrtich as below using data  tag of
above response:





  a

someLink.com



  

c







a

someLink.com





x









Please help me how to achieve this in WSO2ESB.







*Vivek Kumar*

*Associate System Analyst*

*Office:  *+91-120-4737401 <+91%20120%20473%207401>

*Mobile*: +91 8588897434 <+91%2085888%2097434>

*Email*:vivku...@salmon.com <youraddr...@salmon.com>

*Skype:*   vivekhereatskype





Information contained in this e-mail and any attachments is confidential
and intended for the use of the addressee only. Dissemination,
distribution, copying or use of this communication without prior permission
of the addressee is strictly prohibited. If you have received this
transmission in error, please advise the originator by reply e-mail and
delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
57, Noida (U.P.) 201301
<https://maps.google.com/?q=B-13,+Sector+57,+Noida+(U.P.)+201301=gmail=g>.
Registered in India U72200DL2003PTC120356.




Information contained in this e-mail and any attachments is confidential
and intended for the use of the addressee only. Dissemination,
distribution, copying or use of this communication without prior permission
of the addressee is strictly prohibited. If you have received this
transmission in error, please advise the originator by reply e-mail and
delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
57, Noida (U.P.) 201301
<https://maps.google.com/?q=B-13,+Sector+57,+Noida+(U.P.)+201301=gmail=g>.
Registered in India U72200DL2003PTC120356.



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Committers += Vivekananthan Sivanayagam

2017-09-08 Thread Malaka Silva
​Hi Devs,

It is my pleasure to welcome
​
Vivekananthan
​
Sivanayagam as a WSO2 Committer. Vi
​veka​
has made some great contributions to WSO2
​Extensions
 during the last months and in recognition of his commitment and
contributions, he has been voted as a Committer for WSO2.

@Viveka, welcome aboard and keep up the good work.​


Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] EmailOTP as the Second Step Authenticator for Federated Users Not Functioning as Expected

2017-09-06 Thread Malaka Silva
Hi Thilina,

If you don't get the email of the user do you want to fail the login or
skip the EmailOTP? You can control this behavior with EMAILOTPMandatory
parameter.

[1] https://docs.wso2.com/display/ISCONNECTORS/Configuring+EmailOTP+
Authenticator

On Wed, Sep 6, 2017 at 5:32 PM, Thilina Madumal <thilina...@wso2.com> wrote:

> Hi Devs,
>
> I have configured an SP with 2 step authentication.
> setp1: Facebook federated authenticator.
> step2: EmailOTP authenticator.
>
> When I try to log in to the SP it only gives the Facebook login page. Does
> not give the EmailOTP.
>
> Then I enabled JIT in Facebook IDP and tried. Still the same behavior.
>
> As I further investigate into the EmailOTPAuthenticator, found out that
> the reason for this behavior is it not being able to find the email of the
> authenticated user.
>
> I believe the case is the same with TOTP as well, not sure though.
>
> Apparently, this is a valid use-case, isn't it so?
>
> Thanks & Regards,
> Thilina.
>
> --
> *Thilina Madumal*
> *Software Engineer | **WSO2*
> Email: thilina...@wso2.com
> Mobile: *+ <+94%2077%20767%201807>94 774553167 <077%20455%203167>*
> Web:  <http://goog_716986954>http://wso2.com
>
> <http://wso2.com/signature>
>
>


-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Fwd: Problem with Adding Comment lines in WSO2 code

2017-09-01 Thread Malaka Silva
+WSO2 Dev
-- Forwarded message --
From: Vivek Kumar <vivku...@salmon.com>
Date: Fri, Sep 1, 2017 at 11:44 AM
Subject: Problem with Adding Comment lines in WSO2 code
To: "mal...@wso2.com" <mal...@wso2.com>


Hi Malaka,

I am having problem adding comment lines in WSO2 code.This is what happen:

When I write some comment lines before some mediator(Filter mediator
here),Then I go to design view and come back to source view,the comment
lines are gone.

How do we achieve adding comment lines to improve code understandability.



WITH COMMENT LINE:



WITH COMMENT LINE GONE:



*Vivek Kumar*

*Associate System Analyst*

*Office:  *+91-120-4737401 <+91%20120%20473%207401>

*Mobile*: +91 8588897434 <+91%2085888%2097434>

*Email*:vivku...@salmon.com <youraddr...@salmon.com>

*Skype:*   vivekhereatskype





Information contained in this e-mail and any attachments is confidential
and intended for the use of the addressee only. Dissemination,
distribution, copying or use of this communication without prior permission
of the addressee is strictly prohibited. If you have received this
transmission in error, please advise the originator by reply e-mail and
delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.




Information contained in this e-mail and any attachments is confidential
and intended for the use of the addressee only. Dissemination,
distribution, copying or use of this communication without prior permission
of the addressee is strictly prohibited. If you have received this
transmission in error, please advise the originator by reply e-mail and
delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Help required

2017-08-28 Thread Malaka Silva
Hi Amit,

Please find my comments inline.

On Mon, Aug 28, 2017 at 9:17 PM, Amit Rajvanshi <arajvan...@salmon.com>
wrote:

> Hi Malaka,
>
> I am trying to copy a file without processing.
>
​You can use file connector copy operation for this [1]
​

> Output file which I recieve on another location using vfs contains envelop
> and body and actual content inside the body tag.
>
​Reading a file can be done with read operation [2]​

> I hope it clear your doubt.
>
> Regards,
> Amit Rajvanshi
>
>
>
​[1]
https://docs.wso2.com/display/ESBCONNECTORS/Working+with+the+File+Connector+Version+2#WorkingwiththeFileConnectorVersion2-copy
[2]
https://docs.wso2.com/display/ESBCONNECTORS/Working+with+the+File+Connector+Version+2#WorkingwiththeFileConnectorVersion2-read
[3]
https://store.wso2.com/store/assets/esbconnector/details/48bab332-c6a6-4f5a-9b79-17e29c7ad4c6
​

>  Original message 
> From: Malaka Silva <mal...@wso2.com>
> Date: 28/08/17 21:05 (GMT+05:30)
> To: Amit Rajvanshi <arajvan...@salmon.com>
> Cc: WSO2 Developers' List <dev@wso2.org>
> Subject: Re: Help required
>
> Sorry your question is not clear for me. Are you simply trying to copy a
> file without processing? What do you mean by adding content to output.xml?
>
> On Mon, Aug 28, 2017 at 6:16 PM, Amit Rajvanshi <arajvan...@salmon.com>
> wrote:
>
>> Hi Malaka,
>>
>>
>>
>> I am trying implement pure messaging solution like copy one xml file from
>> one sftp location and transfer it to another sftp location without any
>> change.
>>
>> However in the output xml message envelop and body is being added to the
>> message.
>>
>> For example:
>>
>>
>>
>> http://schemas.
>> xmlsoap.org/soap/envelope/">
>>
>> 
>>
>> Original content
>>
>> 
>>
>> 
>>
>>
>>
>> Inbound endpoint I have set content type as application/xml
>>
>> application/*xml*> parameter>
>>
>>
>>
>> I need to keep it application/xml because xml validation is required
>> before processing.
>>
>> Could you please help me if it is possible to send the file without body
>> and envelop.
>>
>>
>>
>> Best regards,
>> *Amit Rajvanshi*
>>
>> *Technical Consultant*
>> *Office:  *+91-120-4737401 <+91%20120%20473%207401>
>>
>> *Mobile*: +91 9871001235 <+91%2098710%2001235>
>>
>> *Email*:arajvan...@salmon.com
>>
>> [image: cid:image003.png@01D2CA89.60AB8730] <https://salmon.com/in-en/>
>>
>>
>>
>> *[image: cid:image004.jpg@01D2CA89.60AB8730]*
>> <https://twitter.com/Salmon_India> *[image:
>> cid:image005.jpg@01D2CA89.60AB8730]*
>> <https://www.linkedin.com/company/salmon-india> *[image:
>> cid:image006.jpg@01D2CA89.60AB8730]*
>> <https://plus.google.com/116105780357981423232> *[image:
>> cid:image007.jpg@01D2CA89.60AB8730]*
>> <https://www.facebook.com/SalmonIndiaLtd/> *[image:
>> cid:image008.jpg@01D2CA89.60AB8730]*
>> <http://www.pinterest.com/salmonltd/> *[image:
>> cid:image009.jpg@01D2CA89.60AB8730]*
>> <https://www.youtube.com/user/salmonlimited> *[image:
>> cid:image010.jpg@01D2CA89.60AB8730]*
>> <http://www.slideshare.net/salmonltd>
>>
>>
>>
>> Information contained in this e-mail and any attachments is confidential
>> and intended for the use of the addressee only. Dissemination,
>> distribution, copying or use of this communication without prior permission
>> of the addressee is strictly prohibited. If you have received this
>> transmission in error, please advise the originator by reply e-mail and
>> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
>> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>>
>>
>> Information contained in this e-mail and any attachments is confidential
>> and intended for the use of the addressee only. Dissemination,
>> distribution, copying or use of this communication without prior permission
>> of the addressee is strictly prohibited. If you have received this
>> transmission in error, please advise the originator by reply e-mail and
>> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
>> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>>
>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Associate Director / Architect
> M: +94 777 219 791 <077%20721%209791>
> Tel : 94 11 214 5345
> Fax :94 11 2145300 <

Re: [Dev] Help required

2017-08-28 Thread Malaka Silva
Sorry your question is not clear for me. Are you simply trying to copy a
file without processing? What do you mean by adding content to output.xml?

On Mon, Aug 28, 2017 at 6:16 PM, Amit Rajvanshi <arajvan...@salmon.com>
wrote:

> Hi Malaka,
>
>
>
> I am trying implement pure messaging solution like copy one xml file from
> one sftp location and transfer it to another sftp location without any
> change.
>
> However in the output xml message envelop and body is being added to the
> message.
>
> For example:
>
>
>
> http://schemas.xmlsoap.org/soap/envelope/
> ">
>
> 
>
> Original content
>
> 
>
> 
>
>
>
> Inbound endpoint I have set content type as application/xml
>
> application/*xml* >
>
>
>
> I need to keep it application/xml because xml validation is required
> before processing.
>
> Could you please help me if it is possible to send the file without body
> and envelop.
>
>
>
> Best regards,
> *Amit Rajvanshi*
>
> *Technical Consultant*
> *Office:  *+91-120-4737401 <+91%20120%20473%207401>
>
> *Mobile*: +91 9871001235 <+91%2098710%2001235>
>
> *Email*:arajvan...@salmon.com
>
> [image: cid:image003.png@01D2CA89.60AB8730] <https://salmon.com/in-en/>
>
>
>
> *[image: cid:image004.jpg@01D2CA89.60AB8730]*
> <https://twitter.com/Salmon_India> *[image:
> cid:image005.jpg@01D2CA89.60AB8730]*
> <https://www.linkedin.com/company/salmon-india> *[image:
> cid:image006.jpg@01D2CA89.60AB8730]*
> <https://plus.google.com/116105780357981423232> *[image:
> cid:image007.jpg@01D2CA89.60AB8730]*
> <https://www.facebook.com/SalmonIndiaLtd/> *[image:
> cid:image008.jpg@01D2CA89.60AB8730]* <http://www.pinterest.com/salmonltd/>
>  *[image: cid:image009.jpg@01D2CA89.60AB8730]*
> <https://www.youtube.com/user/salmonlimited> *[image:
> cid:image010.jpg@01D2CA89.60AB8730]* <http://www.slideshare.net/salmonltd>
>
>
>
> Information contained in this e-mail and any attachments is confidential
> and intended for the use of the addressee only. Dissemination,
> distribution, copying or use of this communication without prior permission
> of the addressee is strictly prohibited. If you have received this
> transmission in error, please advise the originator by reply e-mail and
> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>
>
> Information contained in this e-mail and any attachments is confidential
> and intended for the use of the addressee only. Dissemination,
> distribution, copying or use of this communication without prior permission
> of the addressee is strictly prohibited. If you have received this
> transmission in error, please advise the originator by reply e-mail and
> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Proxy outbound response

2017-08-18 Thread Malaka Silva
Hi Amit,

Yes you can use PayloadFactory Mediator to set the required payload and
Respond mediator to send the response back to the client.

On Fri, Aug 18, 2017 at 10:32 AM, Amit Rajvanshi <arajvan...@salmon.com>
wrote:

> Hi Malaka,
>
>
>
> Is it possible in proxy to set the outbound response without calling third
> party service in inbound sequence?
>
> I am trying to do a POC and found that outbound sequence is not called if
> I don’t hit any third party service in inbound sequence.
>
>
>
> Best regards,
> *Amit Rajvanshi*
>
> *Technical Consultant*
> *Office:  *+91-120-4737401 <+91%20120%20473%207401>
>
> *Mobile*: +91 9871001235 <+91%2098710%2001235>
>
> *Email*:arajvan...@salmon.com
>
> [image: cid:image003.png@01D2CA89.60AB8730] <https://salmon.com/in-en/>
>
>
>
> *[image: cid:image004.jpg@01D2CA89.60AB8730]*
> <https://twitter.com/Salmon_India> *[image:
> cid:image005.jpg@01D2CA89.60AB8730]*
> <https://www.linkedin.com/company/salmon-india> *[image:
> cid:image006.jpg@01D2CA89.60AB8730]*
> <https://plus.google.com/116105780357981423232> *[image:
> cid:image007.jpg@01D2CA89.60AB8730]*
> <https://www.facebook.com/SalmonIndiaLtd/> *[image:
> cid:image008.jpg@01D2CA89.60AB8730]* <http://www.pinterest.com/salmonltd/>
>  *[image: cid:image009.jpg@01D2CA89.60AB8730]*
> <https://www.youtube.com/user/salmonlimited> *[image:
> cid:image010.jpg@01D2CA89.60AB8730]* <http://www.slideshare.net/salmonltd>
>
>
>
> Information contained in this e-mail and any attachments is confidential
> and intended for the use of the addressee only. Dissemination,
> distribution, copying or use of this communication without prior permission
> of the addressee is strictly prohibited. If you have received this
> transmission in error, please advise the originator by reply e-mail and
> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>
>
> Information contained in this e-mail and any attachments is confidential
> and intended for the use of the addressee only. Dissemination,
> distribution, copying or use of this communication without prior permission
> of the addressee is strictly prohibited. If you have received this
> transmission in error, please advise the originator by reply e-mail and
> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Handling multiple files

2017-08-09 Thread Malaka Silva
Hi Amit,

What you observed is correct. In ESB/EI massage context it only keeps the
current context.

If you want to keep multiple content store those in properties and use
later using enrich mediator.

[1] https://docs.wso2.com/display/EI611/Enrich+Mediator
[2] http://mrmalakasilva.blogspot.com/search?q=enrich

On Wed, Aug 9, 2017 at 1:12 PM, Amit Rajvanshi <arajvan...@salmon.com>
wrote:

> Hi Malaka,
>
>
>
> I have tried with the below approach but could not get success.
>
> When I tried with multiple read mediator in mediation flow then last one
> is overriding the first data so eventually I have only one file data in
> mediation flow.
>
> And if I use clone mediator then each branch is executing separately .
>
> *Below is the screenshot of my sequence:*
>
>
>
>
>
> Am I doing it correctly or did you say something else ?
>
>
>
> Best regards,
> *Amit Rajvanshi*
>
> *Technical Consultant*
> *Office:  *+91-120-4737401 <+91%20120%20473%207401>
>
> *Mobile*: +91 9871001235 <+91%2098710%2001235>
>
> *Email*:arajvan...@salmon.com
>
> [image: cid:image003.png@01D2CA89.60AB8730] <https://salmon.com/in-en/>
>
>
>
> *[image: cid:image004.jpg@01D2CA89.60AB8730]*
> <https://twitter.com/Salmon_India> *[image:
> cid:image005.jpg@01D2CA89.60AB8730]*
> <https://www.linkedin.com/company/salmon-india> *[image:
> cid:image006.jpg@01D2CA89.60AB8730]*
> <https://plus.google.com/116105780357981423232> *[image:
> cid:image007.jpg@01D2CA89.60AB8730]*
> <https://www.facebook.com/SalmonIndiaLtd/> *[image:
> cid:image008.jpg@01D2CA89.60AB8730]* <http://www.pinterest.com/salmonltd/>
>  *[image: cid:image009.jpg@01D2CA89.60AB8730]*
> <https://www.youtube.com/user/salmonlimited> *[image:
> cid:image010.jpg@01D2CA89.60AB8730]* <http://www.slideshare.net/salmonltd>
>
>
>
> Information contained in this e-mail and any attachments is confidential
> and intended for the use of the addressee only. Dissemination,
> distribution, copying or use of this communication without prior permission
> of the addressee is strictly prohibited. If you have received this
> transmission in error, please advise the originator by reply e-mail and
> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>
>
>
> *From:* Malaka Silva [mailto:mal...@wso2.com]
> *Sent:* 04 August 2017 19:55
> *To:* Amit Rajvanshi
> *Cc:* WSO2 Developers' List; Hariprasath Thanarajah
>
> *Subject:* Re: Handling multiple files
>
>
>
>
>
>
>
> On Fri, Aug 4, 2017 at 7:47 PM, Amit Rajvanshi <arajvan...@salmon.com>
> wrote:
>
> Thanks Malaka,
>
> So do u mean we need to trigger the process by injecting a message through
> schedule task and then use file connector to read three files on sftp and
> then perform the merge operation?
>
> ​Yes​
>
>
>
> File name contains one fix part of string with combination of datetime.
>
> ​In that case you can dynamically generate files path/names and read with
> file connector.​
>
>
>
>
>
> Regards,
>
> Amit Rajvanshi
>
>
>
>
>
>  Original message 
>
> From: Malaka Silva <mal...@wso2.com>
>
> Date: 04/08/2017 19:28 (GMT+05:30)
>
> To: Amit Rajvanshi <arajvan...@salmon.com>
>
> Cc: WSO2 Developers' List <dev@wso2.org>, Hariprasath Thanarajah <
> haripras...@wso2.com>
>
> Subject: Re: Handling multiple files
>
>
>
> Hi Amit,
>
>
>
> Do you know the file names that needs to be merged?
>
>
>
> You can try to implement the use case with file connector [1] and EI
> schedule tasks [2].
>
>
>
> [1] https://store.wso2.com/store/assets/esbconnector/
> details/48bab332-c6a6-4f5a-9b79-17e29c7ad4c6
>
> [2] https://docs.wso2.com/display/EI611/Working+with+Scheduled+Tasks
>
>
>
> On Fri, Aug 4, 2017 at 2:40 PM, Amit Rajvanshi <arajvan...@salmon.com>
> wrote:
>
> Hi Malaka,
>
>
>
> Is it possible to handle a scenario in wos2 ESB where I am receiving three
> CSV files from SFTP location and I need to merge them into single file.
>
> I do not want to create three separate instance for three files because
> all the information need to be map into single message and send it to
> Vendor.
>
>
>
> Any help will be useful.
>
>
>
> Best regards,
> *Amit Rajvanshi*
>
> *Technical Consultant*
> *Office:  *+91-120-4737401 <+91%20120%20473%207401>
>
> *Mobile*: +91 9871001235 <+91%2098710%2001235>
>
> *Email*:arajvan...@salmon.com
>

Re: [Dev] Handling multiple files

2017-08-04 Thread Malaka Silva
On Fri, Aug 4, 2017 at 7:47 PM, Amit Rajvanshi <arajvan...@salmon.com>
wrote:

> Thanks Malaka,
> So do u mean we need to trigger the process by injecting a message through
> schedule task and then use file connector to read three files on sftp and
> then perform the merge operation?
>
​Yes​


> File name contains one fix part of string with combination of datetime.
>
​In that case you can dynamically generate files path/names and read with
file connector.​


>
> Regards,
> Amit Rajvanshi
>
>
> ---- Original message 
> From: Malaka Silva <mal...@wso2.com>
> Date: 04/08/2017 19:28 (GMT+05:30)
> To: Amit Rajvanshi <arajvan...@salmon.com>
> Cc: WSO2 Developers' List <dev@wso2.org>, Hariprasath Thanarajah <
> haripras...@wso2.com>
> Subject: Re: Handling multiple files
>
> Hi Amit,
>
> Do you know the file names that needs to be merged?
>
> You can try to implement the use case with file connector [1] and EI
> schedule tasks [2].
>
> [1] https://store.wso2.com/store/assets/esbconnector/
> details/48bab332-c6a6-4f5a-9b79-17e29c7ad4c6
> [2] https://docs.wso2.com/display/EI611/Working+with+Scheduled+Tasks
>
> On Fri, Aug 4, 2017 at 2:40 PM, Amit Rajvanshi <arajvan...@salmon.com>
> wrote:
>
>> Hi Malaka,
>>
>>
>>
>> Is it possible to handle a scenario in wos2 ESB where I am receiving
>> three CSV files from SFTP location and I need to merge them into single
>> file.
>>
>> I do not want to create three separate instance for three files because
>> all the information need to be map into single message and send it to
>> Vendor.
>>
>>
>>
>> Any help will be useful.
>>
>>
>>
>> Best regards,
>> *Amit Rajvanshi*
>>
>> *Technical Consultant*
>> *Office:  *+91-120-4737401 <+91%20120%20473%207401>
>>
>> *Mobile*: +91 9871001235 <+91%2098710%2001235>
>>
>> *Email*:arajvan...@salmon.com
>>
>> [image: cid:image003.png@01D2CA89.60AB8730] <https://salmon.com/in-en/>
>>
>>
>>
>> *[image: cid:image004.jpg@01D2CA89.60AB8730]*
>> <https://twitter.com/Salmon_India> *[image:
>> cid:image005.jpg@01D2CA89.60AB8730]*
>> <https://www.linkedin.com/company/salmon-india> *[image:
>> cid:image006.jpg@01D2CA89.60AB8730]*
>> <https://plus.google.com/116105780357981423232> *[image:
>> cid:image007.jpg@01D2CA89.60AB8730]*
>> <https://www.facebook.com/SalmonIndiaLtd/> *[image:
>> cid:image008.jpg@01D2CA89.60AB8730]*
>> <http://www.pinterest.com/salmonltd/> *[image:
>> cid:image009.jpg@01D2CA89.60AB8730]*
>> <https://www.youtube.com/user/salmonlimited> *[image:
>> cid:image010.jpg@01D2CA89.60AB8730]*
>> <http://www.slideshare.net/salmonltd>
>>
>>
>>
>> Information contained in this e-mail and any attachments is confidential
>> and intended for the use of the addressee only. Dissemination,
>> distribution, copying or use of this communication without prior permission
>> of the addressee is strictly prohibited. If you have received this
>> transmission in error, please advise the originator by reply e-mail and
>> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
>> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>>
>>
>> Information contained in this e-mail and any attachments is confidential
>> and intended for the use of the addressee only. Dissemination,
>> distribution, copying or use of this communication without prior permission
>> of the addressee is strictly prohibited. If you have received this
>> transmission in error, please advise the originator by reply e-mail and
>> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
>> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>>
>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Associate Director / Architect
> M: +94 777 219 791 <077%20721%209791>
> Tel : 94 11 214 5345
> Fax :94 11 2145300 <011%202%20145300>
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> https://wso2.com/signature
> http://www.wso2.com/about/team/malaka-silva/
> <http://wso2.com/about/team/malaka-silva/>
> https://store.wso2.com/store/
>
> Don't make Trees rare, we should keep them with care
> Information contained in this e-mail and any attachments is confidential
> and intended for the use of

Re: [Dev] Handling multiple files

2017-08-04 Thread Malaka Silva
Hi Amit,

Do you know the file names that needs to be merged?

You can try to implement the use case with file connector [1] and EI
schedule tasks [2].

[1]
https://store.wso2.com/store/assets/esbconnector/details/48bab332-c6a6-4f5a-9b79-17e29c7ad4c6
[2] https://docs.wso2.com/display/EI611/Working+with+Scheduled+Tasks

On Fri, Aug 4, 2017 at 2:40 PM, Amit Rajvanshi <arajvan...@salmon.com>
wrote:

> Hi Malaka,
>
>
>
> Is it possible to handle a scenario in wos2 ESB where I am receiving three
> CSV files from SFTP location and I need to merge them into single file.
>
> I do not want to create three separate instance for three files because
> all the information need to be map into single message and send it to
> Vendor.
>
>
>
> Any help will be useful.
>
>
>
> Best regards,
> *Amit Rajvanshi*
>
> *Technical Consultant*
> *Office:  *+91-120-4737401 <+91%20120%20473%207401>
>
> *Mobile*: +91 9871001235 <+91%2098710%2001235>
>
> *Email*:arajvan...@salmon.com
>
> [image: cid:image003.png@01D2CA89.60AB8730] <https://salmon.com/in-en/>
>
>
>
> *[image: cid:image004.jpg@01D2CA89.60AB8730]*
> <https://twitter.com/Salmon_India> *[image:
> cid:image005.jpg@01D2CA89.60AB8730]*
> <https://www.linkedin.com/company/salmon-india> *[image:
> cid:image006.jpg@01D2CA89.60AB8730]*
> <https://plus.google.com/116105780357981423232> *[image:
> cid:image007.jpg@01D2CA89.60AB8730]*
> <https://www.facebook.com/SalmonIndiaLtd/> *[image:
> cid:image008.jpg@01D2CA89.60AB8730]* <http://www.pinterest.com/salmonltd/>
>  *[image: cid:image009.jpg@01D2CA89.60AB8730]*
> <https://www.youtube.com/user/salmonlimited> *[image:
> cid:image010.jpg@01D2CA89.60AB8730]* <http://www.slideshare.net/salmonltd>
>
>
>
> Information contained in this e-mail and any attachments is confidential
> and intended for the use of the addressee only. Dissemination,
> distribution, copying or use of this communication without prior permission
> of the addressee is strictly prohibited. If you have received this
> transmission in error, please advise the originator by reply e-mail and
> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>
>
> Information contained in this e-mail and any attachments is confidential
> and intended for the use of the addressee only. Dissemination,
> distribution, copying or use of this communication without prior permission
> of the addressee is strictly prohibited. If you have received this
> transmission in error, please advise the originator by reply e-mail and
> delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
> 57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Fwd: Read and Send a file as Attachment.

2017-07-31 Thread Malaka Silva
Hi Vivek,

Not sure if this is currently supported. Looping integration team.

-- Forwarded message --
From: Vivek Kumar <vivku...@salmon.com>
Date: Mon, Jul 31, 2017 at 5:28 PM
Subject: Read and Send a file as Attachment.
To: "mal...@wso2.com" <mal...@wso2.com>


Hi Malak,

We have requirement like we want to read a file from file location(
*D://data/fileName.log*) and send it as an attachment in the mail.



I have tried to achieve this using VFS file processing.

I find file *fileName.log *in the attachment but it contains envelope of
mediation flow not the actual content the file had.If have googled a lot
and found nothing helpful.

After analysing MailTransportSender.java , I am thinking like it is not
supported yet in wso2.

Please help me if there is any way I can achieve this WSO2ESB.



*Vivek Kumar*

*Associate System Analyst*

*Office:  *+91-120-4737401 <+91%20120%20473%207401>

*Mobile*: +91 8588897434 <+91%2085888%2097434>

*Email*:vivku...@salmon.com <youraddr...@salmon.com>

*Skype:*   vivekhereatskype





Information contained in this e-mail and any attachments is confidential
and intended for the use of the addressee only. Dissemination,
distribution, copying or use of this communication without prior permission
of the addressee is strictly prohibited. If you have received this
transmission in error, please advise the originator by reply e-mail and
delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.




Information contained in this e-mail and any attachments is confidential
and intended for the use of the addressee only. Dissemination,
distribution, copying or use of this communication without prior permission
of the addressee is strictly prohibited. If you have received this
transmission in error, please advise the originator by reply e-mail and
delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Fwd: Mail Attachment

2017-07-21 Thread Malaka Silva
Hi Amit,

Can you provide more details how are you sending the mail. Are you using
ESB SMTP transport or GMail connector?

We can send messages with attachments using gmail connector. [1]

@Haprprasath - Can we do the same use case with GMail connector?

[1]
https://docs.wso2.com/display/ESBCONNECTORS/Working+with+Messages+in+Gmail#WorkingwithMessagesinGmail-sendMailWithAttachment

+ wso2 dev

-- Forwarded message --
From: Amit Rajvanshi <arajvan...@salmon.com>
Date: Fri, Jul 21, 2017 at 2:45 PM
Subject: Mail Attachment
To: Malaka Silva <mal...@wso2.com>


Hi Malaka,



Could you please help me , I have stuck in the middle of development in
WSO2 ESB.

I need to attach a file (available on system directory) while sending the
mail through a sequence mediator.

Any reference will be appreciated.



Best regards,
*Amit Rajvanshi*

*Technical Consultant*
*Office:  *+91-120-4737401 <+91%20120%20473%207401>

*Mobile*: +91 9871001235 <+91%2098710%2001235>

*Email*:arajvan...@salmon.com

[image: cid:image003.png@01D2CA89.60AB8730] <https://salmon.com/in-en/>



*[image: cid:image004.jpg@01D2CA89.60AB8730]*
<https://twitter.com/Salmon_India> *[image:
cid:image005.jpg@01D2CA89.60AB8730]*
<https://www.linkedin.com/company/salmon-india> *[image:
cid:image006.jpg@01D2CA89.60AB8730]*
<https://plus.google.com/116105780357981423232> *[image:
cid:image007.jpg@01D2CA89.60AB8730]*
<https://www.facebook.com/SalmonIndiaLtd/> *[image:
cid:image008.jpg@01D2CA89.60AB8730]*
<http://www.pinterest.com/salmonltd/> *[image:
cid:image009.jpg@01D2CA89.60AB8730]*
<https://www.youtube.com/user/salmonlimited> *[image:
cid:image010.jpg@01D2CA89.60AB8730]* <http://www.slideshare.net/salmonltd>



Information contained in this e-mail and any attachments is confidential
and intended for the use of the addressee only. Dissemination,
distribution, copying or use of this communication without prior permission
of the addressee is strictly prohibited. If you have received this
transmission in error, please advise the originator by reply e-mail and
delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.


Information contained in this e-mail and any attachments is confidential
and intended for the use of the addressee only. Dissemination,
distribution, copying or use of this communication without prior permission
of the addressee is strictly prohibited. If you have received this
transmission in error, please advise the originator by reply e-mail and
delete it. Thank you. Salmon India’s Registered Address is: B-13, Sector
57, Noida (U.P.) 201301. Registered in India U72200DL2003PTC120356.



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] how to connect custom streaming api's in WSO2 EI-6.1.1

2017-07-04 Thread Malaka Silva
Hi Bala,

Doc in [1] will help you to write a custom inbound endpoint.

[1]
https://docs.wso2.com/display/EI611/Custom+Inbound+Endpoint#CustomInboundEndpoint-CustomPolling

On Wed, Jul 5, 2017 at 5:09 AM, Jasintha Dasanayake <jasin...@wso2.com>
wrote:

> HI Malaka
>
> In this case, this guy need to create the custom connector right , he may
> can reuse the twitter code to write his connector
>
> Thanks
> /Jasintha
> -- Forwarded message --
> From: bala.kummi...@wipro.com <bala.kummi...@wipro.com>
> Date: Thu, Jun 29, 2017 at 5:57 PM
> Subject: how to connect custom streaming api's in WSO2 EI-6.1.1
> To: Jasintha Dasanayake <jasin...@wso2.com>
>
>
> Hi Jasintha,
>
>
>
> I trying to connect custom streaming API instead of default API’s like
> twitter streaming API. How can I achieve in WSO2 EI-6.1.1?
>
>
>
> Able to connect to twitter streaming API following are the steps followed:
>
>
>
>- Downloaded twitter streaming API from https://store.wso2.com/store/a
>ssets/esbconnector/details/e916c772-49b1-44ad-a051-539ee44dd673
>
> <https://store.wso2.com/store/assets/esbconnector/details/e916c772-49b1-44ad-a051-539ee44dd673>
>- Placed in WSO2_EI_HOME/lib
>- Configured twitter credentials in “INBOUND ENDPOINT” like below:
>
>
>
> http://ws.apache.org/ns/synapse;
> <http://ws.apache.org/ns/synapse>
>
>  name="TwitterInboundEP"
>
>  sequence="reqSequence"
>
>  onError="reqErrorSequence"
>
>  class="org.wso2.carbon.inbound.twitter.poll
> .TwitterStreamData"
>
>  suspend="false">
>
>
>
>   true
>
>   10
>
>   true
>
>   KCHme1tyBln7L9E0zVte1PzFs
>
>   zQPn5OlMDcV0AFBC6MxhnNaLXMJCUGRIyeE1XogTwUou5tgC4a
>
>   3250392756-WLKUJstoqy2WL9HLMuvenpiZRkLOPayi8ca82uz
>
>   56q7Fi4AEMy6xMJ4PTOuu7f3VcAYvO7PuSUHGSs9trWJU
>
>   user
>
>   happy,wonderful
>
>
>
> 
>
>
>
>- It started polling messages from API based on “twitter.operation”,”
>twitter.track” these two parameters values.
>
>
>
> Now in same way I have an custom streaming rest API, How can poll the
> streaming messages from the api and do some operations(get all the messages
> into the sequence)?
>
>
>
> *Regards,*
>
> *Bala | Bangalore | +91-9986947584 <+91%2099869%2047584>*
>
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments. WARNING: Computer viruses can be
> transmitted via email. The recipient should check this email and any
> attachments for the presence of viruses. The company accepts no liability
> for any damage caused by any virus transmitted by this email.
> www.wipro.com
>
>
>
> --
>
> *Jasintha Dasanayake**Associate Technical Lead*
>
> *WSO2 Inc. | http://wso2.com <http://wso2.com/>lean . enterprise .
> middleware*
>
>
> *mobile :- 0711-368-118 <071%20136%208118>*
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB][3rd party connector] Getting error when deploying the connector zip

2017-06-27 Thread Malaka Silva
Shall we try debugging [1]

[1]
https://github.com/wso2/wso2-synapse/blob/master/modules/core/src/main/java/org/apache/synapse/libraries/util/LibDeployerUtils.java

On Wed, Jun 28, 2017 at 3:58 AM, Hasitha Jayasundara <
hasithajayasunda...@gmail.com> wrote:

> I am getting this error when I deploy the connector zip file to the mgt
> console.
>
> Error while extracting Synapse Library : IBMMQconnector-connector-1.0.
> 0.zip
> org.apache.synapse.SynapseException: Error while extracting Synapse
> Library : IBMMQconnector-connector-1.0.0.zip
> at org.apache.synapse.libraries.util.LibDeployerUtils.extractSynapseLib(
> LibDeployerUtils.java:426)
> at org.apache.synapse.libraries.util.LibDeployerUtils.
> createSynapseLibrary(LibDeployerUtils.java:65)
> at org.apache.synapse.deployers.LibraryArtifactDeployer.deploy(
> LibraryArtifactDeployer.java:60)
> at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(
> DeploymentFileData.java:136)
> at org.apache.axis2.deployment.DeploymentEngine.doDeploy(
> DeploymentEngine.java:807)
> at org.apache.axis2.deployment.repository.util.WSInfoList.
> update(WSInfoList.java:144)
> at org.apache.axis2.deployment.RepositoryListener.update(
> RepositoryListener.java:377)
> at org.apache.axis2.deployment.RepositoryListener.checkServices(
> RepositoryListener.java:254)
> at org.apache.axis2.deployment.RepositoryListener.startListener(
> RepositoryListener.java:371)
> at org.apache.axis2.deployment.scheduler.SchedulerTask.
> checkRepository(SchedulerTask.java:59)
> at org.apache.axis2.deployment.scheduler.SchedulerTask.run(
> SchedulerTask.java:67)
> at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.
> runAxisDeployment(CarbonDeploymentSchedulerTask.java:93)
> at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(
> CarbonDeploymentSchedulerTask.java:138)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
> at java.util.concurrent.ScheduledThreadPoolExecutor$
> ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
> at java.util.concurrent.ScheduledThreadPoolExecutor$
> ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: java.io.FileNotFoundException: /home/hasitha/ESB%204.9.0/
> wso2esb-4.9.0/repository/deployment/server/synapse-
> libs/IBMMQconnector-connector-1.0.0.zip (No such file or directory)
> at java.util.zip.ZipFile.open(Native Method)
> at java.util.zip.ZipFile.(ZipFile.java:219)
> at java.util.zip.ZipFile.(ZipFile.java:149)
> at java.util.zip.ZipFile.(ZipFile.java:120)
> at org.apache.synapse.libraries.util.LibDeployerUtils.extract(
> LibDeployerUtils.java:448)
> at org.apache.synapse.libraries.util.LibDeployerUtils.extractSynapseLib(
> LibDeployerUtils.java:424)
> ... 19 more
>
> Any comments on the issue.
>
> --
> *D.M.Hasitha Nadishan Jayasundara*
> *Department of Electronic and Telecommunication Engineering*
> University of Moratuwa
> *mobile:* *+94711959266 <071%20195%209266>*
> *blogspot*: learnjavawithisla.blogspot.com/  *email:* hasithajayasundar
> a...@gmail.com
> <https://www.facebook.com/hasitha.nadishan.3>
> <https://twitter.com/HNadishan>
> <https://lk.linkedin.com/in/hasithajayasundara>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] [ESB connnector]Error when building using maven archetype

2017-06-27 Thread Malaka Silva
Thx Hasitha.

I have updated the doc.

On Tue, Jun 27, 2017 at 11:47 AM, Hasitha Jayasundara <
hasithajayasunda...@gmail.com> wrote:

> Hi Malaka,
>
> No errors for Apache Maven 3.0.5.
>
> Thanks
>
> On Tue, Jun 27, 2017 at 11:13 AM, Hasitha Jayasundara <
> hasithajayasunda...@gmail.com> wrote:
>
>> Hi Malaka,
>>
>> I am using,
>>
>> Apache Maven 3.3.9
>> Java version: 1.8.0_131, vendor: Oracle Corporation
>>
>> Any comments
>>
>>
>> On Tue, Jun 27, 2017 at 11:10 AM, Malaka Silva <mal...@wso2.com> wrote:
>>
>>> Hi Hasitha,
>>>
>>> What is the mvn version you are using. Is seems to be working for me
>>> when working with following.
>>>
>>> Apache Maven 3.0.5
>>> Java version: 1.8.0_40, vendor: Oracle Corporation
>>>
>>>
>>> On Tue, Jun 27, 2017 at 10:23 AM, Hasitha Jayasundara <
>>> hasithajayasunda...@gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I used maven archetype to generate the Maven project template and
>>>> sample connector code following tutorial at [1].
>>>>
>>>> mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate
>>>> -DarchetypeGroupId=org.wso2.carbon.extension.archetype
>>>> -DarchetypeArtifactId=org.wso2.carbon.extension.esb.connector-archetype
>>>> -DarchetypeVersion=2.0.0 -DgroupId=org.wso2.carbon.esb.connector
>>>> -DartifactId=org.wso2.carbon.esb.connector.helloworld -Dversion=1.0.0
>>>> -DarchetypeRepository=http://maven.wso2.org/nexus/content/re
>>>> positories/wso2-public/
>>>>
>>>> But when I mvn clean install the project it gives me following
>>>> error.Any comments on how to solve this?
>>>>
>>>> Failed to execute goal org.apache.maven.plugins:maven
>>>> -assembly-plugin:2.4.1:attached (email-library) on project
>>>> org.wso2.carbon.esb.connector.helloworld: Assembly is incorrectly
>>>> configured: null: Assembly is incorrectly configured: null:
>>>> [ERROR] Assembly: null is not configured correctly: Assembly ID must be
>>>> present and non-empty.
>>>>
>>>> [1].https://docs.wso2.com/display/ESBCONNECTORS/Writing+a+Connector
>>>>
>>>> --
>>>> *D.M.Hasitha Nadishan Jayasundara*
>>>> *Department of Electronic and Telecommunication Engineering*
>>>> University of Moratuwa
>>>> *mobile:* *+94711959266 <071%20195%209266>*
>>>> *blogspot*: learnjavawithisla.blogspot.com/  *email:*
>>>> hasithajayasunda...@gmail.com
>>>> <https://www.facebook.com/hasitha.nadishan.3>
>>>> <https://twitter.com/HNadishan>
>>>> <https://lk.linkedin.com/in/hasithajayasundara>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Associate Director / Architect
>>> M: +94 777 219 791 <+94%2077%20721%209791>
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300 <011%202%20145300>
>>> Skype : malaka.sampath.silva
>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>> Blog : http://mrmalakasilva.blogspot.com/
>>>
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> https://wso2.com/signature
>>> http://www.wso2.com/about/team/malaka-silva/
>>> <http://wso2.com/about/team/malaka-silva/>
>>> https://store.wso2.com/store/
>>>
>>> Don't make Trees rare, we should keep them with care
>>>
>>
>>
>>
>> --
>> *D.M.Hasitha Nadishan Jayasundara*
>> *Department of Electronic and Telecommunication Engineering*
>> University of Moratuwa
>> *mobile:* *+94711959266 <+94%2071%20195%209266>*
>> *blogspot*: learnjavawithisla.blogspot.com/  *email:*
>> hasithajayasunda...@gmail.com
>> <https://www.facebook.com/hasitha.nadishan.3>
>> <https://twitter.com/HNadishan>
>> <https://lk.linkedin.com/in/hasithajayasundara>
>>
>
>
>
> --
> *D.M.Hasitha Nadishan Jayasundara*
> *Department of Electronic and Telecommunication Engineering*
> University of Moratuwa
> *mobile:* *+94711959266 <071%20195%209266>*
> *blogspot*: learnjavawithisla.blogspot.com/  *email:* hasithajayasundar
> a...@gmail.com
> <https://www.facebook.com/hasitha.nadishan.3>
> <https://twitter.com/HNadishan>
> <https://lk.linkedin.com/in/hasithajayasundara>
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] [ESB connnector]Error when building using maven archetype

2017-06-26 Thread Malaka Silva
Hi Hasitha,

What is the mvn version you are using. Is seems to be working for me when
working with following.

Apache Maven 3.0.5
Java version: 1.8.0_40, vendor: Oracle Corporation


On Tue, Jun 27, 2017 at 10:23 AM, Hasitha Jayasundara <
hasithajayasunda...@gmail.com> wrote:

> Hi,
>
> I used maven archetype to generate the Maven project template and sample
> connector code following tutorial at [1].
>
> mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate
> -DarchetypeGroupId=org.wso2.carbon.extension.archetype
> -DarchetypeArtifactId=org.wso2.carbon.extension.esb.connector-archetype
> -DarchetypeVersion=2.0.0 -DgroupId=org.wso2.carbon.esb.connector
> -DartifactId=org.wso2.carbon.esb.connector.helloworld -Dversion=1.0.0
> -DarchetypeRepository=http://maven.wso2.org/nexus/content/
> repositories/wso2-public/
>
> But when I mvn clean install the project it gives me following error.Any
> comments on how to solve this?
>
> Failed to execute goal org.apache.maven.plugins:
> maven-assembly-plugin:2.4.1:attached (email-library) on project
> org.wso2.carbon.esb.connector.helloworld: Assembly is incorrectly
> configured: null: Assembly is incorrectly configured: null:
> [ERROR] Assembly: null is not configured correctly: Assembly ID must be
> present and non-empty.
>
> [1].https://docs.wso2.com/display/ESBCONNECTORS/Writing+a+Connector
>
> --
> *D.M.Hasitha Nadishan Jayasundara*
> *Department of Electronic and Telecommunication Engineering*
> University of Moratuwa
> *mobile:* *+94711959266 <071%20195%209266>*
> *blogspot*: learnjavawithisla.blogspot.com/  *email:* hasithajayasundar
> a...@gmail.com
> <https://www.facebook.com/hasitha.nadishan.3>
> <https://twitter.com/HNadishan>
> <https://lk.linkedin.com/in/hasithajayasundara>
>
> _______
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for IBM MQ 8.0

2017-06-19 Thread Malaka Silva
Hi Hasitha,

We will also create a git repo to maintain the code. Maheshika will provide
the required details.

On Tue, Jun 20, 2017 at 5:45 AM, Hasitha Jayasundara <
hasithajayasunda...@gmail.com> wrote:

> Hi all,
>
> Thanks for pointing out the above.I am doing a connector for IBM WebSphere
> MQ.What I was thinking about the inbound part is somewhat wrong.I missed
> this part "this should be added as an extension similar to [1]" from the
> beginning.Really sorry for the misunderstanding.
>
> 1. UI changes - Removed it from the milestone plan
> 2. Adding preferred authentications to the inbound - Really sorry for
> this.It should be preferred parameters for the inbound(polling)
>
> @Riyafa @Malaka Thanks for the kind help.I'll definitely call you if
> there's any issue.
>
> Thanks.
>
> [1].https://github.com/wso2-extensions/esb-inbound-amazonsqs
>
>
> On Mon, Jun 19, 2017 at 4:39 PM, Malaka Silva <mal...@wso2.com> wrote:
>
>> Hi Hasitha,
>>
>> Adding inbound endpoint to the carbon mediation and debugging
>>   You don't need to do this since this should be added as an extesnion
>> similar to [1]
>> Completing the user interface changes
>>You don't need to do any UI changes. It'll be handled by ESB/EI [2]
>> Adding preffered authentications to the inbound
>> Not clear what you mean by this?
>>
>> @Riyafa - Thx for pointing this out. I guess Hasitha got bit confused
>> with names. Anyway you should be doing a connector. Hasitha please
>> confirm this.
>>
>> Also if something is not clear feel free to call my mobile.
>>
>> [1] https://github.com/wso2-extensions/esb-inbound-amazonsqs
>> [2] https://docs.wso2.com/display/ESBCONNECTORS/Configuring+Amaz
>> onSQS+Streaming+Inbound+Endpoint+Operations
>>
>> On Mon, Jun 19, 2017 at 10:48 AM, Riyafa Abdul Hameed <riy...@wso2.com>
>> wrote:
>> > Hi,
>> >
>> > I am just curious if you would be writing a connector or a mediator.
>> >
>> > Regards,
>> > Riyafa
>> >
>> > On Mon, Jun 19, 2017 at 6:47 AM, Hasitha Jayasundara
>> > <hasithajayasunda...@gmail.com> wrote:
>> >>
>> >> Hi all,
>> >>
>> >> Please find updated milestone plan here.
>> >>
>> >>
>> >> https://docs.google.com/spreadsheets/d/19ijxAVHttxhLVuSJ0nfu
>> MUZ4x4lAD6ueYL5C3FNaFpg/edit?usp=sharing
>> >>
>> >> Thanks
>> >>
>> >> On Thu, Jun 15, 2017 at 9:30 AM, Hasitha Jayasundara
>> >> <hasithajayasunda...@gmail.com> wrote:
>> >>>
>> >>> Sure I'll be there around 1.pm.
>> >>>
>> >>> On Thu, Jun 15, 2017 at 9:29 AM, Malaka Silva <mal...@wso2.com>
>> wrote:
>> >>>>
>> >>>> Can you come around 1pm?
>> >>>>
>> >>>> On Thu, Jun 15, 2017 at 9:27 AM, Hasitha Jayasundara
>> >>>> <hasithajayasunda...@gmail.com> wrote:
>> >>>>>
>> >>>>> Hi Malaka,
>> >>>>>
>> >>>>> Sorry for the late reply.I'll come by office tomorrow.What time do
>> you
>> >>>>> prefer?morning or evening?
>> >>>>>
>> >>>>> Thanks
>> >>>>>
>> >>>>> On Thu, Jun 15, 2017 at 8:09 AM, Malaka Silva <mal...@wso2.com>
>> wrote:
>> >>>>>>
>> >>>>>> Hi Hasitha,
>> >>>>>>
>> >>>>>> When will you be arranging the meeting?
>> >>>>>>
>> >>>>>> On Tue, Jun 13, 2017 at 9:41 AM, Malaka Silva <mal...@wso2.com>
>> wrote:
>> >>>>>>>
>> >>>>>>> +1
>> >>>>>>>
>> >>>>>>> On Tue, Jun 13, 2017 at 9:08 AM, Kevin Ratnasekera <
>> ke...@wso2.com>
>> >>>>>>> wrote:
>> >>>>>>>>
>> >>>>>>>> Hi Hasitha,
>> >>>>>>>>
>> >>>>>>>> I am fine with either of days if it works for Malaka as weill,
>> >>>>>>>>
>> >>>>>>>> @malaka can you please check?
>> >>>>>>>>
>> >>>>>>>> Regards
>> >>>>>>>> Kevin
>> >>>>>>>>
>> >>>>>>>> On Mon, Jun 12,

Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for IBM MQ 8.0

2017-06-19 Thread Malaka Silva
Hi Hasitha,

Adding inbound endpoint to the carbon mediation and debugging
  You don't need to do this since this should be added as an extesnion
similar to [1]
Completing the user interface changes
   You don't need to do any UI changes. It'll be handled by ESB/EI [2]
Adding preffered authentications to the inbound
Not clear what you mean by this?

@Riyafa - Thx for pointing this out. I guess Hasitha got bit confused
with names. Anyway you should be doing a connector. Hasitha please
confirm this.

Also if something is not clear feel free to call my mobile.

[1] https://github.com/wso2-extensions/esb-inbound-amazonsqs
[2] 
https://docs.wso2.com/display/ESBCONNECTORS/Configuring+AmazonSQS+Streaming+Inbound+Endpoint+Operations

On Mon, Jun 19, 2017 at 10:48 AM, Riyafa Abdul Hameed <riy...@wso2.com> wrote:
> Hi,
>
> I am just curious if you would be writing a connector or a mediator.
>
> Regards,
> Riyafa
>
> On Mon, Jun 19, 2017 at 6:47 AM, Hasitha Jayasundara
> <hasithajayasunda...@gmail.com> wrote:
>>
>> Hi all,
>>
>> Please find updated milestone plan here.
>>
>>
>> https://docs.google.com/spreadsheets/d/19ijxAVHttxhLVuSJ0nfuMUZ4x4lAD6ueYL5C3FNaFpg/edit?usp=sharing
>>
>> Thanks
>>
>> On Thu, Jun 15, 2017 at 9:30 AM, Hasitha Jayasundara
>> <hasithajayasunda...@gmail.com> wrote:
>>>
>>> Sure I'll be there around 1.pm.
>>>
>>> On Thu, Jun 15, 2017 at 9:29 AM, Malaka Silva <mal...@wso2.com> wrote:
>>>>
>>>> Can you come around 1pm?
>>>>
>>>> On Thu, Jun 15, 2017 at 9:27 AM, Hasitha Jayasundara
>>>> <hasithajayasunda...@gmail.com> wrote:
>>>>>
>>>>> Hi Malaka,
>>>>>
>>>>> Sorry for the late reply.I'll come by office tomorrow.What time do you
>>>>> prefer?morning or evening?
>>>>>
>>>>> Thanks
>>>>>
>>>>> On Thu, Jun 15, 2017 at 8:09 AM, Malaka Silva <mal...@wso2.com> wrote:
>>>>>>
>>>>>> Hi Hasitha,
>>>>>>
>>>>>> When will you be arranging the meeting?
>>>>>>
>>>>>> On Tue, Jun 13, 2017 at 9:41 AM, Malaka Silva <mal...@wso2.com> wrote:
>>>>>>>
>>>>>>> +1
>>>>>>>
>>>>>>> On Tue, Jun 13, 2017 at 9:08 AM, Kevin Ratnasekera <ke...@wso2.com>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Hi Hasitha,
>>>>>>>>
>>>>>>>> I am fine with either of days if it works for Malaka as weill,
>>>>>>>>
>>>>>>>> @malaka can you please check?
>>>>>>>>
>>>>>>>> Regards
>>>>>>>> Kevin
>>>>>>>>
>>>>>>>> On Mon, Jun 12, 2017 at 8:53 AM, Hasitha Jayasundara
>>>>>>>> <hasithajayasunda...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>> Hi all,
>>>>>>>>>
>>>>>>>>> Will it possible to arrange a meeting on Thursday or Friday this
>>>>>>>>> week?
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>> On Wed, Jun 7, 2017 at 9:22 AM, Malaka Silva <mal...@wso2.com>
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>> Sure No Worries
>>>>>>>>>>
>>>>>>>>>> On Wed, Jun 7, 2017 at 7:37 AM, Hasitha Jayasundara
>>>>>>>>>> <hasithajayasunda...@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>> Hi all,
>>>>>>>>>>>
>>>>>>>>>>> Can we please move the meeting to next week?.Got a problem with
>>>>>>>>>>> Friday evening.Really sorry for the inconvenience caused.
>>>>>>>>>>>
>>>>>>>>>>> Thanks
>>>>>>>>>>>
>>>>>>>>>>> On Tue, Jun 6, 2017 at 10:24 AM, Malaka Silva <mal...@wso2.com>
>>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> +1 I'll be available after 13.00
>>>>>>>>>>&

Re: [Dev] Doing WSO2 ESB connector for Google Pub/Sub API

2017-06-16 Thread Malaka Silva
​Great. ​

On Fri, Jun 16, 2017 at 3:34 PM, Tharmalingam Mayuran <tmayura...@gmail.com>
wrote:

> Hi Malaka,
>
> Thank You for the quick response, we decide to start with connector and
> then will move on inbound. Next week we will visit to Jaffna office and
> will talk with staff.
>
> Thanks,
> T.Mayuran
>
> On Fri, Jun 16, 2017 at 3:27 PM, Malaka Silva <mal...@wso2.com> wrote:
>
>> Hi Tharmalingam,
>>
>> We are happy to hear that you are interested in doing this. Yes you can
>> contribute connector and inbound for Google Pub/Sub API..
>>
>> We will mentor you while doing this. You can also visit our Jaffna branch
>> or use this mail thread to communicate.
>>
>>
>> On Fri, Jun 16, 2017 at 3:09 PM, Amalanathan Thushanthan <
>> thushaama...@gmail.com> wrote:
>>
>>> Hi Malaka,
>>>
>>> I'm Thushanthan, doing computer science at University of Jaffna. I've
>>> been participating  the Jaffna meetup continuously. I got some idea about
>>> how to contribute to WSO2 and about WSO2 extensions and their usages. I
>>> would like to contribute to WSO2(wso2-extension). Some of my colleagues
>>> were already done this and some are working on this. My friend and I would
>>> like to create an ESB-Connector. In lase meetup we talked you about our
>>> interest and as you suggested, we refereed the following links and got to
>>> know basic ideas. We tried linkedIn connector and understood the Oauth2
>>> follow.
>>> And we found the public JIRA https://wso2.org/jira/pro
>>> jects/ESBCONNECT/issues/ESBCONNECT-197,
>>> is it possible to do connector for Google Pub/Sub API.
>>> https://docs.wso2.com/display/ESBCONNECTORS/WSO2+ESB+Connect
>>> ors+Documentation
>>> https://docs.wso2.com/display/ESBCONNECTORS/LinkedIn+Connector
>>> https://alexbilbie.com/guide-to-oauth-2-grants/
>>> <https://www.google.com/url?q=https%3A%2F%2Falexbilbie.com%2Fguide-to-oauth-2-grants%2F=D=1=AFQjCNGbLzkiZ54m_ZRLm5jIzfSSnngOPA>
>>>
>>> Thanks and Regards
>>> Thushanthan
>>>
>>
>>
>>
>> --
>>
>> Best Regards,
>>
>> Malaka Silva
>> Associate Director / Architect
>> M: +94 777 219 791 <077%20721%209791>
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300 <011%202%20145300>
>> Skype : malaka.sampath.silva
>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>> Blog : http://mrmalakasilva.blogspot.com/
>>
>> WSO2, Inc.
>> lean . enterprise . middleware
>> https://wso2.com/signature
>> http://www.wso2.com/about/team/malaka-silva/
>> <http://wso2.com/about/team/malaka-silva/>
>> https://store.wso2.com/store/
>>
>> Don't make Trees rare, we should keep them with care
>>
>
>
>
> --
> Thanks and Regards
> T.Mayuran
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Doing WSO2 ESB connector for Google Pub/Sub API

2017-06-16 Thread Malaka Silva
Hi Tharmalingam,

We are happy to hear that you are interested in doing this. Yes you can
contribute connector and inbound for Google Pub/Sub API..

We will mentor you while doing this. You can also visit our Jaffna branch
or use this mail thread to communicate.


On Fri, Jun 16, 2017 at 3:09 PM, Amalanathan Thushanthan <
thushaama...@gmail.com> wrote:

> Hi Malaka,
>
> I'm Thushanthan, doing computer science at University of Jaffna. I've been
> participating  the Jaffna meetup continuously. I got some idea about how to
> contribute to WSO2 and about WSO2 extensions and their usages. I would like
> to contribute to WSO2(wso2-extension). Some of my colleagues were already
> done this and some are working on this. My friend and I would like to
> create an ESB-Connector. In lase meetup we talked you about our interest
> and as you suggested, we refereed the following links and got to know basic
> ideas. We tried linkedIn connector and understood the Oauth2 follow.
> And we found the public JIRA https://wso2.org/jira/
> projects/ESBCONNECT/issues/ESBCONNECT-197,
> is it possible to do connector for Google Pub/Sub API.
> https://docs.wso2.com/display/ESBCONNECTORS/WSO2+ESB+
> Connectors+Documentation
> https://docs.wso2.com/display/ESBCONNECTORS/LinkedIn+Connector
> https://alexbilbie.com/guide-to-oauth-2-grants/
> <https://www.google.com/url?q=https%3A%2F%2Falexbilbie.com%2Fguide-to-oauth-2-grants%2F=D=1=AFQjCNGbLzkiZ54m_ZRLm5jIzfSSnngOPA>
>
> Thanks and Regards
> Thushanthan
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for IBM MQ 8.0

2017-06-14 Thread Malaka Silva
Can you come around 1pm?

On Thu, Jun 15, 2017 at 9:27 AM, Hasitha Jayasundara <
hasithajayasunda...@gmail.com> wrote:

> Hi Malaka,
>
> Sorry for the late reply.I'll come by office tomorrow.What time do you
> prefer?morning or evening?
>
> Thanks
>
> On Thu, Jun 15, 2017 at 8:09 AM, Malaka Silva <mal...@wso2.com> wrote:
>
>> Hi Hasitha,
>>
>> When will you be arranging the meeting?
>>
>> On Tue, Jun 13, 2017 at 9:41 AM, Malaka Silva <mal...@wso2.com> wrote:
>>
>>> +1
>>>
>>> On Tue, Jun 13, 2017 at 9:08 AM, Kevin Ratnasekera <ke...@wso2.com>
>>> wrote:
>>>
>>>> Hi Hasitha,
>>>>
>>>> I am fine with either of days if it works for Malaka as weill,
>>>>
>>>> @malaka can you please check?
>>>>
>>>> Regards
>>>> Kevin
>>>>
>>>> On Mon, Jun 12, 2017 at 8:53 AM, Hasitha Jayasundara <
>>>> hasithajayasunda...@gmail.com> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> Will it possible to arrange a meeting on Thursday or Friday this week?
>>>>>
>>>>> Thanks
>>>>>
>>>>> On Wed, Jun 7, 2017 at 9:22 AM, Malaka Silva <mal...@wso2.com> wrote:
>>>>>
>>>>>> Sure No Worries
>>>>>>
>>>>>> On Wed, Jun 7, 2017 at 7:37 AM, Hasitha Jayasundara <
>>>>>> hasithajayasunda...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> Can we please move the meeting to next week?.Got a problem with
>>>>>>> Friday evening.Really sorry for the inconvenience caused.
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> On Tue, Jun 6, 2017 at 10:24 AM, Malaka Silva <mal...@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> +1 I'll be available after 13.00
>>>>>>>>
>>>>>>>> On Tue, Jun 6, 2017 at 10:00 AM, Kevin Ratnasekera <ke...@wso2.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> +1
>>>>>>>>>
>>>>>>>>> On Tue, Jun 6, 2017 at 9:51 AM, Hasitha Jayasundara <
>>>>>>>>> hasithajayasunda...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi all,
>>>>>>>>>>
>>>>>>>>>> Friday afternoon fine me with.Any suggestions?
>>>>>>>>>>
>>>>>>>>>> On Mon, Jun 5, 2017 at 9:30 AM, Malaka Silva <mal...@wso2.com>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Wednesday morning or Friday afternoon fine with me.
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 5, 2017 at 9:26 AM, Kevin Ratnasekera <
>>>>>>>>>>> ke...@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Hasitha,
>>>>>>>>>>>>
>>>>>>>>>>>> Great progress so far, since the coding period have already
>>>>>>>>>>>> started, we need to plan things ahead and come up with a proper 
>>>>>>>>>>>> milestone
>>>>>>>>>>>> plan before we proceed anything further. Will it be possible you 
>>>>>>>>>>>> to join a
>>>>>>>>>>>> meeting within this week?
>>>>>>>>>>>>
>>>>>>>>>>>> @malaka Can you please suggest possible time for you to have a
>>>>>>>>>>>> meeting?
>>>>>>>>>>>>
>>>>>>>>>>>> Regards
>>>>>>>>>>>> Kevin
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, May 29, 2017 at 10:34 AM, Hasitha Jayasundara <
>>>>>>>>>>>> hasithajayasunda...@gmail.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>
>>>>>>>&g

Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for IBM MQ 8.0

2017-06-14 Thread Malaka Silva
Hi Hasitha,

When will you be arranging the meeting?

On Tue, Jun 13, 2017 at 9:41 AM, Malaka Silva <mal...@wso2.com> wrote:

> +1
>
> On Tue, Jun 13, 2017 at 9:08 AM, Kevin Ratnasekera <ke...@wso2.com> wrote:
>
>> Hi Hasitha,
>>
>> I am fine with either of days if it works for Malaka as weill,
>>
>> @malaka can you please check?
>>
>> Regards
>> Kevin
>>
>> On Mon, Jun 12, 2017 at 8:53 AM, Hasitha Jayasundara <
>> hasithajayasunda...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> Will it possible to arrange a meeting on Thursday or Friday this week?
>>>
>>> Thanks
>>>
>>> On Wed, Jun 7, 2017 at 9:22 AM, Malaka Silva <mal...@wso2.com> wrote:
>>>
>>>> Sure No Worries
>>>>
>>>> On Wed, Jun 7, 2017 at 7:37 AM, Hasitha Jayasundara <
>>>> hasithajayasunda...@gmail.com> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> Can we please move the meeting to next week?.Got a problem with Friday
>>>>> evening.Really sorry for the inconvenience caused.
>>>>>
>>>>> Thanks
>>>>>
>>>>> On Tue, Jun 6, 2017 at 10:24 AM, Malaka Silva <mal...@wso2.com> wrote:
>>>>>
>>>>>> +1 I'll be available after 13.00
>>>>>>
>>>>>> On Tue, Jun 6, 2017 at 10:00 AM, Kevin Ratnasekera <ke...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> +1
>>>>>>>
>>>>>>> On Tue, Jun 6, 2017 at 9:51 AM, Hasitha Jayasundara <
>>>>>>> hasithajayasunda...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> Friday afternoon fine me with.Any suggestions?
>>>>>>>>
>>>>>>>> On Mon, Jun 5, 2017 at 9:30 AM, Malaka Silva <mal...@wso2.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Wednesday morning or Friday afternoon fine with me.
>>>>>>>>>
>>>>>>>>> On Mon, Jun 5, 2017 at 9:26 AM, Kevin Ratnasekera <ke...@wso2.com>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Hasitha,
>>>>>>>>>>
>>>>>>>>>> Great progress so far, since the coding period have already
>>>>>>>>>> started, we need to plan things ahead and come up with a proper 
>>>>>>>>>> milestone
>>>>>>>>>> plan before we proceed anything further. Will it be possible you to 
>>>>>>>>>> join a
>>>>>>>>>> meeting within this week?
>>>>>>>>>>
>>>>>>>>>> @malaka Can you please suggest possible time for you to have a
>>>>>>>>>> meeting?
>>>>>>>>>>
>>>>>>>>>> Regards
>>>>>>>>>> Kevin
>>>>>>>>>>
>>>>>>>>>> On Mon, May 29, 2017 at 10:34 AM, Hasitha Jayasundara <
>>>>>>>>>> hasithajayasunda...@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi all,
>>>>>>>>>>>
>>>>>>>>>>> I have updated the sample MQ-Client [1] to establish SSL
>>>>>>>>>>> connections with IBM WebSphere MQ. Still carry on the research with 
>>>>>>>>>>> the
>>>>>>>>>>> provided links about the IBM specific options that can be added 
>>>>>>>>>>> other than
>>>>>>>>>>> SSL and will update the thread with the findings as soon as
>>>>>>>>>>> possible.Working on
>>>>>>>>>>>
>>>>>>>>>>> "Can we check if it is possible to have an alternative way to
>>>>>>>>>>> set SSL details other than system properties with IBM MQ client 
>>>>>>>>>>> libraries.The
>>>>>>>>>>> reason for that is we are limiting our self to one set of 
>>>>>>>>>>> properties per
>>

Re: [Dev] Issues while enable the blocking mode

2017-06-14 Thread Malaka Silva
<
>SendAsync>d__1.MoveNext()"[\r][\n]"
>[2017-06-14 15:00:13,963] DEBUG - content << "}[\r][\n]"
>[2017-06-14 15:00:13,964] DEBUG - content << "  }[\r][\n]"
>[2017-06-14 15:00:13,964] DEBUG - content << "}"
>[2017-06-14 15:00:13,966]  INFO - HTTPSender Unable to sendViaPost to
>url[https://wso21234.crm5.dynamics.com/api/data/v8.2/
>accounts(31618218-8a4e-e711-80f7-c4346bad279c)?$select=
>name,creditonhold,address1_latitude
>
> <https://wso21234.crm5.dynamics.com/api/data/v8.2/accounts(31618218-8a4e-e711-80f7-c4346bad279c)?$select=name,creditonhold,address1_latitude>
>]
>org.apache.axis2.AxisFault: Transport error: 405 Error: Method Not
>Allowed
>at org.apache.axis2.transport.http.HTTPSender.
>handleResponse(HTTPSender.java:326)
>at org.apache.axis2.transport.http.HTTPSender.sendViaPost(
>HTTPSender.java:196)
>at org.apache.axis2.transport.http.HTTPSender.send(
>HTTPSender.java:77)
>at org.apache.axis2.transport.http.CommonsHTTPTransportSender.
>writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
>at org.apache.axis2.transport.http.CommonsHTTPTransportSender.
>invoke(CommonsHTTPTransportSender.java:278)
>at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>at org.apache.axis2.description.OutInAxisOperationClient.send(
>OutInAxisOperation.java:430)
>at org.apache.axis2.description.OutInAxisOperationClient.
>executeImpl(OutInAxisOperation.java:225)
>at org.apache.axis2.client.OperationClient.execute(
>OperationClient.java:149)
>at org.apache.synapse.message.senders.blocking.
>BlockingMsgSender.sendReceive(BlockingMsgSender.java:293)
>at org.apache.synapse.message.senders.blocking.
>BlockingMsgSender.send(BlockingMsgSender.java:194)
>at org.apache.synapse.mediators.builtin.CallMediator.
>handleBlockingCall(CallMediator.java:125)
>at org.apache.synapse.mediators.builtin.CallMediator.mediate(
>CallMediator.java:97)
>at org.apache.synapse.mediators.AbstractListMediator.mediate(
>AbstractListMediator.java:97)
>at org.apache.synapse.mediators.AbstractListMediator.mediate(
>AbstractListMediator.java:59)
>at org.apache.synapse.mediators.filters.FilterMediator.
>mediate(FilterMediator.java:169)
>at org.apache.synapse.mediators.AbstractListMediator.mediate(
>AbstractListMediator.java:97)
>at org.apache.synapse.mediators.AbstractListMediator.mediate(
>AbstractListMediator.java:59)
>at org.apache.synapse.mediators.filters.FilterMediator.
>mediate(FilterMediator.java:169)
>at org.apache.synapse.mediators.AbstractListMediator.mediate(
>AbstractListMediator.java:97)
>at org.apache.synapse.mediators.AbstractListMediator.mediate(
>AbstractListMediator.java:59)
>at org.apache.synapse.mediators.template.TemplateMediator.
>mediate(TemplateMediator.java:104)
>at org.apache.synapse.mediators.template.InvokeMediator.
>mediate(InvokeMediator.java:148)
>at org.apache.synapse.mediators.template.InvokeMediator.
>mediate(InvokeMediator.java:84)
>at org.apache.synapse.mediators.AbstractListMediator.mediate(
>AbstractListMediator.java:97)
>at org.apache.synapse.mediators.AbstractListMediator.mediate(
>AbstractListMediator.java:59)
>at org.apache.synapse.config.xml.AnonymousListMediator.mediate(
>AnonymousListMediator.java:37)
>at org.apache.synapse.config.xml.SwitchCase.mediate(SwitchCase.
>java:69)
>at org.apache.synapse.mediators.filters.SwitchMediator.
>mediate(SwitchMediator.java:134)
>at org.apache.synapse.mediators.AbstractListMediator.mediate(
>AbstractListMediator.java:97)
>at org.apache.synapse.mediators.AbstractListMediator.mediate(
>AbstractListMediator.java:59)
>at org.apache.synapse.mediators.base.SequenceMediator.mediate(
>SequenceMediator.java:158)
>at org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.
>receive(ProxyServiceMessageReceiver.java:210)
>at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>at org.apache.synapse.transport.passthru.ServerWorker.
>processNonEntityEnclosingRESTHandler(ServerWorker.java:325)
>at org.apache.synapse.transport.passthru.ServerWorker.
>processEntityEnclosingRequest(ServerWorker.java:371)
>at org.apache.synapse.transport.passthru.ServerWorker.run(
>ServerWorker.java:151)
>at org.apache.axis2.transport.base.threads.NativeWorkerPool$
>1.run(NativeWorkerPool.java:172)
>at java.util.concurrent.ThreadPoolExecutor.runWorker(
>ThreadPoolExecutor.java:1145)
>at java.util.concurrent.ThreadPoolExecutor$Worker.run(
>ThreadPoolExecutor.java:615)
>at java.lang.Thread.run(Thread.java:745)
>[2017-06-14 15:00:13,988]  INFO - LogMediator To:
>https://wso21234.crm5.dynamics.com/api/data/v8.2/
>accounts(31618218-8a4e-e711-80f7-c4346bad279c)?$select=
>name,creditonhold,address1_latitude
>
> <https://wso21234.crm5.dynamics.com/api/data/v8.2/accounts(31618218-8a4e-e711-80f7-c4346bad279c)?$select=name,creditonhold,address1_latitude>,
>MessageID: urn:uuid:73a06200-8cf2-4b5d-a03e-d19ee4ff5bdd, Direction:
>request, MESSAGE = Executing default 'fault' sequence, ERROR_CODE = 401001,
>ERROR_MESSAGE = Transport error: 405 Error: Method Not Allowed, Payload:
>{"name":"Updated Sample Account"}
>[2017-06-14 15:00:13,996] DEBUG - wire HTTP-Listener I/O dispatcher-1
><< "HTTP/1.1 202 Accepted[\r][\n]"
>[2017-06-14 15:00:13,997] DEBUG - wire HTTP-Listener I/O dispatcher-1
><< "Date: Wed, 14 Jun 2017 09:30:13 GMT[\r][\n]"
>[2017-06-14 15:00:13,997] DEBUG - wire HTTP-Listener I/O dispatcher-1
><< "Transfer-Encoding: chunked[\r][\n]"
>[2017-06-14 15:00:13,997] DEBUG - wire HTTP-Listener I/O dispatcher-1
><< "Connection: keep-alive[\r][\n]"
>[2017-06-14 15:00:13,997] DEBUG - wire HTTP-Listener I/O dispatcher-1
><< "[\r][\n]"
>[2017-06-14 15:00:13,997] DEBUG - wire HTTP-Listener I/O dispatcher-1
><< "0[\r][\n]"
>[2017-06-14 15:00:13,998] DEBUG - wire HTTP-Listener I/O dispatcher-1
><< "[\r][\n]"
>
>
> Is there any way to resolve this issues? or Is it an expected behavior?
>
> [1] [Architecture] [PET] Microsoft Dynamics CRM Connector
>
> Thanks,
>
> Kanapriya Kuleswararajan
> Software Engineer | WSO2
> Mobile : - 0774894438 <077%20489%204438>
> Mail : - kanapr...@wso2.com
> LinkedIn : - https://www.linkedin.com/in/kanapriya-kules-94712685/
> <https://www.linkedin.com/in/hariprasath-thanarajah-5234b660>
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for IBM MQ 8.0

2017-06-12 Thread Malaka Silva
+1

On Tue, Jun 13, 2017 at 9:08 AM, Kevin Ratnasekera <ke...@wso2.com> wrote:

> Hi Hasitha,
>
> I am fine with either of days if it works for Malaka as weill,
>
> @malaka can you please check?
>
> Regards
> Kevin
>
> On Mon, Jun 12, 2017 at 8:53 AM, Hasitha Jayasundara <
> hasithajayasunda...@gmail.com> wrote:
>
>> Hi all,
>>
>> Will it possible to arrange a meeting on Thursday or Friday this week?
>>
>> Thanks
>>
>> On Wed, Jun 7, 2017 at 9:22 AM, Malaka Silva <mal...@wso2.com> wrote:
>>
>>> Sure No Worries
>>>
>>> On Wed, Jun 7, 2017 at 7:37 AM, Hasitha Jayasundara <
>>> hasithajayasunda...@gmail.com> wrote:
>>>
>>>> Hi all,
>>>>
>>>> Can we please move the meeting to next week?.Got a problem with Friday
>>>> evening.Really sorry for the inconvenience caused.
>>>>
>>>> Thanks
>>>>
>>>> On Tue, Jun 6, 2017 at 10:24 AM, Malaka Silva <mal...@wso2.com> wrote:
>>>>
>>>>> +1 I'll be available after 13.00
>>>>>
>>>>> On Tue, Jun 6, 2017 at 10:00 AM, Kevin Ratnasekera <ke...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> +1
>>>>>>
>>>>>> On Tue, Jun 6, 2017 at 9:51 AM, Hasitha Jayasundara <
>>>>>> hasithajayasunda...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> Friday afternoon fine me with.Any suggestions?
>>>>>>>
>>>>>>> On Mon, Jun 5, 2017 at 9:30 AM, Malaka Silva <mal...@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Wednesday morning or Friday afternoon fine with me.
>>>>>>>>
>>>>>>>> On Mon, Jun 5, 2017 at 9:26 AM, Kevin Ratnasekera <ke...@wso2.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi Hasitha,
>>>>>>>>>
>>>>>>>>> Great progress so far, since the coding period have already
>>>>>>>>> started, we need to plan things ahead and come up with a proper 
>>>>>>>>> milestone
>>>>>>>>> plan before we proceed anything further. Will it be possible you to 
>>>>>>>>> join a
>>>>>>>>> meeting within this week?
>>>>>>>>>
>>>>>>>>> @malaka Can you please suggest possible time for you to have a
>>>>>>>>> meeting?
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>> Kevin
>>>>>>>>>
>>>>>>>>> On Mon, May 29, 2017 at 10:34 AM, Hasitha Jayasundara <
>>>>>>>>> hasithajayasunda...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi all,
>>>>>>>>>>
>>>>>>>>>> I have updated the sample MQ-Client [1] to establish SSL
>>>>>>>>>> connections with IBM WebSphere MQ. Still carry on the research with 
>>>>>>>>>> the
>>>>>>>>>> provided links about the IBM specific options that can be added 
>>>>>>>>>> other than
>>>>>>>>>> SSL and will update the thread with the findings as soon as
>>>>>>>>>> possible.Working on
>>>>>>>>>>
>>>>>>>>>> "Can we check if it is possible to have an alternative way to
>>>>>>>>>> set SSL details other than system properties with IBM MQ client 
>>>>>>>>>> libraries.The
>>>>>>>>>> reason for that is we are limiting our self to one set of properties 
>>>>>>>>>> per
>>>>>>>>>> JVM. eg: System.setProperty("
>>>>>>>>>>
>>>>>>>>>> which discussed in the previous thread.
>>>>>>>>>>
>>>>>>>>>> [1] https://github.com/hasithajayasundara/IBM-MQ-client
>>>>>>>>>>
>>>>>>>>>> On Tue, May 23, 2017 at 7:12 AM, Malaka Silva <mal...@wso2.com>
>>>>>>>>>> wrote

Re: [Dev] Find a way to get file name while reading a file using WSO2 ESB File Connector 2

2017-06-08 Thread Malaka Silva
Why Soap header (Or even HTTP header)? Can't you add to a synapse property?

On Thu, Jun 8, 2017 at 7:46 PM, Vivekananthan Sivanayagam <
vivekanant...@wso2.com> wrote:

> Hi All,
>
> I am in the process of resolving JIRA [1], here we have to show the
> reading file name.To overcome this, I've added the file name in the
> header[2] and get the value[3] in the proxy. I referred[4] to implement
> that.
>
> [2]
>
>  public static void buildHeader(MessageContext messageContext,String
> fileName) {
> SOAPEnvelope env = messageContext.getEnvelope();
> if (env == null) {
> return;
> }
> SOAPFactory fac = (SOAPFactory) env.getOMFactory();
> SOAPHeader header = env.getHeader();
> if (header == null) {
> header = fac.createSOAPHeader(env);
> }
> SOAPHeaderBlock hb = header.addHeaderBlock("File_Name",
> fac.createOMNamespace(FileConstants.FILECON,
> FileConstants.FILE_READ));
> hb.setText(fileName);
> }
> }
>
> [3]
>
> 
> http://ws.apache.org/ns/synapse;
>name="File_Read"
>transports="https http"
>startOnLoad="true">
>
>
>   
>  
>  
>  
>  http://localhost:9000"/>
>  
> {$ctx:source}
> {$ctx:contentType}
> {$ctx:filePattern}
>  
>  
>  
>  expression="get-property('fileName')"/>
>  
>  
>   
>
> 
>
>
> Is this a correct way to achieve this functionality in File Read
> operation? Give me a suggestion on above approach?
>
>
> [1] https://wso2.org/jira/projects/ESBCONNECT/issues/ESBCONNECT-192
>
> [4] https://github.com/wso2/wso2-synapse/blob/master/
> modules/core/src/main/java/org/apache/synapse/mediators/
> transform/HeaderMediator.java
>
> Thanks,
>
> Vivekananthan Sivanayagam
> Software Engineer | WSO2
> E:vivekanant...@wso2.com
> M:+94752786138 <+94%2075%20278%206138>
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting Anonymous endpoint error via ESB

2017-06-08 Thread Malaka Silva
Hi Kanapriya,

Not sure and we need to further investigate this.

We do this via comparing headers when sending directly and via ESB. Then we
can manually add/remove one by one and find the root cause.

On Thu, Jun 8, 2017 at 4:59 PM, Kanapriya Kuleswararajan <kanapr...@wso2.com
> wrote:

> Hi All ,
>
> I have checked the JIRA [1] and tried with freshdesk connector to resolve
> the issue.
> The FreshDesk API Endpoint can be invoked directly. But I'm getting
> anonymous endpoint error  when I tried the endpoint via the ESB.
>
> It seems IP address and the port are appended with the host. What could be
> the reason ?
>
> Please find the simplified  proxy configuration [2] and the error [3] of
> the request.
>
> [1] https://wso2.org/jira/projects/ESBCONNECT/issues/ESBCONNECT-166
> [2]
> 
> http://ws.apache.org/ns/synapse
> <http://www.google.com/url?q=http%3A%2F%2Fws.apache.org%2Fns%2Fsynapse=D=1=AFQjCNHXEm-DVy-kXjma9HiDSOzvmv4DoA>
> "
>   name="sample"
>   startOnLoad="true"
>   statistics="enable"
>   trace="enable"
>   transports="http">
>   
>  
>  value="application/json"/>
> http://org.apache.synapse/xsd
> <http://www.google.com/url?q=http%3A%2F%2Forg.apache.synapse%2Fxsd=D=1=AFQjCNHFBE5d7rSVgszJpW_f9GbBWTHLMA>
> "
>   expression="fn:concat('Basic ', '
> MFNsWkhRbnI1NkN0cmdsTENNZGU6WA==')"
>   name="Authorization"
>   scope="transport"/>
> 
>
>uri-template="https://kana.freshdesk.com/api/v2/
> companies/3102315
> <https://www.google.com/url?q=https%3A%2F%2Fkana.freshdesk.com%2Fapi%2Fv2%2Fcompanies%2F3102315=D=1=AFQjCNE6O0m8WtZeuosTCx9-N0Dp5Mg_pw>
> "/>
>
> 
> 
>  
>  
>   
>   
> 
>
> [3]
>
> [2017-06-08 16:39:21,804]  INFO - ProxyService Successfully created the
> Axis2 service for Proxy service : sample
> [2017-06-08 16:39:26,874] DEBUG - wire HTTP-Listener I/O dispatcher-2 >>
> "GET /services/sample HTTP/1.1[\r][\n]"
> [2017-06-08 16:39:26,874] DEBUG - wire HTTP-Listener I/O dispatcher-2 >>
> "Host: kanapriya-thinkpad-t540p:8280[\r][\n]"
> [2017-06-08 16:39:26,874] DEBUG - wire HTTP-Listener I/O dispatcher-2 >>
> "Connection: keep-alive[\r][\n]"
> [2017-06-08 16:39:26,874] DEBUG - wire HTTP-Listener I/O dispatcher-2 >>
> "Cache-Control: no-cache[\r][\n]"
> [2017-06-08 16:39:26,874] DEBUG - wire HTTP-Listener I/O dispatcher-2 >>
> "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
> like Gecko) Chrome/51.0.2704.63 Safari/537.36[\r][\n]"
> [2017-06-08 16:39:26,875] DEBUG - wire HTTP-Listener I/O dispatcher-2 >>
> "Postman-Token: 12391c14-b6f4-8ac2-7c88-6e00f9e80d0a[\r][\n]"
> [2017-06-08 16:39:26,875] DEBUG - wire HTTP-Listener I/O dispatcher-2 >>
> "Accept: */*[\r][\n]"
> [2017-06-08 16:39:26,875] DEBUG - wire HTTP-Listener I/O dispatcher-2 >>
> "Accept-Encoding: gzip, deflate, sdch[\r][\n]"
> [2017-06-08 16:39:26,875] DEBUG - wire HTTP-Listener I/O dispatcher-2 >>
> "Accept-Language: en-US,en;q=0.8[\r][\n]"
> [2017-06-08 16:39:26,875] DEBUG - wire HTTP-Listener I/O dispatcher-2 >>
> "[\r][\n]"
> [2017-06-08 16:39:27,384]  WARN - TargetHandler Connection closed before
> sending request out  Remote Address : kana.freshdesk.com/52.72.32.65:443
> [2017-06-08 16:39:27,386]  INFO - EndpointContext Endpoint : AnonymousEndpoint
> with address https://kana.freshdesk.com/api/v2/companies/3102315 has
> been marked for SUSPENSION, but no further retries remain. Thus it will be
> SUSPENDED.
> [2017-06-08 16:39:27,386]  WARN - EndpointContext Suspending endpoint :
> AnonymousEndpoint with address https://kana.freshdesk.com/
> api/v2/companies/3102315 - current suspend duration is : 3ms -
> Next retry after : Thu Jun 08 16:39:57 IST 2017
> [2017-06-08 16:39:27,387]  INFO - LogMediator To:
> https://kana.freshdesk.com/api/v2/companies/3102315, MessageID:
> urn:uuid:06a1bcf5-e4a7-4212-a039-e9d552a6d3fc, Direction: request,
> MESSAGE = Executing default 'fault' sequence, ERROR_CODE = 101505,
> ERROR_MESSAGE = Error in Sender, Envelope:  encoding='utf-8'?>http://schemas.
> xmlsoap.org/soap/envelope/">
> [2017-06-08 16:42:27,055]  WARN - SourceHandler Connection time out after
> request is read: http-incoming-2 Socket Timeout : 18 Remote Address : /
> 127.0.0.1:19323
>
>
> Thanks
> Kanapriya Kulesw

Re: [Dev] Deprecating Clef Authenticator

2017-06-07 Thread Malaka Silva
Thx

On Mon, Jun 5, 2017 at 10:06 AM, Maheshika Goonetilleke <mahesh...@wso2.com>
wrote:

> Hi Malaka
>
> Moved and disabled Jenkins jobs.
>
> On Mon, Jun 5, 2017 at 9:25 AM, Malaka Silva <mal...@wso2.com> wrote:
>
>> Hi Maheshika,
>>
>> Please move [1] to wso2-attic
>>
>> [1] https://github.com/wso2-extensions/identity-outbound-auth-clef
>>
>> On Wed, May 31, 2017 at 9:31 AM, Rajjaz Mohammed <raj...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> Clef authenticator deprecated from the store and the documentation also
>>> moved to private space.
>>>
>>> On Wed, May 31, 2017 at 9:23 AM, Rajjaz Mohammed <raj...@wso2.com>
>>> wrote:
>>>
>>>> Hi Malaka,
>>>>
>>>> Noted. Will do the needful.
>>>>
>>>> On Wed, May 31, 2017 at 9:21 AM, Malaka Silva <mal...@wso2.com> wrote:
>>>>
>>>>> +1 for
>>>>> ​d​
>>>>> eprecating
>>>>> ​. Didn't see any usage since published.​
>>>>>
>>>>> On Tue, May 30, 2017 at 12:30 PM, Rajjaz Mohammed <raj...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> We are planning to deprecate clef authenticator[1][2] from the
>>>>>> store[2]. Reason is clef is going to shut down its service[3] from June 
>>>>>> 6.
>>>>>>
>>>>>> Please let us know if there are any concerns.
>>>>>>
>>>>>> [1] https://docs.wso2.com/display/ISCONNECTORS/Configuring+Clef+
>>>>>> Authenticator
>>>>>> [2] https://store.wso2.com/store/assets/isconnector/details/a1e8
>>>>>> 1fd8-aca4-4ae1-9544-33f5ea26473b
>>>>>> [3] https://blog.getclef.com/discontinuing-support-for-clef-6c89
>>>>>> febef5f3
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Thank you
>>>>>> Best Regards
>>>>>>
>>>>>> *Rajjaz HM*
>>>>>> Software Engineer
>>>>>> Platform Extension Team
>>>>>> WSO2 Inc. <http://wso2.com/>
>>>>>> lean | enterprise | middleware
>>>>>> Mobile | +94752833834 <075%20283%203834>|+94777226874
>>>>>> <077%20722%206874>
>>>>>> Email   | raj...@wso2.com
>>>>>> LinkedIn <https://lk.linkedin.com/in/hmohammedrajjaz> | Blogger
>>>>>> <http://rajjazhm.blogspot.com/> | WSO2 Profile
>>>>>> <http://wso2.com/about/team/mohammer-rajjaz/>
>>>>>> [image: https://wso2.com/signature] <https://wso2.com/signature>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> Malaka Silva
>>>>> Associate Director / Architect
>>>>> M: +94 777 219 791 <+94%2077%20721%209791>
>>>>> Tel : 94 11 214 5345
>>>>> Fax :94 11 2145300 <011%202%20145300>
>>>>> Skype : malaka.sampath.silva
>>>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>>>> Blog : http://mrmalakasilva.blogspot.com/
>>>>>
>>>>> WSO2, Inc.
>>>>> lean . enterprise . middleware
>>>>> https://wso2.com/signature
>>>>> http://www.wso2.com/about/team/malaka-silva/
>>>>> <http://wso2.com/about/team/malaka-silva/>
>>>>> https://store.wso2.com/store/
>>>>>
>>>>> Don't make Trees rare, we should keep them with care
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Thank you
>>>> Best Regards
>>>>
>>>> *Rajjaz HM*
>>>> Software Engineer
>>>> Platform Extension Team
>>>> WSO2 Inc. <http://wso2.com/>
>>>> lean | enterprise | middleware
>>>> Mobile | +94752833834 <+94%2075%20283%203834>|+94777226874
>>>> <+94%2077%20722%206874>
>>>> Email   | raj...@wso2.com
>>>> LinkedIn <https://lk.linkedin.com/in/hmohammedrajjaz> | Blogger
>>>> <http://rajjazhm.blogspot.com/> | WSO2 Profile
>>>> <http://wso2.com/about/team/mohammer-rajjaz/>
>>>> [image: https://wso2.com/signature] <https://wso2.com

Re: [Dev] Use "/identity" claims for identity mgt functionalities

2017-06-07 Thread Malaka Silva
I guess best approach would be to make the claims configurable and leave
the current set of claims used as default set of claims?

On Mon, Jun 5, 2017 at 7:53 AM, Isura Karunaratne <is...@wso2.com> wrote:

> Yes. Identity claim support is there in previous IS releases as well.
>
> Thanks
> Isura.
>
> On Sat, Jun 3, 2017 at 11:33 PM, Hasintha Indrajee <hasin...@wso2.com>
> wrote:
>
>> AFAIK there is no difference in the way we handle identity claims within
>> IS from 5.0.0 up to now. So these connectors will not be useful if the
>> userstore is read-only. Better to improve these connectors.
>>
>> But then again we may need to provide migration scripts and update
>> documents if we are to do this change.
>>
>> On Sat, Jun 3, 2017 at 5:10 PM, Malaka Silva <mal...@wso2.com> wrote:
>>
>>> Hi Hasintha,
>>>
>>> I guess this only supports since IS version 530? Most of the
>>> authenticators identity claims were not considered and will be an issue
>>> when read only user store is used. Something we have to improve in general.
>>>
>>> On Sat, Jun 3, 2017 at 10:08 AM, Hasintha Indrajee <hasin...@wso2.com>
>>> wrote:
>>>
>>>> Hi connector team,
>>>>
>>>> I noticed that password policy connector [1] is not using an identity
>>>> claim to store lastPasswordChangedTimestamp which is not correct.
>>>> These kind of claims should be identity claims. The reason for being an
>>>> identity claim is to use them even if the userstore is read only. If we use
>>>> this claim in this way, this claim will be useless if the userstore is read
>>>> only. The correct claim will look like "http://wso2.org/claims/identi
>>>> ty/lastPasswordUpdateTimeStamp"
>>>>
>>>>
>>>> [1] https://github.com/wso2-extensions/identity-outbound-aut
>>>> h-passwordPolicy
>>>> --
>>>> Hasintha Indrajee
>>>> WSO2, Inc.
>>>> Mobile:+94 771892453 <077%20189%202453>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Associate Director / Architect
>>> M: +94 777 219 791 <077%20721%209791>
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300 <011%202%20145300>
>>> Skype : malaka.sampath.silva
>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>> Blog : http://mrmalakasilva.blogspot.com/
>>>
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> https://wso2.com/signature
>>> http://www.wso2.com/about/team/malaka-silva/
>>> <http://wso2.com/about/team/malaka-silva/>
>>> https://store.wso2.com/store/
>>>
>>> Don't make Trees rare, we should keep them with care
>>>
>>
>>
>>
>> --
>> Hasintha Indrajee
>> WSO2, Inc.
>> Mobile:+94 771892453 <+94%2077%20189%202453>
>>
>>
>> _______
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Isura Dilhara Karunaratne*
> Senior Software Engineer | WSO2
> Email: is...@wso2.com
> Mob : +94 772 254 810 <077%20225%204810>
> Blog : http://isurad.blogspot.com/
>
>
>
>


-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Use "/identity" claims for identity mgt functionalities

2017-06-07 Thread Malaka Silva
I guess best approach would be to make the claims configurable and leave
the current set of claims used as default set of claims?

On Mon, Jun 5, 2017 at 7:53 AM, Isura Karunaratne <is...@wso2.com> wrote:

> Yes. Identity claim support is there in previous IS releases as well.
>
> Thanks
> Isura.
>
> On Sat, Jun 3, 2017 at 11:33 PM, Hasintha Indrajee <hasin...@wso2.com>
> wrote:
>
>> AFAIK there is no difference in the way we handle identity claims within
>> IS from 5.0.0 up to now. So these connectors will not be useful if the
>> userstore is read-only. Better to improve these connectors.
>>
>> But then again we may need to provide migration scripts and update
>> documents if we are to do this change.
>>
>> On Sat, Jun 3, 2017 at 5:10 PM, Malaka Silva <mal...@wso2.com> wrote:
>>
>>> Hi Hasintha,
>>>
>>> I guess this only supports since IS version 530? Most of the
>>> authenticators identity claims were not considered and will be an issue
>>> when read only user store is used. Something we have to improve in general.
>>>
>>> On Sat, Jun 3, 2017 at 10:08 AM, Hasintha Indrajee <hasin...@wso2.com>
>>> wrote:
>>>
>>>> Hi connector team,
>>>>
>>>> I noticed that password policy connector [1] is not using an identity
>>>> claim to store lastPasswordChangedTimestamp which is not correct.
>>>> These kind of claims should be identity claims. The reason for being an
>>>> identity claim is to use them even if the userstore is read only. If we use
>>>> this claim in this way, this claim will be useless if the userstore is read
>>>> only. The correct claim will look like "http://wso2.org/claims/identi
>>>> ty/lastPasswordUpdateTimeStamp"
>>>>
>>>>
>>>> [1] https://github.com/wso2-extensions/identity-outbound-aut
>>>> h-passwordPolicy
>>>> --
>>>> Hasintha Indrajee
>>>> WSO2, Inc.
>>>> Mobile:+94 771892453 <077%20189%202453>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Associate Director / Architect
>>> M: +94 777 219 791 <077%20721%209791>
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300 <011%202%20145300>
>>> Skype : malaka.sampath.silva
>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>> Blog : http://mrmalakasilva.blogspot.com/
>>>
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> https://wso2.com/signature
>>> http://www.wso2.com/about/team/malaka-silva/
>>> <http://wso2.com/about/team/malaka-silva/>
>>> https://store.wso2.com/store/
>>>
>>> Don't make Trees rare, we should keep them with care
>>>
>>
>>
>>
>> --
>> Hasintha Indrajee
>> WSO2, Inc.
>> Mobile:+94 771892453 <+94%2077%20189%202453>
>>
>>
>> _______
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Isura Dilhara Karunaratne*
> Senior Software Engineer | WSO2
> Email: is...@wso2.com
> Mob : +94 772 254 810 <077%20225%204810>
> Blog : http://isurad.blogspot.com/
>
>
>
>


-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Fwd: Requesting of opportunity for university final year project.

2017-06-07 Thread Malaka Silva
Hi Jeewika,

I will add our dev-mail group so that you could get wider support.

Following are some of the ideas.

Some options for you to do a new extension for ESB,

[1] https://wso2.org/jira/projects/ESBCONNECT/issues/ESBCONNECT-193
[2] https://wso2.org/jira/projects/ESBCONNECT/issues/ESBCONNECT-206
[3] https://wso2.org/jira/projects/ESBCONNECT/issues/ESBCONNECT-199
[5] https://wso2.org/jira/projects/ESBCONNECT/issues/ESBCONNECT-197

Few things you can do to improve the existing base. Maybe you can chose
several of these options and do a use case combining those.
[6] https://wso2.org/jira/projects/ESBCONNECT/issues/ESBCONNECT-155
[7] https://wso2.org/jira/projects/ESBCONNECT/issues/ESBCONNECT-158
[8] https://wso2.org/jira/projects/ESBCONNECT/issues/ESBCONNECT-150
[9] https://wso2.org/jira/projects/ESBCONNECT/issues/ESBCONNECT-170
[10] https://wso2.org/jira/projects/ESBCONNECT/issues/ESBCONNECT-15
[11] https://wso2.org/jira/projects/ESBCONNECT/issues/ESBCONNECT-156

Project if you are interested in Identity verification.
[12] https://wso2.org/jira/projects/ISCONNECT/issues/ISCONNECT-26

Let us know your interest and we can help you on this by allocating a
mentor from Jaffna office.

Looking forward to hear from you.

-- Forwarded message --
From: jeewika d <jeewikad...@gmail.com>
Date: Wed, Jun 7, 2017 at 3:56 PM
Subject: Re: Requesting of opportunity for university final year project.
To: Malaka Silva <mal...@wso2.com>


Dear Sir,

It is our university final year project and  a group project which should
be on  RAD(Rapid Development Application).We  have five members for our
Group.We could be take three months for this up to September 2017.


On Wed, Jun 7, 2017 at 12:29 PM, Malaka Silva <mal...@wso2.com> wrote:

> Hi Jeewika,
>
> Sure we can mentor you on doing this. Can you provide more details on this
> such as,
>
>1. Individual or group project. If a group project how many students?
>2. Duration of the project.
>
> Looking forward to hear from you.
>
> On Wed, Jun 7, 2017 at 12:24 PM, jeewika d <jeewikad...@gmail.com> wrote:
>
>> Dear Sir,
>>
>> We are third year students from Faculty of Science ,University of Jaffna
>>  who are following computer science .We are looking to get project which
>> has including WSO2 Extensions(ESB connectors,IS connectors,Ballerina)
>> from your company.We met some responsible people of WSO2 Jaffna office.We
>> are referred with regarding documentations  through the WSO2 websites
>> according their guidens. Unfortunately we could not get hopeful answer from
>> them.We have to submit urgent report within two days regarding our
>> university final year project.We would be grateful if you could give any
>> opportunity for us.
>> Please be kind enough with this matter .We are looking for hopeful answer
>> from you.
>>
>> Thank you.
>>
>> Your's Sincerely,
>> M.H.S.Jeewika Dharamadasa
>> Student,
>> Faculty of Science,
>> University of Jaffna.
>>
>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Associate Director / Architect
> M: +94 777 219 791 <+94%2077%20721%209791>
> Tel : 94 11 214 5345
> Fax :94 11 2145300 <011%202%20145300>
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> https://wso2.com/signature
> http://www.wso2.com/about/team/malaka-silva/
> <http://wso2.com/about/team/malaka-silva/>
> https://store.wso2.com/store/
>
> Don't make Trees rare, we should keep them with care
>




-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for IBM MQ 8.0

2017-06-06 Thread Malaka Silva
Sure No Worries

On Wed, Jun 7, 2017 at 7:37 AM, Hasitha Jayasundara <
hasithajayasunda...@gmail.com> wrote:

> Hi all,
>
> Can we please move the meeting to next week?.Got a problem with Friday
> evening.Really sorry for the inconvenience caused.
>
> Thanks
>
> On Tue, Jun 6, 2017 at 10:24 AM, Malaka Silva <mal...@wso2.com> wrote:
>
>> +1 I'll be available after 13.00
>>
>> On Tue, Jun 6, 2017 at 10:00 AM, Kevin Ratnasekera <ke...@wso2.com>
>> wrote:
>>
>>> +1
>>>
>>> On Tue, Jun 6, 2017 at 9:51 AM, Hasitha Jayasundara <
>>> hasithajayasunda...@gmail.com> wrote:
>>>
>>>> Hi all,
>>>>
>>>> Friday afternoon fine me with.Any suggestions?
>>>>
>>>> On Mon, Jun 5, 2017 at 9:30 AM, Malaka Silva <mal...@wso2.com> wrote:
>>>>
>>>>> Wednesday morning or Friday afternoon fine with me.
>>>>>
>>>>> On Mon, Jun 5, 2017 at 9:26 AM, Kevin Ratnasekera <ke...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Hasitha,
>>>>>>
>>>>>> Great progress so far, since the coding period have already started,
>>>>>> we need to plan things ahead and come up with a proper milestone plan
>>>>>> before we proceed anything further. Will it be possible you to join a
>>>>>> meeting within this week?
>>>>>>
>>>>>> @malaka Can you please suggest possible time for you to have a
>>>>>> meeting?
>>>>>>
>>>>>> Regards
>>>>>> Kevin
>>>>>>
>>>>>> On Mon, May 29, 2017 at 10:34 AM, Hasitha Jayasundara <
>>>>>> hasithajayasunda...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I have updated the sample MQ-Client [1] to establish SSL
>>>>>>> connections with IBM WebSphere MQ. Still carry on the research with the
>>>>>>> provided links about the IBM specific options that can be added other 
>>>>>>> than
>>>>>>> SSL and will update the thread with the findings as soon as
>>>>>>> possible.Working on
>>>>>>>
>>>>>>> "Can we check if it is possible to have an alternative way to set
>>>>>>> SSL details other than system properties with IBM MQ client 
>>>>>>> libraries.The
>>>>>>> reason for that is we are limiting our self to one set of properties per
>>>>>>> JVM. eg: System.setProperty("
>>>>>>>
>>>>>>> which discussed in the previous thread.
>>>>>>>
>>>>>>> [1] https://github.com/hasithajayasundara/IBM-MQ-client
>>>>>>>
>>>>>>> On Tue, May 23, 2017 at 7:12 AM, Malaka Silva <mal...@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Hasitha,
>>>>>>>>
>>>>>>>> Sounds good. It'll be good if you can come up with the list of IBM 
>>>>>>>> specific
>>>>>>>> options.
>>>>>>>>
>>>>>>>> On Tue, May 23, 2017 at 7:08 AM, Hasitha Jayasundara <
>>>>>>>> hasithajayasunda...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Hi all,
>>>>>>>>>
>>>>>>>>> I tried to implement sample MQ-Client that can connect to IBM MQ
>>>>>>>>> and we can improve that to implement inbound endpoint and the 
>>>>>>>>> connector.Will improve
>>>>>>>>> that MQ-Client to support more ibm specific options such as SSL 
>>>>>>>>> connections
>>>>>>>>> within next few days.
>>>>>>>>>
>>>>>>>>> On Fri, May 19, 2017 at 11:07 AM, Hasitha Jayasundara <
>>>>>>>>> hasithajayasunda...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi all,
>>>>>>>>>>
>>>>>>>>>> Thanks for the replies.I'll go through the links and let you know
>>>>>>>>>> if there's any issue.
>>>>>>>>>>
>>&

Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for IBM MQ 8.0

2017-06-05 Thread Malaka Silva
+1 I'll be available after 13.00

On Tue, Jun 6, 2017 at 10:00 AM, Kevin Ratnasekera <ke...@wso2.com> wrote:

> +1
>
> On Tue, Jun 6, 2017 at 9:51 AM, Hasitha Jayasundara <
> hasithajayasunda...@gmail.com> wrote:
>
>> Hi all,
>>
>> Friday afternoon fine me with.Any suggestions?
>>
>> On Mon, Jun 5, 2017 at 9:30 AM, Malaka Silva <mal...@wso2.com> wrote:
>>
>>> Wednesday morning or Friday afternoon fine with me.
>>>
>>> On Mon, Jun 5, 2017 at 9:26 AM, Kevin Ratnasekera <ke...@wso2.com>
>>> wrote:
>>>
>>>> Hi Hasitha,
>>>>
>>>> Great progress so far, since the coding period have already started, we
>>>> need to plan things ahead and come up with a proper milestone plan before
>>>> we proceed anything further. Will it be possible you to join a meeting
>>>> within this week?
>>>>
>>>> @malaka Can you please suggest possible time for you to have a meeting?
>>>>
>>>> Regards
>>>> Kevin
>>>>
>>>> On Mon, May 29, 2017 at 10:34 AM, Hasitha Jayasundara <
>>>> hasithajayasunda...@gmail.com> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I have updated the sample MQ-Client [1] to establish SSL connections
>>>>> with IBM WebSphere MQ. Still carry on the research with the provided links
>>>>> about the IBM specific options that can be added other than SSL and will
>>>>> update the thread with the findings as soon as possible.Working on
>>>>>
>>>>> "Can we check if it is possible to have an alternative way to set SSL
>>>>> details other than system properties with IBM MQ client libraries.The
>>>>> reason for that is we are limiting our self to one set of properties per
>>>>> JVM. eg: System.setProperty("
>>>>>
>>>>> which discussed in the previous thread.
>>>>>
>>>>> [1] https://github.com/hasithajayasundara/IBM-MQ-client
>>>>>
>>>>> On Tue, May 23, 2017 at 7:12 AM, Malaka Silva <mal...@wso2.com> wrote:
>>>>>
>>>>>> Hi Hasitha,
>>>>>>
>>>>>> Sounds good. It'll be good if you can come up with the list of IBM 
>>>>>> specific
>>>>>> options.
>>>>>>
>>>>>> On Tue, May 23, 2017 at 7:08 AM, Hasitha Jayasundara <
>>>>>> hasithajayasunda...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I tried to implement sample MQ-Client that can connect to IBM MQ and
>>>>>>> we can improve that to implement inbound endpoint and the 
>>>>>>> connector.Will improve
>>>>>>> that MQ-Client to support more ibm specific options such as SSL 
>>>>>>> connections
>>>>>>> within next few days.
>>>>>>>
>>>>>>> On Fri, May 19, 2017 at 11:07 AM, Hasitha Jayasundara <
>>>>>>> hasithajayasunda...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> Thanks for the replies.I'll go through the links and let you know
>>>>>>>> if there's any issue.
>>>>>>>>
>>>>>>>> On Fri, May 19, 2017 at 8:50 AM, Riyafa Abdul Hameed <
>>>>>>>> riy...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> See if this blog post could be of help:
>>>>>>>>> https://riyafa.wordpress.com/2016/02/21/sample-java-client-f
>>>>>>>>> or-websphere-mq-consumer-and-producer/
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Riyafa
>>>>>>>>>
>>>>>>>>> On Thu, May 18, 2017 at 9:13 PM, Malaka Silva <mal...@wso2.com>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Hasitha,
>>>>>>>>>>
>>>>>>>>>> You can find sample code done for IBM MQ 7.5. Here ESB acts as
>>>>>>>>>> the consumer.
>>>>>>>>>>
>>>>>>>>>> W

Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for IBM MQ 8.0

2017-06-04 Thread Malaka Silva
Wednesday morning or Friday afternoon fine with me.

On Mon, Jun 5, 2017 at 9:26 AM, Kevin Ratnasekera <ke...@wso2.com> wrote:

> Hi Hasitha,
>
> Great progress so far, since the coding period have already started, we
> need to plan things ahead and come up with a proper milestone plan before
> we proceed anything further. Will it be possible you to join a meeting
> within this week?
>
> @malaka Can you please suggest possible time for you to have a meeting?
>
> Regards
> Kevin
>
> On Mon, May 29, 2017 at 10:34 AM, Hasitha Jayasundara <
> hasithajayasunda...@gmail.com> wrote:
>
>> Hi all,
>>
>> I have updated the sample MQ-Client [1] to establish SSL connections
>> with IBM WebSphere MQ. Still carry on the research with the provided links
>> about the IBM specific options that can be added other than SSL and will
>> update the thread with the findings as soon as possible.Working on
>>
>> "Can we check if it is possible to have an alternative way to set SSL
>> details other than system properties with IBM MQ client libraries.The
>> reason for that is we are limiting our self to one set of properties per
>> JVM. eg: System.setProperty("
>>
>> which discussed in the previous thread.
>>
>> [1] https://github.com/hasithajayasundara/IBM-MQ-client
>>
>> On Tue, May 23, 2017 at 7:12 AM, Malaka Silva <mal...@wso2.com> wrote:
>>
>>> Hi Hasitha,
>>>
>>> Sounds good. It'll be good if you can come up with the list of IBM specific
>>> options.
>>>
>>> On Tue, May 23, 2017 at 7:08 AM, Hasitha Jayasundara <
>>> hasithajayasunda...@gmail.com> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I tried to implement sample MQ-Client that can connect to IBM MQ and we
>>>> can improve that to implement inbound endpoint and the connector.Will 
>>>> improve
>>>> that MQ-Client to support more ibm specific options such as SSL connections
>>>> within next few days.
>>>>
>>>> On Fri, May 19, 2017 at 11:07 AM, Hasitha Jayasundara <
>>>> hasithajayasunda...@gmail.com> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> Thanks for the replies.I'll go through the links and let you know if
>>>>> there's any issue.
>>>>>
>>>>> On Fri, May 19, 2017 at 8:50 AM, Riyafa Abdul Hameed <riy...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> See if this blog post could be of help:
>>>>>> https://riyafa.wordpress.com/2016/02/21/sample-java-client-f
>>>>>> or-websphere-mq-consumer-and-producer/
>>>>>>
>>>>>> Regards,
>>>>>> Riyafa
>>>>>>
>>>>>> On Thu, May 18, 2017 at 9:13 PM, Malaka Silva <mal...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Hasitha,
>>>>>>>
>>>>>>> You can find sample code done for IBM MQ 7.5. Here ESB acts as the
>>>>>>> consumer.
>>>>>>>
>>>>>>> What is required to do is ESB act as the consumer and producer for
>>>>>>> IBM MQ 8.0.
>>>>>>>
>>>>>>> Let me know if something is not clear?
>>>>>>>
>>>>>>> [1] https://github.com/wso2-attic/esb-connectors/pull/483/files
>>>>>>>
>>>>>>> On Tue, May 16, 2017 at 9:39 PM, Hasitha Jayasundara <
>>>>>>> hasithajayasunda...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi ayya,
>>>>>>>>
>>>>>>>> As we discussed today can you provide me some materials to get more
>>>>>>>> familiar with IBM MQ 8.0?
>>>>>>>>
>>>>>>>> thanks
>>>>>>>>
>>>>>>>> --
>>>>>>>> *D.M.Hasitha Nadishan Jayasundara*
>>>>>>>> *Department of Electronic and Telecommunication Engineering*
>>>>>>>> University of Moratuwa
>>>>>>>> *mobile:* *+94711959266 <071%20195%209266>*
>>>>>>>> *blogspot*: learnjavawithisla.blogspot.com/  *email:*
>>>>>>>> hasithajayasunda...@gmail.com
>>>>>>>> <https://www.facebook.com/hasitha.nadishan.3>
>>>>

Re: [Dev] Deprecating Clef Authenticator

2017-06-04 Thread Malaka Silva
Hi Maheshika,

Please move [1] to wso2-attic

[1] https://github.com/wso2-extensions/identity-outbound-auth-clef

On Wed, May 31, 2017 at 9:31 AM, Rajjaz Mohammed <raj...@wso2.com> wrote:

> Hi All,
>
> Clef authenticator deprecated from the store and the documentation also
> moved to private space.
>
> On Wed, May 31, 2017 at 9:23 AM, Rajjaz Mohammed <raj...@wso2.com> wrote:
>
>> Hi Malaka,
>>
>> Noted. Will do the needful.
>>
>> On Wed, May 31, 2017 at 9:21 AM, Malaka Silva <mal...@wso2.com> wrote:
>>
>>> +1 for
>>> ​d​
>>> eprecating
>>> ​. Didn't see any usage since published.​
>>>
>>> On Tue, May 30, 2017 at 12:30 PM, Rajjaz Mohammed <raj...@wso2.com>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> We are planning to deprecate clef authenticator[1][2] from the
>>>> store[2]. Reason is clef is going to shut down its service[3] from June 6.
>>>>
>>>> Please let us know if there are any concerns.
>>>>
>>>> [1] https://docs.wso2.com/display/ISCONNECTORS/Configuring+Clef+
>>>> Authenticator
>>>> [2] https://store.wso2.com/store/assets/isconnector/details/a1e8
>>>> 1fd8-aca4-4ae1-9544-33f5ea26473b
>>>> [3] https://blog.getclef.com/discontinuing-support-for-clef-6c89
>>>> febef5f3
>>>>
>>>>
>>>> --
>>>> Thank you
>>>> Best Regards
>>>>
>>>> *Rajjaz HM*
>>>> Software Engineer
>>>> Platform Extension Team
>>>> WSO2 Inc. <http://wso2.com/>
>>>> lean | enterprise | middleware
>>>> Mobile | +94752833834 <075%20283%203834>|+94777226874
>>>> <077%20722%206874>
>>>> Email   | raj...@wso2.com
>>>> LinkedIn <https://lk.linkedin.com/in/hmohammedrajjaz> | Blogger
>>>> <http://rajjazhm.blogspot.com/> | WSO2 Profile
>>>> <http://wso2.com/about/team/mohammer-rajjaz/>
>>>> [image: https://wso2.com/signature] <https://wso2.com/signature>
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Associate Director / Architect
>>> M: +94 777 219 791 <+94%2077%20721%209791>
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300 <011%202%20145300>
>>> Skype : malaka.sampath.silva
>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>> Blog : http://mrmalakasilva.blogspot.com/
>>>
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> https://wso2.com/signature
>>> http://www.wso2.com/about/team/malaka-silva/
>>> <http://wso2.com/about/team/malaka-silva/>
>>> https://store.wso2.com/store/
>>>
>>> Don't make Trees rare, we should keep them with care
>>>
>>
>>
>>
>> --
>> Thank you
>> Best Regards
>>
>> *Rajjaz HM*
>> Software Engineer
>> Platform Extension Team
>> WSO2 Inc. <http://wso2.com/>
>> lean | enterprise | middleware
>> Mobile | +94752833834 <+94%2075%20283%203834>|+94777226874
>> <+94%2077%20722%206874>
>> Email   | raj...@wso2.com
>> LinkedIn <https://lk.linkedin.com/in/hmohammedrajjaz> | Blogger
>> <http://rajjazhm.blogspot.com/> | WSO2 Profile
>> <http://wso2.com/about/team/mohammer-rajjaz/>
>> [image: https://wso2.com/signature] <https://wso2.com/signature>
>>
>
>
>
> --
> Thank you
> Best Regards
>
> *Rajjaz HM*
> Software Engineer
> Platform Extension Team
> WSO2 Inc. <http://wso2.com/>
> lean | enterprise | middleware
> Mobile | +94752833834 <075%20283%203834>|+94777226874 <077%20722%206874>
> Email   | raj...@wso2.com
> LinkedIn <https://lk.linkedin.com/in/hmohammedrajjaz> | Blogger
> <http://rajjazhm.blogspot.com/> | WSO2 Profile
> <http://wso2.com/about/team/mohammer-rajjaz/>
> [image: https://wso2.com/signature] <https://wso2.com/signature>
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Use "/identity" claims for identity mgt functionalities

2017-06-03 Thread Malaka Silva
Hi Hasintha,

I guess this only supports since IS version 530? Most of the authenticators
identity claims were not considered and will be an issue when read only
user store is used. Something we have to improve in general.

On Sat, Jun 3, 2017 at 10:08 AM, Hasintha Indrajee <hasin...@wso2.com>
wrote:

> Hi connector team,
>
> I noticed that password policy connector [1] is not using an identity
> claim to store lastPasswordChangedTimestamp which is not correct. These
> kind of claims should be identity claims. The reason for being an identity
> claim is to use them even if the userstore is read only. If we use this
> claim in this way, this claim will be useless if the userstore is read
> only. The correct claim will look like "http://wso2.org/claims/identity/
> lastPasswordUpdateTimeStamp"
>
>
> [1] https://github.com/wso2-extensions/identity-outbound-
> auth-passwordPolicy
> --
> Hasintha Indrajee
> WSO2, Inc.
> Mobile:+94 771892453 <077%20189%202453>
>
>


-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Deprecating Clef Authenticator

2017-05-30 Thread Malaka Silva
+1 for
​d​
eprecating
​. Didn't see any usage since published.​

On Tue, May 30, 2017 at 12:30 PM, Rajjaz Mohammed <raj...@wso2.com> wrote:

> Hi All,
>
> We are planning to deprecate clef authenticator[1][2] from the store[2].
> Reason is clef is going to shut down its service[3] from June 6.
>
> Please let us know if there are any concerns.
>
> [1] https://docs.wso2.com/display/ISCONNECTORS/Configuring+Clef+
> Authenticator
> [2] https://store.wso2.com/store/assets/isconnector/details/
> a1e81fd8-aca4-4ae1-9544-33f5ea26473b
> [3] https://blog.getclef.com/discontinuing-support-for-clef-6c89febef5f3
>
>
> --
> Thank you
> Best Regards
>
> *Rajjaz HM*
> Software Engineer
> Platform Extension Team
> WSO2 Inc. <http://wso2.com/>
> lean | enterprise | middleware
> Mobile | +94752833834 <075%20283%203834>|+94777226874 <077%20722%206874>
> Email   | raj...@wso2.com
> LinkedIn <https://lk.linkedin.com/in/hmohammedrajjaz> | Blogger
> <http://rajjazhm.blogspot.com/> | WSO2 Profile
> <http://wso2.com/about/team/mohammer-rajjaz/>
> [image: https://wso2.com/signature] <https://wso2.com/signature>
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Fwd: Merging Multiple files using VFS file processing

2017-05-25 Thread Malaka Silva
Hi Vivek,

You can achieve this using EI/ESB schedule tasks and within that using file
connector. Find more details in [1] and [2]

[1]
https://store.wso2.com/store/assets/esbconnector/details/48bab332-c6a6-4f5a-9b79-17e29c7ad4c6
[2] https://docs.wso2.com/display/EI611/Scheduling+Tasks

-- Forwarded message --
From: Vivek Kumar <vivku...@salmon.com>
Date: Thu, May 25, 2017 at 10:33 AM
Subject: Merging Multiple files using VFS file processing
To: "mal...@wso2.com" <mal...@wso2.com>


Hi Malaka,

I have following requirement related to VFS transport:



*Scenario:*

I have sample xml files like *File1.xml,File2.xml,File3.xml *.Theses files
are put at some SFTP location.



*My Requirement*:Is there any way to pick these files using VFS file
processing and create one single file *Combined.xml.*

Restriction here is that we must not  save this *Combined.xml *anywhere on
local hard disk and append contents of sample xmls to get final output
*Combined.xml
and then send it to desired EP(SFTP location).*

Final file should be formed in mediation flow itself and then we can send
final file to desired EP(SFTP location).



*My Question:*

Is there any way to achieve this in the current implementation of *VFS file
processing of WSO2ESB* or You may suggest any other way to do the same in
WSO2ESB ?



*Vivek Kumar*
Associate System Analyst

*Noida,India*


Information contained in this e-mail and any attachments is confidential
and intended for the use of the addressee only. Dissemination,
distribution, copying or use of this communication without prior permission
of the addressee is strictly prohibited. If you have received this
transmission in error, please advise the originator by reply e-mail and
delete it. Thank you. Salmon's Registered Address is: 27 Farm Street,
London, W1J 5RJ. Registered in England 2360867.



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for IBM MQ 8.0

2017-05-22 Thread Malaka Silva
Hi Hasitha,

Sounds good. It'll be good if you can come up with the list of IBM specific
options.

On Tue, May 23, 2017 at 7:08 AM, Hasitha Jayasundara <
hasithajayasunda...@gmail.com> wrote:

> Hi all,
>
> I tried to implement sample MQ-Client that can connect to IBM MQ and we
> can improve that to implement inbound endpoint and the connector.Will improve
> that MQ-Client to support more ibm specific options such as SSL connections
> within next few days.
>
> On Fri, May 19, 2017 at 11:07 AM, Hasitha Jayasundara <
> hasithajayasunda...@gmail.com> wrote:
>
>> Hi all,
>>
>> Thanks for the replies.I'll go through the links and let you know if
>> there's any issue.
>>
>> On Fri, May 19, 2017 at 8:50 AM, Riyafa Abdul Hameed <riy...@wso2.com>
>> wrote:
>>
>>> Hi,
>>>
>>> See if this blog post could be of help:
>>> https://riyafa.wordpress.com/2016/02/21/sample-java-client-f
>>> or-websphere-mq-consumer-and-producer/
>>>
>>> Regards,
>>> Riyafa
>>>
>>> On Thu, May 18, 2017 at 9:13 PM, Malaka Silva <mal...@wso2.com> wrote:
>>>
>>>> Hi Hasitha,
>>>>
>>>> You can find sample code done for IBM MQ 7.5. Here ESB acts as the
>>>> consumer.
>>>>
>>>> What is required to do is ESB act as the consumer and producer for IBM
>>>> MQ 8.0.
>>>>
>>>> Let me know if something is not clear?
>>>>
>>>> [1] https://github.com/wso2-attic/esb-connectors/pull/483/files
>>>>
>>>> On Tue, May 16, 2017 at 9:39 PM, Hasitha Jayasundara <
>>>> hasithajayasunda...@gmail.com> wrote:
>>>>
>>>>> Hi ayya,
>>>>>
>>>>> As we discussed today can you provide me some materials to get more
>>>>> familiar with IBM MQ 8.0?
>>>>>
>>>>> thanks
>>>>>
>>>>> --
>>>>> *D.M.Hasitha Nadishan Jayasundara*
>>>>> *Department of Electronic and Telecommunication Engineering*
>>>>> University of Moratuwa
>>>>> *mobile:* *+94711959266 <071%20195%209266>*
>>>>> *blogspot*: learnjavawithisla.blogspot.com/  *email:*
>>>>> hasithajayasunda...@gmail.com
>>>>> <https://www.facebook.com/hasitha.nadishan.3>
>>>>> <https://twitter.com/HNadishan>
>>>>> <https://lk.linkedin.com/in/hasithajayasundara>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Best Regards,
>>>>
>>>> Malaka Silva
>>>> Associate Director / Architect
>>>> M: +94 777 219 791 <+94%2077%20721%209791>
>>>> Tel : 94 11 214 5345
>>>> Fax :94 11 2145300 <011%202%20145300>
>>>> Skype : malaka.sampath.silva
>>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>>> Blog : http://mrmalakasilva.blogspot.com/
>>>>
>>>> WSO2, Inc.
>>>> lean . enterprise . middleware
>>>> https://wso2.com/signature
>>>> http://www.wso2.com/about/team/malaka-silva/
>>>> <http://wso2.com/about/team/malaka-silva/>
>>>> https://store.wso2.com/store/
>>>>
>>>> Don't make Trees rare, we should keep them with care
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Riyafa Abdul Hameed
>>> Software Engineer, WSO2 Lanka (Pvt) Ltd <http://wso2.com/>
>>>
>>> Email: riy...@wso2.com <riyafa...@cse.mrt.ac.lk>
>>> Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
>>> <http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
>>> <http://twitter.com/Riyafa1>
>>>
>>
>>
>>
>> --
>> *D.M.Hasitha Nadishan Jayasundara*
>> *Department of Electronic and Telecommunication Engineering*
>> University of Moratuwa
>> *mobile:* *+94711959266 <+94%2071%20195%209266>*
>> *blogspot*: learnjavawithisla.blogspot.com/  *email:*
>> hasithajayasunda...@gmail.com
>> <https://www.facebook.com/hasitha.nadishan.3>
>> <https://twitter.com/HNadishan>
>> <https://lk.linkedin.com/in/hasithajayasundara>
>>
>
>
>
> --
> *D.M.Hasitha Nadishan Jayasundara*
> *Department of Electronic and Telecommunication Engineering*
> University of Moratuwa
> *mobile:* *+94711959266 <+94%2071%20195%209266>*
> *blogspot*: learnjavawithisla.blogspot.com/  *email:* hasithajayasundara1@
> gmail.com
> <https://www.facebook.com/hasitha.nadishan.3>
> <https://twitter.com/HNadishan>
> <https://lk.linkedin.com/in/hasithajayasundara>
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for IBM MQ 8.0

2017-05-18 Thread Malaka Silva
Hi Hasitha,

You can find sample code done for IBM MQ 7.5. Here ESB acts as the consumer.

What is required to do is ESB act as the consumer and producer for IBM MQ
8.0.

Let me know if something is not clear?

[1] https://github.com/wso2-attic/esb-connectors/pull/483/files

On Tue, May 16, 2017 at 9:39 PM, Hasitha Jayasundara <
hasithajayasunda...@gmail.com> wrote:

> Hi ayya,
>
> As we discussed today can you provide me some materials to get more
> familiar with IBM MQ 8.0?
>
> thanks
>
> --
> *D.M.Hasitha Nadishan Jayasundara*
> *Department of Electronic and Telecommunication Engineering*
> University of Moratuwa
> *mobile:* *+94711959266 <071%20195%209266>*
> *blogspot*: learnjavawithisla.blogspot.com/  *email:* hasithajayasundar
> a...@gmail.com
> <https://www.facebook.com/hasitha.nadishan.3>
> <https://twitter.com/HNadishan>
> <https://lk.linkedin.com/in/hasithajayasundara>
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error while triggering the scheduled task

2017-04-28 Thread Malaka Silva
Hi Shakila,

Since you can reproduce the issues can we further investigate by debugging
[1].

[1]
https://github.com/wso2/wso2-axis2/blob/master/modules/kernel/src/org/apache/axis2/context/AbstractContext.java

On Fri, Apr 28, 2017 at 5:10 PM, Shakila Sivagnanarajah <shak...@wso2.com>
wrote:

> Hi all,
>
> I have configured the scheduled task with dummy message as [1]. It
> successfully executes the flow at the first time. In the next trigger, it
> goes into the sequence and throws the exception [2]. Please note that it
> successfully trigger the second execution if I set the interval as 1hour
> (3600). What could be the reason for this issue and how can I resolve this?
>
> [1]
>group="synapse.simple.quartz" name="sTask" xmlns="http://ws.apache.org/
> ns/synapse">
>   
>   http://www.wso2.org/products/wso2commons/tasks"/>
>   http://www.wso2.
> org/products/wso2commons/tasks">
>* *
>   
>   http://www.wso2.
> org/products/wso2commons/tasks"/>
> 
>
> [2]
> ERROR - SequenceMediator Error while building message
> java.lang.NullPointerException
> at org.apache.axis2.context.AbstractContext.needPropertyDifferences(
> AbstractContext.java:239)
> at org.apache.axis2.context.AbstractContext.setProperty(
> AbstractContext.java:202)
> at org.apache.synapse.transport.passthru.util.RelayUtils.
> buildMessage(RelayUtils.java:107)
> at org.apache.synapse.mediators.AbstractListMediator.buildMessage(
> AbstractListMediator.java:140)
> at org.apache.synapse.mediators.AbstractListMediator.mediate(
> AbstractListMediator.java:83)
> at org.apache.synapse.mediators.AbstractListMediator.mediate(
> AbstractListMediator.java:59)
> at org.apache.synapse.mediators.base.SequenceMediator.mediate(
> SequenceMediator.java:158)
> at org.apache.synapse.mediators.MediatorWorker.run(
> MediatorWorker.java:80)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
>
> Thanks
>
> --
> Shakila Sivagnanarajah
> Software Engineer
> Mobile :+94 (0) 768 856837 <076%20885%206837>
> shak...@wso2.com
> WSO2, Inc.
> lean . enterprise . middleware
> http://www.wso2.com/
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Regarding wso2 gmail connector

2017-04-25 Thread Malaka Silva
Hi Varuni,

Ideally this should work by setting the from address. However I think first
you need to enable sending mails from that email, from your gmail account
first.

[1]
https://docs.wso2.com/display/ESBCONNECTORS/Working+with+Messages+in+Gmail#WorkingwithMessagesinGmail-sendMail

On Tue, Apr 25, 2017 at 6:05 PM, Varuni Alwis <var...@wso2.com> wrote:

> Hi all,
>
> I want to send mails from a different mail account , not with the mail
> account I have given the configurations in the  block . Is
> there a way I can accomplish that?
>
> Can’t I set a different mail address within  tags in the
>  ?
>
> Thanks
>
>
> *Varuni Alwis*
> *Software Engineer - Intern*
> *WSO2*
>
> Email : var...@wso2.com
> Mobile : +94 719865395 <071%20986%205395>
>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Configure the subject claim and set a default value only if no value is configured in IdP configuration

2017-04-18 Thread Malaka Silva
Thx Nuwandi,

@Vivekananthan Shall we test this with Pinterest
​?​


On Wed, Apr 19, 2017 at 10:34 AM, Nuwandi Wickramasinghe <nuwan...@wso2.com>
wrote:

> Ideally any Federated authenticator should give the flexibility to
> configure the subject claim from IS side. If admin selects a value as *User
> ID Claim URI *in the identity provider claim configuration, that selected
> value needs to be treated as subject of that authenticated user within the
> IS.
>
> By hard coding a subject without checking  *User ID Claim URI *
> configuration in the identity provider, that authenticator removes that
> flexibility and totally neglects the configuration.
>
> Following method in FrameworkUtils is used to read the configured user Id
> claim from Identity Provider configuration.
>
> FrameworkUtils.getFederatedSubjectFromClaims(IdentityProvider
> identityProvider, Map<ClaimMapping, String> claimMappings);
>
> On Wed, Apr 19, 2017 at 9:43 AM, Malaka Silva <mal...@wso2.com> wrote:
>
>> IS Team,
>>
>> Can you please comment on this?
>>
>> On Wed, Apr 19, 2017 at 9:40 AM, Vivekananthan Sivanayagam <
>> vivekanant...@wso2.com> wrote:
>>
>>> Hi ,
>>>
>>> I am working on the ticket[1] and analysed the existing authenticators.
>>> As mentioned on the ticket, default subject identifier claim is hard
>>> coded[2] and have to modify the existing authenticators as implemented in
>>> Facebook authenticator
>>> [3][4].
>>>
>>> @Malaka,
>>> If we have to improve the authenticator as mentioned above, it would be
>>> better if we include this improvement in Pinterest Authenticator before
>>> getting released. can you confirm it?
>>>
>> IMHO better to add this any new federated authenticator before releasing
> it.
>
>>
>>> [1] https://wso2.org/jira/projects/ISCONNECT/issues/ISCONNEC
>>> T-49?filter=allopenissues
>>> [2] https://github.com/wso2-extensions/identity-outbound-aut
>>> h-linkedIn/blob/master/component/src/main/java/org/wso2/carb
>>> on/identity/authenticator/linkedIn/LinkedInAuthenticator.java#L281
>>> [3] https://github.com/wso2-extensions/identity-outbound-aut
>>> h-facebook/blob/master/components/org.wso2.carbon.identity.a
>>> pplication.authenticator.facebook/src/main/java/org/wso2/
>>> carbon/identity/application/authenticator/facebook/
>>> FacebookAuthenticator.java#L352
>>> [4] https://docs.wso2.com/display/IS530/Logging+in+to+the+Id
>>> entity+Server+using+Facebook+Credentials#LoggingintotheIden
>>> tityServerusingFacebookCredentials-ConfiguringclaimmappingsforFacebook
>>>
>>>
>>> Thanks,
>>>
>>> Vivekananthan Sivanayagam
>>> Software Engineer | WSO2
>>> E:vivekanant...@wso2.com
>>> M:+94752786138 <075%20278%206138>
>>>
>>
>>
>>
>> --
>>
>> Best Regards,
>>
>> Malaka Silva
>> Associate Director / Architect
>> M: +94 777 219 791 <+94%2077%20721%209791>
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300 <011%202%20145300>
>> Skype : malaka.sampath.silva
>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>> Blog : http://mrmalakasilva.blogspot.com/
>>
>> WSO2, Inc.
>> lean . enterprise . middleware
>> https://wso2.com/signature
>> http://www.wso2.com/about/team/malaka-silva/
>> <http://wso2.com/about/team/malaka-silva/>
>> https://store.wso2.com/store/
>>
>> Don't make Trees rare, we should keep them with care
>>
>
>
>
> --
>
> Best Regards,
>
> Nuwandi Wickramasinghe
>
> Software Engineer
>
> WSO2 Inc.
>
> Web : http://wso2.com
>
> Mobile : 0719214873 <071%20921%204873>
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Configure the subject claim and set a default value only if no value is configured in IdP configuration

2017-04-18 Thread Malaka Silva
IS Team,

Can you please comment on this?

On Wed, Apr 19, 2017 at 9:40 AM, Vivekananthan Sivanayagam <
vivekanant...@wso2.com> wrote:

> Hi ,
>
> I am working on the ticket[1] and analysed the existing authenticators. As
> mentioned on the ticket, default subject identifier claim is hard coded[2]
> and have to modify the existing authenticators as implemented in Facebook
> authenticator
> [3][4].
>
> @Malaka,
> If we have to improve the authenticator as mentioned above, it would be
> better if we include this improvement in Pinterest Authenticator before
> getting released. can you confirm it?
>
> [1] https://wso2.org/jira/projects/ISCONNECT/issues/ISCONNECT-49?filter=
> allopenissues
> [2] https://github.com/wso2-extensions/identity-outbound-
> auth-linkedIn/blob/master/component/src/main/java/org/
> wso2/carbon/identity/authenticator/linkedIn/LinkedInAuthenticator.java#
> L281
> [3] https://github.com/wso2-extensions/identity-outbound-
> auth-facebook/blob/master/components/org.wso2.carbon.identity.application.
> authenticator.facebook/src/main/java/org/wso2/carbon/identity/application/
> authenticator/facebook/FacebookAuthenticator.java#L352
> [4] https://docs.wso2.com/display/IS530/Logging+in+to+
> the+Identity+Server+using+Facebook+Credentials#
> LoggingintotheIdentityServerusingFacebookCredentials-
> ConfiguringclaimmappingsforFacebook
>
>
> Thanks,
>
> Vivekananthan Sivanayagam
> Software Engineer | WSO2
> E:vivekanant...@wso2.com
> M:+94752786138 <075%20278%206138>
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Adding a connector via command line

2017-03-27 Thread Malaka Silva
Hi Aaron,

Another way to do this in addition to what Maheeka mentioned is include
connector(s) as part of carbon application project and deploy it with ESB.

You can simply copy the xx.car file
to /repository/deployment/server/carbonapps folder.

[1]
https://docs.wso2.com/display/ESB500/Working+with+Connectors+via+WSO2+ESB+Tooling

On Mon, Mar 27, 2017 at 6:33 AM, Maheeka Jayasuriya <mahe...@wso2.com>
wrote:

> Hi Aaron,
>
> You can copy the connector zip file to [ESB_HOME]/repository/
> deployment/server/synapse-libs/ folder. This will deploy the connector to
> the server.
>
> If you need to enable the connector, instead of using the UI or admin
> services, you can create a file as attached (for Instagram) and copy it to
> [ESB_HOME]/repository/deployment/server/synapse-configs/default/imports.
> Make sure the file name is as {}.xml .
>
> Thanks,
>
> Maheeka Jayasuriya
> Associate Technical Lead
> Mobile : +9450661
>
> On Mon, Mar 27, 2017 at 6:16 AM, Aaron Watkins <aaron.watkins@integration.
> works> wrote:
>
>> Hello,
>>
>>
>>
>> I’m currently working on setting up the WSO2 ESB via puppet. I’ve got the
>> basic setup all working, but need to add the file connector.
>>
>>
>>
>> Is there a way to automate the installation of a connector? Specifically,
>> I don’t want to use the GUI to upload the zip file, but want to be able to
>> add the connector from the command line. I’ve seen the following web page:
>> http://stackoverflow.com/questions/28946865/is-it-possible-
>> to-manage-wso2-esb-connectors-in-commandline, but that doesn’t upload
>> the zip or anything, so doesn’t appear to actually do anything.
>>
>>
>>
>> Is there a location we could put the file (eg. repository/components/lib)
>> or similar before enabling?
>>
>>
>>
>> Any tips would be greatly appreciated
>>
>>
>>
>>
>>
>> Aaron Watkins
>>
>> _______
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> _______
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSOC 2017 - Native inbound and connector for FTP/SFTP operations

2017-03-21 Thread Malaka Silva
On Mon, Mar 20, 2017 at 4:04 PM, Chanaka Lakmal <ldclak...@gmail.com> wrote:

> Hi Malaka,
>
> Thank you for the response.
>
> When searching for Java FTP/SFTP libraries I found out that there are only
> a very few libraries built on top of NIO. But each of them had few
> limitations. So, I could not find any other fully-supported and suitable
> library built on top of NIO.
>
> When considering about Apache Commons Net [1] it supports FTP and FTPS,
> but it does NOT support SFTP. Will that be a problem to us?
>
> My research found out that the best and most widely used library for
> FTP/SFTP is JSch [2]. I worked with it during my industrial training and it
> seems to fit for our requirements and it is widely used in the industry too.
>
> As I said earlier, with the use of those findings I created a comparison
> on SSHJ, Apache Commons VFS and JSch and published on my blog [3]. This
> blog article [4] also says about the author's experience in FTP/SFTP using
> different libraries and there were many other similar articles by different
> authors.
>
> What do you think about using JSch? Can we use commons-net when it doesn't
> support SFTP?
>
​I think common-vfs pretty much do the same thing :)
Since this is an extension to ESB ideally these we should implement and two
extension pairs (Inbound-connector). One for FTP / FTPS and another for
SFTP. WDYT?

>
> [1] https://commons.apache.org/proper/commons-net/
> [2] http://www.jcraft.com/jsch/
> [3] https://medium.com/@ldclakmal/comparison-of-commons-vfs-
> sshj-and-jsch-libraries-for-sftp-support-cd5a0db2fbce#.t09zd4zr5
> [4] http://www.onkarjoshi.com/blog/126/which-library-to-use-
> for-ftp-sftp-ftps-file-transfer-in-java/
>
> Thank you.
>
> Best Regards.
>
> *Chanaka Lakmal,*
> Undergraduate B.Sc.Eng.(Hons.)
> Department of Computer Science & Engineering,
> University of Moratuwa,
> Sri Lanka.
>
> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal>
>
> On Mon, Mar 20, 2017 at 10:13 AM, Malaka Silva <mal...@wso2.com> wrote:
>
>> Hi Chanaka,
>>
>> Yes if this does not support upto the level we need it'll be an issue.
>> Did you find any other libraries that are build on top of NIO.
>>
>> If not we can compare the limitations with common-vfs (will be using
>> commons-net internally for ftp/sftp) on functionality. eg: Unable to modify
>> metadata of a file, Cannot connect via a proxy, etc.
>>
>> If we have enough feature that can be supported with commons-net [1] we
>> can do the inbound-connector with commons-net.
>>
>> [1] https://commons.apache.org/proper/commons-net/
>>
>> On Sun, Mar 19, 2017 at 10:28 AM, Chanaka Lakmal <ldclak...@gmail.com>
>> wrote:
>>
>>> Hi Malaka,
>>>
>>> I researched for the Java NIO FTP library that you suggested for me [1].
>>> What I found was that this is a code base with a very short history and the
>>> most recent commit was over 13 years ago by Torvald Riegel who was the only
>>> contributor to this [2]. I feel like this is not an ongoing project and not
>>> supported by the author. What do you think?
>>>
>>> And I couldn't find any documentation regarding that library. Although I
>>> went through each and every Java class of this library, I couldn't find a
>>> way to get the use of this library without a API reference or documentation.
>>>
>>> I would be glad if you could share some additional materials if you have
>>> or any suggestions to get a better approach to this project.
>>>
>>> [1] http://java-nio-ftp-library.soft112.com/
>>> [2] https://www.openhub.net/p/javanioftp
>>>
>>> Thanks.
>>>
>>> Best Regards.
>>>
>>> *Chanaka Lakmal,*
>>> Undergraduate B.Sc.Eng.(Hons.)
>>> Department of Computer Science & Engineering,
>>> University of Moratuwa,
>>> Sri Lanka.
>>>
>>> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal>
>>>
>>> On Tue, Mar 14, 2017 at 6:29 PM, Chanaka Lakmal <ldclak...@gmail.com>
>>> wrote:
>>>
>>>> Hi Malaka,
>>>>
>>>> Sure. Thanks for the suggestion. I will see to it and get back to you.
>>>>
>>>> Thanks.
>>>>
>>>> Best Regards.
>>>>
>>>> *Chanaka Lakmal,*
>>>> Undergraduate B.Sc.Eng.(Hons.)
>>>> Department of Computer Science & Engineering,
>>>> University of Moratuwa,
>>>> Sri Lanka.
>>>>
>>>> [image: LinkedIn] <https://lk.lin

Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for FTP/SFTP operations

2017-03-21 Thread Malaka Silva
;>> [2] https://github.com/hasithajayasundara/Simple-FTP-client-and-server
>>>> [3] https://www.javacodegeeks.com/2015/08/commons-vfs-sshj-and-j
>>>> sch-in-comparison.html
>>>> [4] http://java-nio-ftp-library.soft112.com/
>>>>
>>>> On Fri, Mar 17, 2017 at 10:56 AM, Hasitha Jayasundara <
>>>> hasithajayasunda...@gmail.com> wrote:
>>>>
>>>>> Hi Malaka,
>>>>>
>>>>> Can you please provide me some additional materials to study
>>>>> java-nio-ftp-library [1].
>>>>>
>>>>> Thank you.
>>>>>
>>>>> [1] http://java-nio-ftp-library.soft112.com/
>>>>>
>>>>> On Tue, Mar 14, 2017 at 3:31 PM, Hasitha Jayasundara <
>>>>> hasithajayasunda...@gmail.com> wrote:
>>>>>
>>>>>> Hi Malaka,
>>>>>>
>>>>>> Thank you for the reply.The server part was an additional
>>>>>> implementation I went through to get an understanding about client server
>>>>>> programming in java using sockets.I'll study the links provided and let 
>>>>>> you
>>>>>> know if there's any issue.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> On Tue, Mar 14, 2017 at 1:43 PM, Malaka Silva <mal...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Hasitha,
>>>>>>>
>>>>>>> Thank you for the explanation. But you have misunderstood the
>>>>>>> requirement.
>>>>>>>
>>>>>>> Basically the requirement is FTP / SFTP server will already exists
>>>>>>> and with the new connectors user should be able to access the files 
>>>>>>> already
>>>>>>> exists in the server using ESB.
>>>>>>>
>>>>>>> What I see is you tried to implement the server which is not in the
>>>>>>> scope of this project.
>>>>>>>
>>>>>>> Following may help your research.
>>>>>>>
>>>>>>> [1] http://java-nio-ftp-library.soft112.com/
>>>>>>> [2] http://www.onkarjoshi.com/blog/126/which-library-to-use-
>>>>>>> for-ftp-sftp-ftps-file-transfer-in-java/
>>>>>>>
>>>>>>> On Tue, Mar 14, 2017 at 7:23 AM, Hasitha Jayasundara <
>>>>>>> hasithajayasunda...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> I did some changes in FTP client and server so that it can be
>>>>>>>> tested easily. Refer the readme [1] for further information.
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>> [1] https://github.com/hasithajayasundara/Simple-FTP-client-and-
>>>>>>>> server
>>>>>>>>
>>>>>>>> On Tue, Mar 14, 2017 at 6:53 AM, Hasitha Jayasundara <
>>>>>>>> hasithajayasunda...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Hi all,
>>>>>>>>>
>>>>>>>>> On my research I found many java SSH libraries that support
>>>>>>>>> SFTP.The main differences between these libraries can be given as,
>>>>>>>>>
>>>>>>>>>- client authentication over password / public key
>>>>>>>>>- server authentication
>>>>>>>>>- upload /download files from local host over SFTP
>>>>>>>>>- download files to local host over SFTP
>>>>>>>>>- file operations on the remote host like move, delete, list
>>>>>>>>>all children of a given folder (filtering after type like file or 
>>>>>>>>> folder)
>>>>>>>>>over SFTP
>>>>>>>>>- execute plain shell commands
>>>>>>>>>
>>>>>>>>> Considering the popularity and the ease of implementation JSch and
>>>>>>>>> SSHJ are the best libraries I found other than apacheVFS .The details 
>>>>>>>>> on
>>>>>>>>> how these libraries differ from each other 

Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for IBM MQ 8.0

2017-03-19 Thread Malaka Silva
Looks good

On Sun, Mar 19, 2017 at 1:29 PM, Chanaka Balasooriya <chanaka...@gmail.com>
wrote:

> Hi Malaka,
>
> As you suggested, I implemented a simple method for generating SSLContext
> by reading trustStore and keyStore files [1].
>
> So those System properties were removed. For now this was checked only for
> self-signed certificates and I will try to use WSO2 ESB default trustStore
> and KeyStore files
>
> to generate this SSL Contex later.
>
> [1] https://github.com/chanakadinesh/MQ-Client/blob/
> master/src/main/java/esb/wso2/org/client/MQConnectionBuilder.java
>
> Thanks,
>
> On Sun, Mar 19, 2017 at 5:41 AM, Malaka Silva <mal...@wso2.com> wrote:
>
>> Hi Chanaka,
>>
>> This looks good so far.
>>
>> Can we check if it is possible to have an alternative way to set SSL
>> details other than system properties with IBM MQ client libraries.
>>
>> The reason for that is we are limiting our self to one set of properties
>> per JVM.
>>
>> eg: System.setProperty(
>>
>> On Sat, Mar 18, 2017 at 11:41 PM, Chanaka Balasooriya <
>> chanaka...@gmail.com> wrote:
>>
>>> Hi Malaka,
>>>
>>> After some effort I could upgrade MQ-Client [1] that I created earlier,
>>> to establish SSL connections with IBM WebSphere MQ.
>>> Please have a look.
>>>
>>> Here I used SSL_RSA_WITH_3DES_EDE_CBC_SHA Cipher Suit and IBM MQ self
>>> signed certificate.
>>> During that implementation I could realized that even though IBM MQ
>>> supports a long list of cipher suits only few cipher suits are supported for
>>> Oracal Java JVM. So I will list down all possible ciper-suits in near
>>> future.
>>>
>>> Now I believe that I have a solid background of the project idea and am
>>> looking forward to do this in GSoC.
>>>
>>> [1]https://github.com/chanakadinesh/MQ-Client
>>>
>>> Thanks,
>>>
>>> On Mon, Mar 13, 2017 at 6:15 PM, Malaka Silva <mal...@wso2.com> wrote:
>>>
>>>> Hi Chanaka,
>>>>
>>>> Also better to think about how to secure the connections with
>>>> credentials and SSL.
>>>>
>>>> On Mon, Mar 13, 2017 at 11:04 AM, Chanaka Balasooriya <
>>>> chanaka...@gmail.com> wrote:
>>>>
>>>>> Hi Malaka,
>>>>>
>>>>> I've been studying specifications of using native IBM MQ jars with the
>>>>> help of resources you sent and I could understand that It gives more
>>>>> flexibility on configuring
>>>>> connections and some binding options.
>>>>>
>>>>> I tried to implement sample MQ-Client [1] that can connect to IBM MQ
>>>>> without .binding file and we can improve that to implement inbound 
>>>>> endpoint
>>>>> and the connector. please have a look.
>>>>> I am going to improve that MQ-Client to support more ibm specific
>>>>> options such as SSL connections within next few days.
>>>>>
>>>>> [1]https://github.com/chanakadinesh/MQ-Client
>>>>>
>>>>> Thanks,
>>>>>
>>>>> On Thu, Mar 2, 2017 at 4:51 PM, Malaka Silva <mal...@wso2.com> wrote:
>>>>>
>>>>>> Hi Chanaka,
>>>>>>
>>>>>> Following will help.
>>>>>>
>>>>>> [1] http://mrmalakasilva.blogspot.com/2013/10/connecting-mechani
>>>>>> sms-other-than.html
>>>>>> [2] http://www-01.ibm.com/support/docview.wss?uid=swg24037500
>>>>>> [3] http://stackoverflow.com/questions/2692070/connecting-to
>>>>>> -a-websphere-mq-in-java-with-ssl-keystore
>>>>>> [4] http://www.kevinboone.net/simplewmqclient.html
>>>>>>
>>>>>> On Wed, Mar 1, 2017 at 3:04 PM, Chanaka Balasooriya <
>>>>>> chanaka...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi Malaka,
>>>>>>>
>>>>>>> Thank you for your response.
>>>>>>>
>>>>>>> As you mentioned, to understand the advantage of using native IBM MQ
>>>>>>> jars I will need to compare the current ESB IBM MQ support with native 
>>>>>>> IBM
>>>>>>> MQ.
>>>>>>> So please share if you have any recommended reading materials to
>>>>>>> know more about IBM MQ other than [1] and it will be really

Re: [Dev] GSOC 2017 - Native inbound and connector for FTP/SFTP operations

2017-03-19 Thread Malaka Silva
Hi Chanaka,

Yes if this does not support upto the level we need it'll be an issue. Did
you find any other libraries that are build on top of NIO.

If not we can compare the limitations with common-vfs (will be using
commons-net internally for ftp/sftp) on functionality. eg: Unable to modify
metadata of a file, Cannot connect via a proxy, etc.

If we have enough feature that can be supported with commons-net [1] we can
do the inbound-connector with commons-net.

[1] https://commons.apache.org/proper/commons-net/

On Sun, Mar 19, 2017 at 10:28 AM, Chanaka Lakmal <ldclak...@gmail.com>
wrote:

> Hi Malaka,
>
> I researched for the Java NIO FTP library that you suggested for me [1].
> What I found was that this is a code base with a very short history and the
> most recent commit was over 13 years ago by Torvald Riegel who was the only
> contributor to this [2]. I feel like this is not an ongoing project and not
> supported by the author. What do you think?
>
> And I couldn't find any documentation regarding that library. Although I
> went through each and every Java class of this library, I couldn't find a
> way to get the use of this library without a API reference or documentation.
>
> I would be glad if you could share some additional materials if you have
> or any suggestions to get a better approach to this project.
>
> [1] http://java-nio-ftp-library.soft112.com/
> [2] https://www.openhub.net/p/javanioftp
>
> Thanks.
>
> Best Regards.
>
> *Chanaka Lakmal,*
> Undergraduate B.Sc.Eng.(Hons.)
> Department of Computer Science & Engineering,
> University of Moratuwa,
> Sri Lanka.
>
> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal>
>
> On Tue, Mar 14, 2017 at 6:29 PM, Chanaka Lakmal <ldclak...@gmail.com>
> wrote:
>
>> Hi Malaka,
>>
>> Sure. Thanks for the suggestion. I will see to it and get back to you.
>>
>> Thanks.
>>
>> Best Regards.
>>
>> *Chanaka Lakmal,*
>> Undergraduate B.Sc.Eng.(Hons.)
>> Department of Computer Science & Engineering,
>> University of Moratuwa,
>> Sri Lanka.
>>
>> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal>
>>
>> On Tue, Mar 14, 2017 at 1:41 PM, Malaka Silva <mal...@wso2.com> wrote:
>>
>>> Hi Chanaka,
>>>
>>> Can we also try the following? This is more optimized.
>>>
>>> [1] http://java-nio-ftp-library.soft112.com/
>>>
>>> On Mon, Mar 13, 2017 at 5:04 PM, Chanaka Lakmal <ldclak...@gmail.com>
>>> wrote:
>>>
>>>> Hi Malaka,
>>>>
>>>> I researched for the libraries that we can use for FTP/SFTP operations
>>>> in addition to using Apache Commons VFS. I found out about some widely used
>>>> libraries such as SSHJ [1] and JSch [2] and did a comparison among them.
>>>> With the use of those findings I created a comparison on SSHJ, Apache
>>>> Commons VFS and JSch and published on my blog [3].
>>>>
>>>> Also, I have experience in JSch since I had previously worked on
>>>> developing a SCP transport using JSch [4] [5]. I believe its ability to
>>>> execute shell commands with the help of the library is a great feature in
>>>> JSch. According to the comparison and my experiences, JSch looks like the
>>>> best candidate among them and I hope to hear others' thoughts about this.
>>>>
>>>> Please share your recommendations and suggestions to get a better
>>>> approach to this project.
>>>>
>>>> [1] SSHJ - https://github.com/hierynomus/sshj
>>>> [2] JSch - http://www.jcraft.com/jsch/
>>>> [3] SSHJ, Apache Commons VFS and JSch comparison (blog post) -
>>>> https://medium.com/@ldclakmal/comparison-of-commons-vfs-sshj
>>>> -and-jsch-libraries-for-sftp-support-cd5a0db2fbce#.d6bux0q0f
>>>> [4] My SCP project (blog post) - https://medium.com/@ldclakmal/
>>>> scp-with-java-b7b7dbcdbc85#.b05pinv1o
>>>> [5] My SCP project (git) - https://github.com/ldclakmal/SCPTransport
>>>>
>>>> Thanks.
>>>>
>>>>
>>>> Best Regards.
>>>>
>>>> *Chanaka Lakmal,*
>>>> Undergraduate B.Sc.Eng.(Hons.)
>>>> Department of Computer Science & Engineering,
>>>> University of Moratuwa,
>>>> Sri Lanka.
>>>>
>>>> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal>
>>>>
>>>> On Fri, Mar 3, 2017 at 8:57 AM, Malaka Silva <mal...@wso2.com> wrote:
>>>>
>>>>>

Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for IBM MQ 8.0

2017-03-18 Thread Malaka Silva
Hi Chanaka,

This looks good so far.

Can we check if it is possible to have an alternative way to set SSL
details other than system properties with IBM MQ client libraries.

The reason for that is we are limiting our self to one set of properties
per JVM.

eg: System.setProperty(

On Sat, Mar 18, 2017 at 11:41 PM, Chanaka Balasooriya <chanaka...@gmail.com>
wrote:

> Hi Malaka,
>
> After some effort I could upgrade MQ-Client [1] that I created earlier, to
> establish SSL connections with IBM WebSphere MQ.
> Please have a look.
>
> Here I used SSL_RSA_WITH_3DES_EDE_CBC_SHA Cipher Suit and IBM MQ self
> signed certificate.
> During that implementation I could realized that even though IBM MQ
> supports a long list of cipher suits only few cipher suits are supported for
> Oracal Java JVM. So I will list down all possible ciper-suits in near
> future.
>
> Now I believe that I have a solid background of the project idea and am
> looking forward to do this in GSoC.
>
> [1]https://github.com/chanakadinesh/MQ-Client
>
> Thanks,
>
> On Mon, Mar 13, 2017 at 6:15 PM, Malaka Silva <mal...@wso2.com> wrote:
>
>> Hi Chanaka,
>>
>> Also better to think about how to secure the connections with credentials
>> and SSL.
>>
>> On Mon, Mar 13, 2017 at 11:04 AM, Chanaka Balasooriya <
>> chanaka...@gmail.com> wrote:
>>
>>> Hi Malaka,
>>>
>>> I've been studying specifications of using native IBM MQ jars with the
>>> help of resources you sent and I could understand that It gives more
>>> flexibility on configuring
>>> connections and some binding options.
>>>
>>> I tried to implement sample MQ-Client [1] that can connect to IBM MQ
>>> without .binding file and we can improve that to implement inbound endpoint
>>> and the connector. please have a look.
>>> I am going to improve that MQ-Client to support more ibm specific
>>> options such as SSL connections within next few days.
>>>
>>> [1]https://github.com/chanakadinesh/MQ-Client
>>>
>>> Thanks,
>>>
>>> On Thu, Mar 2, 2017 at 4:51 PM, Malaka Silva <mal...@wso2.com> wrote:
>>>
>>>> Hi Chanaka,
>>>>
>>>> Following will help.
>>>>
>>>> [1] http://mrmalakasilva.blogspot.com/2013/10/connecting-mechani
>>>> sms-other-than.html
>>>> [2] http://www-01.ibm.com/support/docview.wss?uid=swg24037500
>>>> [3] http://stackoverflow.com/questions/2692070/connecting-to
>>>> -a-websphere-mq-in-java-with-ssl-keystore
>>>> [4] http://www.kevinboone.net/simplewmqclient.html
>>>>
>>>> On Wed, Mar 1, 2017 at 3:04 PM, Chanaka Balasooriya <
>>>> chanaka...@gmail.com> wrote:
>>>>
>>>>> Hi Malaka,
>>>>>
>>>>> Thank you for your response.
>>>>>
>>>>> As you mentioned, to understand the advantage of using native IBM MQ
>>>>> jars I will need to compare the current ESB IBM MQ support with native IBM
>>>>> MQ.
>>>>> So please share if you have any recommended reading materials to know
>>>>> more about IBM MQ other than [1] and it will be really helpful to get a
>>>>> better approach to this project.
>>>>>
>>>>> (I do confirm that I am a full time student and eligible to
>>>>> participate GSoC. )
>>>>>
>>>>> [1] https://www.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0
>>>>> /com.ibm.mq.helphome.v80.doc/WelcomePagev8r0.html
>>>>>
>>>>> Thanks,
>>>>>
>>>>> On Tue, Feb 28, 2017 at 9:39 PM, Malaka Silva <mal...@wso2.com> wrote:
>>>>>
>>>>>> Hi Chanaka,
>>>>>>
>>>>>> Thank you for your interest in this project.
>>>>>>
>>>>>> Currently with WSO2 ESB there is a generic JMS inbound endpoint that
>>>>>> can be used to consume messages from different brokers. [1]
>>>>>>
>>>>>> However there are complexities when configuring WSO2 ESB with IBM MQ.
>>>>>> This is mainly due to class loading issues. Also IBM provides more
>>>>>> customized options that are written on top of JMS transport.
>>>>>>
>>>>>> Part of this project is to identify those and develop a new Inbound
>>>>>> Endpoint to support this integration.
>>>>>>
>>>>>> Also please confirm that you are a full time

Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for FTP/SFTP operations

2017-03-14 Thread Malaka Silva
Hi Hasitha,

Thank you for the explanation. But you have misunderstood the requirement.

Basically the requirement is FTP / SFTP server will already exists and with
the new connectors user should be able to access the files already exists
in the server using ESB.

What I see is you tried to implement the server which is not in the scope
of this project.

Following may help your research.

[1] http://java-nio-ftp-library.soft112.com/
[2]
http://www.onkarjoshi.com/blog/126/which-library-to-use-for-ftp-sftp-ftps-file-transfer-in-java/

On Tue, Mar 14, 2017 at 7:23 AM, Hasitha Jayasundara <
hasithajayasunda...@gmail.com> wrote:

> Hi all,
>
> I did some changes in FTP client and server so that it can be tested
> easily. Refer the readme [1] for further information.
>
> Thanks
>
> [1] https://github.com/hasithajayasundara/Simple-FTP-client-and-server
>
> On Tue, Mar 14, 2017 at 6:53 AM, Hasitha Jayasundara <
> hasithajayasunda...@gmail.com> wrote:
>
>> Hi all,
>>
>> On my research I found many java SSH libraries that support SFTP.The main
>> differences between these libraries can be given as,
>>
>>- client authentication over password / public key
>>- server authentication
>>- upload /download files from local host over SFTP
>>- download files to local host over SFTP
>>- file operations on the remote host like move, delete, list all
>>children of a given folder (filtering after type like file or folder) over
>>SFTP
>>- execute plain shell commands
>>
>> Considering the popularity and the ease of implementation JSch and SSHJ
>> are the best libraries I found other than apacheVFS .The details on how
>> these libraries differ from each other according to above mentioned points
>> are included in the following link.[1] Currently the implementation only
>> supports apache-vfs.I will update my implementation with JScH and SSHJ soon.
>>
>> Thanks
>>
>> [1] https://www.javacodegeeks.com/2015/08/commons-vfs-sshj-and-j
>> sch-in-comparison.html (Comparison of apache-vfs , SSHJ and JScH )
>>
>> On Tue, Mar 14, 2017 at 3:32 AM, Hasitha Jayasundara <
>> hasithajayasunda...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> I 've added sftp support to the implementation [2] in order to get an
>>> idea about how apache vfs is used in file transferring.I used
>>> com.jcraft(jsch),apache.commons and commons-logging dependencies in the
>>> implementation which you can find in the pom.
>>> To run the program,
>>>
>>> 1.Add server details to the SFTPProperties.txt
>>>
>>> serverAddress=[server address]
>>> userId=[userId]
>>> password=[user password]
>>> remoteDirectory=[Remote folder name]/
>>> localDirectory=/LocalSFTP/  *don't change this
>>>
>>> You can simply setup a openssh sftp server [1] and add the credentials
>>> to the txt file above mentioned
>>> Your local file folder is LocalSFTP.Add files you want to exchange in
>>> that folder.
>>> Your remote file folder is [Remote folder name](You can create a folder
>>> with a name you preferred in the server)
>>>
>>> 2. Build the pom.xml
>>> 3. Run the scripts SFTPDownload.java and SFTPUpload.java
>>>
>>> [1] http://askubuntu.com/questions/420652/how-to-setup-a-restric
>>> ted-sftp-server-on-ubuntu
>>> [2] https://github.com/hasithajayasundara/Simple-FTP-client-and-server
>>>
>>> On Mon, Mar 13, 2017 at 7:16 PM, Hasitha Jayasundara <
>>> hasithajayasunda...@gmail.com> wrote:
>>>
>>>> Hi Malaka,
>>>>
>>>> No need to install any Server locally.You can find the server
>>>> implementation in FTPServer.java.
>>>>
>>>> 1. Run FTPServer.java
>>>> 2. Run FTPClient.java
>>>> 3. In the folders Client and Server include the files you need to
>>>> exchange.
>>>> (Change file paths according to your development environment
>>>>   eg - File f=new File("Add your file path/Client/"+fileName);
>>>>  File f=new File("Add your file path/Server/"+fileName);)
>>>> 4.In FTPClient.java console you can find
>>>>   1.SendFile
>>>>   2.ReceiveFile
>>>>
>>>> Include the number of the operation you need.(eg - 1 for SendFile, 2
>>>> for ReceiveFile ).And you can see it's working.(Include files inside Client
>>>> and Server folders.Otherwise the console would outputs "File not found").
>>

Re: [Dev] GSOC 2017 - Native inbound and connector for FTP/SFTP operations

2017-03-14 Thread Malaka Silva
Hi Chanaka,

Can we also try the following? This is more optimized.

[1] http://java-nio-ftp-library.soft112.com/

On Mon, Mar 13, 2017 at 5:04 PM, Chanaka Lakmal <ldclak...@gmail.com> wrote:

> Hi Malaka,
>
> I researched for the libraries that we can use for FTP/SFTP operations in
> addition to using Apache Commons VFS. I found out about some widely used
> libraries such as SSHJ [1] and JSch [2] and did a comparison among them.
> With the use of those findings I created a comparison on SSHJ, Apache
> Commons VFS and JSch and published on my blog [3].
>
> Also, I have experience in JSch since I had previously worked on
> developing a SCP transport using JSch [4] [5]. I believe its ability to
> execute shell commands with the help of the library is a great feature in
> JSch. According to the comparison and my experiences, JSch looks like the
> best candidate among them and I hope to hear others' thoughts about this.
>
> Please share your recommendations and suggestions to get a better approach
> to this project.
>
> [1] SSHJ - https://github.com/hierynomus/sshj
> [2] JSch - http://www.jcraft.com/jsch/
> [3] SSHJ, Apache Commons VFS and JSch comparison (blog post) -
> https://medium.com/@ldclakmal/comparison-of-commons-vfs-sshj
> -and-jsch-libraries-for-sftp-support-cd5a0db2fbce#.d6bux0q0f
> [4] My SCP project (blog post) - https://medium.com/@ldclakmal/
> scp-with-java-b7b7dbcdbc85#.b05pinv1o
> [5] My SCP project (git) - https://github.com/ldclakmal/SCPTransport
>
> Thanks.
>
>
> Best Regards.
>
> *Chanaka Lakmal,*
> Undergraduate B.Sc.Eng.(Hons.)
> Department of Computer Science & Engineering,
> University of Moratuwa,
> Sri Lanka.
>
> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal>
>
> On Fri, Mar 3, 2017 at 8:57 AM, Malaka Silva <mal...@wso2.com> wrote:
>
>> Hi Chanaka,
>>
>> Sounds good. Looking forward to hear from you soon.
>>
>> On Thu, Mar 2, 2017 at 6:54 PM, Chanaka Lakmal <ldclak...@gmail.com>
>> wrote:
>>
>>> Hi Malaka,
>>>
>>> Thank you for your response.
>>>
>>> As you mentioned, you have done a similar development to optimize and
>>> manage local file system using Java NIO [1] instead of Commons-vfs. [2] So
>>> my goal is to find such mechanism which is more unique to ftp/sftp
>>> protocol, in order to support file operations via ftp/sftp protocol.
>>>
>>> So, I will come up with my suggestions with best mechanism that is to be
>>> used for file operations via ftp/sftp protocol rather than Commons-vfs.
>>> Please share if you have any recommended methods or suggestions to get
>>> a better approach to this project.
>>>
>>> Also I do confirm that I am a full time student and eligible to
>>> participate GSoC.
>>>
>>> [1] https://store.wso2.com/store/assets/esbconnector/details
>>> /9ac7accf-6535-46c2-853e-9ca75c23cdef
>>> [2] http://commons.apache.org/proper/commons-vfs/index.html
>>>
>>> Thanks.
>>>
>>> Best Regards.
>>>
>>> *Chanaka Lakmal,*
>>> Undergraduate B.Sc.Eng.(Hons.)
>>> Department of Computer Science & Engineering,
>>> University of Moratuwa,
>>> Sri Lanka.
>>>
>>> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal>
>>>
>>> On Tue, Feb 28, 2017 at 10:29 PM, Malaka Silva <mal...@wso2.com> wrote:
>>>
>>>> Hi Chanaka,
>>>>
>>>> Thank you for sending the mail.
>>>>
>>>> Currently we have file inbound endpoint [1] and file connector [2] to
>>>> support file operations in WSO2 ESB.
>>>>
>>>> However this is written on top of common-vfs. Common vfs support
>>>> variety of file systems or protocols. eg: ftp, samba etc. Due to that this
>>>> is not optimum for ftp/sftp. Also this provides limited options.
>>>>
>>>> We have done a similar development to manage local file system using
>>>> Java NIO. [3] The idea of this project is to come up with similar inbound
>>>> and connector for ftp/sftp protocol.
>>>>
>>>> Also please confirm that you are a full time student and currently not
>>>> employed since it is against GSoC rules.
>>>>
>>>> [1] https://docs.wso2.com/display/ESB500/File+Inbound+Protocol
>>>> [2] https://store.wso2.com/store/assets/esbconnector/details
>>>> /48bab332-c6a6-4f5a-9b79-17e29c7ad4c6
>>>> [3] https://store.wso2.com/store/assets/esbconnector/details
>>>> /9ac7accf-6

Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for IBM MQ 8.0

2017-03-13 Thread Malaka Silva
Hi Chanaka,

Also better to think about how to secure the connections with credentials
and SSL.

On Mon, Mar 13, 2017 at 11:04 AM, Chanaka Balasooriya <chanaka...@gmail.com>
wrote:

> Hi Malaka,
>
> I've been studying specifications of using native IBM MQ jars with the
> help of resources you sent and I could understand that It gives more
> flexibility on configuring
> connections and some binding options.
>
> I tried to implement sample MQ-Client [1] that can connect to IBM MQ
> without .binding file and we can improve that to implement inbound endpoint
> and the connector. please have a look.
> I am going to improve that MQ-Client to support more ibm specific options
> such as SSL connections within next few days.
>
> [1]https://github.com/chanakadinesh/MQ-Client
>
> Thanks,
>
> On Thu, Mar 2, 2017 at 4:51 PM, Malaka Silva <mal...@wso2.com> wrote:
>
>> Hi Chanaka,
>>
>> Following will help.
>>
>> [1] http://mrmalakasilva.blogspot.com/2013/10/connecting-mechani
>> sms-other-than.html
>> [2] http://www-01.ibm.com/support/docview.wss?uid=swg24037500
>> [3] http://stackoverflow.com/questions/2692070/connecting-to
>> -a-websphere-mq-in-java-with-ssl-keystore
>> [4] http://www.kevinboone.net/simplewmqclient.html
>>
>> On Wed, Mar 1, 2017 at 3:04 PM, Chanaka Balasooriya <chanaka...@gmail.com
>> > wrote:
>>
>>> Hi Malaka,
>>>
>>> Thank you for your response.
>>>
>>> As you mentioned, to understand the advantage of using native IBM MQ
>>> jars I will need to compare the current ESB IBM MQ support with native IBM
>>> MQ.
>>> So please share if you have any recommended reading materials to know
>>> more about IBM MQ other than [1] and it will be really helpful to get a
>>> better approach to this project.
>>>
>>> (I do confirm that I am a full time student and eligible to participate
>>> GSoC. )
>>>
>>> [1] https://www.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0
>>> /com.ibm.mq.helphome.v80.doc/WelcomePagev8r0.html
>>>
>>> Thanks,
>>>
>>> On Tue, Feb 28, 2017 at 9:39 PM, Malaka Silva <mal...@wso2.com> wrote:
>>>
>>>> Hi Chanaka,
>>>>
>>>> Thank you for your interest in this project.
>>>>
>>>> Currently with WSO2 ESB there is a generic JMS inbound endpoint that
>>>> can be used to consume messages from different brokers. [1]
>>>>
>>>> However there are complexities when configuring WSO2 ESB with IBM MQ.
>>>> This is mainly due to class loading issues. Also IBM provides more
>>>> customized options that are written on top of JMS transport.
>>>>
>>>> Part of this project is to identify those and develop a new Inbound
>>>> Endpoint to support this integration.
>>>>
>>>> Also please confirm that you are a full time student and currently not
>>>> employed since it is against GSoC rules.
>>>>
>>>> [1] https://docs.wso2.com/display/ESB500/JMS+Inbound+Protocol
>>>>
>>>> On Tue, Feb 28, 2017 at 4:47 PM, Chanaka Balasooriya <
>>>> chanaka...@gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I am Chanaka Balasooriya, final year undergraduate at Computer Science
>>>>> and Engineering Department, University of Moratuwa. I am highly interested
>>>>> in distributed computing and Java related things and it led me to select
>>>>> and find more about this project. I was an intern at WSO2 and I have a 
>>>>> keen
>>>>> knowledge about WSO2ESB, inbound endpoints and transports since my
>>>>> internship project was related to them.
>>>>>
>>>>> Regarding this project, I have already started to follow the WSO2 doc
>>>>> about current implementation of  WSO2 ESB for IBM WebSphere MQ through JMS
>>>>> transport. I would be grateful if you can give me some suggestions and
>>>>> materials to understand the project more.
>>>>>
>>>>> Thanks,
>>>>> --
>>>>> Chanaka Balasooriya
>>>>> Undergraduate
>>>>> Department of Computer Science and Engineering
>>>>> University of Moratuwa
>>>>> +9471 294 7898 <071%20294%207898>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Best Regards,
>>>>
>>>> Malaka Silva
>>

Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for FTP/SFTP operations

2017-03-13 Thread Malaka Silva
Hi Hasitha,

How did you test the sample?

Did you install a FTP/SFTP server locally and try this use case?

On Mon, Mar 13, 2017 at 8:05 AM, Hasitha Jayasundara <
hasithajayasunda...@gmail.com> wrote:

> Hi all,
>
> I have implemented a simple FTP client and server using Java [1] to get a
> better understanding and trying to extend this to support SFTP also. Will
> update the implementation with new technologies and mechanisms found.
>
> [1] https://github.com/hasithajayasundara/Simple-FTP-client-and-server
>
> On Wed, Mar 8, 2017 at 9:54 PM, Hasitha Jayasundara <
> hasithajayasunda...@gmail.com> wrote:
>
>> Hi Vivekanthan,
>>
>> I'll go through this and let you know if there's any issue.
>>
>> Thanks.
>>
>> On Wed, Mar 8, 2017 at 9:28 PM, Vivekananthan Sivanayagam <
>> vivekanant...@wso2.com> wrote:
>>
>>> ​
>>> ​Hi Hasitha,
>>>
>>> ​you can refer the existing file connector​[1]​ which used the Apache
>>> Commons VFS I/O functionalities​ to get an idea of the file operation
>>> ​s​
>>> when implementing ​
>>> ​the ​
>>> connector for FTP/SFTP​​
>>> ​.
>>>
>>> [1]
>>> https://docs.wso2.com/display/ESBCONNECTORS/Working+with+the
>>> +File+Connector+Version+2
>>> ​
>>>
>>> Thanks,
>>> Vivek.​
>>> ​
>>>
>>> Vivekananthan Sivanayagam
>>> Associate Software Engineer | WSO2
>>> E:vivekanant...@wso2.com
>>> M:+94752786138 <+94%2075%20278%206138>
>>>
>>> On Wed, Mar 8, 2017 at 8:00 PM, Malaka Silva <mal...@wso2.com> wrote:
>>>
>>>> Hi Hasitha,
>>>>
>>>> Good to hear. Keep us posted.
>>>>
>>>> On Wed, Mar 8, 2017 at 7:18 PM, Hasitha Jayasundara <
>>>> hasithajayasunda...@gmail.com> wrote:
>>>>
>>>>> Hi Malaka,
>>>>>
>>>>> Sorry for the late reply.
>>>>>
>>>>> I studied the implementation of ESB connectors[1],File Inbound
>>>>> protocol [2] and now I have a fully understanding about the project and 
>>>>> the
>>>>> deliverables. As the description of the project states I'll update the
>>>>> thread with my findings on methods to to be used for file operations via
>>>>> ftp/sftp other than Apache-vfs.
>>>>>
>>>>> (I do confirm that I am a full time student and eligible to
>>>>> participate GSoC)
>>>>>
>>>>> [1] https://docs.wso2.com/display/ESBCONNECTORS/WSO2+ESB+Connectors
>>>>> [2] https://docs.wso2.com/display/ESB500/File+Inbound+Protocol
>>>>>
>>>>>
>>>>> *D.M.Hasitha Nadishan Jayasundara*
>>>>> *Department of Electronic and Telecommunication Engineering*
>>>>> University of Moratuwa
>>>>> *mobile:* *+94711959266 <071%20195%209266>*
>>>>> *blogspot*: learnjavawithisla.blogspot.com/  *email:*
>>>>> hasithajayasunda...@gmail.com
>>>>> <https://www.facebook.com/hasitha.nadishan.3>
>>>>> <https://twitter.com/HNadishan>
>>>>> <https://lk.linkedin.com/in/hasithajayasundara>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Best Regards,
>>>>
>>>> Malaka Silva
>>>> Associate Director / Architect
>>>> M: +94 777 219 791 <+94%2077%20721%209791>
>>>> Tel : 94 11 214 5345
>>>> Fax :94 11 2145300 <011%202%20145300>
>>>> Skype : malaka.sampath.silva
>>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>>> Blog : http://mrmalakasilva.blogspot.com/
>>>>
>>>> WSO2, Inc.
>>>> lean . enterprise . middleware
>>>> https://wso2.com/signature
>>>> http://www.wso2.com/about/team/malaka-silva/
>>>> <http://wso2.com/about/team/malaka-silva/>
>>>> https://store.wso2.com/store/
>>>>
>>>> Don't make Trees rare, we should keep them with care
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>
>>
>> --
>> *D.M.Hasitha Nadishan Jayasundara*
>> *Department of Electronic and Telecommunication Engineering*
>> University of Moratuwa
>> *mobile:* *+94711959266 <+94%2071%20195%209266>*
>> *blogspot*: learnjavawithisla.blogspot.com/  *email:*
>> hasithajayasunda...@gmail.com
>> <https://www.facebook.com/hasitha.nadishan.3>
>> <https://twitter.com/HNadishan>
>> <https://lk.linkedin.com/in/hasithajayasundara>
>>
>
>
>
> --
> *D.M.Hasitha Nadishan Jayasundara*
> *Department of Electronic and Telecommunication Engineering*
> University of Moratuwa
> *mobile:* *+94711959266 <071%20195%209266>*
> *blogspot*: learnjavawithisla.blogspot.com/  *email:* hasithajayasundar
> a...@gmail.com
> <https://www.facebook.com/hasitha.nadishan.3>
> <https://twitter.com/HNadishan>
> <https://lk.linkedin.com/in/hasithajayasundara>
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for FTP/SFTP operations

2017-03-13 Thread Malaka Silva
+Kevin

On Mon, Mar 13, 2017 at 6:09 PM, Malaka Silva <mal...@wso2.com> wrote:

> Hi Hasitha,
>
> How did you test the sample?
>
> Did you install a FTP/SFTP server locally and try this use case?
>
> On Mon, Mar 13, 2017 at 8:05 AM, Hasitha Jayasundara <
> hasithajayasunda...@gmail.com> wrote:
>
>> Hi all,
>>
>> I have implemented a simple FTP client and server using Java [1] to get a
>> better understanding and trying to extend this to support SFTP also. Will
>> update the implementation with new technologies and mechanisms found.
>>
>> [1] https://github.com/hasithajayasundara/Simple-FTP-client-and-server
>>
>> On Wed, Mar 8, 2017 at 9:54 PM, Hasitha Jayasundara <
>> hasithajayasunda...@gmail.com> wrote:
>>
>>> Hi Vivekanthan,
>>>
>>> I'll go through this and let you know if there's any issue.
>>>
>>> Thanks.
>>>
>>> On Wed, Mar 8, 2017 at 9:28 PM, Vivekananthan Sivanayagam <
>>> vivekanant...@wso2.com> wrote:
>>>
>>>> ​
>>>> ​Hi Hasitha,
>>>>
>>>> ​you can refer the existing file connector​[1]​ which used the Apache
>>>> Commons VFS I/O functionalities​ to get an idea of the file operation
>>>> ​s​
>>>> when implementing ​
>>>> ​the ​
>>>> connector for FTP/SFTP​​
>>>> ​.
>>>>
>>>> [1]
>>>> https://docs.wso2.com/display/ESBCONNECTORS/Working+with+the
>>>> +File+Connector+Version+2
>>>> ​
>>>>
>>>> Thanks,
>>>> Vivek.​
>>>> ​
>>>>
>>>> Vivekananthan Sivanayagam
>>>> Associate Software Engineer | WSO2
>>>> E:vivekanant...@wso2.com
>>>> M:+94752786138 <+94%2075%20278%206138>
>>>>
>>>> On Wed, Mar 8, 2017 at 8:00 PM, Malaka Silva <mal...@wso2.com> wrote:
>>>>
>>>>> Hi Hasitha,
>>>>>
>>>>> Good to hear. Keep us posted.
>>>>>
>>>>> On Wed, Mar 8, 2017 at 7:18 PM, Hasitha Jayasundara <
>>>>> hasithajayasunda...@gmail.com> wrote:
>>>>>
>>>>>> Hi Malaka,
>>>>>>
>>>>>> Sorry for the late reply.
>>>>>>
>>>>>> I studied the implementation of ESB connectors[1],File Inbound
>>>>>> protocol [2] and now I have a fully understanding about the project and 
>>>>>> the
>>>>>> deliverables. As the description of the project states I'll update the
>>>>>> thread with my findings on methods to to be used for file operations via
>>>>>> ftp/sftp other than Apache-vfs.
>>>>>>
>>>>>> (I do confirm that I am a full time student and eligible to
>>>>>> participate GSoC)
>>>>>>
>>>>>> [1] https://docs.wso2.com/display/ESBCONNECTORS/WSO2+ESB+Connectors
>>>>>> [2] https://docs.wso2.com/display/ESB500/File+Inbound+Protocol
>>>>>>
>>>>>>
>>>>>> *D.M.Hasitha Nadishan Jayasundara*
>>>>>> *Department of Electronic and Telecommunication Engineering*
>>>>>> University of Moratuwa
>>>>>> *mobile:* *+94711959266 <071%20195%209266>*
>>>>>> *blogspot*: learnjavawithisla.blogspot.com/  *email:*
>>>>>> hasithajayasunda...@gmail.com
>>>>>> <https://www.facebook.com/hasitha.nadishan.3>
>>>>>> <https://twitter.com/HNadishan>
>>>>>> <https://lk.linkedin.com/in/hasithajayasundara>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> Malaka Silva
>>>>> Associate Director / Architect
>>>>> M: +94 777 219 791 <+94%2077%20721%209791>
>>>>> Tel : 94 11 214 5345
>>>>> Fax :94 11 2145300 <011%202%20145300>
>>>>> Skype : malaka.sampath.silva
>>>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>>>> Blog : http://mrmalakasilva.blogspot.com/
>>>>>
>>>>> WSO2, Inc.
>>>>> lean . enterprise . middleware
>>>>> https://wso2.com/signature
>>>>> http://www.wso2.com/about/team/malaka-silva/
>>>>> <http://wso2.com/about/team/malaka-silva/>
>>>>&g

Re: [Dev] GSoC 2017 Proposal 1

2017-03-09 Thread Malaka Silva
Hi Thisun,

Thank you for your interest in this project.

Currently with WSO2 ESB there is a generic JMS inbound endpoint that can be
used to consume messages from different brokers. [1]

However there are complexities when configuring WSO2 ESB with IBM MQ. This
is mainly due to class loading issues. Also IBM provides more customized
options that are written on top of JMS transport.

Part of this project is to identify those and develop a new Inbound
Endpoint to support this integration.

Also please confirm that you are a full time student and currently not
employed since it is against GSoC rules.

[1] https://docs.wso2.com/display/ESB500/JMS+Inbound+Protocol

On Thu, Mar 9, 2017 at 6:42 PM, Harsha Thirimanna <hars...@wso2.com> wrote:

> adding mentors...
>
> On Thu, Mar 9, 2017 at 5:44 PM, Thisun Matheesha <tmathee...@gmail.com>
> wrote:
>
>> Hi all,
>>
>> I am Thisun Matheesha Kodituwakku 4th year undergraduate of university of
>> moratuwa,Srilanka. I have experience in Java/android/ASP.NET
>> <http://asp.net/>projects.During my internship program i was able to
>> work with the product WSO2 ESB. So i'm interested in working in your
>> project "Native inbound and connector for IBM MQ 8.0" which has been
>> published in your project list in of GSoc 2017.
>>
>> I went though the information you mention in this project .I familiar
>> with REST and SOAP services in java and in .NET platforms and I would like
>> to explore more regrading ESB's connectors and JMS transport .I think i can
>> be familiar with those areas before start this project. Could you please
>> give me further information about this projects then i can research on
>> those area.
>>
>> thank you.
>> --
>>
>> Best Regards,
>>
>> Thisun Matheesha Koditwakku
>> Undergraduate,Faculty of Information Technology
>> University of Moratuwa
>> Sri Lanka.
>> 0094-0773525035 <077%20352%205035>
>> --
>>
>> Best Regards,
>>
>> Thisun Matheesha Koditwakku
>> Undergraduate,Faculty of Information Technology
>> University of Moratuwa
>> Sri Lanka.
>> 0094-0773525035 <077%20352%205035>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for FTP/SFTP operations

2017-03-08 Thread Malaka Silva
Hi Hasitha,

Good to hear. Keep us posted.

On Wed, Mar 8, 2017 at 7:18 PM, Hasitha Jayasundara <
hasithajayasunda...@gmail.com> wrote:

> Hi Malaka,
>
> Sorry for the late reply.
>
> I studied the implementation of ESB connectors[1],File Inbound protocol
> [2] and now I have a fully understanding about the project and the
> deliverables. As the description of the project states I'll update the
> thread with my findings on methods to to be used for file operations via
> ftp/sftp other than Apache-vfs.
>
> (I do confirm that I am a full time student and eligible to participate
> GSoC)
>
> [1] https://docs.wso2.com/display/ESBCONNECTORS/WSO2+ESB+Connectors
> [2] https://docs.wso2.com/display/ESB500/File+Inbound+Protocol
>
>
> *D.M.Hasitha Nadishan Jayasundara*
> *Department of Electronic and Telecommunication Engineering*
> University of Moratuwa
> *mobile:* *+94711959266 <071%20195%209266>*
> *blogspot*: learnjavawithisla.blogspot.com/  *email:* hasithajayasundar
> a...@gmail.com
> <https://www.facebook.com/hasitha.nadishan.3>
> <https://twitter.com/HNadishan>
> <https://lk.linkedin.com/in/hasithajayasundara>
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSOC 2017 - Native inbound and connector for FTP/SFTP operations

2017-03-02 Thread Malaka Silva
Hi Chanaka,

Sounds good. Looking forward to hear from you soon.

On Thu, Mar 2, 2017 at 6:54 PM, Chanaka Lakmal <ldclak...@gmail.com> wrote:

> Hi Malaka,
>
> Thank you for your response.
>
> As you mentioned, you have done a similar development to optimize and
> manage local file system using Java NIO [1] instead of Commons-vfs. [2] So
> my goal is to find such mechanism which is more unique to ftp/sftp
> protocol, in order to support file operations via ftp/sftp protocol.
>
> So, I will come up with my suggestions with best mechanism that is to be
> used for file operations via ftp/sftp protocol rather than Commons-vfs.
> Please share if you have any recommended methods or suggestions to get a
> better approach to this project.
>
> Also I do confirm that I am a full time student and eligible to
> participate GSoC.
>
> [1] https://store.wso2.com/store/assets/esbconnector/details
> /9ac7accf-6535-46c2-853e-9ca75c23cdef
> [2] http://commons.apache.org/proper/commons-vfs/index.html
>
> Thanks.
>
> Best Regards.
>
> *Chanaka Lakmal,*
> Undergraduate B.Sc.Eng.(Hons.)
> Department of Computer Science & Engineering,
> University of Moratuwa,
> Sri Lanka.
>
> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal>
>
> On Tue, Feb 28, 2017 at 10:29 PM, Malaka Silva <mal...@wso2.com> wrote:
>
>> Hi Chanaka,
>>
>> Thank you for sending the mail.
>>
>> Currently we have file inbound endpoint [1] and file connector [2] to
>> support file operations in WSO2 ESB.
>>
>> However this is written on top of common-vfs. Common vfs support variety
>> of file systems or protocols. eg: ftp, samba etc. Due to that this is not
>> optimum for ftp/sftp. Also this provides limited options.
>>
>> We have done a similar development to manage local file system using Java
>> NIO. [3] The idea of this project is to come up with similar inbound and
>> connector for ftp/sftp protocol.
>>
>> Also please confirm that you are a full time student and currently not
>> employed since it is against GSoC rules.
>>
>> [1] https://docs.wso2.com/display/ESB500/File+Inbound+Protocol
>> [2] https://store.wso2.com/store/assets/esbconnector/details
>> /48bab332-c6a6-4f5a-9b79-17e29c7ad4c6
>> [3] https://store.wso2.com/store/assets/esbconnector/details
>> /9ac7accf-6535-46c2-853e-9ca75c23cdef
>>
>> On Tue, Feb 28, 2017 at 7:53 AM, Chanaka Lakmal <ldclak...@gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> I'm interested in the project *Native inbound and connector for
>>> FTP/SFTP operations*. I would like to know more information regarding
>>> this.
>>>
>>> I am Chanaka Lakmal, an final year undergraduate from Department of
>>> Computer Science and Engineering, University of Moratuwa. I have the basic
>>> knowledge on Java NIO, File Systems and I have been working with ESB and
>>> connectors.
>>>
>>> Initially I went through following [1] to understand about File Inbound
>>> Protocol and I would like to know more about this project, especially on
>>> the expected outcomes and the scope of the project.
>>>
>>> [1] - https://docs.wso2.com/display/ESB490/File+Inbound+Protocol
>>>
>>> Thank you.
>>>
>>> Best Regards.
>>>
>>> *Chanaka Lakmal,*
>>> Undergraduate B.Sc.Eng.(Hons.)
>>> Department of Computer Science & Engineering,
>>> University of Moratuwa,
>>> Sri Lanka.
>>>
>>> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal>
>>>
>>> _______
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> Best Regards,
>>
>> Malaka Silva
>> Associate Director / Architect
>> M: +94 777 219 791 <077%20721%209791>
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300 <011%202%20145300>
>> Skype : malaka.sampath.silva
>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>> Blog : http://mrmalakasilva.blogspot.com/
>>
>> WSO2, Inc.
>> lean . enterprise . middleware
>> https://wso2.com/signature
>> http://www.wso2.com/about/team/malaka-silva/
>> <http://wso2.com/about/team/malaka-silva/>
>> https://store.wso2.com/store/
>>
>> Don't make Trees rare, we should keep them with care
>>
>
>


-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for IBM MQ 8.0

2017-03-02 Thread Malaka Silva
Hi Chanaka,

Following will help.

[1]
http://mrmalakasilva.blogspot.com/2013/10/connecting-mechanisms-other-than.html
[2] http://www-01.ibm.com/support/docview.wss?uid=swg24037500
[3]
http://stackoverflow.com/questions/2692070/connecting-to-a-websphere-mq-in-java-with-ssl-keystore
[4] http://www.kevinboone.net/simplewmqclient.html

On Wed, Mar 1, 2017 at 3:04 PM, Chanaka Balasooriya <chanaka...@gmail.com>
wrote:

> Hi Malaka,
>
> Thank you for your response.
>
> As you mentioned, to understand the advantage of using native IBM MQ jars
> I will need to compare the current ESB IBM MQ support with native IBM MQ.
> So please share if you have any recommended reading materials to know more
> about IBM MQ other than [1] and it will be really helpful to get a better
> approach to this project.
>
> (I do confirm that I am a full time student and eligible to participate
> GSoC. )
>
> [1] https://www.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.
> helphome.v80.doc/WelcomePagev8r0.html
>
> Thanks,
>
> On Tue, Feb 28, 2017 at 9:39 PM, Malaka Silva <mal...@wso2.com> wrote:
>
>> Hi Chanaka,
>>
>> Thank you for your interest in this project.
>>
>> Currently with WSO2 ESB there is a generic JMS inbound endpoint that can
>> be used to consume messages from different brokers. [1]
>>
>> However there are complexities when configuring WSO2 ESB with IBM MQ.
>> This is mainly due to class loading issues. Also IBM provides more
>> customized options that are written on top of JMS transport.
>>
>> Part of this project is to identify those and develop a new Inbound
>> Endpoint to support this integration.
>>
>> Also please confirm that you are a full time student and currently not
>> employed since it is against GSoC rules.
>>
>> [1] https://docs.wso2.com/display/ESB500/JMS+Inbound+Protocol
>>
>> On Tue, Feb 28, 2017 at 4:47 PM, Chanaka Balasooriya <
>> chanaka...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I am Chanaka Balasooriya, final year undergraduate at Computer Science
>>> and Engineering Department, University of Moratuwa. I am highly interested
>>> in distributed computing and Java related things and it led me to select
>>> and find more about this project. I was an intern at WSO2 and I have a keen
>>> knowledge about WSO2ESB, inbound endpoints and transports since my
>>> internship project was related to them.
>>>
>>> Regarding this project, I have already started to follow the WSO2 doc
>>> about current implementation of  WSO2 ESB for IBM WebSphere MQ through JMS
>>> transport. I would be grateful if you can give me some suggestions and
>>> materials to understand the project more.
>>>
>>> Thanks,
>>> --
>>> Chanaka Balasooriya
>>> Undergraduate
>>> Department of Computer Science and Engineering
>>> University of Moratuwa
>>> +9471 294 7898 <071%20294%207898>
>>>
>>
>>
>>
>> --
>>
>> Best Regards,
>>
>> Malaka Silva
>> Associate Director / Architect
>> M: +94 777 219 791 <+94%2077%20721%209791>
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300 <011%202%20145300>
>> Skype : malaka.sampath.silva
>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>> Blog : http://mrmalakasilva.blogspot.com/
>>
>> WSO2, Inc.
>> lean . enterprise . middleware
>> https://wso2.com/signature
>> http://www.wso2.com/about/team/malaka-silva/
>> <http://wso2.com/about/team/malaka-silva/>
>> https://store.wso2.com/store/
>>
>> Don't make Trees rare, we should keep them with care
>>
>
>
>
> --
> Chanaka Balasooriya
> Undergraduate
> Department of Computer Science and Engineering
> University of Moratuwa
> +9471 294 7898 <071%20294%207898>
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSOC 2017 - Native inbound and connector for FTP/SFTP operations

2017-02-28 Thread Malaka Silva
Hi Chanaka,

Thank you for sending the mail.

Currently we have file inbound endpoint [1] and file connector [2] to
support file operations in WSO2 ESB.

However this is written on top of common-vfs. Common vfs support variety of
file systems or protocols. eg: ftp, samba etc. Due to that this is not
optimum for ftp/sftp. Also this provides limited options.

We have done a similar development to manage local file system using Java
NIO. [3] The idea of this project is to come up with similar inbound and
connector for ftp/sftp protocol.

Also please confirm that you are a full time student and currently not
employed since it is against GSoC rules.

[1] https://docs.wso2.com/display/ESB500/File+Inbound+Protocol
[2] https://store.wso2.com/store/assets/esbconnector/
details/48bab332-c6a6-4f5a-9b79-17e29c7ad4c6
[3] https://store.wso2.com/store/assets/esbconnector/
details/9ac7accf-6535-46c2-853e-9ca75c23cdef

On Tue, Feb 28, 2017 at 7:53 AM, Chanaka Lakmal <ldclak...@gmail.com> wrote:

> Hi,
>
> I'm interested in the project *Native inbound and connector for FTP/SFTP
> operations*. I would like to know more information regarding this.
>
> I am Chanaka Lakmal, an final year undergraduate from Department of
> Computer Science and Engineering, University of Moratuwa. I have the basic
> knowledge on Java NIO, File Systems and I have been working with ESB and
> connectors.
>
> Initially I went through following [1] to understand about File Inbound
> Protocol and I would like to know more about this project, especially on
> the expected outcomes and the scope of the project.
>
> [1] - https://docs.wso2.com/display/ESB490/File+Inbound+Protocol
>
> Thank you.
>
> Best Regards.
>
> *Chanaka Lakmal,*
> Undergraduate B.Sc.Eng.(Hons.)
> Department of Computer Science & Engineering,
> University of Moratuwa,
> Sri Lanka.
>
> [image: LinkedIn] <https://lk.linkedin.com/in/chanakalakmal>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for FTP/SFTP operations

2017-02-28 Thread Malaka Silva
Hi Hasitha,

Thank you for sending the mail.

Currently we have file inbound endpoint [1] and file connector [2] to
support file operations in WSO2 ESB.

However this is written on top of common-vfs. Common vfs support variety of
file systems or protocols. eg: ftp, samba etc. Due to that this is not
optimum for ftp/sftp. Also this provides limited options.

We have done a similar development to manage local file system using Java
NIO. [3] The idea of this project is to come up with similar inbound and
connector for ftp/sftp protocol.

Also please confirm that you are a full time student and currently not
employed since it is against GSoC rules.

[1] https://docs.wso2.com/display/ESB500/File+Inbound+Protocol
[2]
https://store.wso2.com/store/assets/esbconnector/details/48bab332-c6a6-4f5a-9b79-17e29c7ad4c6
[3]
https://store.wso2.com/store/assets/esbconnector/details/9ac7accf-6535-46c2-853e-9ca75c23cdef


On Tue, Feb 28, 2017 at 12:02 PM, Hasitha Jayasundara <
hasithajayasunda...@gmail.com> wrote:

> Hi,
>
> I am a final year undergraduate of Electronic and Telecommunication
> Engineering, University of Moratuwa. My experience with Java
> 8,rx-java,carbon transport and WSO2 integration server motivated me to
> select this project as my GSoC project for 2017. I was an intern at
> WSo2( Integration team) for 6 months implementing several features for new
> Integration server using Java8 and rxJava. Please provide me some guide
> lines and materials for study and get a clear understanding about the
> mentioned project.
>
> Thanks
>
> --
> *D.M.Hasitha Nadishan Jayasundara*
> *Department of Electronic and Telecommunication Engineering*
> University of Moratuwa
> *mobile:* *+94711959266 <071%20195%209266>*
> *blogspot*: learnjavawithisla.blogspot.com/  *email:* hasithajayasundar
> a...@gmail.com
> <https://www.facebook.com/hasitha.nadishan.3>
> <https://twitter.com/HNadishan>
> <https://lk.linkedin.com/in/hasithajayasundara>
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC 2017][ESB]Native inbound and connector for IBM MQ 8.0

2017-02-28 Thread Malaka Silva
Hi Chanaka,

Thank you for your interest in this project.

Currently with WSO2 ESB there is a generic JMS inbound endpoint that can be
used to consume messages from different brokers. [1]

However there are complexities when configuring WSO2 ESB with IBM MQ. This
is mainly due to class loading issues. Also IBM provides more customized
options that are written on top of JMS transport.

Part of this project is to identify those and develop a new Inbound
Endpoint to support this integration.

Also please confirm that you are a full time student and currently not
employed since it is against GSoC rules.

[1] https://docs.wso2.com/display/ESB500/JMS+Inbound+Protocol

On Tue, Feb 28, 2017 at 4:47 PM, Chanaka Balasooriya <chanaka...@gmail.com>
wrote:

> Hi,
>
> I am Chanaka Balasooriya, final year undergraduate at Computer Science and
> Engineering Department, University of Moratuwa. I am highly interested in
> distributed computing and Java related things and it led me to select and
> find more about this project. I was an intern at WSO2 and I have a keen
> knowledge about WSO2ESB, inbound endpoints and transports since my
> internship project was related to them.
>
> Regarding this project, I have already started to follow the WSO2 doc
> about current implementation of  WSO2 ESB for IBM WebSphere MQ through JMS
> transport. I would be grateful if you can give me some suggestions and
> materials to understand the project more.
>
> Thanks,
> --
> Chanaka Balasooriya
> Undergraduate
> Department of Computer Science and Engineering
> University of Moratuwa
> +9471 294 7898 <071%20294%207898>
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Fwd: WSO2 ESB process stuck

2017-02-14 Thread Malaka Silva
Hi Amit,

Can we try implementint throttling since this is a lengthy operation?

Parameter : transport.vfs. FileProcessCount

[1] https://docs.wso2.com/display/ESB500/File+Inbound+Protocol

-- Forwarded message --
From: Amit Rajvanshi <amit.rajvan...@eperiumindia.com>
Date: Tue, Feb 14, 2017 at 10:45 AM
Subject: WSO2 ESB process stuck
To: Malaka Silva <mal...@wso2.com>


HI Malaka,



I will be glad if you can help me on the below bottleneck.

I have a process which enrich product information from Icecat system and
write it into xml files. Total product are around 60K and it takes around
22 hours to complete the process.

However sometimes process stuck in between after 40k products and it does
not write anything in Carbon log also source file is still there on SFTP.

So my queries are :



1.   Can I see somewhere else for errors

2.   Is it possible to check if process is still running or not since
WSO2 is not releasing memory also.

3.   How can I handle such scenario.



Please do needful.



Best regards,
*Amit Rajvanshi*

*Technical Consultant*
Eperium Business Solutions (I) Pvt Ltd,
B-13, Sector 57,
Noida (U.P.) - 201301
Phone: +91-120-4737401 <+91%20120%20473%207401>
Web: www.eperiumindia.com

*Shaping future commerce together*

This message may contain confidential or legally privileged information. In
the event of any error in transmission, unauthorized recipients are
requested to contact the sender immediately and not to disclose or make use
of this information. No warranties or assurance are made or given as to the
accuracy of the information given or in relation to the safety of this
e-mail and any attachments. No liability whatsoever is accepted for any
consequences arising from this e-mail.





-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Enabling gzip Content-Encoding in WSO2 | FastXSLT Mediator

2017-02-13 Thread Malaka Silva
Hi Vivek,

Ideally users can't cover all the use cases with fastXSLT. Only basic use
cases can be covered. I guess this is one of those.

I'll add other ESB team members if they have a different opinion on this.

On Mon, Feb 13, 2017 at 5:42 PM, Vivek Kumar <vivek.ku...@eperiumindia.com>
wrote:

> Hi ,
>
> I  am able to parse response from a web service through *XSLT Mediator*
> which has Content-Encoding as gzip(*Content-Encoding:gzip*)
>
> But when I parse the same response using *fastXSLT  Mediator* I am
> getting error like
>
>
>
> *[2017-02-13 17:22:42,255] ERROR - FastXSLTMediator Error while
> transforming the Stream *
>
> *org.apache.axis2.AxisFault: Error while building Passthrough stream*
>
> *   at
> org.apache.synapse.transport.passthru.util.RelayUtils.handleException(*
> *RelayUtils.java:284**)*
>
> *   at
> org.apache.synapse.transport.passthru.util.RelayUtils.builldMessage(*
> *RelayUtils.java:143**)*
>
> *   at org.wso2.carbon.mediator.fastXSLT.FastXSLTMediator.mediate(*
> *FastXSLTMediator.java:218**)*
>
> *   at org.apache.synapse.mediators.AbstractListMediator.mediate(*
> *AbstractListMediator.java:97**)*
>
> *   at org.apache.synapse.mediators.AbstractListMediator.mediate(*
> *AbstractListMediator.java:59**)*
>
> *   at org.apache.synapse.mediators.template.TemplateMediator.mediate(*
> *TemplateMediator.java:104**)*
>
> *   at org.apache.synapse.mediators.template.InvokeMediator.mediate(*
> *InvokeMediator.java:148**)*
>
> *   at org.apache.synapse.mediators.template.InvokeMediator.mediate(*
> *InvokeMediator.java:84**)*
>
> *   at org.apache.synapse.mediators.AbstractListMediator.mediate(*
> *AbstractListMediator.java:97**)*
>
> *   at org.apache.synapse.mediators.AbstractListMediator.mediate(*
> *AbstractListMediator.java:59**)*
>
> *   at org.apache.synapse.mediators.base.SequenceMediator.mediate(*
> *SequenceMediator.java:158**)*
>
> *   at
> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(*
> *Axis2SynapseEnvironment.java:337**)*
>
> *   at
> org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(*
> *SynapseCallbackReceiver.java:554**)*
>
> *   at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(*
> *SynapseCallbackReceiver.java:188**)*
>
> *   at org.apache.axis2.engine.AxisEngine.receive(*
> *AxisEngine.java:180**)*
>
> *   at org.apache.synapse.transport.passthru.ClientWorker.run(*
> *ClientWorker.java:261**)*
>
> *   at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(*
> *NativeWorkerPool.java:172**)*
>
> *   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
> Source)*
>
> *   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> Source)*
>
> *   at java.lang.Thread.run(Unknown Source)*
>
> *Caused by: **java.util.zip.ZipException**: Not in GZIP format*
>
> *   at java.util.zip.GZIPInputStream.readHeader(Unknown Source)*
>
> *   at java.util.zip.GZIPInputStream.(Unknown Source)*
>
>
>
>
>
> My Query:
>
> How do allow *gzip content-encoding*  in *WSO2ESB* .Does fastXSLT not
> allow *Content-Encoding:gzip* .Any suggestion would be much appreciated.
>
>
>
> *PS*:I could find any relevent information on google regarding above
> error.
>
> And we are bound to use *fastXSLT Mediator* as it is giving better
> performance.Please do let me know if you need more information to
> understand the scenario.
>
>
>
> *Thanks & Regards*,
> *Vivek Kumar*
> Eperium Business Solutions(I) Pvt Ltd,
> B-13, Sector 57,Noida.
>
>
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Clarification about File Connector version 2

2017-02-07 Thread Malaka Silva
Hi Maduranga,

What is the file system / Protocol you tried this with?

On Tue, Feb 7, 2017 at 11:10 PM, Maduranga Siriwardena <madura...@wso2.com>
wrote:

>
>
> On Tue, Feb 7, 2017 at 10:54 AM, Maduranga Siriwardena <madura...@wso2.com
> > wrote:
>
>> Hi,
>>
>> While working with the file connector version 2 in [1], I noticed below
>> limitations.
>>
>>1. When moving a folder there is no way to move the contents of a
>>folder without deleting the source folder.
>>2. When moving a file, if we specify a folder as a destination, this
>>folder is converted to a file with the name of the source file (without 
>> the
>>file extension). Shouldn't the file just copied to the destination folder?
>>
>> Destination folder is converted to a file with the destination folder
> name (not with the name of the source file).
>
> Can these be done as improvements to the connector?
>>
>> [1] https://store.wso2.com/store/assets/esbconnector/details
>> /48bab332-c6a6-4f5a-9b79-17e29c7ad4c6
>>
>> --
>> Maduranga Siriwardena
>> Software Engineer
>> WSO2 Inc; http://wso2.com/
>>
>> Email: madura...@wso2.com
>> Mobile: +94718990591 <+94%2071%20899%200591>
>> Blog: http://madurangasblogs.blogspot.com/
>> <http://wso2.com/signature>
>>
>
>
>
> --
> Maduranga Siriwardena
> Software Engineer
> WSO2 Inc; http://wso2.com/
>
> Email: madura...@wso2.com
> Mobile: +94718990591 <071%20899%200591>
> Blog: http://madurangasblogs.blogspot.com/
> <http://wso2.com/signature>
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Template for (text/plain) MediaType in Eclipse Developer Studio

2017-01-31 Thread Malaka Silva
Hi Vivek,

It seems currently it's not supported. Can you please suggest this by
creating a jira in [1]. Product team can consider this in future releases.

[1] https://wso2.org/jira/projects/DEVTOOLESB

On Tue, Jan 31, 2017 at 12:45 PM, Vivek Kumar <vivek.ku...@eperiumindia.com>
wrote:

> Hi Malaka,
>
> *Current Scenario:*
>
> 1.I am creating *text/plain* *Media type*  registry resource
> *(text_plain_registry.png)* in *ESB Management Console* in which I am
> storing value of *FileURI* of my *Inbound Endpoint*.
>
> 2.But when I create(creating with upload from file system option) in
> Management Console registry resource using file downloaded after step1 ,
>
> resource is created but it is not editable
> *(none_editable_registry_resource.png).*Only download option is visible
> there.
>
>
>
> *My Requirement:*
>
> I should be able to create resource from already downloaded file *using
>  Eclipse Developer Studio* But there is no template available
> *(no_template_available_for_text_plain_mediaType.png)* for creating 
> *text/plain
> Media type* registry resource.
>
>
>
> *PS:*Reason I want requirement fulfilled is,I have created hundred of
> registry resource using in ESB Management Console not I don’t want to
> create manually every time.
>
> But Unfortunately I don’t see any supported template available
>
> in Eclipse Developer Studio for the same.PFA for reference.
>
>
>
> *Thanks & Regards*,
> *Vivek Kumar*
> Eperium Business Solutions(I) Pvt Ltd,
> B-13, Sector 57,Noida.
>
>
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Code Reusability Support in WSO2ESB

2017-01-24 Thread Malaka Silva
Hi Vivek,

​Currently this is not supported. ​

​However what we recommenced is to manage the projects using version
control and build capps using those projects. Not the other way round.​


On Wed, Jan 25, 2017 at 12:13 PM, Vivek Kumar <vivek.ku...@eperiumindia.com>
wrote:

> Hi Malaka,
>
> Does WSO2 provide support for using car file as external .car file in
> eclipse developer studio
>
> like we add .jar as an external jar in normal Java pojects:
>
>
>
> *PS:I have multiple deployed CarbonApps and I want already developed code
> in those*
>
> *CarbonApps into my current project in Eclipse Developer studio.I am using
> latest version of developer studio as well as wso2esb.*
>
>
>
> *Thanks & Regards*,
> *Vivek Kumar*
> Eperium Business Solutions(I) Pvt Ltd,
> B-13, Sector 57,Noida.
>
>
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting blank page while verifying the Duo Security authenticator with IS 5.3.0

2017-01-19 Thread Malaka Silva
Shall we fix. We need to,


   1. Verify the fix with previous versions.
   2. Update the store to mention that it supports IS 510, 520 and 530

@Thulasika - Please check this after doc-sign.

On Thu, Jan 19, 2017 at 9:17 AM, Thulasika Vijayanathan <thulas...@wso2.com>
wrote:

> Hi Nuwandi,
>
> The solution you have provided is working, Thank you for your help.
>
> Thanks,
> Thulasika.
>
> On Wed, Jan 18, 2017 at 11:14 PM, Nuwandi Wickramasinghe <
> nuwan...@wso2.com> wrote:
>
>> Hi Thulasika,
>>
>> I could successfully load the iframe by getting rid of
>> *HttpServletResponse*.*encodeRedirectURL() *method at [1]. Since the *DuoUrl
>> *contain some data with special characters, you need to URL encode them
>> in order to get this working. I have attached the patch file with the code
>> changes I did to get it working.
>>
>> However, I could not figure out why 
>> *HttpServletResponse*.*encodeRedirectURL()
>> *causes issues only in 5.3.0. There's no javax.servlet api version
>> change between 5.2.0 and 5.3.0 AFAIS.
>>
>> [1] https://github.com/wso2-extensions/identity-outbound-aut
>> h-duo/blob/org.wso2.carbon.extension.identity.authenticator.
>> duo-1.0.1/component/authenticator/src/main/java/org/wso2/carbon/identity/
>> authenticator/duo/DuoAuthenticator.java#L134
>>
>> On Wed, Jan 18, 2017 at 10:09 PM, Thulasika Vijayanathan <
>> thulas...@wso2.com> wrote:
>>
>>> Hi Nuwandi,
>>>
>>> Yes, I use the same values.
>>>
>>> Thanks.
>>>
>>> On Wed, Jan 18, 2017 at 9:59 PM, Nuwandi Wickramasinghe <
>>> nuwan...@wso2.com> wrote:
>>>
>>>> Hi Thulasika,
>>>>
>>>> Are you using same duo API configuration values (i.e Secret Key,
>>>> Integration Key, Admin Secret Key, Admin Integration key ) in both
>>>> 5.2.0 and 5.3.0?
>>>>
>>>> thanks
>>>> Nuwandi
>>>>
>>>> On Tue, Jan 17, 2017 at 2:24 PM, Thulasika Vijayanathan <
>>>> thulas...@wso2.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I am verifying the authenticators with IS 5.3.0. When I test Duo
>>>>> security authenticator with IS 5.3.0, I got the blank page, but it works
>>>>> with IS 5.2.0. It seems redirect URL and signature are correct, because If
>>>>> we give the wrong signature, the page will display as Access denied, Duo
>>>>> Provisioning connector works fine with both IS 5.2.0 and 5.3.0.
>>>>>
>>>>> Redirect URL in IS 5.3.0
>>>>> https://localhost:9443/duoauthenticationendpoint/duoAuth.jsp
>>>>> ?authenticator=DuoAuthenticator:LOCAL=duo=TX|YW
>>>>> RtaW58REkySjlaVk40NEM4UlZRQzdTUkJ8MTQ4NDY0MDUwMg==|f4345a7f5
>>>>> 17828d259b235703310c09b594b736c:APP|YWRtaW58REkySjlaVk40NEM4
>>>>> UlZRQzdTUkJ8MTQ4NDY0MzgwMg==|f65d989f837105e4a4d77167911f5ab
>>>>> f09b7095c=bd19a4d8-f08e-4322-b0a8-cbbb31a144a
>>>>> 7=api-.duosecurity.com
>>>>>
>>>>> [image: Inline image 3]
>>>>>
>>>>> Redirect URL in IS 5.2.0
>>>>> https://localhost:9443/duoauthenticationendpoint/duoAuth.jsp
>>>>> ?authenticator=DuoAuthenticator:LOCAL=duo=TX|YW
>>>>> RtaW58REkySjlaVk40NEM4UlZRQzdTUkJ8MTQ4NDY0MDcxMQ==|969c487f9
>>>>> 80bfb10e7a45a4b43d06543a78b9500:APP|YWRtaW58REkySjlaVk40NEM4
>>>>> UlZRQzdTUkJ8MTQ4NDY0NDAxMQ==|bb3be42f90aa3cfc38a5f42600fa4a9
>>>>> ed8776421=04c82f8e-ce66-454b-9cbf-a671404109d
>>>>> 7=api-.duosecurity.com
>>>>>
>>>>> [image: Inline image 2]
>>>>> Can you please suggest what could be the reason?
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Thulasika.
>>>>>
>>>>> --
>>>>> Thulasika
>>>>> Associate Software Engineer
>>>>> Mobile:0778014295 <077%20801%204295>
>>>>> email: thulas...@wso2.com <sanj...@wso2.com>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Best Regards,
>>>>
>>>> Nuwandi Wickramasinghe
>>>>
>>>> Software Engineer
>>>>
>>>> WSO2 Inc.
>>>>
>>>> Web : http://wso2.com
>>>>
>>>> Mobile : 0719214873 <071%20921%204873>
>>>>
>>>
>>>
>>>
>>> --
>>> Thulasika
>>> Associate Software Engineer
>>> Mobile:0778014295 <077%20801%204295>
>>> email: thulas...@wso2.com <sanj...@wso2.com>
>>>
>>
>>
>>
>> --
>>
>> Best Regards,
>>
>> Nuwandi Wickramasinghe
>>
>> Software Engineer
>>
>> WSO2 Inc.
>>
>> Web : http://wso2.com
>>
>> Mobile : 0719214873 <071%20921%204873>
>>
>
>
>
> --
> Thulasika
> Associate Software Engineer
> Mobile:0778014295 <077%20801%204295>
> email: thulas...@wso2.com <sanj...@wso2.com>
>



-- 

Best Regards,

Malaka Silva
Associate Director / Architect
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Help required

2017-01-14 Thread Malaka Silva
Hi Amit,

When you do toString in the class mediator it build the complete DOM into
the memory. In this case streaming does not make any sense.

ESB itself need memory for some additional tasks that maybe the reason your
java app worked without any issues.

To get more details on this better if you could profile the memory usage
when the file is processing and afterwards.

On Thu, Jan 12, 2017 at 3:06 PM, Amit Rajvanshi <
amit.rajvan...@eperiumindia.com> wrote:

> Hello WSO2 dev ,
>
>
>
> Thanks Malaka for your reply but streaming in Inbound endpoint did not
> work for my case.
>
> If I set JVM to *-Xms1024m -Xmx4096m -XX:MaxPermSize=2048m *under eclipse
> configuration then only it start processing of the file otherwise it
> failed to read message from Message context in Custom mediator.
>
>
>
> *Code in custom mediator :*
>
>
>
> public boolean mediate(MessageContext context) {
>
>   SOAPEnvelope envelope = context.getEnvelope();
>
>   SOAPBody soapBody = envelope.getBody();
>
>   OMElement omElement = soapBody.getFirstElement();
>
>   String xmlString = omElement.toString();
>
>   formEnrichedXml(xmlString, context);
>
>   return true;
>
> }
>
>
>
>
>
> My concern is that if we are following correct approach to process 140 MB
> XML file or increasing memory is wrong approach and something else is wrong
> with the code.
>
> I also tried with a sample application with iterate mediator to split this
> file on each instance of the element in the xml with default configuration
> but also it failed to execute and given me same error 
> *(*java.lang.OutOfMemoryError:
> Java heap space*) *and works fine if I increase memory limit to 4 GB.
>
> I have also tried with on simple java class to read this file and it
> worked fine without increasing any memory :
>
> DocumentBuilderFactory docFactory = DocumentBuilderFactory.newInstance();
>
> DocumentBuilder docBuilder;
>
> try
>
> {
>
> docBuilder = docFactory.newDocumentBuilder();
>
> Document doc = docBuilder.parse("G://
> 20170105_114800_PRODUCT.XML");
>
>
>
> NodeList rootChilds = doc.getDocumentElement().
> getChildNodes();
>
> System.out.println(rootChilds.getLength());
>
>
>
> for (int i = 0; i < rootChilds.getLength(); i++)
>
> {
>
> Node rootChild = rootChilds.item(i);
>
> System.out.println(rootChild.getNodeName());
>
> }
>
>
>
> System.out.println(111);
>
> }
>
> catch(Exception e)
>
> {
>
> // TODO Auto-generated catch block
>
> e.printStackTrace();
>
> }
>
>
>
> XML file contains 57000 instance of an object which size is around 140 MB
> which does not seems big file to me.
>
>
>
> Please suggest if memory increase is the only way to process this file.
>
>
>
> Best regards,
> *Amit Rajvanshi*
> Eperium Business Solutions (I) Pvt Ltd,
> B-13, Sector 57,
> Noida (U.P.) - 201301
> Phone: +91-120-4737401 <+91%20120%20473%207401>
> Web: www.eperiumindia.com
>
> *Shaping future commerce together*
>
> This message may contain confidential or legally privileged information.
> In the event of any error in transmission, unauthorized recipients are
> requested to contact the sender immediately and not to disclose or make use
> of this information. No warranties or assurance are made or given as to the
> accuracy of the information given or in relation to the safety of this
> e-mail and any attachments. No liability whatsoever is accepted for any
> consequences arising from this e-mail.
>
>
>
> *From:* Malaka Silva [mailto:mal...@wso2.com]
> *Sent:* 11 January 2017 09:12
> *To:* WSO2 Developers' List
> *Cc:* Amit Rajvanshi; Vivekananthan Sivanayagam
> *Subject:* Fwd: Help required
>
>
>
> Hi Amit,
>
>
>
> Have you tried the streaming with inbound endpoints?
>
>
>
> Also please send your queries to dev@wso2.org. You can cc me. That way
> more people from community can help you. :)
>
>
>
> [1] http://mrmalakasilva.blogspot.com/2016/03/streaming-large-files-using-
> wso2-esb.html
>
> [2] https://docs.wso2.com/display/ESB500/Tuning+the+VFS+Transport
>
> [3] https://docs.wso2.com/display/ESB500/File+Inbound+Protocol
>
>
>
> -- Forwarded message --
> From: *Amit Rajvanshi* <amit.rajvan...@eperiumindia.com>
> Date: Tue, Jan 10, 2017 at 7:05 PM
> Subject: Help required
> To: Malaka Silva <mal...@wso2.com>
>
> Hi Malaka,
>

[Dev] Fwd: Salesforce connector supports for complex queries

2017-01-13 Thread Malaka Silva
Hi Chanuka,

Since we are simple invoking the api it should work.

Can you share wire logs for further investigation.

Also are you using latest ESB? Maybe issue is related to TLS version? [1]

[1]
https://help.salesforce.com/servlet/servlet.FileDownload?file=0150M03KgGkQAK

+Dev List
-- Forwarded message --
From: Chanuka Dissanayake <chan...@wso2.com>
Date: Fri, Jan 13, 2017 at 6:53 PM
Subject: Salesforce connector supports for complex queries
To: kesavany Yogarajah <kesav...@wso2.com>, Keerthika Mahendralingam <
keerth...@wso2.com>
Cc: Malaka Silva <mal...@wso2.com>, Shevan Goonetilleke <she...@wso2.com>,
Yasith Tharindu <yas...@wso2.com>, Suhan Dharmasuriya <suh...@wso2.com>,
Nirodha Pramod <niro...@wso2.com>


Hi Kesavan,

I have come across that, when querying data from Salesforce connector it
does not retrieving the data, instead it kept waiting. Have you done
anything related to $subject?. Following is the query which is not working
through the connector.

SELECT Id,Contact_Us_First_Submission_Date__c FROM Lead WHERE Status !=
'Disqualified' AND Participant_Type__c != 'Partner' AND Participant_Type__c
!= 'Other' AND Contact_Us_First_Submission_Date__c != Null
Regards,
Chanuka.
-- 
Chanuka Dissanayake
*Software Engineer | **WSO2 Inc.*; http://wso2.com

Mobile: +94 71 33 63 596
Email: chan...@wso2.com



-- 

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Fwd: Help required

2017-01-10 Thread Malaka Silva
Hi Amit,

Have you tried the streaming with inbound endpoints?

Also please send your queries to dev@wso2.org. You can cc me. That way more
people from community can help you. :)

[1]
http://mrmalakasilva.blogspot.com/2016/03/streaming-large-files-using-wso2-esb.html
[2] https://docs.wso2.com/display/ESB500/Tuning+the+VFS+Transport
[3] https://docs.wso2.com/display/ESB500/File+Inbound+Protocol

-- Forwarded message --
From: Amit Rajvanshi <amit.rajvan...@eperiumindia.com>
Date: Tue, Jan 10, 2017 at 7:05 PM
Subject: Help required
To: Malaka Silva <mal...@wso2.com>


Hi Malaka,



We again need your help :



We are trying to process one xml which contains around 6 instance of an
object and the size of XML is 140 MB.

We are receiving this file through Inbound endpoint file location and doing
some changes in custom mediator java code using DOM object.

While we are processing small files around 30 MB it get processed
successfully but for large files it is giving out of memory error:



java.lang.OutOfMemoryError: Java heap space



if we set our JVM to *-Xms2048m -Xmx2048m -XX:MaxPermSize=1024m* which is
suggested by WSO2 it is giving error and if we set it to *-Xms1024m
-Xmx4096m -XX:MaxPermSize=2048m*

 then it is working fine while if we process same file in java code then it
is working fine with less memory as well. While debugging we have also
found that it is increasing heap memory when we are taking

xml object from context.



This scenario is also reproducible for iterate mediator .

Could you please help us or suggest if there are any memory tuning required
for xml at message context level or somewhere else.



Best regards,
*Amit Rajvanshi*
Eperium Business Solutions (I) Pvt Ltd,
B-13, Sector 57,
Noida (U.P.) - 201301
Phone: +91-120-4737401 <+91%20120%20473%207401>
Web: www.eperiumindia.com

*Shaping future commerce together*

This message may contain confidential or legally privileged information. In
the event of any error in transmission, unauthorized recipients are
requested to contact the sender immediately and not to disclose or make use
of this information. No warranties or assurance are made or given as to the
accuracy of the information given or in relation to the safety of this
e-mail and any attachments. No liability whatsoever is accepted for any
consequences arising from this e-mail.





-- 

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Flat file WSO2

2016-12-22 Thread Malaka Silva
Hi Amit,

You can use some of the out of the box mediators to do the transformation
and use call mediator / file connector to write the file.

[1] https://docs.wso2.com/display/ESB500/Smooks+Mediator
[2] https://docs.wso2.com/display/ESB500/Sample+271:+File+Processing
[3] https://docs.wso2.com/display/ESB500/XSLT+Mediator

On Thu, Dec 22, 2016 at 10:44 AM, Amit Rajvanshi <
amit.rajvan...@eperiumindia.com> wrote:

> Hi Malaka,
>
>
>
> Case is that I am receiving one xml file from SFTP server and based on the
> content I am fetching some other data from http url and then I need to
> create csv flat file based on content received from http url.
>
> So you can take it as file content as part of request then create csv and
> send it to another SFTP using endpoint.
>
>
>
> Best regards,
> *Amit Rajvanshi*
> Eperium Business Solutions (I) Pvt Ltd,
> B-13, Sector 57,
> Noida (U.P.) - 201301
> Phone: +91-120-4737401 <+91%20120%20473%207401>
> Web: www.eperiumindia.com
>
> *Shaping future commerce together*
>
> This message may contain confidential or legally privileged information.
> In the event of any error in transmission, unauthorized recipients are
> requested to contact the sender immediately and not to disclose or make use
> of this information. No warranties or assurance are made or given as to the
> accuracy of the information given or in relation to the safety of this
> e-mail and any attachments. No liability whatsoever is accepted for any
> consequences arising from this e-mail.
>
>
>
> *From:* Malaka Silva [mailto:mal...@wso2.com]
> *Sent:* 22 December 2016 10:24
> *To:* Amit Rajvanshi
> *Cc:* WSO2 Developers' List
> *Subject:* Re: Flat file WSO2
>
>
>
> Hi Amit,
>
>
>
> Do you get the file content as part of request or do you need to generate
> it dynamically?
>
>
>
> Can you explain further your use case please?
>
>
>
> On Wed, Dec 21, 2016 at 10:47 AM, Amit Rajvanshi <
> amit.rajvan...@eperiumindia.com> wrote:
>
> Hi Malaka,
>
>
>
> Do we have some out of the box mechanism to write csv (Flat files) in WSO2.
>
> Any URL or guidelines will be appreciated.
>
>
>
> Or we need to use FileWriter in java   using custom mediator ?
>
>
>
> Best regards,
> *Amit Rajvanshi*
> Eperium Business Solutions (I) Pvt Ltd,
> B-13, Sector 57,
> Noida (U.P.) - 201301
> Phone: +91-120-4737401 <+91%20120%20473%207401>
> Web: www.eperiumindia.com
>
> *Shaping future commerce together*
>
> This message may contain confidential or legally privileged information.
> In the event of any error in transmission, unauthorized recipients are
> requested to contact the sender immediately and not to disclose or make use
> of this information. No warranties or assurance are made or given as to the
> accuracy of the information given or in relation to the safety of this
> e-mail and any attachments. No liability whatsoever is accepted for any
> consequences arising from this e-mail.
>
>
>
>
>
>
>
> --
>
>
>
> Best Regards,
>
>
> Malaka Silva
> Senior Technical Lead
> M: +94 777 219 791 <077%20721%209791>
>
> Tel : 94 11 214 5345
>
> Fax :94 11 2145300 <011%202%20145300>
>
> Skype : malaka.sampath.silva
>
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>
> Blog : http://mrmalakasilva.blogspot.com/
>
>
>
> WSO2, Inc.
>
> lean . enterprise . middleware
> https://wso2.com/signature
>
> http://www.wso2.com/about/team/malaka-silva/
> <http://wso2.com/about/team/malaka-silva/>
>
> https://store.wso2.com/store/
>
> Don't make Trees rare, we should keep them with care
>



-- 

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Flat file WSO2

2016-12-21 Thread Malaka Silva
Hi Amit,

Do you get the file content as part of request or do you need to generate
it dynamically?

Can you explain further your use case please?

On Wed, Dec 21, 2016 at 10:47 AM, Amit Rajvanshi <
amit.rajvan...@eperiumindia.com> wrote:

> Hi Malaka,
>
>
>
> Do we have some out of the box mechanism to write csv (Flat files) in WSO2.
>
> Any URL or guidelines will be appreciated.
>
>
>
> Or we need to use FileWriter in java   using custom mediator ?
>
>
>
> Best regards,
> *Amit Rajvanshi*
> Eperium Business Solutions (I) Pvt Ltd,
> B-13, Sector 57,
> Noida (U.P.) - 201301
> Phone: +91-120-4737401 <+91%20120%20473%207401>
> Web: www.eperiumindia.com
>
> *Shaping future commerce together*
>
> This message may contain confidential or legally privileged information.
> In the event of any error in transmission, unauthorized recipients are
> requested to contact the sender immediately and not to disclose or make use
> of this information. No warranties or assurance are made or given as to the
> accuracy of the information given or in relation to the safety of this
> e-mail and any attachments. No liability whatsoever is accepted for any
> consequences arising from this e-mail.
>
>
>



-- 

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Fwd: Image/PDF transfer

2016-12-15 Thread Malaka Silva
Hi Amit,

Can you share your synapse configuration and carbon logs please.


-- Forwarded message --
From: Amit Rajvanshi <amit.rajvan...@eperiumindia.com>
Date: Thu, Dec 15, 2016 at 3:56 PM
Subject: Image/PDF transfer
To: Malaka Silva <mal...@wso2.com>


Hi Malaka,



I again need your help, I need to pick Image and PDF file from one location
and transfer it to another location.

I am using inbound endpoint to do so and using below message builder and
formatter :

















My file is getting picked up but transferred with 0 kb content. Could you
please suggest some solution ?



Best regards,
*Amit Rajvanshi*
Eperium Business Solutions(I) Pvt Ltd,
B-13, Sector 57,
Noida (U.P.) - 201301
Web: http://www.eperiumindia.com

[image: logo-eperium]

This message may contain confidential or legally privileged information. In
the event of any error in transmission, unauthorized recipients are
requested to contact the sender immediately and not to disclose or make use
of this information. No warranties or assurance are made or given as to the
accuracy of the information given or in relation to the safety of this
e-mail and any attachments. No liability whatsoever is accepted for any
consequences arising from this e-mail.





-- 

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Image/PDF transfer

2016-12-15 Thread Malaka Silva
Good to hear

On Fri, Dec 16, 2016 at 10:21 AM, Amit Rajvanshi <
amit.rajvan...@eperiumindia.com> wrote:

> Thanks Malaka for your Input, I were able to run it ,actually  problem was
> Inbound Endpoint property
>
>
>
>  true
>
>
>
> This property was false , I change it to true and it worked.
>
>
>
> Thanks again for your help and support.
>
>
>
> Best regards,
> *Amit Rajvanshi*
> Eperium Business Solutions(I) Pvt Ltd,
> B-13, Sector 57,
> Noida (U.P.) - 201301
> Web: http://www.eperiumindia.com
>
> [image: logo-eperium]
>
> This message may contain confidential or legally privileged information.
> In the event of any error in transmission, unauthorized recipients are
> requested to contact the sender immediately and not to disclose or make use
> of this information. No warranties or assurance are made or given as to the
> accuracy of the information given or in relation to the safety of this
> e-mail and any attachments. No liability whatsoever is accepted for any
> consequences arising from this e-mail.
>
>
>
> *From:* Malaka Silva [mailto:mal...@wso2.com]
> *Sent:* 16 December 2016 09:28
> *To:* Amit Rajvanshi
> *Cc:* WSO2 Developers' List
> *Subject:* Fwd: Image/PDF transfer
>
>
>
> Hi Amit,
>
>
>
> Can you share your synapse configuration and carbon logs please.
>
>
>
>
>
> ------ Forwarded message --
> From: *Amit Rajvanshi* <amit.rajvan...@eperiumindia.com>
> Date: Thu, Dec 15, 2016 at 3:56 PM
> Subject: Image/PDF transfer
> To: Malaka Silva <mal...@wso2.com>
>
> Hi Malaka,
>
>
>
> I again need your help, I need to pick Image and PDF file from one
> location and transfer it to another location.
>
> I am using inbound endpoint to do so and using below message builder and
> formatter :
>
>
>
>  contentType="image/jpg"/>
>
>  contentType="application/pdf"/>
>
>
>
>  contentType="application/octet-stream"/>
>
>  contentType="image/jpg"/>
>
>
>
>
>
> My file is getting picked up but transferred with 0 kb content. Could you
> please suggest some solution ?
>
>
>
> Best regards,
> *Amit Rajvanshi*
> Eperium Business Solutions(I) Pvt Ltd,
> B-13, Sector 57,
> Noida (U.P.) - 201301
> Web: http://www.eperiumindia.com
>
> [image: logo-eperium]
>
> This message may contain confidential or legally privileged information.
> In the event of any error in transmission, unauthorized recipients are
> requested to contact the sender immediately and not to disclose or make use
> of this information. No warranties or assurance are made or given as to the
> accuracy of the information given or in relation to the safety of this
> e-mail and any attachments. No liability whatsoever is accepted for any
> consequences arising from this e-mail.
>
>
>
>
>
>
>
> --
>
>
>
> Best Regards,
>
>
> Malaka Silva
> Senior Technical Lead
> M: +94 777 219 791 <077%20721%209791>
>
> Tel : 94 11 214 5345
>
> Fax :94 11 2145300 <011%202%20145300>
>
> Skype : malaka.sampath.silva
>
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>
> Blog : http://mrmalakasilva.blogspot.com/
>
>
>
> WSO2, Inc.
>
> lean . enterprise . middleware
> https://wso2.com/signature
>
> http://www.wso2.com/about/team/malaka-silva/
> <http://wso2.com/about/team/malaka-silva/>
>
> https://store.wso2.com/store/
>
> Don't make Trees rare, we should keep them with care
>



-- 

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Change display name of authenticators to provide better UX

2016-12-11 Thread Malaka Silva
Sure will check

On Sun, Dec 11, 2016 at 1:05 PM, Darshana Gunawardana <darsh...@wso2.com>
wrote:

> Hi Devs,
>
> I'm working on improving UX of federated authenticator configurations and
> doing minor fixes on idp UI side.
>
> While doing that, I noticed that Email OTP connector and SMS OTP connector
> display names can be improved.
>
> Created [1] to track this and sent the PRs for needed fixes. Can you
> please test, review and update those connectors for IS 5.3.0 release?
>
> Meanwhile please check with other connectors as well. I just noticed these
> two, since IS 5.3.0 bundles only these two.
>
> [1] https://wso2.org/jira/browse/ISCONNECT-43
>
> Thanks,
>
> --
> Regards,
>
>
> *Darshana Gunawardana*Associate Technical Lead
> WSO2 Inc.; http://wso2.com
>
> *E-mail: darsh...@wso2.com <darsh...@wso2.com>*
> *Mobile: +94718566859 <071%20856%206859>*Lean . Enterprise . Middleware
>



-- 

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Committers += Kanapriya Kuleswararajan

2016-12-06 Thread Malaka Silva
Hi Devs,

Its my pleasure to welcome Kanapriya Kuleswararajan as a WSO2 Committer.

She has been working with the WSO2 Platform Extensions Team for a while and
has contributed to  ESB and IS product extensions,

Kanapriya, welcome aboard and keep up the good work.

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Regarding configuration parameter WSO2 ESB

2016-12-02 Thread Malaka Silva
Hi Amit,

If you are using you can use multiple registry or local entry projects for
different environments.

[1]
https://docs.wso2.com/display/DVS380/Creating+Governance+Registry+Artifacts
[2] https://docs.wso2.com/display/ESB500/Working+with+Local+Registry+Entries

On Thu, Dec 1, 2016 at 6:32 PM, Amit Rajvanshi <
amit.rajvan...@eperiumindia.com> wrote:

> Hello Malaka,
>
>
>
> I am able to create key value pair in registry and it works successfully ,
> but how can we manage it to deploy on multiple servers, do we need to
> create or import each key one by one on different server  ?
>
> or is it possible to create multiple key-value pair on single file ? does
> these keys stored on some location on physical server and we can copy paste
> them to another server location during the deployment?
>
>
>
> Please help.
>
>
>
> Best regards,
> *Amit Rajvanshi*
> Eperium Business Solutions(I) Pvt Ltd,
> B-13, Sector 57,
> Noida (U.P.) - 201301
> Web: http://www.eperiumindia.com
>
> [image: logo-eperium]
>
> This message may contain confidential or legally privileged information.
> In the event of any error in transmission, unauthorized recipients are
> requested to contact the sender immediately and not to disclose or make use
> of this information. No warranties or assurance are made or given as to the
> accuracy of the information given or in relation to the safety of this
> e-mail and any attachments. No liability whatsoever is accepted for any
> consequences arising from this e-mail.
>
>
>
> *From:* Amit Rajvanshi
> *Sent:* 01 December 2016 17:02
> *To:* 'Malaka Silva'
> *Cc:* WSO2 Developers' List
> *Subject:* RE: Regarding configuration parameter WSO2 ESB
>
>
>
> Hi Malaka,
>
>
>
> Sorry but still I am not able to achieve it. I have developed Inbound
> Endpoint and file URI is developed with the below code :
>
>
>
>*"conf://repository/esb/esb-configurations/InputFileLocation"* name=
> *"transport.vfs.FileURI"*/>
>
>
>
>
>
> Now I am trying to create a key-value pair in Registry entry
>
>
>
>
>
> Here I am stuck because out of three options which one I need to select
> and how to create key –values pair ?
>
> Do I need to restart the server after creation of registry entry ?
>
> Could you please guild me on how to create key 
> (*/repository/esb/esb-configurations/InputFileLocation)
> *and corresponding value *?*
>
>
>
> Best regards,
> *Amit Rajvanshi*
> Eperium Business Solutions(I) Pvt Ltd,
> B-13, Sector 57,
> Noida (U.P.) - 201301
> Web: http://www.eperiumindia.com
>
> [image: logo-eperium]
>
> This message may contain confidential or legally privileged information.
> In the event of any error in transmission, unauthorized recipients are
> requested to contact the sender immediately and not to disclose or make use
> of this information. No warranties or assurance are made or given as to the
> accuracy of the information given or in relation to the safety of this
> e-mail and any attachments. No liability whatsoever is accepted for any
> consequences arising from this e-mail.
>
>
>
> *From:* Malaka Silva [mailto:mal...@wso2.com <mal...@wso2.com>]
> *Sent:* 29 November 2016 20:10
> *To:* Amit Rajvanshi
> *Cc:* WSO2 Developers' List
> *Subject:* Fwd: Regarding configuration parameter WSO2 ESB
>
>
>
> Hi Amit,
>
>
>
> Basically you can store the actual value in registry [1] or as a local
> entry [2]. These features comes out of the box with WSO2 ESB. When you save
> you will get a key for each entry. So you need to maintain different value
> set for different environments but key(s) should be same.
>
>
>
> After doing the above you will be able to use the key instead of real
> values when configuring inbound endpoints.
>
>
>
> [1] https://docs.wso2.com/display/ESB490/Working+with+the+Registry
>
> [2] https://docs.wso2.com/display/ESB490/Local+Registry+Entries
>
>
>
> -- Forwarded message --
> From: *Amit Rajvanshi* <amit.rajvan...@eperiumindia.com>
> Date: Tue, Nov 29, 2016 at 5:48 PM
> Subject: Regarding configuration parameter WSO2 ESB
> To: "mal...@wso2.com" <mal...@wso2.com>
>
> Hi Malaka,
>
>
>
> We are exploring  the ESB option for one of our client and WSO2-ESB is one
> of them, while going through the available tutorials and documents on web
> we are trying to create POC’s.
>
> However we stuck at one point or we are not able to understand the steps
> how to proceed with .
>
>
>
> https://wso2.org/jira/browse/ESBJAVA-3595
>
> https://docs.wso2.com/display/ESB490/Working+with+Inbou

[Dev] Fwd: Regarding configuration parameter WSO2 ESB

2016-11-29 Thread Malaka Silva
Hi Amit,

Basically you can store the actual value in registry [1] or as a local
entry [2]. These features comes out of the box with WSO2 ESB. When you save
you will get a key for each entry. So you need to maintain different value
set for different environments but key(s) should be same.

After doing the above you will be able to use the key instead of real
values when configuring inbound endpoints.

[1] https://docs.wso2.com/display/ESB490/Working+with+the+Registry
[2] https://docs.wso2.com/display/ESB490/Local+Registry+Entries

-- Forwarded message --
From: Amit Rajvanshi <amit.rajvan...@eperiumindia.com>
Date: Tue, Nov 29, 2016 at 5:48 PM
Subject: Regarding configuration parameter WSO2 ESB
To: "mal...@wso2.com" <mal...@wso2.com>


Hi Malaka,



We are exploring  the ESB option for one of our client and WSO2-ESB is one
of them, while going through the available tutorials and documents on web
we are trying to create POC’s.

However we stuck at one point or we are not able to understand the steps
how to proceed with .



https://wso2.org/jira/browse/ESBJAVA-3595

https://docs.wso2.com/display/ESB490/Working+with+Inbound+Endpoints



In the above Jira and in tutorials it is mentioned that there is a
possibility to configure Inbound VFS properties dynamically for different
environment. We are not able to grasp the steps to do.

Could you please help us with the steps how to make it configurable and how
to pass key-value in registry.







How can we use the registry to store the parameters like above ?



Best regards,
*Amit Rajvanshi*
Eperium Business Solutions(I) Pvt Ltd,
B-13, Sector 57,
Noida (U.P.) - 201301
Web: http://www.eperiumindia.com

[image: logo-eperium]

This message may contain confidential or legally privileged information. In
the event of any error in transmission, unauthorized recipients are
requested to contact the sender immediately and not to disclose or make use
of this information. No warranties or assurance are made or given as to the
accuracy of the information given or in relation to the safety of this
e-mail and any attachments. No liability whatsoever is accepted for any
consequences arising from this e-mail.





-- 

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] File read with enabling streaming

2016-11-24 Thread Malaka Silva
25)
>>> at org.apache.synapse.transport.passthru.ServerWorker.processEn
>>> tityEnclosingRequest(ServerWorker.java:371)
>>> at org.apache.synapse.transport.passthru.ServerWorker.run(Serve
>>> rWorker.java:151)
>>> at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.r
>>> un(NativeWorkerPool.java:172)
>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
>>> Executor.java:1145)
>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
>>> lExecutor.java:615)
>>> at java.lang.Thread.run(Thread.java:745)
>>> [2016-11-23 15:00:47,230] ERROR - Axis2Sender
>>> Accept:*/*,Accept-Encoding:gzip, deflate,Accept-Language:en-US,
>>> en;q=0.8,Cache-Control:no-cache,Content-Type:application/jso
>>> n,Cookie:exchangecookie=3220c865f3bc4a0981edd476a839a747,Host:
>>> vive.example.com:8280,Origin:chrome-extension://fhbjgbifli
>>> njbdggehcddcbncdddomop,Postman-Token:1cdab400-d939-ad00-29ca-2d65a4db15fb,>> version='1.0' encoding='utf-8'?>http://schemas.xmlsoap.org/soap/envelope/;>>> xmlns:axis2ns6="http://ws.apache.org/commons/ns/payload;>SSB
>>> jaGVja2VkIHRoZSBmb2xsb3dpbmcgc2NlbmFyaW9bMV0gd2l0aCBzdHJlYW1
>>> pbmcgZW5hYmxlLCBJIGFtIGFibGUgc3VjY2VzcyB3aXRoIHRoZSByZXNwb25
>>> zZSBmaWxlLiBJIHRyaWVkIDRHQiBmaWxlIHRvIHNlbmQgLCBpdCBpcyB3b3J
>>> raW5nLiBXaGVuIEkgY2hlY2tlZCBvbmx5IEZpbGVSZWFkIG9wZXJhdGlvbiB
>>> 3aXRoIHN0cmVhbWluZywgSSB3YXMgYWJsZSB0byByZWFkIHRoZSBjb250ZW5
>>> 0IGluIHRoZSBtZXNzYWdlIGNvbnRleHQgYnV0IGNvdWxkIG5vdCBidWlsZCB
>>> pdCB0aGUgdXNpbmcgRGF0YVNvdXJjZU1lc3NhZ2VCdWlsZGVyIHdpdGggY29
>>> udGVudCB0eXBlICJhcHBsaWNhdGlvbi9maWxlIiBhbmQgc2hvd2luZyB0aGU
>>> gZm9sbG93aW5nIGVycm9yLiAK
>>> Unexpected error sending message back
>>> org.apache.axis2.AxisFault: Failed to submit the response
>>> at org.apache.synapse.transport.passthru.PassThroughHttpSender.
>>> handleException(PassThroughHttpSender.java:613)
>>> at org.apache.synapse.transport.passthru.PassThroughHttpSender.
>>> invoke(PassThroughHttpSender.java:266)
>>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>>> at org.apache.synapse.core.axis2.Axis2Sender.sendBack(Axis2Send
>>> er.java:222)
>>> at org.apache.synapse.mediators.builtin.RespondMediator.mediate
>>> (RespondMediator.java:35)
>>> at org.apache.synapse.mediators.AbstractListMediator.mediate(Ab
>>> stractListMediator.java:97)
>>> at org.apache.synapse.mediators.AbstractListMediator.mediate(Ab
>>> stractListMediator.java:59)
>>> at org.apache.synapse.mediators.base.SequenceMediator.mediate(S
>>> equenceMediator.java:158)
>>> at org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.re
>>> ceive(ProxyServiceMessageReceiver.java:210)
>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>>> at org.apache.synapse.transport.passthru.ServerWorker.processNo
>>> nEntityEnclosingRESTHandler(ServerWorker.java:325)
>>> at org.apache.synapse.transport.passthru.ServerWorker.processEn
>>> tityEnclosingRequest(ServerWorker.java:371)
>>> at org.apache.synapse.transport.passthru.ServerWorker.run(Serve
>>> rWorker.java:151)
>>> at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.r
>>> un(NativeWorkerPool.java:172)
>>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
>>> Executor.java:1145)
>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
>>> lExecutor.java:615)
>>> at java.lang.Thread.run(Thread.java:745)
>>> Caused by: java.lang.ClassCastException: com.sun.proxy.$Proxy21 cannot
>>> be cast to org.wso2.carbon.relay.StreamingOnRequestDataSource
>>> at org.wso2.carbon.relay.ExpandingMessageFormatter.findAndWrite
>>> 2OutputStream(ExpandingMessageFormatter.java:185)
>>> at org.wso2.carbon.relay.ExpandingMessageFormatter.writeTo(Expa
>>> ndingMessageFormatter.java:100)
>>> at org.apache.synapse.transport.passthru.PassThroughHttpSender.
>>> submitResponse(PassThroughHttpSender.java:555)
>>> at org.apache.synapse.transport.passthru.PassThroughHttpSender.
>>> invoke(PassThroughHttpSender.java:264)
>>> ... 15 more
>>>
>>>
>>> Vivekananthan Sivanayagam
>>> Associate Software Engineer | WSO2
>>> E:vivekanant...@wso2.com
>>> M:+94752786138
>>>
>>> On Wed, Nov 23, 2016 at 7:49 AM, Malaka Silva <mal...@wso2.com> wrote:
>>>
>>>> Hi Vivekananthan,
>>>>
>>>> Seems your config is invalid. 

[Dev] Fwd: File read with enabling streaming

2016-11-22 Thread Malaka Silva
Hi Vivekananthan,

Seems your config is invalid. try the following.

Basically we should support both streaming and no streaming scenarios with
file connector.

Also make a jira and give a fix.

​

http://ws.apache.org/ns/synapse;
   name="fileconnectorRead"
   startOnLoad="true"
   statistics="disable"
   trace="disable"
   transports="https,http">
   
  
 
 
 
 
 
 
{$ctx:source}
{$ctx:contentType}
{$ctx:streaming}
 
 
  
   
   

-- Forwarded message --
From: Vivekananthan Sivanayagam <vivekanant...@wso2.com>
Date: Tue, Nov 22, 2016 at 6:57 PM
Subject: File read with enabling streaming
To: Malaka Silva <mal...@wso2.com>


Hi ,

I checked the following scenario[1] with streaming enable, I am able
success with the response file. I tried 4GB file to send , it is working.
When I checked only FileRead operation with streaming, I was able to read
the content in the message context but could not build it the using
DataSourceMessageBuilder
with content type "application/file" and showing the following error.

Error

PassThroughHttpSender Failed to submit the response
java.lang.ClassCastException: com.sun.proxy.$Proxy21 cannot be cast to
org.wso2.carbon.relay.StreamingOnRequestDataSource


[1] Proxy:

​​

http://ws.apache.org/ns/synapse;
   name="fileconnectorRead"
   startOnLoad="true"
   statistics="disable"
   trace="disable"
   transports="https,http">
   
  
 
 
 
 
 
 
 
 
{$ctx:source}
{$ctx:contentType}
{$ctx:streaming}
 
 
{$ctx:address}
{$ctx:append}
 
 
  
   
   


Request:

{
 "source":"/media/vive/vives/response.txt",
 "contentType":"application/file",
 "streaming":"true",
 "address":"/home/vive/Desktop/FILE/File002",
 "append":"true"
}


Vivekananthan Sivanayagam
Associate Software Engineer | WSO2
E:vivekanant...@wso2.com
M:+94752786138



-- 

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] JWT Bearer Grant not working with IS 5.2.0

2016-11-15 Thread Malaka Silva
Hi Thulasika,

As we discussed offline please check the fix.

On Wed, Nov 16, 2016 at 10:30 AM, Farasath Ahamed <farasa...@wso2.com>
wrote:

> Hi Malaka/Thulasika,
>
> Since we can't fix this for IS 5.2.0 now as it is already released. Shall
> we fix it from JWT bearer grant connector side for IS 5.2.0 only?
> Otherwise, we won't have a JWT connector that is working with IS 5.2.0.
>
> WDYT?
>
> Thanks,
>
> Farasath Ahamed
> Software Engineer, WSO2 Inc.; http://wso2.com
> Mobile: +94777603866
> Blog: blog.farazath.com
> Twitter: @farazath619 <https://twitter.com/farazath619>
> <http://wso2.com/signature>
>
>
>
> On Wed, Nov 16, 2016 at 10:18 AM, Thulasika Vijayanathan <
> thulas...@wso2.com> wrote:
>
>> yes Malaka, It doesn't work with fresh 5.2.0 pack.
>>
>> On Tue, Nov 15, 2016 at 1:57 PM, Malaka Silva <mal...@wso2.com> wrote:
>>
>>> If this does not work with fresh pack we can't say it's supported.
>>>
>>> On Tue, Nov 15, 2016 at 9:38 AM, Thulasika Vijayanathan <
>>> thulas...@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I have applied this fixed as a patch in 5.2.0 it works.
>>>>
>>>> Thanks,
>>>> Thulasika.
>>>>
>>>> On Mon, Nov 14, 2016 at 12:25 AM, Farasath Ahamed <farasa...@wso2.com>
>>>> wrote:
>>>>
>>>>> Yes. This is now fixed with [1] by Maduranga. Now we can enable to
>>>>> disable custom grant types using the Service Provider UI.
>>>>>
>>>>> Shall we update the JWT Grant Type connector docs with this change?
>>>>>
>>>>>
>>>>> [1] https://wso2.org/jira/browse/IDENTITY-5260
>>>>>
>>>>> Thanks,
>>>>> Farasath Ahamed
>>>>> Software Engineer, WSO2 Inc.; http://wso2.com
>>>>> Mobile: +94777603866
>>>>> Blog: blog.farazath.com
>>>>> Twitter: @farazath619 <https://twitter.com/farazath619>
>>>>> <http://wso2.com/signature>
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Nov 11, 2016 at 5:36 PM, Malaka Silva <mal...@wso2.com> wrote:
>>>>>
>>>>>> So the fix needs to come from IS side I guess?
>>>>>>
>>>>>> On Fri, Nov 11, 2016 at 4:44 PM, Maduranga Siriwardena <
>>>>>> madura...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Thulasika,
>>>>>>>
>>>>>>> This issue is already reported with [1].
>>>>>>>
>>>>>>> As a fix we are planning to add the custom grant types also to the
>>>>>>> OAuth application configuration page to enable or disable.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Maduranga.
>>>>>>>
>>>>>>> [1] https://wso2.org/jira/browse/IDENTITY-5260
>>>>>>>
>>>>>>> On Nov 11, 2016 4:23 PM, "Thulasika Vijayanathan" <
>>>>>>> thulas...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi ,
>>>>>>>>
>>>>>>>> I have checked the JWT grant type[1] in IS 5.2.0. It does not
>>>>>>>>  work, when validating the grant type it throws the exception[2].
>>>>>>>>
>>>>>>>> We need to get the  Allowed grant types as JWT,  but there is no
>>>>>>>> option to thick the JWT grant type in UI. is there any way to get the 
>>>>>>>> JWT
>>>>>>>> grant type?
>>>>>>>> [image: Inline image 2]
>>>>>>>>
>>>>>>>> [1] https://github.com/wso2-extensions/identity-oauth2-grant
>>>>>>>> -jwt/blob/master/component/grant-type/src/main/java/org/wso2
>>>>>>>> /carbon/identity/oauth2/grant/jwt/JWTBearerGrantHandler.java#L125
>>>>>>>>
>>>>>>>> [2] https://github.com/wso2-extensions/identity-inbound-auth
>>>>>>>> -oauth/blob/v5.1.3/components/org.wso2.carbon.identity.oauth
>>>>>>>> /src/main/java/org/wso2/carbon/identity/oauth2/token/handler
>>>>>>>> s/grant/AbstractAuthorizationGrantHandler.java#L507
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Thulasika.
>>>

Re: [Dev] CAS is not working when the application is a SaaS app

2016-11-15 Thread Malaka Silva
Hi Kathees,

Can you check this and release the fix to store please?

On Tue, Nov 15, 2016 at 10:36 PM, Kanapriya Kuleswararajan <
kanapr...@wso2.com> wrote:

> Hi Malaka,
>
> I have tested existing cas-inbound-authenticator by enable the SaaS
> application in super tenant domain and try to login from different tenant
> domain. But I couldn't login with different tenant domain.
>
> I checked with above fix also, It works fine when the application is a
> SaaS app.
>
> Thanks
>
> Kanapriya Kuleswararajan
> Associate Software Engineer
> Mobile : - 0774894438
> Mail : - kanapr...@wso2.com
>
> On Tue, Nov 15, 2016 at 5:41 PM, Hasintha Indrajee <hasin...@wso2.com>
> wrote:
>
>> Hi all,
>>
>> Please find the below fix for this issue. This includes an API change.
>> Please review and merge this fix.
>>
>> [1] https://github.com/wso2-extensions/identity-inbound-auth-cas/pull/10
>>
>> On Tue, Nov 15, 2016 at 2:52 PM, Malaka Silva <mal...@wso2.com> wrote:
>>
>>> Kanapriya can you have a quick look and update with findings please?
>>>
>>> On Tue, Nov 15, 2016 at 11:33 AM, Hasintha Indrajee <hasin...@wso2.com>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> CAS is not working when we register a SaaS application and when I am
>>>> trying to login from a different tenant user. This should be supported by
>>>> CAS authentication as it is a basic requirement.
>>>>
>>>> --
>>>> Hasintha Indrajee
>>>> WSO2, Inc.
>>>> Mobile:+94 771892453
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Senior Technical Lead
>>> M: +94 777 219 791
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>> Skype : malaka.sampath.silva
>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>> Blog : http://mrmalakasilva.blogspot.com/
>>>
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> https://wso2.com/signature
>>> http://www.wso2.com/about/team/malaka-silva/
>>> <http://wso2.com/about/team/malaka-silva/>
>>> https://store.wso2.com/store/
>>>
>>> Don't make Trees rare, we should keep them with care
>>>
>>
>>
>>
>> --
>> Hasintha Indrajee
>> WSO2, Inc.
>> Mobile:+94 771892453
>>
>>
>


-- 

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] CAS is not working when the application is a SaaS app

2016-11-15 Thread Malaka Silva
Kanapriya can you have a quick look and update with findings please?

On Tue, Nov 15, 2016 at 11:33 AM, Hasintha Indrajee <hasin...@wso2.com>
wrote:

> Hi All,
>
> CAS is not working when we register a SaaS application and when I am
> trying to login from a different tenant user. This should be supported by
> CAS authentication as it is a basic requirement.
>
> --
> Hasintha Indrajee
> WSO2, Inc.
> Mobile:+94 771892453
>
>


-- 

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] JWT Bearer Grant not working with IS 5.2.0

2016-11-15 Thread Malaka Silva
If this does not work with fresh pack we can't say it's supported.

On Tue, Nov 15, 2016 at 9:38 AM, Thulasika Vijayanathan <thulas...@wso2.com>
wrote:

> Hi,
>
> I have applied this fixed as a patch in 5.2.0 it works.
>
> Thanks,
> Thulasika.
>
> On Mon, Nov 14, 2016 at 12:25 AM, Farasath Ahamed <farasa...@wso2.com>
> wrote:
>
>> Yes. This is now fixed with [1] by Maduranga. Now we can enable to
>> disable custom grant types using the Service Provider UI.
>>
>> Shall we update the JWT Grant Type connector docs with this change?
>>
>>
>> [1] https://wso2.org/jira/browse/IDENTITY-5260
>>
>> Thanks,
>> Farasath Ahamed
>> Software Engineer, WSO2 Inc.; http://wso2.com
>> Mobile: +94777603866
>> Blog: blog.farazath.com
>> Twitter: @farazath619 <https://twitter.com/farazath619>
>> <http://wso2.com/signature>
>>
>>
>>
>> On Fri, Nov 11, 2016 at 5:36 PM, Malaka Silva <mal...@wso2.com> wrote:
>>
>>> So the fix needs to come from IS side I guess?
>>>
>>> On Fri, Nov 11, 2016 at 4:44 PM, Maduranga Siriwardena <
>>> madura...@wso2.com> wrote:
>>>
>>>> Hi Thulasika,
>>>>
>>>> This issue is already reported with [1].
>>>>
>>>> As a fix we are planning to add the custom grant types also to the
>>>> OAuth application configuration page to enable or disable.
>>>>
>>>> Thanks,
>>>> Maduranga.
>>>>
>>>> [1] https://wso2.org/jira/browse/IDENTITY-5260
>>>>
>>>> On Nov 11, 2016 4:23 PM, "Thulasika Vijayanathan" <thulas...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi ,
>>>>>
>>>>> I have checked the JWT grant type[1] in IS 5.2.0. It does not  work,
>>>>> when validating the grant type it throws the exception[2].
>>>>>
>>>>> We need to get the  Allowed grant types as JWT,  but there is no
>>>>> option to thick the JWT grant type in UI. is there any way to get the JWT
>>>>> grant type?
>>>>> [image: Inline image 2]
>>>>>
>>>>> [1] https://github.com/wso2-extensions/identity-oauth2-grant
>>>>> -jwt/blob/master/component/grant-type/src/main/java/org/wso2
>>>>> /carbon/identity/oauth2/grant/jwt/JWTBearerGrantHandler.java#L125
>>>>>
>>>>> [2] https://github.com/wso2-extensions/identity-inbound-auth
>>>>> -oauth/blob/v5.1.3/components/org.wso2.carbon.identity.oauth
>>>>> /src/main/java/org/wso2/carbon/identity/oauth2/token/handler
>>>>> s/grant/AbstractAuthorizationGrantHandler.java#L507
>>>>>
>>>>> Thanks,
>>>>> Thulasika.
>>>>> --
>>>>> Thulasika
>>>>> Associate Software Engineer
>>>>> Mobile:0778014295
>>>>> email: thulas...@wso2.com <sanj...@wso2.com>
>>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Senior Technical Lead
>>> M: +94 777 219 791
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>> Skype : malaka.sampath.silva
>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>> Blog : http://mrmalakasilva.blogspot.com/
>>>
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> https://wso2.com/signature
>>> http://www.wso2.com/about/team/malaka-silva/
>>> <http://wso2.com/about/team/malaka-silva/>
>>> https://store.wso2.com/store/
>>>
>>> Don't make Trees rare, we should keep them with care
>>>
>>
>>
>
>
> --
> Thulasika
> Associate Software Engineer
> Mobile:0778014295
> email: thulas...@wso2.com <sanj...@wso2.com>
>



-- 

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] JWT Bearer Grant not working with IS 5.2.0

2016-11-11 Thread Malaka Silva
So the fix needs to come from IS side I guess?

On Fri, Nov 11, 2016 at 4:44 PM, Maduranga Siriwardena <madura...@wso2.com>
wrote:

> Hi Thulasika,
>
> This issue is already reported with [1].
>
> As a fix we are planning to add the custom grant types also to the OAuth
> application configuration page to enable or disable.
>
> Thanks,
> Maduranga.
>
> [1] https://wso2.org/jira/browse/IDENTITY-5260
>
> On Nov 11, 2016 4:23 PM, "Thulasika Vijayanathan" <thulas...@wso2.com>
> wrote:
>
>> Hi ,
>>
>> I have checked the JWT grant type[1] in IS 5.2.0. It does not  work, when
>> validating the grant type it throws the exception[2].
>>
>> We need to get the  Allowed grant types as JWT,  but there is no option
>> to thick the JWT grant type in UI. is there any way to get the JWT grant
>> type?
>> [image: Inline image 2]
>>
>> [1] https://github.com/wso2-extensions/identity-oauth2-grant
>> -jwt/blob/master/component/grant-type/src/main/java/org/
>> wso2/carbon/identity/oauth2/grant/jwt/JWTBearerGrantHandler.java#L125
>>
>> [2] https://github.com/wso2-extensions/identity-inbound-auth
>> -oauth/blob/v5.1.3/components/org.wso2.carbon.identity.
>> oauth/src/main/java/org/wso2/carbon/identity/oauth2/token/
>> handlers/grant/AbstractAuthorizationGrantHandler.java#L507
>>
>> Thanks,
>> Thulasika.
>> --
>> Thulasika
>> Associate Software Engineer
>> Mobile:0778014295
>> email: thulas...@wso2.com <sanj...@wso2.com>
>>
>


-- 

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Unable to remove Content-Type header for POST request with empty body

2016-11-04 Thread Malaka Silva
It seems to me we may not be able to do this use case for post requests
with empty content.

@ESB Team - Let us know if there is a way to handle this?

On Wed, Nov 2, 2016 at 5:36 PM, Keerthika Mahendralingam <keerth...@wso2.com
> wrote:

> Hi All,
>
> Dropbox backend service expecting a POST request with empty body and
> without Content-Type header for download method[1].
>
> I am unable to remove the Content-Type header from the request. Is there
> any way to do this?
>
> I tried with the following:
> 
> It is working for GET methods but not for POST one.
>
> If I use , content
> type is set as null but it is sending "" in the body.
>
> Please find the configuration I used:
>
> 
> http://ws.apache.org/ns/synapse;
>name="testProxy"
>startOnLoad="true"
>statistics="disable"
>trace="disable"
>transports="https,http">
>
>   
>   
>   
>   
>   
>value="application/x-www-form-urlencoded"
> scope="axis2">
>scope="axis2" type="BOOLEAN">
>   
>   
> https://content.
> dropboxapi.com/2/files/download"/>
>   
>  
>   
>
>
> 
>
> [1]. https://www.dropbox.com/developers/documentation/http/
> documentation#files-download
>
> Thanks,
> --
> <dev-requ...@wso2.org>
> Keerthika Mahendralingam
> Software Engineer
> Mobile :+94 (0) 776 121144
> keerth...@wso2.com
> WSO2, Inc.
> lean . enterprise . middleware
>



-- 

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>
https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] CAS connector doesnt work with federated authenticators.

2016-11-02 Thread Malaka Silva
Hi Kanapriya,

As we discussed can you further test the reason why federated authenticators
​ are not supported.​

On Wed, Nov 2, 2016 at 10:38 AM, Malaka Silva <mal...@wso2.com> wrote:

> We can prioritize those use cases on demand.
>
> On Wed, Nov 2, 2016 at 10:32 AM, Kanapriya Kuleswararajan <
> kanapr...@wso2.com> wrote:
>
>> Hi Harsha / Hasintha
>>
>> Basic authentication supports with the initial version of
>> cas-inbound-authenticator. In next version of cas-inbound-authenticator, we
>> can add federated support in future  and while validating the tickets , we
>> used /serviceValidate , not /samlValidate.
>>
>> As Kathees mentioned, there are other protocols (OpenID,OAuth and SAML)
>> supports with CAS, but we didn't include that features in initial version
>> of cas-inbound-authenticator.
>>
>> Thanks
>>
>> Kanapriya Kuleswararajan
>> Associate Software Engineer
>> Mobile : - 0774894438
>> Mail : - kanapr...@wso2.com
>>
>> On Wed, Nov 2, 2016 at 6:21 AM, Harsha Thirimanna <hars...@wso2.com>
>> wrote:
>>
>>> Hi Kanapriya,
>>>
>>> What Hasitha was asking about an issue with current implementation ,
>>> right ? I am not clear whether it is the problem here,
>>> Hasitha , you gor solved the issue ?
>>>
>>> On Nov 1, 2016 11:57 PM, "Kathees Rajendram" <kath...@wso2.com> wrote:
>>>
>>>> SAML-Protocol support is another feature in CAS. Please find few more
>>>> resources for other protocols (OpenID,OAuth and SAML) supports as
>>>> extensions in CAS protocol.
>>>>
>>>> https://apereo.github.io/cas/4.2.x/protocol/CAS-Protocol.html
>>>> https://apereo.github.io/cas/4.2.x/protocol/SAML-Protocol.html
>>>>
>>>> Thanks,
>>>> Kathees
>>>>
>>>> On Tue, Nov 1, 2016 at 9:33 PM, Hasintha Indrajee <hasin...@wso2.com>
>>>> wrote:
>>>>
>>>>> If this is the case then we should fix this in the sample cas client
>>>>> webapp.
>>>>>
>>>>> On Tue, Nov 1, 2016 at 9:28 PM, Harsha Thirimanna <hars...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> So in your case, I feel like there should be missing the relyingParty
>>>>>> value to pick the correct service provider to get the configured
>>>>>> authentication options.
>>>>>>
>>>>>> *Harsha Thirimanna*
>>>>>> Associate Tech Lead | WSO2
>>>>>>
>>>>>> Email: hars...@wso2.com
>>>>>> Mob: +94715186770
>>>>>> Blog: http://harshathirimanna.blogspot.com/
>>>>>> Twitter: http://twitter.com/harshathirimann
>>>>>> Linked-In: linked-in: http://www.linkedin.com/pub/ha
>>>>>> rsha-thirimanna/10/ab8/122
>>>>>> <http://wso2.com/signature>
>>>>>>
>>>>>> On Tue, Nov 1, 2016 at 9:15 PM, Hasintha Indrajee <hasin...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Harsha,
>>>>>>>
>>>>>>> Following are the resources you can get information about CAS
>>>>>>> (Provided by Kanapriya)
>>>>>>>
>>>>>>> https://docs.wso2.com/display/ISCONNECTORS/CAS+Inbound+Authenticator
>>>>>>> https://github.com/wso2-extensions/identity-inbound-auth-cas/pull/2
>>>>>>> https://github.com/apereo/cas/blob/master/docs/cas-server-do
>>>>>>> cumentation/protocol/CAS-Protocol-Specification.md
>>>>>>> https://github.com/UniconLabs/cas-sample-java-webapp
>>>>>>> https://wiki.jasig.org/display/CASC/Configuring+the+Jasig+CA
>>>>>>> S+Client+for+Java+in+the+web.xml
>>>>>>>
>>>>>>> On Tue, Nov 1, 2016 at 7:56 PM, Harsha Thirimanna <hars...@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Hasintha,
>>>>>>>>
>>>>>>>> Did you get any documentation for this to know the request and
>>>>>>>> configuration details with CAS ?
>>>>>>>>
>>>>>>>> *Harsha Thirimanna*
>>>>>>>> Associate Tech Lead | WSO2
>>>>>>>>
>>>>>>>> Email: hars...@wso2.com
>>

  1   2   3   4   5   6   7   8   9   >