Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(87)

Issue 1712043: Adding capability in accel servlet to act as accelerating proxy (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 9 months ago by gagan.goku
Modified:
15 years, 9 months ago
Reviewers:
johnfargo, zhoresh, shindig.remailer, dev-remailer
CC:
cool-shindig-committers_googlegroups.com
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk/
Visibility:
Public.

Description

- Adding accel servlet as catch all servlet - Modifying AccelUriManager to deal with all urls.

Patch Set 1 #

Patch Set 2 : fixing_tests_but_some_messy #

Patch Set 3 : fixing_tests #

Total comments: 13

Patch Set 4 : fixing_comments #

Patch Set 5 : fixing_more_comments #

Patch Set 6 : minor_fix #

Total comments: 6

Patch Set 7 : fixing_more_comments #

Patch Set 8 : reverting_idiot_tests #

Patch Set 9 : small_fix #

Patch Set 10 : syncing_to_head #

Patch Set 11 : tested_and_uploaded #

Total comments: 1

Messages

Total messages: 11
gagan.goku
Please review.
15 years, 9 months ago (2010-06-21 05:07:37 UTC) #1
zhoresh
http://codereview.appspot.com/1712043/diff/5001/6005 File java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/AccelUriManager.java (right): http://codereview.appspot.com/1712043/diff/5001/6005#newcode65 java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/AccelUriManager.java:65: String accelPath = config.getString(container, PROXY_PATH_PARAM); Shouldn't it be accel_path? ...
15 years, 9 months ago (2010-06-21 21:50:25 UTC) #2
johnfargo
http://codereview.appspot.com/1712043/diff/5001/6003 File java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/AccelHandler.java (right): http://codereview.appspot.com/1712043/diff/5001/6003#newcode123 java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/AccelHandler.java:123: Uri normalizedUri = Uri.parse(proxiedUri.getQueryParameter( surround this with try/catch(UriException) for ...
15 years, 9 months ago (2010-06-21 22:55:13 UTC) #3
gagan.goku
http://codereview.appspot.com/1712043/diff/5001/6003 File java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/AccelHandler.java (right): http://codereview.appspot.com/1712043/diff/5001/6003#newcode123 java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/AccelHandler.java:123: Uri normalizedUri = Uri.parse(proxiedUri.getQueryParameter( On 2010/06/21 22:55:13, johnfargo wrote: ...
15 years, 9 months ago (2010-06-22 02:11:18 UTC) #4
fargo
On Mon, Jun 21, 2010 at 7:11 PM, <gagan.goku@gmail.com> wrote: > > http://codereview.appspot.com/1712043/diff/5001/6003 > File ...
15 years, 9 months ago (2010-06-22 02:31:12 UTC) #5
gagan.goku
Done. On 2010/06/22 02:31:12, fargo wrote: > On Mon, Jun 21, 2010 at 7:11 PM, ...
15 years, 9 months ago (2010-06-22 03:08:17 UTC) #6
johnfargo
final nits, should just be 1 more iteration. http://codereview.appspot.com/1712043/diff/19001/20005 File java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/AccelUriManager.java (right): http://codereview.appspot.com/1712043/diff/19001/20005#newcode32 java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/AccelUriManager.java:32: final ...
15 years, 9 months ago (2010-06-22 03:36:33 UTC) #7
gagan.goku
http://codereview.appspot.com/1712043/diff/19001/20005 File java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/AccelUriManager.java (right): http://codereview.appspot.com/1712043/diff/19001/20005#newcode32 java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/AccelUriManager.java:32: final String PROXY_PATH_PARAM = DefaultProxyUriManager.PROXY_PATH_PARAM; On 2010/06/22 03:36:33, johnfargo ...
15 years, 9 months ago (2010-06-22 04:59:45 UTC) #8
johnfargo
LGTM, committed. On 2010/06/22 04:59:45, gagan.goku wrote: > http://codereview.appspot.com/1712043/diff/19001/20005 > File > java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/AccelUriManager.java > (right): ...
15 years, 9 months ago (2010-06-22 23:23:40 UTC) #9
johnfargo
(I made this change myself before committing) http://codereview.appspot.com/1712043/diff/7002/32004 File java/gadgets/src/test/java/org/apache/shindig/gadgets/uri/DefaultAccelUriManagerTest.java (right): http://codereview.appspot.com/1712043/diff/7002/32004#newcode66 java/gadgets/src/test/java/org/apache/shindig/gadgets/uri/DefaultAccelUriManagerTest.java:66: uriManager.parseAndNormalize(uri).toString()); to ...
15 years, 9 months ago (2010-06-22 23:23:55 UTC) #10
gagan.goku
15 years, 9 months ago (2010-06-22 23:25:46 UTC) #11
On 2010/06/22 23:23:55, johnfargo wrote:
> (I made this change myself before committing)
> 
> http://codereview.appspot.com/1712043/diff/7002/32004
> File
>
java/gadgets/src/test/java/org/apache/shindig/gadgets/uri/DefaultAccelUriManagerTest.java
> (right):
> 
> http://codereview.appspot.com/1712043/diff/7002/32004#newcode66
>
java/gadgets/src/test/java/org/apache/shindig/gadgets/uri/DefaultAccelUriManagerTest.java:66:
> uriManager.parseAndNormalize(uri).toString());
> to make this (and the next 2) tests less prone to flakiness, let's do an
> assertEquals on the Uris themselves (ie. parse the first String)

Thanks John
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b