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(sdk): adds Collections API #212

Merged
merged 6 commits into from
Nov 20, 2024
Merged

feat(sdk): adds Collections API #212

merged 6 commits into from
Nov 20, 2024

Conversation

imdominicreed
Copy link
Contributor

@imdominicreed imdominicreed commented Nov 20, 2024

Adds Collection API to NanoTDF.

Decrypt: NanoTDF Client constructor will have a option to enable CollectionStore or pass in a custom CollectionStore implementation.

Encrypt: NanoTDFConfig will have an option WithCollection to enable writing as a Collection rather as individual NanoTDF's.

Examples for Collection are made in ExampleEncryptCollection and ExampleDecryptCollection and will successfully encrypt/decrypt with default OpenTDF Platform Fixtures. ExampleDecryptCollection will have only 1 Unwrap Request to Platform.

@imdominicreed imdominicreed requested review from a team as code owners November 20, 2024 21:10
@imdominicreed imdominicreed marked this pull request as draft November 20, 2024 21:11
Summary:

Test Plan:
Summary:

Test Plan:
Copy link

sonarcloud bot commented Nov 20, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@imdominicreed imdominicreed changed the title feat: adds Collections API to SDK feat(sdk): adds Collections API Nov 20, 2024
@imdominicreed imdominicreed marked this pull request as ready for review November 20, 2024 22:05
@pflynn-virtru
Copy link
Member

Ignore the SonarCloud code coverage

@imdominicreed imdominicreed merged commit 1ee1367 into main Nov 20, 2024
6 of 7 checks passed
@imdominicreed imdominicreed deleted the feat/collection-sdk branch November 20, 2024 23:52
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.

2 participants