Skip to content

Conversation

@panerorenn9541
Copy link
Contributor

Add samples and tests for create database, create backup, copy backup, and restore backup.

@panerorenn9541 panerorenn9541 requested review from a team as code owners August 28, 2024 18:29
@snippet-bot
Copy link

snippet-bot bot commented Aug 28, 2024

Here is the summary of changes.

You are about to add 4 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Aug 28, 2024
Change KmsKeyName to KmsKeyNames
Change KmsKeyNamesAsCryptoKeyName to KmsKeyNamesAsCryptoKeyNames
Change KmsKeyNamesAsCryptoKeyName to be KmsKeyNamesAsCryptoKeyNames
Change KmsKeyNamesAsCryptoKeyName to be KmsKeyNamesAsCryptoKeyNames
Change KmsKeyNamesAsCryptoKeyName to be KmsKeyNamesAsCryptoKeyNames and use database encryption config to print
Use database encryption config to print
@amanda-tarafa amanda-tarafa added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 10, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 10, 2024
Copy link
Member

@amanda-tarafa amanda-tarafa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issues I've commented on appear on several places even though I flag them on a single place, please fix all ocurrences.

This code doesn't build, see the build log for errors.

When you have run the tests locally and they pass, let me know and I can run them on the PR with the backup tests enabled to make certain they run on CI before merging. At the moment these new tests will conflict with the existing backup samples and tests.

…ithMrCmekAsyncTest.cs

Change naming from MRCMEK to MrCmek
…aseWithMrCmekAsyncTest.cs

Change from MRCMEK to MrCmek
…abaseWithMrCmekAsyncTest.cs

Change from MRCMEK to MrCmek
@amanda-tarafa amanda-tarafa added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 23, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 23, 2024
@amanda-tarafa amanda-tarafa added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 24, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 24, 2024
Environment.GetEnvironmentVariable("spanner.test.key.location3") ?? "us-east4",
Environment.GetEnvironmentVariable("spanner.test.key.ring3") ?? "spanner-test-keyring3",
Environment.GetEnvironmentVariable("spanner.test.key.name3") ?? "spanner-test-key3");
public CryptoKeyName[] KmsKeyNames { get; private set; }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public CryptoKeyName[] KmsKeyNames { get; private set; }
public CryptoKeyName[] KmsKeyNames { get; } = new CryptoKeyName[] { KmsKeyName, KmsKeyName1, KmsKeyName2 };

@amanda-tarafa
Copy link
Member

Closing in favour of #2832 . These are very similar, changea are mostly renaming, and also in how we use some fixture elements. Sample code is identical.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants