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: add Spanner samples for MR CMEK #2772

Open
wants to merge 50 commits into
base: main
Choose a base branch
from

Conversation

panerorenn9541
Copy link

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
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
…ithMrCmekAsync.cs

Change from MRCMEK to MrCmek
…eWithMrCmekAsync.cs

Change from MRCMEK to MrCmek
Use FixedMrCmekDatabaseId and MrCmekBackupId
Use MrCmekRestoreDatabaseId and FixedMrCmekBackupId. Use KmsKeyNames instead of KmsKeyName
Use default poll settings
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