Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

feat: accept apiEndpoint override - #455

Merged
JustinBeckwith merged 3 commits into
masterfrom
endpoint
May 28, 2019
Merged

JustinBeckwith merged 3 commits into
masterfrom
endpoint

Conversation

@JustinBeckwith

@JustinBeckwith JustinBeckwith commented May 23, 2019 •

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor Author

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

@codecov

codecov Bot commented May 23, 2019

Copy link
Copy Markdown

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

codecov Bot commented May 23, 2019 •

Copy link
Copy Markdown

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants