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

Make gce endpoint strings configurable. #79

Merged

Conversation

spencerhance
Copy link
Member

@spencerhance spencerhance commented Mar 3, 2023

This will allow packages who import this to configure the endpoints to something like https://mydomain.com/compute/v1.
These endpoints are only used for SelfLink().

@spencerhance spencerhance force-pushed the endpoint-vars branch 2 times, most recently from b8edbc9 to feabfbb Compare March 3, 2023 07:34
@spencerhance spencerhance changed the title Change gce endpoint const values into exported vars. Make gce endpoint strings configurable. Mar 3, 2023
@google-oss-prow google-oss-prow bot added size/XS and removed size/S labels Mar 3, 2023
@bowei
Copy link
Member

bowei commented Mar 9, 2023

add a unit test that checks the SetDomain took effect in the call to the API and this lgtm

This will allow packages who import this to configure the endpoints to something like https://mydomain.com/compute/v1.
These endpoints are only used for SelfLink().
@spencerhance
Copy link
Member Author

add a unit test that checks the SetDomain took effect in the call to the API and this lgtm

Added a new test, lmk if that wasn't what you meant.

@bowei
Copy link
Member

bowei commented Mar 9, 2023

/lgtm
/approve

@google-oss-prow
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bowei, spencerhance

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow bot merged commit ccb270b into GoogleCloudPlatform:master Mar 9, 2023
@spencerhance spencerhance deleted the endpoint-vars branch March 9, 2023 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants