Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Issue 2785973002: token-server: Add protos for new API for generating service account tokens. (Closed)

Created:
3 years, 8 months ago by Vadim Sh.
Modified:
3 years, 4 months ago
Reviewers:
iannucci, nodir, smut
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, maruel+w_chromium.org, tandrii+luci-go_chromium.org
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

token-server: Add protos for new API for generating service account tokens. Add initial boilerplate for implementation. Nothing structurally new here, this CL repeats existing patterns in the code. Use this opportunity for minimal cleanup of various comments in proto. R=iannucci@chromium.org, nodir@chromium.org, smut@google.com BUG=731843 Review-Url: https://codereview.chromium.org/2785973002 Committed: https://github.com/luci/luci-go/commit/8fbab6da1f9e6c96cdcea4159a3b8e11f9ccace2

Patch Set 1 #

Total comments: 3

Patch Set 2 : fix tests #

Total comments: 6

Patch Set 3 : rebase #

Patch Set 4 : nits #

Patch Set 5 : more nits #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3430 lines, -1978 lines) Patch
M server/auth/delegation.go View 1 2 2 chunks +8 lines, -1 line 0 comments Download
M server/auth/delegation_test.go View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M tokenserver/api/admin/v1/admin.proto View 1 2 3 chunks +74 lines, -12 lines 0 comments Download
M tokenserver/api/admin/v1/admin.pb.go View 1 2 16 chunks +273 lines, -62 lines 0 comments Download
M tokenserver/api/admin/v1/adminserver_dec.go View 1 2 2 chunks +30 lines, -0 lines 0 comments Download
M tokenserver/api/admin/v1/config.proto View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
M tokenserver/api/admin/v1/config.pb.go View 1 2 3 2 chunks +92 lines, -35 lines 0 comments Download
M tokenserver/api/admin/v1/pb.discovery.go View 1 2 3 1 chunk +1120 lines, -1011 lines 0 comments Download
M tokenserver/api/machine_token.pb.go View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M tokenserver/api/minter/v1/pb.discovery.go View 1 2 3 4 1 chunk +897 lines, -765 lines 0 comments Download
M tokenserver/api/minter/v1/token_minter.proto View 1 2 3 4 6 chunks +151 lines, -19 lines 2 comments Download
M tokenserver/api/minter/v1/token_minter.pb.go View 1 2 3 4 13 chunks +423 lines, -61 lines 0 comments Download
A tokenserver/api/oauth_token_grant.proto View 1 2 3 1 chunk +60 lines, -0 lines 0 comments Download
A tokenserver/api/oauth_token_grant.pb.go View 1 2 3 1 chunk +167 lines, -0 lines 0 comments Download
M tokenserver/api/token_file.pb.go View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
A tokenserver/appengine/impl/serviceaccounts/rpc_import_service_accounts_configs.go View 1 chunk +24 lines, -0 lines 0 comments Download
A tokenserver/appengine/impl/serviceaccounts/rpc_inspect_oauth_token_grant.go View 1 chunk +22 lines, -0 lines 0 comments Download
A tokenserver/appengine/impl/serviceaccounts/rpc_mint_oauth_token_grant.go View 1 chunk +22 lines, -0 lines 0 comments Download
A tokenserver/appengine/impl/serviceaccounts/rpc_mint_oauth_token_via_grant.go View 1 chunk +23 lines, -0 lines 0 comments Download
M tokenserver/appengine/impl/services/admin/adminsrv/service.go View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M tokenserver/appengine/impl/services/minter/tokenminter/service.go View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M tokenserver/client/tokenclient.go View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M tokenserver/client/tokenclient_test.go View 1 2 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 24 (17 generated)
Vadim Sh.
PTAL. This is mostly comments, some protos, some boilerplate, and a metric ton of generated ...
3 years, 8 months ago (2017-03-30 06:04:48 UTC) #2
nodir
lgtm https://codereview.chromium.org/2785973002/diff/20001/tokenserver/api/admin/v1/config.proto File tokenserver/api/admin/v1/config.proto (right): https://codereview.chromium.org/2785973002/diff/20001/tokenserver/api/admin/v1/config.proto#newcode178 tokenserver/api/admin/v1/config.proto:178: // Email of developers that added this rule, ...
3 years, 8 months ago (2017-04-03 22:51:55 UTC) #11
Vadim Sh.
Sana, PTAL. This CL looks scary due to a lot of autogenerated code, but the ...
3 years, 4 months ago (2017-07-28 22:44:46 UTC) #15
smut
s/bolierplate/boilerplate/ in the description lgtm https://codereview.chromium.org/2785973002/diff/80001/tokenserver/api/minter/v1/token_minter.proto File tokenserver/api/minter/v1/token_minter.proto (right): https://codereview.chromium.org/2785973002/diff/80001/tokenserver/api/minter/v1/token_minter.proto#newcode56 tokenserver/api/minter/v1/token_minter.proto:56: // * OAuth2 access ...
3 years, 4 months ago (2017-07-28 23:07:37 UTC) #16
Vadim Sh.
https://codereview.chromium.org/2785973002/diff/80001/tokenserver/api/minter/v1/token_minter.proto File tokenserver/api/minter/v1/token_minter.proto (right): https://codereview.chromium.org/2785973002/diff/80001/tokenserver/api/minter/v1/token_minter.proto#newcode56 tokenserver/api/minter/v1/token_minter.proto:56: // * OAuth2 access tokens: these are regular Google ...
3 years, 4 months ago (2017-07-28 23:11:09 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2785973002/80001
3 years, 4 months ago (2017-07-28 23:11:46 UTC) #21
commit-bot: I haz the power
3 years, 4 months ago (2017-07-28 23:26:37 UTC) #24
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://github.com/luci/luci-go/commit/8fbab6da1f9e6c96cdcea4159a3b8e11f9ccace2

Powered by Google App Engine
This is Rietveld 408576698