Hi Achintha , Did you able to find a mechanism to recreate continuous input stream out of Http Chunks ? First try to run ContentAware scenario using HttpObjectAggregrator Codec. It is not required any external logic to recreate input stream. Then try to implement websocket support.
Thanks On Fri, Aug 14, 2015 at 9:35 PM, Achintha Reemal <[email protected]> wrote: > Hi, > > As discussed during the last meeting on Thursday (13th August), a research > was done on identifying possible options of handling chunking in HTTP using > Netty. Details of the findings can be found in [1] > > [1] > https://docs.google.com/document/d/1XtYo132Ls597J1CUtZUpQ0iTH9-lGEx4eZcFTQ8cTM4/edit?usp=sharing > > On Tue, Jul 28, 2015 at 11:36 PM, Achintha Reemal <[email protected]> > wrote: > >> Hi Isuru, >> >> Conversion of the content queue to a byte stream can be found in [1] >> class. >> >> Currently the focus in on working on the current Netty based >> implementation and identifying the error generated at content aware >> scenarios and building on it to complete an end to end message flow. >> >> Current limitations of the implementations are; >> >> - Identification of the error generated at the axis2 level (i.e. at >> ClientUtils) when processing for a content aware scenario (tested using an >> ESB sample - PayloadFactory Mediator) >> - Identification of transport sender limitations that needs to be >> implemented in HttpSender for a complete end to end flow. >> >> These shortcomings needs to be addressed while completing other gaps in >> the current implementation to accommodate for an end to end message flow. >> >> >> [1] >> https://github.com/AchinthaReemal/wso2-synapse/blob/nettytransport/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/netty/passthru/Pipe.java >> >> On Tue, Jul 28, 2015 at 11:01 PM, Isuru Ranawaka <[email protected]> wrote: >> >>> hi Achintha, >>> >>> Can you give the status update ? Did you able to merge incoming http >>> chunks in to one byte stream.If so please provide the link for that code. >>> >>> On Mon, Jul 20, 2015 at 9:58 PM, Kasun Indrasiri <[email protected]> wrote: >>> >>>> What's the current status of the project? There are no updates for >>>> weeks :(. >>>> >>>> On Tue, Jul 7, 2015 at 4:39 PM, Kasun Indrasiri <[email protected]> wrote: >>>> >>>>> Hi Achintha, >>>>> >>>>> As we are behind the schedule, we need to complete the end to end >>>>> message flow for content aware scenarios. We expect you to finish this by >>>>> end of this week. If not we won't be able to cover the proposed scope for >>>>> this project. >>>>> >>>>> On Fri, Jun 26, 2015 at 9:35 PM, Achintha Reemal <[email protected]> >>>>> wrote: >>>>> >>>>>> Hi >>>>>> >>>>>> After meeting with Isuru Ranawaka on 25th June, we discussed on the >>>>>> following proceedings for the coming week. >>>>>> >>>>>> - Implement means to read from the queue(while allowing write >>>>>> operations), which is being currently implemented for the content-non >>>>>> aware >>>>>> scenario. >>>>>> - Identify means to extract HttpContent once converted into an input >>>>>> stream, to be fed to mediation. >>>>>> - Debug and identify the message building implementation, which would >>>>>> build the message for content aware scenarios. >>>>>> - Validate the message flow for content aware scenario. >>>>>> >>>>>> Regards, >>>>>> >>>>>> On Fri, Jun 12, 2015 at 9:05 AM, Achintha Reemal <[email protected] >>>>>> > wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> After meeting with Isuru on 11th June, we discussed on the following >>>>>>> proceedings for the coming week. >>>>>>> >>>>>>> - Further look into the current implementation with respect to the >>>>>>> adaptation for with chunking and without chunking in HTTP Content >>>>>>> - Debug and identify the message flow within the current >>>>>>> implementation. >>>>>>> - Identify how chunked content are being held in the current >>>>>>> implementation. >>>>>>> - Research on means to write the chunked content to the current Pipe >>>>>>> implementation as an input stream, which would enable the content aware >>>>>>> scenario. >>>>>>> - Try to implement the above task by 18th June. >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> On Sun, May 24, 2015 at 3:00 PM, Achintha Reemal < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> During the week, I have looked into the following aspects of the >>>>>>>> project >>>>>>>> >>>>>>>> - Observed the current implementation of Netty-PassThru transport >>>>>>>> provided by, and special attention was given to the current Pipe >>>>>>>> implementation as instructed by Isuru. Further observation was done to >>>>>>>> identify Netty specific parts in the implementation (like the use of >>>>>>>> classes like ChannelInboundHandlerAdapter, ChannelHandlerContext etc.) >>>>>>>> >>>>>>>> - Identifying the usage of different Encoders / Decoders in netty. >>>>>>>> >>>>>>>> - Getting to know the current layout of WSO2 ESB transport layer >>>>>>>> and Mediation Layer, in order to identify the correlation of these two >>>>>>>> layers, which would be required when decoupling them. >>>>>>>> >>>>>>>> Regards, >>>>>>>> -- >>>>>>>> *G.H.Achintha Reemal* >>>>>>>> *BSc Eng Undergraduate| Department of Computer Science & >>>>>>>> Engineering | University of Moratuwa* >>>>>>>> *Intern Software Engineer**| WSO2 Lanka (Pvt) Ltd.* >>>>>>>> *Blog|** rimmythepaperclip.blogspot.com >>>>>>>> <http://rimmythepaperclip.blogspot.com>* >>>>>>>> *Twitter|* @rimmynuts(A.Reemal) >>>>>>>> *LinkedIn|* lk.linkedin.com/in/achinthareemal/ >>>>>>>> *Mobile| *0715471301 >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> *G.H.Achintha Reemal* >>>>>>> *BSc Eng Undergraduate| Department of Computer Science & Engineering >>>>>>> | University of Moratuwa* >>>>>>> *Intern Software Engineer**| WSO2 Lanka (Pvt) Ltd.* >>>>>>> *Blog|** rimmythepaperclip.blogspot.com >>>>>>> <http://rimmythepaperclip.blogspot.com>* >>>>>>> *Twitter|* @rimmynuts(A.Reemal) >>>>>>> *LinkedIn|* lk.linkedin.com/in/achinthareemal/ >>>>>>> *Mobile| *0715471301 >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> *G.H.Achintha Reemal* >>>>>> *BSc Eng Undergraduate| Department of Computer Science & Engineering >>>>>> | University of Moratuwa* >>>>>> *Intern Software Engineer**| WSO2 Lanka (Pvt) Ltd.* >>>>>> *Blog|** rimmythepaperclip.blogspot.com >>>>>> <http://rimmythepaperclip.blogspot.com>* >>>>>> *Twitter|* @rimmynuts(A.Reemal) >>>>>> *LinkedIn|* lk.linkedin.com/in/achinthareemal/ >>>>>> *Mobile| *0715471301 >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Kasun Indrasiri >>>>> Software Architect >>>>> WSO2, Inc.; http://wso2.com >>>>> lean.enterprise.middleware >>>>> >>>>> cell: +94 77 556 5206 >>>>> Blog : http://kasunpanorama.blogspot.com/ >>>>> >>>> >>>> >>>> >>>> -- >>>> Kasun Indrasiri >>>> Software Architect >>>> WSO2, Inc.; http://wso2.com >>>> lean.enterprise.middleware >>>> >>>> cell: +94 77 556 5206 >>>> Blog : http://kasunpanorama.blogspot.com/ >>>> >>> >>> >>> >>> -- >>> Best Regards >>> Isuru Ranawaka >>> M: +94714629880 >>> Blog : http://isurur.blogspot.com/ >>> >> >> >> >> -- >> *G.H.Achintha Reemal* >> *BSc Eng Undergraduate| Department of Computer Science & Engineering | >> University of Moratuwa* >> *Intern Software Engineer**| WSO2 Lanka (Pvt) Ltd.* >> *Blog|** rimmythepaperclip.blogspot.com >> <http://rimmythepaperclip.blogspot.com>* >> *Twitter|* @rimmynuts(A.Reemal) >> *LinkedIn|* lk.linkedin.com/in/achinthareemal/ >> *Mobile| *0715471301 >> > > > > -- > *G.H.Achintha Reemal* > *BSc Eng Undergraduate| Department of Computer Science & Engineering | > University of Moratuwa* > *Intern Software Engineer**| WSO2 Lanka (Pvt) Ltd.* > *Blog|** rimmythepaperclip.blogspot.com > <http://rimmythepaperclip.blogspot.com>* > *Twitter|* @rimmynuts(A.Reemal) > *LinkedIn|* lk.linkedin.com/in/achinthareemal/ > *Mobile| *0715471301 > -- Best Regards Isuru Ranawaka M: +94714629880 Blog : http://isurur.blogspot.com/
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
