Re: Review Request 12685: CLOUDSTACK-1532 added utility functions to scan URIs

2013-08-06 Thread Dave Cahill
Hi Daan / Alex, Sorry I missed this change at the time, but it looks problematic to me. The code is trying to check for a scheme part in the incoming value, and doesn't add a scheme if value already has one. Therefore, if the scheme check has a false positive (it thinks the value has a scheme,

Re: Review Request 12685: CLOUDSTACK-1532 added utility functions to scan URIs

2013-08-06 Thread Dave Cahill
Hi, Adding Daan's reply - I sent to the wrong dev@ first time around, so the reply went astray: On Tue, Aug 6, 2013 at 10:30 AM, Dave Cahill dcah...@midokura.com wrote: I'm pretty sure the current scheme check is invalid given the URI spec, but definitely shout if I'm off base. You are

RE: Review Request 12685: CLOUDSTACK-1532 added utility functions to scan URIs

2013-07-24 Thread Daan Hoogland
*To:* Alex Huang *Cc:* Hugo Trippaers; cloudstack *Subject:* Re: Review Request 12685: CLOUDSTACK-1532 added utility functions to scan URIs ** ** Your remarks on the assert resembles a comment in the code that I didn't write ;) But seriously; If the string contains a scheme

RE: Review Request 12685: CLOUDSTACK-1532 added utility functions to scan URIs

2013-07-24 Thread Alex Huang
: cloudstack Subject: RE: Review Request 12685: CLOUDSTACK-1532 added utility functions to scan URIs Ok, I don't like changing this enum. I'd rather throw it out and start over but you are answering the question by sharing your views on school of programming, i think. BroadcastDomainType by its name

Re: Review Request 12685: CLOUDSTACK-1532 added utility functions to scan URIs

2013-07-21 Thread Daan Hoogland
/CLOUDSTACK/Exceptions+and+logging ** ** --Alex ** ** *From:* Daan Hoogland [mailto:daan.hoogl...@gmail.com] *Sent:* Saturday, July 20, 2013 3:25 AM *To:* Alex Huang *Cc:* Hugo Trippaers; cloudstack *Subject:* Re: Review Request 12685: CLOUDSTACK-1532 added utility functions

RE: Review Request 12685: CLOUDSTACK-1532 added utility functions to scan URIs

2013-07-21 Thread Alex Huang
Daan, I'm not sure I understand what you're saying here. --Alex From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] Sent: Sunday, July 21, 2013 4:23 AM To: Alex Huang Cc: Hugo Trippaers; cloudstack Subject: Re: Review Request 12685: CLOUDSTACK-1532 added utility functions to scan URIs Alex

Re: Review Request 12685: CLOUDSTACK-1532 added utility functions to scan URIs

2013-07-21 Thread Daan Hoogland
; cloudstack *Subject:* Re: Review Request 12685: CLOUDSTACK-1532 added utility functions to scan URIs Alex, it falls through to 'UnDecided' if not known. Do you mean it should throw something? or maybe add an extra 'UnDefined'? On Fri, Jul 19, 2013 at 5:31 PM

Re: Review Request 12685: CLOUDSTACK-1532 added utility functions to scan URIs

2013-07-20 Thread Daan Hoogland
Alex, it falls through to 'UnDecided' if not known. Do you mean it should throw something? or maybe add an extra 'UnDefined'? On Fri, Jul 19, 2013 at 5:31 PM, Alex Huang alex.hu...@citrix.com wrote: This is an automatically generated e-mail. To reply, visit:

RE: Review Request 12685: CLOUDSTACK-1532 added utility functions to scan URIs

2013-07-20 Thread Alex Huang
: Review Request 12685: CLOUDSTACK-1532 added utility functions to scan URIs Alex, it falls through to 'UnDecided' if not known. Do you mean it should throw something? or maybe add an extra 'UnDefined'? On Fri, Jul 19, 2013 at 5:31 PM, Alex Huang alex.hu...@citrix.commailto:alex.hu...@citrix.com

Re: Review Request 12685: CLOUDSTACK-1532 added utility functions to scan URIs

2013-07-19 Thread Wido den Hollander
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/12685/#review23493 --- It seems good to me? Code-wise I can't find anything that isn't

Re: Review Request 12685: CLOUDSTACK-1532 added utility functions to scan URIs

2013-07-19 Thread Hugo Trippaers
On July 19, 2013, 9:41 a.m., Wido den Hollander wrote: It seems good to me? Code-wise I can't find anything that isn't right. I see that Spark404 is also mentioned here, did he get a chance to look at this yet? Yeah, i'm ok with this. I'm actually abusing this patch to test

Re: Review Request 12685: CLOUDSTACK-1532 added utility functions to scan URIs

2013-07-19 Thread Alex Huang
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/12685/#review23515 --- Ship it! master: 2d4464d One review comment is if you are

Review Request 12685: CLOUDSTACK-1532 added utility functions to scan URIs

2013-07-17 Thread daan Hoogland
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/12685/ --- Review request for cloudstack and Hugo Trippaers. Bugs: CLOUDSTACK-1532