[Architecture] [AppFactory] Enabling event notifications in AppFactory jaggery application.

2013-05-06 Thread Manjula Rathnayake
Hi all,

In AppFactory, there are load of events generated that are interested for
different users(App Owners, Developers, QA and DevOps). Currently these
events are not visible to end users. POC is implemented to try out a
scenario as in diagram and provide a better run time view to end users.[image:
Inline image 1]

Here, users access the jaggery application in browser, then web socket is
opened from jaggery server to browser. When any activity is going on AF,
BPS, Jenkins,etc, events are published to different topics. We have a JMS
listener subscribed to these events and notifications are received by JMS
subscribers. JMS subscribers push incoming messages into web socket so that
browser get updated with these messages.

Above scenario is tested and working without ELB. We need to figure out a
way how we can handle this use case in a clustered mode with ELB.

Based on incoming message formats, we need to render the message in
browser. And we need to identify/define hierarchical topics and message
formats based on interested events.

Thoughts are welcome before we integrate this with AF.

thank you.

-- 
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
AF_event_wall.jpg___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


Re: [Architecture] [AppFactory] Enabling event notifications in AppFactory jaggery application.

2013-05-06 Thread Manuranga Perera
since IE9 and below and many android browsers doesn't support websocket [1]
we may have to implement a fall back mechanism. we can use a already
existing client-side library such as 'socket.io' [2] but may have to write
a server-side Jaggery module to support that.

[1] http://caniuse.com/websockets
[2] http://socket.io/


On Mon, May 6, 2013 at 4:26 PM, Manjula Rathnayake manju...@wso2.comwrote:

 Hi,


 On Mon, May 6, 2013 at 4:04 PM, Manjula Rathnayake manju...@wso2.comwrote:

 Hi all,

 In AppFactory, there are load of events generated that are interested for
 different users(App Owners, Developers, QA and DevOps). Currently these
 events are not visible to end users. POC is implemented to try out a
 scenario as in diagram and provide a better run time view to end 
 users.[image:
 Inline image 1]

 Here, users access the jaggery application in browser, then web socket is
 opened from jaggery server to browser. When any activity is going on AF,
 BPS, Jenkins,etc, events are published to different topics. We have a JMS
 listener subscribed to these events and notifications are received by JMS
 subscribers. JMS subscribers push incoming messages into web socket so that
 browser get updated with these messages.

 Above scenario is tested and working without ELB. We need to figure out a
 way how we can handle this use case in a clustered mode with ELB.

 The reason to not work with ELB is, web socket transport is WS,WSS and
 that is not supported in ELB.


 Based on incoming message formats, we need to render the message in
 browser. And we need to identify/define hierarchical topics and message
 formats based on interested events.

 Thoughts are welcome before we integrate this with AF.

 thank you.

 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987



 thank you.

 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987

 ___
 Architecture mailing list
 Architecture@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


AF_event_wall.jpg___
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture