Zoltan Chovan has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/18468 )

Change subject: jwt: add test for fetching JWKS via URL
......................................................................


Patch Set 15:

(8 comments)

http://gerrit.cloudera.org:8080/#/c/18468/15/src/kudu/util/jwt-util-internal.h
File src/kudu/util/jwt-util-internal.h:

http://gerrit.cloudera.org:8080/#/c/18468/15/src/kudu/util/jwt-util-internal.h@28
PS15, Line 28: #include <memory>
> nit: move this into the group of the standard C++ headers above
Done


http://gerrit.cloudera.org:8080/#/c/18468/15/src/kudu/util/jwt-util-internal.h@48
PS15, Line 48:   
> nit: the indent is off (should be 2 spaces from the beginning of the line)
Done


http://gerrit.cloudera.org:8080/#/c/18468/15/src/kudu/util/jwt-util-internal.h@247
PS15, Line 247:
> nit: the indent is off
Done


http://gerrit.cloudera.org:8080/#/c/18468/15/src/kudu/util/jwt-util-internal.h@292
PS15, Line 292: &
> remove &
Done


http://gerrit.cloudera.org:8080/#/c/18468/15/src/kudu/util/jwt-util.cc
File src/kudu/util/jwt-util.cc:

http://gerrit.cloudera.org:8080/#/c/18468/15/src/kudu/util/jwt-util.cc@56
PS15, Line 56: #include <memory>
> don't need this line since it's already included in jwt-util.h
Done


http://gerrit.cloudera.org:8080/#/c/18468/15/src/kudu/util/jwt-util.cc@202
PS15, Line 202:       std::unique_ptr<JWTPublicKey> jwt_pub_key;
              :       
RETURN_NOT_OK(HSJWTPublicKeyBuilder::CreateJWKPublicKey(kv_map, jwt_pub_key));
              :       jwks_->AddHSKey(key_id, jwt_pub_key);
> I thought it would be something like below:
Done


http://gerrit.cloudera.org:8080/#/c/18468/15/src/kudu/util/jwt-util.cc@285
PS15, Line 285:
> nit: 4 spaces
Done


http://gerrit.cloudera.org:8080/#/c/18468/15/src/kudu/util/jwt-util.cc@329
PS15, Line 329:
> nit: 4 spaces
Done



--
To view, visit http://gerrit.cloudera.org:8080/18468
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ief272c813b62e789d747a88e1f3be8c406eed3f8
Gerrit-Change-Number: 18468
Gerrit-PatchSet: 15
Gerrit-Owner: Andrew Wong <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Attila Bukor <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <[email protected]>
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Reviewer: Wenzhe Zhou <[email protected]>
Gerrit-Reviewer: Zoltan Chovan <[email protected]>
Gerrit-Comment-Date: Thu, 17 Nov 2022 17:27:04 +0000
Gerrit-HasComments: Yes

Reply via email to