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

[Internal] Client Encryption : Adds test to verify that update of Client Encryption Policy is not allowed via ReplaceContainer #2349

Merged
merged 11 commits into from
Apr 22, 2021

Conversation

anujtoshniwal
Copy link
Contributor

Pull Request Template

Description

Adds / updates existing tests to verify -
a. Update of Client Encryption Policy is not allowed via ReplaceContainer
b. CreateContainer request ensures that the ClientEncryptionKey exists when creating Client Encryption Policy

Type of change

  • [] Bug fix (non-breaking change which fixes an issue)

abhijitpai
abhijitpai previously approved these changes Mar 30, 2021
kr-santosh
kr-santosh previously approved these changes Mar 30, 2021
abhijitpai
abhijitpai previously approved these changes Mar 31, 2021
@@ -362,6 +362,7 @@ public async Task EncryptionResourceTokenAuthRestricted()
}
}

[Ignore] // will enable once the emulator is updated with latest code.
Copy link
Contributor

Choose a reason for hiding this comment

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

Please get a new emulator released.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Enabling the tests. Milis mentioned that emulator will be upgraded most likely by tomorrow.

@j82w j82w merged commit 8c23103 into master Apr 22, 2021
@j82w j82w deleted the users/antoshni/addIntegrationTests branch April 22, 2021 16:03
ealsur pushed a commit that referenced this pull request Jun 14, 2021
…ent Encryption Policy is not allowed via ReplaceContainer (#2349)

Adds / updates existing tests to verify -
a. Update of Client Encryption Policy is not allowed via ReplaceContainer
b. CreateContainer request ensures that the ClientEncryptionKey exists when creating Client Encryption Policy
ealsur pushed a commit that referenced this pull request Jun 14, 2021
…ent Encryption Policy is not allowed via ReplaceContainer (#2349)

Adds / updates existing tests to verify -
a. Update of Client Encryption Policy is not allowed via ReplaceContainer
b. CreateContainer request ensures that the ClientEncryptionKey exists when creating Client Encryption Policy
kirankumarkolli pushed a commit that referenced this pull request Jun 14, 2021
* Query: Fixes InvalidOperationException on merge to a single partition (#2510)

* Add support to FlakyDocumentContainer send back 410s based on a delegate

* Fix bug in CrossPartitionRangePageAsyncEnumerator where we dont handle a merge to a single partition

* Fix InvalidOperationException on merge to single partition in OrderByCrossPartitionQueryPipelineStage

* Incorporate CR feedback

* more CR feedback

Co-authored-by: Samer Boshra <sboshra@microsoft.com>

* Query: Fixes handling of pipeline execution on partition merge (#2531)

* fix

* fixing inmemorycontainer

* fixing merge test

* undo small change

* OrderBy fix too

* Correct orderby handling

* more tests

* text

Co-authored-by: j82w <j82w@users.noreply.github.com>

* [Internal] Client Encryption : Adds test to verify that update of Client Encryption Policy is not allowed via ReplaceContainer (#2349)

Adds / updates existing tests to verify -
a. Update of Client Encryption Policy is not allowed via ReplaceContainer
b. CreateContainer request ensures that the ClientEncryptionKey exists when creating Client Encryption Policy

Co-authored-by: neildsh <35383880+neildsh@users.noreply.github.com>
Co-authored-by: Samer Boshra <sboshra@microsoft.com>
Co-authored-by: j82w <j82w@users.noreply.github.com>
Co-authored-by: anujtoshniwal <62551957+anujtoshniwal@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants