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

Issue 1955045: Album/MediaItem Implementation

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 8 months ago by Paul Lindner
Modified:
13 years, 8 months ago
Reviewers:
henry.saputra, dev-remailer
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk/
Visibility:
Public.

Description

Patch from Eric Woods for SHINDIG-1410

Patch Set 1 #

Total comments: 14

Messages

Total messages: 2
henry.saputra
Some comments. Correct me if I am wrong but AFAIK we need to add Operation.name ...
13 years, 8 months ago (2010-08-17 02:15:50 UTC) #1
henry.saputra
13 years, 8 months ago (2010-08-17 02:36:58 UTC) #2
Hi guys,

Please ignore the review to add name to the Operation annotation =(

I missed the code
String opName = m.getName(); 
in the DefaultHandlerRegistry.createRpcHandler() function which takes method
name as opName default.

Sorry.

I hate Mondays =P

- Henry

http://codereview.appspot.com/1955045/diff/1/4
File
java/social-api/src/main/java/org/apache/shindig/social/opensocial/service/AlbumHandler.java
(right):

http://codereview.appspot.com/1955045/diff/1/4#newcode64
java/social-api/src/main/java/org/apache/shindig/social/opensocial/service/AlbumHandler.java:64:
@Operation(httpMethods = "POST", bodyParam = "album")
Arrgh ignore this, miss the code
String opName = m.getName(); which takes method name as opName default =(

http://codereview.appspot.com/1955045/diff/1/4#newcode131
java/social-api/src/main/java/org/apache/shindig/social/opensocial/service/AlbumHandler.java:131:
@Operation(httpMethods = "PUT", bodyParam = "album")
Arrgh ignore this, miss the code
String opName = m.getName(); which takes method name as opName default =(

http://codereview.appspot.com/1955045/diff/1/4#newcode156
java/social-api/src/main/java/org/apache/shindig/social/opensocial/service/AlbumHandler.java:156:
@Operation(httpMethods = "DELETE")
Arrgh ignore this, miss the code
String opName = m.getName(); which takes method name as opName default =(

http://codereview.appspot.com/1955045/diff/1/5
File
java/social-api/src/main/java/org/apache/shindig/social/opensocial/service/MediaItemHandler.java
(right):

http://codereview.appspot.com/1955045/diff/1/5#newcode118
java/social-api/src/main/java/org/apache/shindig/social/opensocial/service/MediaItemHandler.java:118:
@Operation(httpMethods = "DELETE")
Arrgh ignore this, miss the code
String opName = m.getName(); which takes method name as opName default =(

http://codereview.appspot.com/1955045/diff/1/5#newcode144
java/social-api/src/main/java/org/apache/shindig/social/opensocial/service/MediaItemHandler.java:144:
@Operation(httpMethods = "POST", bodyParam = "mediaItem")
Arrgh ignore this, miss the code
String opName = m.getName(); which takes method name as opName default =(

http://codereview.appspot.com/1955045/diff/1/5#newcode169
java/social-api/src/main/java/org/apache/shindig/social/opensocial/service/MediaItemHandler.java:169:
@Operation(httpMethods = "PUT", bodyParam = "mediaItem")
Arrgh ignore this, miss the code
String opName = m.getName(); which takes method name as opName default =(
Sign in to reply to this message.

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