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

feat: Adds Universe Domain support #2362

Merged
merged 7 commits into from
Jan 31, 2024
Merged

feat: Adds Universe Domain support #2362

merged 7 commits into from
Jan 31, 2024

Conversation

JesseLovelace
Copy link
Contributor

@JesseLovelace JesseLovelace commented Jan 19, 2024

This PR adds an intercept when UniverseDomain is set in StorageOptions, which overrides the host in StorageOptions. It also changes signed URLs to respect custom hosts, including a specified universe domain.

There are no tests for this because Kokoro is not able to access any universes yet. I tested all these changes locally, and they're working against the staging universe.

@JesseLovelace JesseLovelace requested a review from a team as a code owner January 19, 2024 01:00
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: storage Issues related to the googleapis/java-storage API. labels Jan 19, 2024
@JesseLovelace JesseLovelace requested a review from a team as a code owner January 19, 2024 01:02
Copy link
Member

@frankyn frankyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just comment on how to track when the code blocks and be remove / updated.

@@ -323,6 +323,16 @@ public HttpStorageRpcFactory() {}
public ServiceRpc create(StorageOptions options) {
if (options instanceof HttpStorageOptions) {
HttpStorageOptions httpStorageOptions = (HttpStorageOptions) options;
// todo: In the future, this step will be done automatically, and the getResolvedApiaryHost
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a tracking bug to know when this will be addressed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added!

@JesseLovelace JesseLovelace added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 23, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 23, 2024
@JesseLovelace JesseLovelace merged commit 8b636db into main Jan 31, 2024
21 checks passed
@JesseLovelace JesseLovelace deleted the tpcconfig branch January 31, 2024 21:52
gcf-merge-on-green bot pushed a commit that referenced this pull request Feb 7, 2024
🤖 I have created a release *beep* *boop*
---


## [2.33.0](https://togithub.com/googleapis/java-storage/compare/v2.32.1...v2.33.0) (2024-02-07)


### Features

* Adds TPC support ([#2362](https://togithub.com/googleapis/java-storage/issues/2362)) ([8b636db](https://togithub.com/googleapis/java-storage/commit/8b636dbe8a16b9b81afbb51b8d0032bcbdbef635))


### Bug Fixes

* Temporarily restoring storage_grpc_service_config.json to fix broken test ([#2365](https://togithub.com/googleapis/java-storage/issues/2365)) ([50b6610](https://togithub.com/googleapis/java-storage/commit/50b6610de94d44815d80381649e7d3a86c38f894))


### Dependencies

* Update dependency com.google.apis:google-api-services-storage to v1-rev20240202-2.0.0 ([#2393](https://togithub.com/googleapis/java-storage/issues/2393)) ([3391e1d](https://togithub.com/googleapis/java-storage/commit/3391e1d3d925604fe57a69c40c823e863ce7593e))
* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.24.0 ([#2389](https://togithub.com/googleapis/java-storage/issues/2389)) ([9e4e00d](https://togithub.com/googleapis/java-storage/commit/9e4e00db40e8235b513f7f798674aba31631ddf4))
* Update dependency org.graalvm.buildtools:native-maven-plugin to v0.10.0 ([#2390](https://togithub.com/googleapis/java-storage/issues/2390)) ([59ac502](https://togithub.com/googleapis/java-storage/commit/59ac502ee4c063ff46aa9dd0409df2e6fda7bc99))
* Update dependency org.junit.vintage:junit-vintage-engine to v5.10.2 ([#2394](https://togithub.com/googleapis/java-storage/issues/2394)) ([8dbd4bf](https://togithub.com/googleapis/java-storage/commit/8dbd4bfb4f76634f97b2e9cd3487128f4c98f58a))
* Update junit-platform.version to v5.10.2 ([#2395](https://togithub.com/googleapis/java-storage/issues/2395)) ([0c5aef3](https://togithub.com/googleapis/java-storage/commit/0c5aef34682ee56786f2006156f4cd645c22d8a8))

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
@danielduhh danielduhh changed the title feat: Adds TPC support feat: Adds Universe Domain support Nov 6, 2024
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 googleapis/java-storage API. size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants