[JAVA-4589] Add queryable encryption support to creating and dropping a collection Created: 24/Apr/22  Updated: 28/Oct/23  Resolved: 19/May/22

Status: Closed
Project: Java Driver
Component/s: Client Side Encryption
Affects Version/s: None
Fix Version/s: 4.7.0

Type: New Feature Priority: Major - P3
Reporter: PM Bot Assignee: Ross Lawley
Resolution: Fixed Votes: 0
Labels: QP-priority, spec-compliance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
Epic Link: FLE 2.0 Support
Quarter: FY23Q2
Upstream Changes Summary:

DRIVERS-2284:
Please see the following specification changes:

Please see https://github.com/mongodb/specifications/commit/8f6f4a3a1841c0301ca057e96afca6f4f46711a2 for the latest revision of the fle2-CreateCollection.yml and fle2-EncryptedFields-vs-EncryptedFieldsMap.yml tests.

Drivers using libmongocrypt 1.5.0-alpha2 or later should sync the fle2-CreateCollection test to this PR: https://github.com/mongodb/specifications/pull/1230

  • Sync the fle2-CreateCollection.yml CSFLE test.
  • Add encryptedFieldsMap option to AutoEncryptionOpts
  • Add encryptedFields options to CreateCollection and Collection.Drop()
  • Update behavior of CreateCollection and Collection.Drop() when the target collection has encryptedFields.

 Description   

This ticket was split from DRIVERS-2284, please see that ticket for a detailed description.



 Comments   
Comment by Githook User [ 19/May/22 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Add FLE 2 API to AutoEncryptionOptions

Add FLE 2 behavior for creating and dropping a collection

JAVA-4593
JAVA-4589
JAVA-4609
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/11484607b8d5f3888f4335f939e02ceb58952eae

Generated at Thu Feb 08 09:02:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.