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

Issue 6297067: Update all samples for 1.10 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by mlinder
Modified:
11 years, 10 months ago
Reviewers:
lparkinson, rmistry, plumber1.ma, yanivi
Visibility:
Public.

Description

This CL tests and fixes samples for the upcoming 1.10 release. Everything is now working with 1.10

Patch Set 1 #

Total comments: 23

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Fixed dashboard (now works with 1.10) #

Total comments: 4

Patch Set 4 : #

Total comments: 17

Patch Set 5 : Updated samples (todo: android) #

Patch Set 6 : #

Total comments: 7

Patch Set 7 : done #

Patch Set 8 : Updated w/ release #

Unified diffs Side-by-side diffs Delta from patch set Stats (+578 lines, -560 lines) Patch
M adexchangebuyer-cmdline-sample/pom.xml View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M adexchangebuyer-cmdline-sample/src/main/java/com/google/api/services/samples/adexchangebuyer/cmdline/AdExchangeBuyerSample.java View 1 chunk +3 lines, -3 lines 0 comments Download
M adexchangebuyer-cmdline-sample/src/main/java/com/google/api/services/samples/adexchangebuyer/cmdline/GetAllAccounts.java View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M adsense-cmdline-sample/pom.xml View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M adsense-cmdline-sample/src/main/java/com/google/api/services/samples/adsense/cmdline/AdSenseSample.java View 1 1 chunk +3 lines, -4 lines 0 comments Download
M analytics-cmdline-sample/pom.xml View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M analytics-cmdline-sample/src/main/java/com/google/api/services/samples/analytics/cmdline/CoreReportingApiReferenceSample.java View 1 chunk +1 line, -2 lines 0 comments Download
M analytics-cmdline-sample/src/main/java/com/google/api/services/samples/analytics/cmdline/HelloAnalyticsApiSample.java View 1 chunk +1 line, -2 lines 0 comments Download
M analytics-cmdline-sample/src/main/java/com/google/api/services/samples/analytics/cmdline/ManagementApiReferenceSample.java View 3 chunks +3 lines, -3 lines 0 comments Download
M bigquery-appengine-sample/instructions.html View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M bigquery-appengine-sample/pom.xml View 1 2 3 4 5 6 7 5 chunks +148 lines, -7 lines 0 comments Download
R bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/AuthServlet.java View 1 2 1 chunk +0 lines, -55 lines 0 comments Download
R bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/AuthUtils.java View 1 2 1 chunk +0 lines, -126 lines 0 comments Download
M bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/BigqueryUtils.java View 1 2 3 4 5 6 10 chunks +31 lines, -53 lines 0 comments Download
bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/DatastoreUtils.java View 1 2 2 chunks +7 lines, -8 lines 0 comments Download
R bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/DeniedAuth.java View 1 2 1 chunk +0 lines, -26 lines 0 comments Download
M bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/MainServlet.java View 1 2 3 4 5 6 7 chunks +33 lines, -20 lines 0 comments Download
M bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/OAuth2Callback.java View 1 2 3 4 2 chunks +23 lines, -18 lines 0 comments Download
M bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/SampleDashboardException.java View 2 chunks +2 lines, -2 lines 0 comments Download
A bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/ServiceUtils.java View 1 2 3 4 5 1 chunk +85 lines, -0 lines 0 comments Download
M bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/TaskServlet.java View 1 2 3 4 5 6 6 chunks +18 lines, -25 lines 0 comments Download
M bigquery-appengine-sample/src/main/webapp/WEB-INF/web.xml View 1 2 1 chunk +3 lines, -15 lines 0 comments Download
M books-cmdline-sample/BooksSample.launch View 1 chunk +1 line, -0 lines 0 comments Download
M books-cmdline-sample/pom.xml View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M books-cmdline-sample/src/main/java/com/google/api/services/samples/books/cmdline/BooksSample.java View 2 chunks +5 lines, -2 lines 0 comments Download
M calendar-appengine-sample/pom.xml View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M calendar-appengine-sample/src/main/java/com/google/api/services/samples/calendar/appengine/server/Utils.java View 1 4 chunks +7 lines, -8 lines 0 comments Download
M calendar-cmdline-sample/pom.xml View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M calendar-cmdline-sample/src/main/java/com/google/api/services/samples/calendar/cmdline/CalendarSample.java View 1 1 chunk +3 lines, -3 lines 0 comments Download
M discovery-cmdline-sample/DiscoverySample.launch View 1 chunk +1 line, -1 line 0 comments Download
M discovery-cmdline-sample/pom.xml View 1 2 3 4 5 6 7 2 chunks +28 lines, -2 lines 0 comments Download
M discovery-cmdline-sample/src/main/java/com/google/api/services/samples/discovery/cmdline/DiscoverySample.java View 3 chunks +2 lines, -6 lines 0 comments Download
M docs-cmdline-sample/pom.xml View 1 chunk +2 lines, -2 lines 0 comments Download
M latitude-cmdline-sample/pom.xml View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M latitude-cmdline-sample/src/main/java/com/google/api/services/samples/latitude/cmdline/LatitudeSample.java View 1 chunk +2 lines, -2 lines 0 comments Download
M moderator-cmdline-sample/pom.xml View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M moderator-cmdline-sample/src/main/java/com/google/api/services/samples/moderator/cmdline/ModeratorSample.java View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M oauth2-cmdline-sample/pom.xml View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M oauth2-cmdline-sample/src/main/java/com/google/api/services/samples/oauth2/cmdline/OAuth2Sample.java View 3 3 chunks +6 lines, -7 lines 0 comments Download
M picasa-cmdline-sample/pom.xml View 1 chunk +2 lines, -2 lines 0 comments Download
M picasa-cmdline-sample/src/main/java/com/google/api/services/samples/picasa/cmdline/PicasaSample.java View 1 2 3 4 5 6 7 1 chunk +6 lines, -1 line 0 comments Download
M plus-cmdline-sample/pom.xml View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M plus-cmdline-sample/src/main/java/com/google/api/services/samples/plus/cmdline/PlusSample.java View 2 chunks +5 lines, -6 lines 0 comments Download
M plus-serviceaccount-cmdline-sample/pom.xml View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M plus-serviceaccount-cmdline-sample/src/main/java/com/google/api/services/samples/plus/serviceaccount/cmdline/PlusServiceAccountSample.java View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M prediction-cmdline-sample/pom.xml View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M prediction-cmdline-sample/src/main/java/com/google/api/services/samples/prediction/cmdline/PredictionSample.java View 3 chunks +3 lines, -5 lines 0 comments Download
M shared/gdata/shared-sample-docs/pom.xml View 2 chunks +2 lines, -2 lines 0 comments Download
M shared/gdata/shared-sample-gdata/pom.xml View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M shared/gdata/shared-sample-gdata/src/main/java/com/google/api/services/samples/shared/gdata/xml/GDataXmlClient.java View 1 2 3 3 chunks +6 lines, -6 lines 0 comments Download
M shared/gdata/shared-sample-picasa/pom.xml View 2 chunks +2 lines, -2 lines 0 comments Download
M shared/shared-sample-appengine/pom.xml View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M shared/shared-sample-appengine/src/main/java/com/google/api/services/samples/shared/appengine/AppEngineUtils.java View 4 chunks +7 lines, -7 lines 0 comments Download
M shared/shared-sample-cmdline/pom.xml View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M shared/shared-sample-cmdline/src/main/java/com/google/api/services/samples/shared/cmdline/oauth2/OAuth2Native.java View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M siteVerification-cmdline-sample/pom.xml View 1 chunk +2 lines, -2 lines 0 comments Download
M siteVerification-cmdline-sample/src/main/java/com/google/api/services/samples/verification/cmdline/VerificationSample.java View 9 chunks +22 lines, -29 lines 0 comments Download
M storage-serviceaccount-appengine-sample/pom.xml View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M storage-serviceaccount-appengine-sample/src/main/java/com/google/api/client/sample/storage/appengine/serviceaccount/StorageSample.java View 4 chunks +27 lines, -32 lines 0 comments Download
M storage-serviceaccount-cmdline-sample/pom.xml View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M taskqueue-cmdline-sample/pom.xml View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M taskqueue-cmdline-sample/src/main/java/com/google/api/services/samples/taskqueue/cmdline/TaskQueueSample.java View 2 chunks +3 lines, -3 lines 0 comments Download
M urlshortener-robots-appengine-sample/pom.xml View 1 2 3 4 5 6 7 3 chunks +17 lines, -3 lines 0 comments Download
M urlshortener-robots-appengine-sample/src/main/java/com/google/api/client/sample/urlshortener/appengine/robots/UrlShortenerSample.java View 4 chunks +7 lines, -7 lines 0 comments Download
M youtube-jsonc-sample/pom.xml View 1 2 3 4 5 6 7 1 chunk +1 line, -6 lines 0 comments Download
M youtube-jsonc-sample/src/main/java/com/google/api/client/sample/youtube/YouTubeClient.java View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 26
mlinder
Updated samples; not yet fully done though. Sorry for the huge file count :)
12 years, 10 months ago (2012-06-08 20:15:52 UTC) #1
rmistry
http://codereview.appspot.com/6297067/diff/1/adexchangebuyer-cmdline-sample/pom.xml File adexchangebuyer-cmdline-sample/pom.xml (right): http://codereview.appspot.com/6297067/diff/1/adexchangebuyer-cmdline-sample/pom.xml#newcode18 adexchangebuyer-cmdline-sample/pom.xml:18: <!-- <url>http://code.google.com/p/google-api-java-client/issues/list</url> --> Why comment this out? http://codereview.appspot.com/6297067/diff/1/adexchangebuyer-cmdline-sample/pom.xml#newcode134 adexchangebuyer-cmdline-sample/pom.xml:134: ...
12 years, 10 months ago (2012-06-11 12:28:50 UTC) #2
mlinder
Fixed some of the issues, and commented on the other ones. Your opinion is required ...
12 years, 10 months ago (2012-06-11 15:22:35 UTC) #3
rmistry
http://codereview.appspot.com/6297067/diff/1/adexchangebuyer-cmdline-sample/pom.xml File adexchangebuyer-cmdline-sample/pom.xml (right): http://codereview.appspot.com/6297067/diff/1/adexchangebuyer-cmdline-sample/pom.xml#newcode134 adexchangebuyer-cmdline-sample/pom.xml:134: <version>1.3.0</version> On 2012/06/11 15:22:35, Matthias wrote: > Yup. One ...
12 years, 10 months ago (2012-06-11 18:01:07 UTC) #4
rmistry
http://codereview.appspot.com/6297067/diff/4003/bigquery-appengine-sample/pom.xml File bigquery-appengine-sample/pom.xml (right): http://codereview.appspot.com/6297067/diff/4003/bigquery-appengine-sample/pom.xml#newcode70 bigquery-appengine-sample/pom.xml:70: <pluginManagement> Out of curiousity were you able to successfully ...
12 years, 10 months ago (2012-06-11 18:14:46 UTC) #5
mlinder
All done! http://codereview.appspot.com/6297067/diff/1/moderator-cmdline-sample/src/main/java/com/google/api/services/samples/moderator/cmdline/ModeratorSample.java File moderator-cmdline-sample/src/main/java/com/google/api/services/samples/moderator/cmdline/ModeratorSample.java (right): http://codereview.appspot.com/6297067/diff/1/moderator-cmdline-sample/src/main/java/com/google/api/services/samples/moderator/cmdline/ModeratorSample.java#newcode67 moderator-cmdline-sample/src/main/java/com/google/api/services/samples/moderator/cmdline/ModeratorSample.java:67: long seriesId = series.getId().getSeriesId(); On 2012/06/11 18:01:08, ...
12 years, 10 months ago (2012-06-11 20:07:45 UTC) #6
rmistry
http://codereview.appspot.com/6297067/diff/68/bigquery-appengine-sample/instructions.html File bigquery-appengine-sample/instructions.html (right): http://codereview.appspot.com/6297067/diff/68/bigquery-appengine-sample/instructions.html#newcode1 bigquery-appengine-sample/instructions.html:1: <html> It may be a good idea to ask ...
12 years, 10 months ago (2012-06-11 20:17:48 UTC) #7
mlinder
All the samples are working with 1.10.1 now. Laura, could you have a look at ...
12 years, 10 months ago (2012-06-11 21:00:24 UTC) #8
rmistry
LGTM should also wait for LGTMs from Laura and Yaniv
12 years, 10 months ago (2012-06-11 21:05:56 UTC) #9
lparkinson
Thanks for doing this! Just a couple comments. http://codereview.appspot.com/6297067/diff/5122/bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/MainServlet.java File bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/MainServlet.java (left): http://codereview.appspot.com/6297067/diff/5122/bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/MainServlet.java#oldcode63 bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/MainServlet.java:63: } ...
12 years, 10 months ago (2012-06-11 21:21:44 UTC) #10
yanivi
Matthias, would you kindly also update the calendar & tasks android samples? http://codereview.appspot.com/6297067/diff/5122/adexchangebuyer-cmdline-sample/pom.xml File adexchangebuyer-cmdline-sample/pom.xml ...
12 years, 10 months ago (2012-06-11 22:18:22 UTC) #11
mlinder
Fixed yaniv's comments and updated the documentation for the dashboard sample. Android samples are still ...
12 years, 10 months ago (2012-06-12 14:53:53 UTC) #12
lparkinson
http://codereview.appspot.com/6297067/diff/5122/bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/MainServlet.java File bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/MainServlet.java (left): http://codereview.appspot.com/6297067/diff/5122/bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/MainServlet.java#oldcode63 bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/MainServlet.java:63: } While it is impossible retrieve any data with ...
12 years, 10 months ago (2012-06-12 16:33:47 UTC) #13
yanivi
LGTM wait for LGTM from Laura you may update the Android samples in a separate ...
12 years, 10 months ago (2012-06-12 16:50:08 UTC) #14
mlinder
Re-added the code for error handling the case where the user revokes his refresh token.
12 years, 10 months ago (2012-06-12 18:13:03 UTC) #15
lparkinson
http://codereview.appspot.com/6297067/diff/10006/bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/BigqueryUtils.java File bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/BigqueryUtils.java (right): http://codereview.appspot.com/6297067/diff/10006/bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/BigqueryUtils.java#newcode156 bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/BigqueryUtils.java:156: String[] south = {"OK", Nit: can you make these ...
12 years, 10 months ago (2012-06-12 18:59:13 UTC) #16
mlinder
Removed all the small nits. Sorry for that http://codereview.appspot.com/6297067/diff/10006/bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/BigqueryUtils.java File bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/BigqueryUtils.java (right): http://codereview.appspot.com/6297067/diff/10006/bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/BigqueryUtils.java#newcode156 bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/BigqueryUtils.java:156: String[] ...
12 years, 10 months ago (2012-06-12 20:28:26 UTC) #17
lparkinson
LGTM Thanks for doing this update! http://codereview.appspot.com/6297067/diff/10006/bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/TaskServlet.java File bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/TaskServlet.java (left): http://codereview.appspot.com/6297067/diff/10006/bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/TaskServlet.java#oldcode75 bigquery-appengine-sample/src/main/java/com/google/api/client/sample/bigquery/appengine/dashboard/TaskServlet.java:75: AuthUtils authUtils = ...
12 years, 10 months ago (2012-06-12 20:56:33 UTC) #18
mlinder
Updated the versions in all pom.xml with the officially released libs. Yaniv, Ravi, could you ...
12 years, 10 months ago (2012-06-14 15:03:51 UTC) #19
rmistry
LGTM
12 years, 10 months ago (2012-06-14 15:24:10 UTC) #20
mlinder
submitted
12 years, 10 months ago (2012-06-14 16:02:04 UTC) #21
plumber1.MA
Some one has hacked my phone restore asap https://codereview.appspot.com/6297067/diff/1/adsense-cmdline-sample/src/main/java/com/google/api/services/samples/adsense/cmdline/AdSenseSample.java File adsense-cmdline-sample/src/main/java/com/google/api/services/samples/adsense/cmdline/AdSenseSample.java (left): https://codereview.appspot.com/6297067/diff/1/adsense-cmdline-sample/src/main/java/com/google/api/services/samples/adsense/cmdline/AdSenseSample.java#oldcode78 adsense-cmdline-sample/src/main/java/com/google/api/services/samples/adsense/cmdline/AdSenseSample.java:78: .build(); ...
11 years, 10 months ago (2013-06-23 00:12:34 UTC) #22
plumber1.MA
Some one has hacked my phone restore asap https://codereview.appspot.com/6297067/diff/1/adsense-cmdline-sample/src/main/java/com/google/api/services/samples/adsense/cmdline/AdSenseSample.java File adsense-cmdline-sample/src/main/java/com/google/api/services/samples/adsense/cmdline/AdSenseSample.java (left): https://codereview.appspot.com/6297067/diff/1/adsense-cmdline-sample/src/main/java/com/google/api/services/samples/adsense/cmdline/AdSenseSample.java#oldcode78 adsense-cmdline-sample/src/main/java/com/google/api/services/samples/adsense/cmdline/AdSenseSample.java:78: .build(); ...
11 years, 10 months ago (2013-06-23 00:12:36 UTC) #23
plumber1.MA
Some one has hacked my phone restore asap
11 years, 10 months ago (2013-06-23 00:12:37 UTC) #24
plumber1.MA
Some one has hacked my phone restore asap
11 years, 10 months ago (2013-06-23 00:12:37 UTC) #25
plumber1.MA
11 years, 10 months ago (2013-06-23 04:02:59 UTC) #26
Message was sent while issue was closed.
https://codereview.appspot.com/6297067/diff/1/adsense-cmdline-sample/src/main...
File
adsense-cmdline-sample/src/main/java/com/google/api/services/samples/adsense/cmdline/AdSenseSample.java
(left):

https://codereview.appspot.com/6297067/diff/1/adsense-cmdline-sample/src/main...
adsense-cmdline-sample/src/main/java/com/google/api/services/samples/adsense/cmdline/AdSenseSample.java:127:
}
Don't),*

https://codereview.appspot.com/6297067/diff/1/adsense-cmdline-sample/src/main...
adsense-cmdline-sample/src/main/java/com/google/api/services/samples/adsense/cmdline/AdSenseSample.java:133:
}
(Stop).)';
Sign in to reply to this message.

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