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

2017-05-18 Thread Hasitha Jayasundara
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 
wrote:

> Hi,
>
> See if this blog post could be of help:
> https://riyafa.wordpress.com/2016/02/21/sample-java-client-
> for-websphere-mq-consumer-and-producer/
>
> Regards,
> Riyafa
>
> On Thu, May 18, 2017 at 9:13 PM, Malaka Silva  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
>>> 
>>> 
>>> 
>>>
>>
>>
>>
>> --
>>
>> 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
>> 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/
>> 
>> 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 
>
> Email: riy...@wso2.com 
> Website: https://riyafa.wordpress.com/ 
>   
> 
>



-- 
*D.M.Hasitha Nadishan Jayasundara*
*Department of Electronic and Telecommunication Engineering*
University of Moratuwa
*mobile:* *+94711959266*
*blogspot*: learnjavawithisla.blogspot.com/  *email:*
hasithajayasunda...@gmail.com



___
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 Riyafa Abdul Hameed
Hi,

See if this blog post could be of help:
https://riyafa.wordpress.com/2016/02/21/sample-java-client-for-websphere-mq-consumer-and-producer/

Regards,
Riyafa

On Thu, May 18, 2017 at 9:13 PM, Malaka Silva  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
>> 
>> 
>> 
>>
>
>
>
> --
>
> 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
> 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/
> 
> 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 

Email: riy...@wso2.com 
Website: https://riyafa.wordpress.com/ 
  

___
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
> 
> 
> 
>



-- 

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/

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] Validating OAuth App state during Token Requests

2017-05-18 Thread Pushpalanka Jayawardhana
Hi,

On Thu, May 18, 2017 at 4:58 PM, Farasath Ahamed  wrote:

> Hi,
>
> With our current implementation, we check whether an OAuth app is active
> at [1]. This happens before we complete client authentication at [2].
>
> Therefore even for an invalid client_id value, the error message that we
> would get will be "Oauth App is not in active state." which is not the
> expected behaviour.
>
> To fix this I see two options,
>
> 1. Handle the APP_STATE value being NULL (ie. no app was found for given
> consumer key) properly. APP_STATE column allows NULL as a value so we can't
> exactly say that APP_STATE == 'NULL' would imply that there is no app for a
> give consumer key
>
+1 for this approach. With this we can avoid some processing done in vain
and respond invalid requests much early. Saving NULL for APP_STATE seems
something we should investigate and fix.

>
> 2. Move the APP_STATE validation logic to be done after [2]
>
> WDYT?
>
> [1] https://github.com/wso2-extensions/identity-inbound-
> auth-oauth/blob/master/components/org.wso2.carbon.
> identity.oauth.endpoint/src/main/java/org/wso2/carbon/
> identity/oauth/endpoint/token/OAuth2TokenEndpoint.java#L87-L97
>
> [2] https://github.com/wso2-extensions/identity-inbound-
> auth-oauth/blob/master/components/org.wso2.carbon.
> identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/token/
> AccessTokenIssuer.java#L168
>
> Thanks,
> Farasath Ahamed
> Software Engineer, WSO2 Inc.; http://wso2.com
> Mobile: +94777603866
> Blog: blog.farazath.com
> Twitter: @farazath619 
> 
>
>
>


-- 
Pushpalanka.
-- 
Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
Senior Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
Mobile: +94779716248
Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] BPS 3.5.0. signals

2017-05-18 Thread Igor Golovko
Dear dev team, we have a problem with wso2 BPS 3.5.0.
We have bps-process with signal boundary events.
We try to activate request and when send request from rest api, this signal 
events didn't activate.
We send next request:

[cid:image001.png@01D2CFE8.722F7200]

Response:
[cid:image002.jpg@01D2CFE8.722F7200]
P.S In version 3.6.0 of WSO2 BPS, that works well.

Best regards,
Igor Golovko




This e-mail may contain privileged and confidential information. If you are not 
the intended recipient, be aware that any use, disclosure, copying or 
distribution of this e-mail or any attachments is prohibited. If you have 
received this e-mail in error, please notify us immediately by returning it to 
the sender and delete this copy from your system. Thank you.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Validating OAuth App state during Token Requests

2017-05-18 Thread Farasath Ahamed
Hi,

With our current implementation, we check whether an OAuth app is active at
[1]. This happens before we complete client authentication at [2].

Therefore even for an invalid client_id value, the error message that we
would get will be "Oauth App is not in active state." which is not the
expected behaviour.

To fix this I see two options,

1. Handle the APP_STATE value being NULL (ie. no app was found for given
consumer key) properly. APP_STATE column allows NULL as a value so we can't
exactly say that APP_STATE == 'NULL' would imply that there is no app for a
give consumer key

2. Move the APP_STATE validation logic to be done after [2]

WDYT?

[1]
https://github.com/wso2-extensions/identity-inbound-auth-oauth/blob/master/components/org.wso2.carbon.identity.oauth.endpoint/src/main/java/org/wso2/carbon/identity/oauth/endpoint/token/OAuth2TokenEndpoint.java#L87-L97

[2]
https://github.com/wso2-extensions/identity-inbound-auth-oauth/blob/master/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/token/AccessTokenIssuer.java#L168

Thanks,
Farasath Ahamed
Software Engineer, WSO2 Inc.; http://wso2.com
Mobile: +94777603866
Blog: blog.farazath.com
Twitter: @farazath619 

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Invitation: [GSoC][APIM] Environment Support for API Manager weekly s... @ Fri May 19, 2017 2pm - 2:30pm (IST) (dev@wso2.org)

2017-05-18 Thread Kasun Thennakoon
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20170519T083000Z
DTEND:20170519T09Z
DTSTAMP:20170518T085529Z
ORGANIZER;CN=Kasun Thennakoon:mailto:kasu...@wso2.com
UID:53804ibg27rccfik6kdsitp...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Thilini Shanika;X-NUM-GUESTS=0:mailto:thili...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Ravindu Perera;X-NUM-GUESTS=0:mailto:ravindu.2014...@iit.ac.lk
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Kasun Thennakoon;X-NUM-GUESTS=0:mailto:kasu...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Pubudu Gunatilaka;X-NUM-GUESTS=0:mailto:pubu...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Chanaka Jayasena;X-NUM-GUESTS=0:mailto:chan...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Nuwan Dias;X-NUM-GUESTS=0:mailto:nuw...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=dev@wso2.org;X-NUM-GUESTS=0:mailto:dev@wso2.org
CREATED:20170518T085528Z
DESCRIPTION:This event has a Google Hangouts video call.\nJoin: https://plu
 s.google.com/hangouts/_/wso2.com/gsoc-apim?hceid=a2FzdW50ZUB3c28yLmNvbQ.538
 04ibg27rccfik6kdsitpdek=121\n\nView your event at https://www.google.com
 /calendar/event?action=VIEW=NTM4MDRpYmcyN3JjY2ZpazZrZHNpdHBkZWsgZGV2QHd
 zbzIub3Jn=MTYja2FzdW50ZUB3c28yLmNvbWMzMjlkYzlmOTA1NmE3ZmM1ZWVjNGM5MmRiO
 WQyZGZmYWM3ZGUyNmU=Asia/Colombo=en.
LAST-MODIFIED:20170518T085529Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:[GSoC][APIM] Environment Support for API Manager weekly sync up mee
 ting
TRANSP:OPAQUE
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:This is an event reminder
TRIGGER:-P0DT0H17M0S
END:VALARM
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:This is an event reminder
TRIGGER:-P0DT1H0M0S
END:VALARM
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/ics
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev