GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Storage] Update default base host for google-cloud-storage by frankyn · Pull Request #6579 · googleapis/google-cloud-java

Conversation

@frankyn

@frankyn frankyn commented Oct 25, 2019 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Frank Natividad
Update base host for google-cloud-storage
cc0ca1d
@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

codecov Bot commented Oct 25, 2019 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@frankyn
frankyn requested review from JesseLovelace and chingor13 October 25, 2019 23:48
@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
JesseLovelace
JesseLovelace approved these changes Dec 3, 2019
View reviewed changes
@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
crwilcox
crwilcox approved these changes Dec 3, 2019
View reviewed changes
@frankyn
frankyn merged commit 7bdd13e into master Dec 3, 2019
@frankyn
frankyn deleted the update-base-host-storage branch December 3, 2019 20:57
This was referenced Dec 4, 2019
Release google-cloud-java v0.120.0 #6986
Closed
Release google-cloud-java v0.120.0 #6988
Merged
@BenWhitehead BenWhitehead mentioned this pull request Nov 10, 2021
fix: update StorageOptions to not overwrite any previously set host googleapis/java-storage#1142
Merged
BenWhitehead added a commit to googleapis/java-storage that referenced this pull request Nov 18, 2021
@BenWhitehead
fix: update StorageOptions to not overwrite any previously set host (#…
05375c0
…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

Reviewers

@chingor13 chingor13 Awaiting requested review from chingor13
2 more reviewers
@crwilcox crwilcox crwilcox approved these changes
@JesseLovelace JesseLovelace JesseLovelace approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: storage Issues related to the Cloud Storage API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@frankyn @crwilcox @JesseLovelace @googlebot @yoshi-kokoro
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.