Hi Tomasz

On Fri, Apr 2, 2010 at 10:18 AM, Tomasz Oponowicz <
[email protected]> wrote:

> Hi Sergey,
>
> I have prepared sample project using AtomPullServer (base on CXF
> 2.3.0-SNAPSHOT). I successful published Atom feed with CXF logs. Now I
> understand clearly your requirments.
>

it's good you've independently verified that the publication works, thanks.


>
> I have updated my proporsal (at ASF wiki and GSOC 2010 website), changes:
> - Noted about AtomPullServer;
> - Added requirement with respect to implementation of
> ReadWriteLogStorage interface;
>

I think it is something that an AtomPullServer demo could do, that is, show
how a custom
ReadWriteLogStorage can be used to persist records across the restarts. When
reading (only) from the external file, a custom ReadableLogStorage can be
used instead. I'm not sure if we can come up with production-quality default
implementation, perhaps a file-based ReadWriteLogStorage can be provided
OTB, but there's no way we can have a default ReadableOnlyStorage, perhaps
the abstract helper only, given that users's code can log into external
files using log4j, jul, sl4j, using various formats. So perhaps you can have
an optional task to do with adding a demo showing how a user could start a
browser, point it to an AtomPullServer endpoint, and view the logs from some
external file (using ReadableStorage), and then point to another endpoint
which uses ReadWriteLogStorage

- Added Atom authentication requirement;
>

I've been thinking for a while of adding some cxf jaxrs code for handling
WSSE UserName HTTP headers (as opposed to SOAP headers) so that the regular
JAXRS endpoints could do such authentication over plain HTTP too (using
digest), so AtomPullServer will reuse that code (as opposed to bringing an
extra abdera dependency for handling wsse username headers).



> - Fixed language mistakes;
>
> I hope everything is fine now.
>

It all looks very good. A couple of comments:
- IMHO using links as opposed to buttons will be better (for browsing to
first/last/etc feeds)
- The browser should offer users an option to do the search (ex, get all the
records with level INFO logged by a given component between 12.10.2010 14.50
and 12.10.2010 15.00). After collecting a requirement from a user, the
browser will convert it into a FIQL query and issue a request (please see
http://sberyozkin.blogspot.com/2010/03/cxf-jaxrs-search-extensions.html).
This probably can be captured by your 'filtering' task. I'll actually need
to enhance AtomPullServer too for such queries be supported...


thanks, Sergey


> Best Regards,
> Tomasz Oponowicz
>
> On Wed, Mar 31, 2010 at 2:15 PM, Sergey Beryozkin <[email protected]>
> wrote:
> > Hi Tomasz
> >
> > thanks for your interest. I'd be happy to be a mentor.
> >
> > Just a couple of clarifications with respect to your proposal :
> >
> > - CXF JAXRS endpoint acting as an Atom Pull server has already been added
> to
> > a rt/management component, I've briefly described it here :
> >
> http://sberyozkin.blogspot.com/2010/02/use-your-favorite-atom-reader-to-view.html
> .
> > I'll make sure that by the time you start working on this project the
> > documentation will be up-to-date. To my knowledge, no existing atom
> readers
> > support the paged/archived feeds well, thus the idea for the OTB browser
> has
> > come up. Indeed, as you mentioned in your proposal, the same browser may
> be
> > extended later on to support the viewing of the CXF exchanges, it is for
> > this latter task when a dedicated CXF JAXRS endpoint will have to be
> added.
> >
> > - The question of security will need to be addressed as well. Most likely
> > we'll need to use a WSSE UserToken for the Atom authentication, basic
> > authentication over HTTPs may not be a practical solution for viewing the
> > logs...
> >
> > Please post your ideas/questions to this thread when you start working
> and
> > we'll be glad to help
> > cheers, Sergey
> >
> >
> >
> > On Tue, Mar 30, 2010 at 11:40 PM, Tomasz Oponowicz <
> > [email protected]> wrote:
> >
> >> Hi,
> >>
> >> I want to attend the GSOC, and get involved into open source. I chose
> >> project called "Simple and lightweight Atom HTML-based browser for CXF
> >> logs" (CXF-2736) from suggestions in JIRA . Finally I create my
> >> proposal. I guess that Sergey Beryozkin will be mentor for this
> >> project.
> >>
> >> - Proposal in ASF wiki:
> >> http://wiki.apache.org/general/soc2010-cxf2736-proposal
> >>
> >> - Proposal in GSOC:
> >>
> >>
> http://socghop.appspot.com/gsoc/student_proposal/show/google/gsoc2010/tomekopo/t126998466755
> >>
> >> Any comments and suggestions are welcome.
> >> Thanks in advance for your feedback.
> >>
> >> Best Regards,
> >> Tomasz Oponowicz
> >>
> >
>
>
>
> --
> Pozdrawiam,
> Tomasz Oponowicz
>

Reply via email to