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

Issue 3574041: GadgetHandlerApi cleanups

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

Description

- Resolve naming confusion by renaming token request input params to AuthContext. - Add Rendering type - With the new caja function, proxy should not support cajoling. - clean minor compiler warnings

Patch Set 1 #

Total comments: 3

Patch Set 2 : Consalidate request params to an enum, s/ignoreCache/nocache/ and s/mime-type/mime_type/ #

Total comments: 1

Messages

Total messages: 9
zhoresh
15 years, 2 months ago (2010-12-10 02:33:19 UTC) #1
Jasvir
In the interest of clean up org.apache.shindig.gadgets.render.CajaResponseRewriter and associated tests should probably also be deleted. ...
15 years, 2 months ago (2010-12-10 05:25:01 UTC) #2
zhoresh
On Thu, Dec 9, 2010 at 9:25 PM, <jasvir@gmail.com> wrote: > In the interest of ...
15 years, 2 months ago (2010-12-10 17:10:46 UTC) #3
johnfargo
http://codereview.appspot.com/3574041/diff/1/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/GadgetsHandler.java File java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/GadgetsHandler.java (right): http://codereview.appspot.com/3574041/diff/1/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/GadgetsHandler.java#newcode423 java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/GadgetsHandler.java:423: if ("1".equals(param)) { Seems like a good idea. We ...
15 years, 2 months ago (2010-12-10 19:33:03 UTC) #4
zhoresh
Consalidate request params to an enum, s/ignoreCache/nocache/ and s/mime-type/mime_type/
15 years, 2 months ago (2010-12-10 20:56:58 UTC) #5
zhoresh
I updated the patch to make the request parameters for the json request more consistent ...
15 years, 2 months ago (2010-12-10 21:02:23 UTC) #6
johnfargo
LGTM Re: the enum, you could always impl something like: static <T extends Enum<?>> getRenderingContext(String ...
15 years, 2 months ago (2010-12-10 21:18:41 UTC) #7
Jasvir
LGTM http://codereview.appspot.com/3574041/diff/12001/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/GadgetsHandler.java File java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/GadgetsHandler.java (right): http://codereview.appspot.com/3574041/diff/12001/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/GadgetsHandler.java#newcode591 java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/GadgetsHandler.java:591: this.mimeType = getParam(request, Param.MIME_TYPE, "text/html"); ok
15 years, 2 months ago (2010-12-10 21:45:12 UTC) #8
zhoresh
15 years, 2 months ago (2010-12-11 00:08:27 UTC) #9
Thanks for the review. submitted to r1044534

The change modify the API but since it is brand new service I don't worry about
backward compatibility.
We hope to start to use it in production very soon (Jan), so if anyone have any
other comments or suggestions that will modify the API, now is the time!
Sign in to reply to this message.

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