-
Notifications
You must be signed in to change notification settings - Fork 103
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(spanner): add emulator support for the admin client autogenerated API samples #1994
Merged
gcf-merge-on-green
merged 57 commits into
googleapis:main
from
alkatrivedi:admin-emulator-support
Feb 28, 2024
Merged
feat(spanner): add emulator support for the admin client autogenerated API samples #1994
gcf-merge-on-green
merged 57 commits into
googleapis:main
from
alkatrivedi:admin-emulator-support
Feb 28, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
product-auto-label
bot
added
size: s
Pull request size is small.
api: spanner
Issues related to the googleapis/nodejs-spanner API.
samples
Issues that are directly related to samples.
labels
Feb 13, 2024
alkatrivedi
changed the title
feat(spanner): add emulator support for the apis samples using admin client autogenerated methods
feat(spanner): add emulator support for the admin client autogenerated API samples
Feb 13, 2024
olavloite
reviewed
Feb 14, 2024
olavloite
reviewed
Feb 14, 2024
product-auto-label
bot
added
size: m
Pull request size is medium.
and removed
size: l
Pull request size is large.
labels
Feb 27, 2024
olavloite
approved these changes
Feb 27, 2024
system-test/spanner.ts
Outdated
|
||
it('should list the instances', async () => { | ||
assert(projectId); | ||
const [operation] = await instanceAdminClient.listInstances({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit:
Suggested change
const [operation] = await instanceAdminClient.listInstances({ | |
const [instances] = await instanceAdminClient.listInstances({ |
Co-authored-by: Knut Olav Løite <[email protected]>
surbhigarg92
added
kokoro:force-run
Add this label to force Kokoro to re-run the tests.
owlbot:run
Add this label to trigger the Owlbot post processor.
labels
Feb 27, 2024
gcf-owl-bot
bot
removed
the
owlbot:run
Add this label to trigger the Owlbot post processor.
label
Feb 27, 2024
yoshi-kokoro
removed
the
kokoro:force-run
Add this label to force Kokoro to re-run the tests.
label
Feb 27, 2024
surbhigarg92
approved these changes
Feb 28, 2024
surbhigarg92
added
the
owlbot:run
Add this label to trigger the Owlbot post processor.
label
Feb 28, 2024
gcf-owl-bot
bot
removed
the
owlbot:run
Add this label to trigger the Owlbot post processor.
label
Feb 28, 2024
surbhigarg92
added
the
automerge
Merge the pull request once unit tests and other checks pass.
label
Feb 28, 2024
gcf-merge-on-green
bot
removed
the
automerge
Merge the pull request once unit tests and other checks pass.
label
Feb 28, 2024
gcf-merge-on-green bot
pushed a commit
that referenced
this pull request
Mar 4, 2024
🤖 I have created a release *beep* *boop* --- ## [7.5.0](https://togithub.com/googleapis/nodejs-spanner/compare/v7.4.0...v7.5.0) (2024-03-04) ### Features * **spanner:** Add emulator support for the admin client autogenerated API samples ([#1994](https://togithub.com/googleapis/nodejs-spanner/issues/1994)) ([e2fe5b7](https://togithub.com/googleapis/nodejs-spanner/commit/e2fe5b748c3077078fa43e4bfa427fef603656a9)) ### Bug Fixes * Revert untyped param type feature ([#2012](https://togithub.com/googleapis/nodejs-spanner/issues/2012)) ([49fa60d](https://togithub.com/googleapis/nodejs-spanner/commit/49fa60dd0735fe66db33f7b9137dba0821eb5184)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
api: spanner
Issues related to the googleapis/nodejs-spanner API.
samples
Issues that are directly related to samples.
size: m
Pull request size is medium.
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.
This PR introduces emulator support for the API samples, which are using admin client autogenerated methods.
Sample usage
For Instance samples:
For Database samples: