Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(storage): use CA info options in credentials #7263

Merged

Conversation

coryan
Copy link
Contributor

@coryan coryan commented Sep 2, 2021

I accidentally dropped the options_ parameter when moving the request
construction from the constructor to when the request is issued. This
restores the use of the options_ parameter and adds unit tests to
prevent such breaks in the future.

Fixes #7160


This change is Reviewable

I accidentally dropped the `options_` parameter when moving the request
construction from the constructor to when the request is issued. This
restores the use of the `options_` parameter and adds unit tests to
prevent such breaks in the future.
@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label Sep 2, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 2, 2021
@google-cloud-cpp-bot
Copy link
Collaborator

Google Cloud Build Logs
For commit: 5c0196ed015cd731e15f733885ccb8ca0b3716c5

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

@codecov
Copy link

codecov bot commented Sep 2, 2021

Codecov Report

Merging #7263 (5c0196e) into main (890a3ef) will decrease coverage by 0.00%.
The diff coverage is 92.75%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #7263      +/-   ##
==========================================
- Coverage   94.36%   94.35%   -0.01%     
==========================================
  Files        1317     1317              
  Lines      114503   114564      +61     
==========================================
+ Hits       108051   108098      +47     
- Misses       6452     6466      +14     
Impacted Files Coverage Δ
.../storage/oauth2/compute_engine_credentials_test.cc 100.00% <ø> (ø)
...oogle/cloud/storage/internal/curl_handle_factory.h 78.26% <50.00%> (-5.95%) ⬇️
...storage/oauth2/service_account_credentials_test.cc 97.69% <93.93%> (-0.37%) ⬇️
...storage/oauth2/authorized_user_credentials_test.cc 96.17% <96.42%> (-0.01%) ⬇️
...cloud/storage/oauth2/service_account_credentials.h 100.00% <100.00%> (ø)
google/cloud/storage/testing/mock_http_request.h 100.00% <100.00%> (ø)
google/cloud/grpc_error_delegate.cc 95.83% <0.00%> (-4.17%) ⬇️
...bigtable/examples/bigtable_hello_instance_admin.cc 81.31% <0.00%> (-2.20%) ⬇️
...ud/spanner/integration_tests/client_stress_test.cc 85.52% <0.00%> (-0.66%) ⬇️
...le/cloud/storage/internal/curl_download_request.cc 89.21% <0.00%> (-0.38%) ⬇️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 890a3ef...5c0196e. Read the comment docs.

@coryan
Copy link
Contributor Author

coryan commented Sep 2, 2021

The GCS+gRPC failure is a known bug in the service. And GCS+gRPC is not GA. I am going to ignore it.

@coryan coryan marked this pull request as ready for review September 2, 2021 18:32
@coryan coryan requested a review from a team as a code owner September 2, 2021 18:32
@coryan coryan merged commit cf5c8ee into googleapis:main Sep 2, 2021
@coryan coryan deleted the fix-use-cainfo-option-in-credentials-v1.31.x branch September 2, 2021 18:58
@coryan coryan restored the fix-use-cainfo-option-in-credentials-v1.31.x branch September 2, 2021 19:02
@coryan coryan deleted the fix-use-cainfo-option-in-credentials-v1.31.x branch September 2, 2021 20:05
dbolduc pushed a commit to dbolduc/google-cloud-cpp that referenced this pull request Sep 4, 2021
I accidentally dropped the `options_` parameter when moving the request
construction from the constructor to when the request is issued. This
restores the use of the `options_` parameter and adds unit tests to
prevent such breaks in the future.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the Cloud Storage API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants