Re: [GSOC] Simple and lightweight HTML-based browser for surveying Apache CXF logs

2010-07-25 Thread Tomasz Oponowicz
Hi,

I've got some problem and I can't figure it out:

LogBrowser contains BootstrapStorage service. It's used to retrieve
user's settings from server - It's crucial service and user must
include it in his application in order to use LogBrowser. At the
moment BootstrapStorage service contains filters of two kinds. One
depends on user, e.g. AbstractAuthenticationFilter. Others are always
required, e.g. configured JSONProvider and
BootstrapStorage.StaticFileProvider.

Is there any way I can include this filters automatically without
user knowledge (e.g. by annoation or programmatically). I found only
something like this:

@org.apache.cxf.interceptor.InInterceptors (interceptors =
{com.example.Test1Interceptor })

On Thu, Jul 15, 2010 at 11:19 PM, Sergey Beryozkin sberyoz...@gmail.com wrote:
 Hi Tomasz



  - how do you consider letting users browse through the entries given that
 a
  number of entries to be displayed on a page is limited - there should be
  first/previous/next/last links.

 This is already implemented. first/previous/next/last links are
 visible or hidden depend on response from AtomPullServer.

 For example:

 feed xmlns=http://www.w3.org/2005/Atom;
    [...]
    link href=http://localhost:/log/logs; rel=self/
    link href=http://localhost:/log/logs/alternate/1;
 rel=alternate/
    link href=http://localhost:/log/logs/2; rel=next/
    link href=http://localhost:/log/logs/4; rel=last/
    [...]
 /feed

 There are visible only refresh, next and last links. first and
 previous links are hidden.


 sorry, I guess I should've generated more log entries - will try later...

 by the way - given that it is an HTML-aware browser, you may want to use the
 'alternate' links to retrieve the content to be displayed, both for the feed
 and for individual entries

 thanks, Sergey




-- 
Best regards,
Tomasz Oponowicz


Re: [GSOC] Simple and lightweight HTML-based browser for surveying Apache CXF logs

2010-07-25 Thread Sergey Beryozkin
Hi Tomasz

On Sun, Jul 25, 2010 at 5:51 PM, Tomasz Oponowicz 
tomasz.oponow...@gmail.com wrote:

 Hi,

 I've got some problem and I can't figure it out:

 LogBrowser contains BootstrapStorage service. It's used to retrieve
 user's settings from server - It's crucial service and user must
 include it in his application in order to use LogBrowser. At the
 moment BootstrapStorage service contains filters of two kinds. One
 depends on user, e.g. AbstractAuthenticationFilter. Others are always
 required, e.g. configured JSONProvider and
 BootstrapStorage.StaticFileProvider.

 Is there any way I can include this filters automatically without
 user knowledge (e.g. by annoation or programmatically). I found only
 something like this:

 @org.apache.cxf.interceptor.InInterceptors (interceptors =
 {com.example.Test1Interceptor })

 Currently, registering providers with (CXF) JAXRS endpoints requires the
explicit configuration, either
from Spring or from CXFNonSpringJaxrsServlet. No scanning is supported. I'm
hoping that in time what
StaticFileProvider does will be supported by AbstractHttpServlet. Perhaps
@Providers annotation can also be added in time

thanks, Sergey




 On Thu, Jul 15, 2010 at 11:19 PM, Sergey Beryozkin sberyoz...@gmail.com
 wrote:
  Hi Tomasz
 
 
 
   - how do you consider letting users browse through the entries given
 that
  a
   number of entries to be displayed on a page is limited - there should
 be
   first/previous/next/last links.
 
  This is already implemented. first/previous/next/last links are
  visible or hidden depend on response from AtomPullServer.
 
  For example:
 
  feed xmlns=http://www.w3.org/2005/Atom;
 [...]
 link href=http://localhost:/log/logs; rel=self/
 link href=http://localhost:/log/logs/alternate/1;
  rel=alternate/
 link href=http://localhost:/log/logs/2; rel=next/
 link href=http://localhost:/log/logs/4; rel=last/
 [...]
  /feed
 
  There are visible only refresh, next and last links. first and
  previous links are hidden.
 
 
  sorry, I guess I should've generated more log entries - will try later...
 
  by the way - given that it is an HTML-aware browser, you may want to use
 the
  'alternate' links to retrieve the content to be displayed, both for the
 feed
  and for individual entries
 
  thanks, Sergey
 



 --
 Best regards,
 Tomasz Oponowicz



[RESULT][VOTE] Release CXF dOSGi 1.2

2010-07-25 Thread Eoghan Glynn
Folks,

I'm going to declare this vote as passed, with the following votes cast:

+1: Sean O'Callaghan, Sergey Beryozkin, David Bosschaert, Marc Schaaf, Jeff
Genender, Dan Kulp, Eoghan Glynn

I've promoted the artifacts to central and copied the distributions to the
cxf/dosgi/dist directory.

Cheers,
Eoghan


Re: svn commit: r979133 - /cxf/trunk/pom.xml

2010-07-25 Thread Benson Margulies
Maven 3? Ugh. Is the invoker not supported?

I guess you'll have to stick with mvn2 when using this to exercise the
samples until I figure it out.

On Sun, Jul 25, 2010 at 9:43 PM,  dk...@apache.org wrote:
 Author: dkulp
 Date: Mon Jul 26 01:43:41 2010
 New Revision: 979133

 URL: http://svn.apache.org/viewvc?rev=979133view=rev
 Log:
 remove the new test-samples thing for now (doesn't work with mvn 3)

 Modified:
    cxf/trunk/pom.xml

 Modified: cxf/trunk/pom.xml
 URL: 
 http://svn.apache.org/viewvc/cxf/trunk/pom.xml?rev=979133r1=979132r2=979133view=diff
 ==
 --- cxf/trunk/pom.xml (original)
 +++ cxf/trunk/pom.xml Mon Jul 26 01:43:41 2010
 @@ -161,7 +161,7 @@
         modulert/module
         moduleintegration/module
         modulemaven-plugins/module
 -       moduletest-samples/module
 +       !--moduletest-samples/module--
         modulesystests/module
     /modules