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: accept apiEndpoint override #455

Merged
merged 3 commits into from
May 28, 2019
Merged

feat: accept apiEndpoint override #455

merged 3 commits into from
May 28, 2019

Conversation

JustinBeckwith
Copy link
Contributor

@JustinBeckwith JustinBeckwith commented May 23, 2019

This lets developers provide an api endpoint to override the backend service Url.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 23, 2019
@JustinBeckwith JustinBeckwith requested a review from bcoe May 23, 2019 19:09
@JustinBeckwith JustinBeckwith added the status: blocked Resolving the issue is dependent on other work. label May 23, 2019
JustinBeckwith added a commit to googleapis/nodejs-common that referenced this pull request May 23, 2019
BREAKING CHANGE: This adds the apiEndpoint property as a required field for the ServiceConfig, and makes it a public property on the Service class. This is being added to broadly support apiEndpoint overrides.

See googleapis/nodejs-bigquery#455 to see how this would be used.
@JustinBeckwith JustinBeckwith removed the status: blocked Resolving the issue is dependent on other work. label May 23, 2019
@JustinBeckwith
Copy link
Contributor Author

@bcoe @stephenplusplus this is ready for a real look.

@codecov
Copy link

codecov bot commented May 23, 2019

Codecov Report

Merging #455 into master will increase coverage by <.01%.
The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #455      +/-   ##
==========================================
+ Coverage   99.42%   99.42%   +<.01%     
==========================================
  Files           5        5              
  Lines         699      700       +1     
  Branches      194      194              
==========================================
+ Hits          695      696       +1     
- Misses          2        3       +1     
+ Partials        2        1       -1
Impacted Files Coverage Δ
src/table.ts 100% <ø> (ø) ⬆️
src/index.ts 98.5% <50%> (ø) ⬆️

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 89f58f8...5c4d84e. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented May 23, 2019

Codecov Report

Merging #455 into master will increase coverage by <.01%.
The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #455      +/-   ##
==========================================
+ Coverage   99.42%   99.42%   +<.01%     
==========================================
  Files           5        5              
  Lines         699      700       +1     
  Branches      194      194              
==========================================
+ Hits          695      696       +1     
- Misses          2        3       +1     
+ Partials        2        1       -1
Impacted Files Coverage Δ
src/table.ts 100% <ø> (ø) ⬆️
src/index.ts 98.5% <50%> (ø) ⬆️

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 89f58f8...5c4d84e. Read the comment docs.

@JustinBeckwith JustinBeckwith merged commit 1eda8ff into master May 28, 2019
@stephenplusplus stephenplusplus deleted the endpoint branch November 26, 2019 12:16
robertomartinez09515 added a commit to robertomartinez09515/nodejs-common-create that referenced this pull request Jul 25, 2022
BREAKING CHANGE: This adds the apiEndpoint property as a required field for the ServiceConfig, and makes it a public property on the Service class. This is being added to broadly support apiEndpoint overrides.

See googleapis/nodejs-bigquery#455 to see how this would be used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants