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!: customer-managed encryption keys for Spanner #666

Merged
merged 39 commits into from Mar 18, 2021
Merged

Commits on Mar 10, 2021

  1. Copy the full SHA
    afec193 View commit details
    Browse the repository at this point in the history
  2. fix: fix deps and clirr failures

    olavloite authored and thiagotnunes committed Mar 10, 2021
    Copy the full SHA
    98a1143 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    ad03175 View commit details
    Browse the repository at this point in the history
  4. tests: remove IT and add unit

    olavloite authored and thiagotnunes committed Mar 10, 2021
    Copy the full SHA
    eff38ff View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    84da677 View commit details
    Browse the repository at this point in the history
  6. fix: does not set encryption info if null

    Does not set encryption info in the request if it is null
    thiagotnunes committed Mar 10, 2021
    Copy the full SHA
    981e1a6 View commit details
    Browse the repository at this point in the history
  7. fix: fixes dependencies

    thiagotnunes committed Mar 10, 2021
    Copy the full SHA
    7101d04 View commit details
    Browse the repository at this point in the history
  8. feature: adds support for encrypted backup

    Adds the possibility to set encryption config info in the creation of a
    backup.
    thiagotnunes committed Mar 10, 2021
    Copy the full SHA
    7e98e1f View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    13fe320 View commit details
    Browse the repository at this point in the history
  10. Revert "tests: remove IT and add unit"

    This reverts commit cc19cf2.
    thiagotnunes committed Mar 10, 2021
    Copy the full SHA
    fc64e38 View commit details
    Browse the repository at this point in the history
  11. fix: makes the setEncryptionConfigInfo public

    This is so a backup can be encrypted
    thiagotnunes committed Mar 10, 2021
    Copy the full SHA
    6228407 View commit details
    Browse the repository at this point in the history
  12. feature: adds tests for cmek

    Adds tests for creating encrypted database, creating encrypted backups
    and restoring encrypted databases.
    thiagotnunes committed Mar 10, 2021
    Copy the full SHA
    ca62bc2 View commit details
    Browse the repository at this point in the history
  13. fix: removes keys after test finishes

    Destroy keys used in CMEK tests
    thiagotnunes committed Mar 10, 2021
    Copy the full SHA
    a4906c6 View commit details
    Browse the repository at this point in the history
  14. fix: fixes clirr errors

    thiagotnunes committed Mar 10, 2021
    Copy the full SHA
    ec294ed View commit details
    Browse the repository at this point in the history
  15. fix: ignores failing cmek tests

    Ignores the failing CMEK tests until the backend support is enabled in
    production.
    thiagotnunes committed Mar 10, 2021
    Copy the full SHA
    b7d7945 View commit details
    Browse the repository at this point in the history
  16. Copy the full SHA
    428950b View commit details
    Browse the repository at this point in the history
  17. fix: fixes clirr issues

    thiagotnunes committed Mar 10, 2021
    Copy the full SHA
    44cbb33 View commit details
    Browse the repository at this point in the history
  18. Copy the full SHA
    489dfea View commit details
    Browse the repository at this point in the history
  19. Copy the full SHA
    8f4e7d5 View commit details
    Browse the repository at this point in the history
  20. Copy the full SHA
    060ee64 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2021

  1. Copy the full SHA
    da2d9a0 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    e3c651b View commit details
    Browse the repository at this point in the history
  3. tests: adds unit tests for domain classes

    Adds unit tests for EncryptionConfigInfo, EncryptionConfig, Backup and
    Restore.
    thiagotnunes committed Mar 11, 2021
    Copy the full SHA
    6787996 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2021

  1. chore: renames EncryptionConfigInfo

    Renames EncryptionConfigInfo to EncryptionConfig in order to mirror what
    is the protobuf definition.
    thiagotnunes committed Mar 12, 2021
    Copy the full SHA
    c3ebd34 View commit details
    Browse the repository at this point in the history
  2. tests: do not create a key on CMEK test

    Instead use an existing key and fails if the key is not present.
    thiagotnunes committed Mar 12, 2021
    Copy the full SHA
    7d234d9 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2021

  1. feat: allows multiple encryption configs

    Allows customer managed encryption for create databases (google default
    encryption is just nullifying the value here).
    Allows customer managed encryption, google default encryption and
    database encryption for create backups.
    Allows customer managed encryption, google default encryption and backup
    encryption for restore databases.
    thiagotnunes committed Mar 15, 2021
    Copy the full SHA
    3027533 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    f7229fe View commit details
    Browse the repository at this point in the history
  3. chore: refactors pom.xml

    Uses variables to define project id and instance id for running
    integration tests.
    thiagotnunes committed Mar 15, 2021
    Copy the full SHA
    d182b83 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    fbf91d0 View commit details
    Browse the repository at this point in the history
  5. chore: fixes linting

    thiagotnunes committed Mar 15, 2021
    Copy the full SHA
    f9ef382 View commit details
    Browse the repository at this point in the history
  6. Revert "chore: refactors pom.xml"

    This reverts commit d182b83.
    thiagotnunes committed Mar 15, 2021
    Copy the full SHA
    c865a0a View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    811ad2c View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2021

  1. Copy the full SHA
    4f9db73 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    d78baf3 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2021

  1. docs: updates DatabaseInfo javadoc

    Co-authored-by: Knut Olav Løite <koloite@gmail.com>
    thiagotnunes and olavloite committed Mar 17, 2021
    Copy the full SHA
    2493bcf View commit details
    Browse the repository at this point in the history
  2. docs: updates Restore javadocs

    Co-authored-by: Knut Olav Løite <koloite@gmail.com>
    thiagotnunes and olavloite committed Mar 17, 2021
    Copy the full SHA
    d3fe9ab View commit details
    Browse the repository at this point in the history
  3. docs: updates DatabaseInfo javadocs

    Co-authored-by: Knut Olav Løite <koloite@gmail.com>
    thiagotnunes and olavloite committed Mar 17, 2021
    Copy the full SHA
    3ff8a89 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    acecbfe View commit details
    Browse the repository at this point in the history
  5. tests: reformats

    thiagotnunes committed Mar 17, 2021
    Copy the full SHA
    09fb850 View commit details
    Browse the repository at this point in the history