8000 [Storage] Update default base host for google-cloud-storage by frankyn · Pull Request #6579 · googleapis/google-cloud-java · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@frankyn
Copy link
Contributor
@frankyn frankyn commented Oct 25, 2019

Updating default endpoint prior to discovery document being updated for GCS libraries.

The change is updating the endpoint from: https://www.googleapis.com/ to the new endpoint for the JSON API https://storage.googleapis.com/. The old endpoint will continue to work.

This is a temporary change until the auto-generated client is updated when the discovery document is updated.

Foot note: Merge/Release week of Dec 3.

@frankyn frankyn added the api: storage Issues related to the Cloud Storage API. label Oct 25, 2019
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 25, 2019
@frankyn frankyn added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 25, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 25, 2019
@codecov
Copy link
codecov bot commented Oct 25, 2019

Codecov Report

Merging #6579 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #6579      +/-   ##
============================================
- Coverage     46.35%   46.35%   -0.01%     
  Complexity    28001    28001              
============================================
  Files          2613     2613              
  Lines        288075   288075              
  Branches      33779    33779              
============================================
- Hits         133526   133523       -3     
- Misses       144309   144312       +3     
  Partials      10240    10240
Impacted Files Coverage Δ Complexity Δ
.../java/com/google/cloud/storage/StorageOptions.java 89.28% <100%> (ø) 10 <1> (ø) ⬇️
.../cloud/datastore/testing/LocalDatastoreHelper.java 80.59% <0%> (-4.48%) 17% <0%> (ø)

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 721d749...cc0ca1d. Read the comment docs.

@frankyn frankyn added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Oct 25, 2019
@frankyn frankyn marked this pull request as ready for review October 25, 2019 23:49
@frankyn frankyn removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Dec 3, 2019
@frankyn frankyn merged commit 7bdd13e into master Dec 3, 2019
@frankyn frankyn deleted the update-base-host-storage branch December 3, 2019 20:57
BenWhitehead added a commit to googleapis/java-storage that referenced this pull request Nov 18, 2021
…1142)

When calling `StorageOptions#toBuilder()` after creating the builder the host was explicitly set to the default host. This change removes that behavior instead moving the setting of the default host to the instantiation of a new builder.

Add unit tests to ensure host is set to the expected values based on different ways of creating an instance of StorageOptions.

Related:
* googleapis/google-cloud-java#6579
* googleapis/google-cloud-java#7004
* googleapis/google-cloud-java#7034
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.

5 participants

0