Return-Path: Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: (qmail 15181 invoked from network); 17 Feb 2011 11:35:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Feb 2011 11:35:22 -0000 Received: (qmail 51568 invoked by uid 500); 17 Feb 2011 11:35:22 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 51219 invoked by uid 500); 17 Feb 2011 11:35:18 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Received: (qmail 51210 invoked by uid 99); 17 Feb 2011 11:35:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Feb 2011 11:35:16 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sberyozkin@gmail.com designates 209.85.214.41 as permitted sender) Received: from [209.85.214.41] (HELO mail-bw0-f41.google.com) (209.85.214.41) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Feb 2011 11:35:08 +0000 Received: by bwz16 with SMTP id 16so2445916bwz.0 for ; Thu, 17 Feb 2011 03:34:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=KVGbijtF4Rqh7Ub8FXH0ZXKXb+98s79YtVYwz9YCgZs=; b=K4/wQqaBtu0JZGyqhOwhHXKJ5wH2scfBRSsWL8daUya/kuAxtX9KrJtcgMhlTTayIP PLSm2/joEIb+7dieTH0MwIuJcyMvwHSL1ZLH1/2oRFy1F5ET/bdoEFqqjEQXL+5xtYme HemCnHOwbZXvk1rsHpCFnOGsQELp/097c8gM8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=YBsJ5l54CUMUVYUZ5aLWRZG2GwAHa2qVmMsF2ijZsI2yz2oI2eFFhPRsNaYcEt40uA sfLbWo9r05oQKvglNm5ZAEi9iNuY7XfxtcuqEPOXg+WMqUGKwpxwIZxBsRmDgoVjEllx CktrH1rf26YsmRzae8sX55zg/OPrJ8tqKJxR0= MIME-Version: 1.0 Received: by 10.204.52.134 with SMTP id i6mr1554809bkg.36.1297942488165; Thu, 17 Feb 2011 03:34:48 -0800 (PST) Received: by 10.204.14.14 with HTTP; Thu, 17 Feb 2011 03:34:48 -0800 (PST) In-Reply-To: References: Date: Thu, 17 Feb 2011 11:34:48 +0000 Message-ID: Subject: Re: LogBrowser project is on the trunk From: Sergey Beryozkin To: Tomasz Oponowicz Cc: dev@cxf.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Tomasz >>>> >>>> 1. LogBrowser has a showstopper bug which I'm sure is due to the fact = we >>>> just did not look at it for a while :-). Basically, when I go and gene= rate >>>> the logs, and then click 'refresh' on the endpoint, the browser report= s an >>>> exception. > > I can't reproduce this (however it doesn't mean that there isn't bug ;) )= . > > To solidify my understanding, use case: > > 1) Run 'logbrowser' through sample; > 2) Go to 'http://localhost:9002/log/browser/LogBrowser.html'; > 3) Add new endpoint with URL 'http://localhost:9002/log/logs'; > 4) Select newly created endpoint; > 5) In new tab open 'http://localhost:9002/customer-service.html' and > add few 'customers'; > 6) Go back to 'logbrowser'; > 6) Click 'refresh' link; > > Expected: > List is refreshed and new items are shown. > > Environment: > Firefox 3.6.x > > Is this use case correct? Thanks for your help. > It is, I'll try again asap - definitely looks like a platform/browser specific issue, it's Ubuntu 9 + FireFox 3.6.13 which I upgraded to recently using the apt-get facility...So I'm not worried really then, but I'll try again, and on Windows too... > Maybe try with force refresh (i.e. "Ctrl + R"). However I have to add > revision number to static resources URL to avoid cache problems. > >> this is is the only main issue at the moment >>>> >>>> 2. Please move ManageEndpoints button either immediately above or belo= w the >>>> Filter button >>> >>> You mean something similar to "original" layout - "Manage endpoint" is >>> "attached" to the bottom of the page? >>> >> >> I'm thinking that given we have a Filter button in the bottom of the >> left-side pane, it would be ok to have both 'Manage Endpoints' and >> 'Filters' co-located... >> >>>> 3. Remove the Tasks and Endpoints buttons/entries, lets have it the wa= y you >>>> did it originally. We only need to=A0 see the list of endpoints which = will be >>>> added via "ManageEndpoints", the explorer style is just too complex. >>>> >>>> 4. When I go to ManageEndpoints, "Sign Out" leaks into the new panel a= nd >>>> overlaps with the "Settings" entry, > > Fixed. Super > >>> Looks like 2, 3, 4 are layout problems... I have to clean up this. At >>> the moment we are using mix of CSS and "table layout". I'm not CSS >>> expert so I will fix it by moving problematic parts to "table layout". > > I noticed that when you use latest Chrome or Safari, list of logs and > detailed view isn't shown. I consider this as a blocker. I will > prepare fix for this ASAP. May be it's somehow related to what I see with the application exception above... What I will need to do is to provide an abstract utility ReadableStorage implementation which can be easily overridden to have the file-based logs viewable. I don't think we can make LogBrowser perfect and feature-complete by the 2.4.0 is released, but hope users will give it a try anyway... Few other "would be nice to fix" issues - definitely not show stoppers : - LogBrowser has the 'embedded' providers, one for servicing the gzipped file and another one for unqualified JSON, this would be nice to move to the demo's Application (JSONProvider can be configured directly to drop the namespaces) - I can look into it - Authentication: I've noticed there's AuthenticationRequired annotation attached to some of the BootstrapStorage methods - we really need to remove this annotation and for now just pop-up a login window on the browser start-up. Users will be configuring the LogBrowser application as part of the real deployments. So what would be good is to write the GWT client code such that it only pops up a window when the initial GET returns 401 - can you use CXF WebClient there and do 'Response r =3D webClient.get()' and if r.getStatus() =3D=3D 401 then pop-up a login dialog ? We can deal with this issue later, when we have more time, and then we'll also decide whether to support https in cases when the authentication is needed or may be do the UT profile, we'll see... Thanks, Sergey. > > -- > Best regards, > Tomasz Oponowicz >