GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat: Copy backup samples by asthamohta · Pull Request #1802 · googleapis/java-spanner
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
Conversation
|
|
Here is the summary of changes. You are about to add 1 region tag.
This comment is generated by snippet-bot.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
c370f35 to
e6d042b
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
There's no integration test for the CopyBackup sample. Is that intentional?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@olavloite yes, because I notices not all samples have an IT and this is a very long running function so decided to go with this |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
|
||
| // [START spanner_list_backup_operations] | ||
| static void listBackupOperations(InstanceAdminClient instanceAdminClient, DatabaseId databaseId) { | ||
| static void listBackupOperations( |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Isn't this a breaking change? Maybe customers won't care because it is in the sample , but I don't know what the policy is here. Yoshi team might know
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
@olavloite pointed out that this is a non public method and hence can't be called so this will not be a breaking change
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
That is true, but we publish these samples in our public documentation, so we would be changing the signature. Anyway, if your team is ok with this, I am ok.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@asthamohta : can you update the PR to provide the description in the right format? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Update the PR description
Sorry, something went wrong.
There was an error while loading. Please reload this page.
f36e29f to
474dfa8
Compare
|
|
||
| ```Scala | ||
| libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "6.23.0" | ||
| libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "6.23.2" |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
nit: I don't think these version updates should be part of this PR
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
So I didn't do this. After I raised the PR, the changes in this file came automatically after I raised the PR. I only changes the install-without-bom. I'll try merging the other PR with the version change and remove these files
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| <groupId>org.openjdk.jmh</groupId> | ||
| <artifactId>jmh-core</artifactId> | ||
| <version>1.34</version> | ||
| <version>1.35</version> |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This should happen automatically no? Why do we need to update jmh here?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| <groupId>com.google.cloud</groupId> | ||
| <artifactId>google-cloud-spanner</artifactId> | ||
| <version>6.21.2</version> | ||
| <version>6.23.2</version> |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This is already part of this PR: https://github.com/googleapis/java-spanner/pull/1788/files
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| <groupId>com.google.cloud</groupId> | ||
| <artifactId>libraries-bom</artifactId> | ||
| <version>25.0.0</version> | ||
| <version>25.1.0</version> |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This should happen automatically in another PR (from dependabot)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
||
| // [START spanner_list_backup_operations] | ||
| static void listBackupOperations(InstanceAdminClient instanceAdminClient, DatabaseId databaseId) { | ||
| static void listBackupOperations( |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
That is true, but we publish these samples in our public documentation, so we would be changing the signature. Anyway, if your team is ok with this, I am ok.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…le.java Co-authored-by: Knut Olav Løite <[email protected]>
…ample.java Co-authored-by: Knut Olav Løite <[email protected]>
This reverts commit cdf4d17.
d9d234b to
0920a95
Compare
| OffsetDateTime.now().getOffset()).toString())); | ||
| expireTime.getSeconds(), | ||
| expireTime.getNanos(), | ||
| OffsetDateTime.now().getOffset()).toString())); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
super nit: the .toString() is superfluous
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.