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

Issue 7413046: Add GCS sample demonstrating batch requests, pagination, and service account auth.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by yovadia
Modified:
11 years, 1 month ago
CC:
bigstore-team+cr_google.com, marccohen
Visibility:
Public.

Description

Add GCS sample demonstrating batch requests, pagination, and service account auth.

Patch Set 1 #

Total comments: 9

Patch Set 2 : Responded to review comments, fixed service auth, added docs links, fixed service auth usage. #

Total comments: 2

Patch Set 3 : Fixed credential storage usage for service accounts. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -10 lines) Patch
M acl_setter.py View 1 2 1 chunk +10 lines, -10 lines 0 comments Download

Messages

Total messages: 11
yovadia
11 years, 2 months ago (2013-02-28 20:59:00 UTC) #1
jcgregorio_google
On 2013/02/28 20:59:00, yova... wrote: What repository is this sample being added to?
11 years, 2 months ago (2013-02-28 21:03:07 UTC) #2
yovadia
This is for the GoogleCloudPlatform <https://github.com/GoogleCloudPlatform>organization on github. It might also be worth noting that ...
11 years, 2 months ago (2013-02-28 21:10:22 UTC) #3
jterrace
https://codereview.appspot.com/7413046/diff/1/README.md File README.md (right): https://codereview.appspot.com/7413046/diff/1/README.md#newcode14 README.md:14: (a.k.a. the GCS JSON API) is in Limited Preview, ...
11 years, 2 months ago (2013-02-28 21:11:16 UTC) #4
yovadia
Thanks Jeff. I should probably note that service account auth isn't working (apparently earlier testing ...
11 years, 2 months ago (2013-02-28 21:41:52 UTC) #5
yovadia
Service auth is fixed; PTAL. https://codereview.appspot.com/7413046/diff/1/README.md File README.md (right): https://codereview.appspot.com/7413046/diff/1/README.md#newcode14 README.md:14: (a.k.a. the GCS JSON ...
11 years, 2 months ago (2013-02-28 22:52:54 UTC) #6
jterrace
LGTM
11 years, 2 months ago (2013-02-28 23:38:56 UTC) #7
yovadia
Ping?
11 years, 1 month ago (2013-03-04 17:10:01 UTC) #8
jcgregorio_google
https://codereview.appspot.com/7413046/diff/9001/acl_setter.py File acl_setter.py (right): https://codereview.appspot.com/7413046/diff/9001/acl_setter.py#newcode102 acl_setter.py:102: creds = credential_storage.get() I'm not sure this path will ...
11 years, 1 month ago (2013-03-04 17:22:05 UTC) #9
yovadia
Thanks; PTAL. https://codereview.appspot.com/7413046/diff/9001/acl_setter.py File acl_setter.py (right): https://codereview.appspot.com/7413046/diff/9001/acl_setter.py#newcode102 acl_setter.py:102: creds = credential_storage.get() On 2013/03/04 17:22:06, jcgregorio_google ...
11 years, 1 month ago (2013-03-04 17:57:50 UTC) #10
jcgregorio_google
11 years, 1 month ago (2013-03-04 18:48:11 UTC) #11
LGTM

On 2013/03/04 17:57:50, yova... wrote:
> Thanks; PTAL.
> 
> https://codereview.appspot.com/7413046/diff/9001/acl_setter.py
> File acl_setter.py (right):
> 
> https://codereview.appspot.com/7413046/diff/9001/acl_setter.py#newcode102
> acl_setter.py:102: creds = credential_storage.get()
> On 2013/03/04 17:22:06, jcgregorio_google wrote:
> > I'm not sure this path will ever get executed. You've created a fresh creds
> > above, and it won't be null, not will it be invalid.
> > 
> > Instead, create the store and read the credential from it, if it returns
None
> > then instantiate the SignedJwtAssertionCredentials and call set_store() on
it
> so
> > it uses the Storage you created.
> 
> Sorry, that was pretty silly; thanks for catching it.
Sign in to reply to this message.

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