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

fix: Update OpenTDF SDK dependency version to 0.7.5 #43

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

Conversation

pflynn-virtru
Copy link
Member

Upgraded the SDK version from 0.7.3 to 0.7.5 in the pom.xml file. This update is necessary for compatibility with new features and bug fixes provided in the latest SDK release.

https://github.com/opentdf/java-sdk/releases/tag/v0.7.5
https://github.com/opentdf/java-sdk/releases/tag/v0.7.4

Upgraded the SDK version from 0.7.3 to 0.7.5 in the `pom.xml` file. This update is necessary for compatibility with new features and bug fixes provided in the latest SDK release.
@pflynn-virtru pflynn-virtru requested review from a team as code owners October 31, 2024 13:57
Copy link

@mkleene mkleene left a comment

Choose a reason for hiding this comment

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

@mkleene
Copy link

mkleene commented Oct 31, 2024

It looks like this is the only place that needs to be updated: https://github.com/opentdf/nifi/blob/main/nifi-tdf-processors/src/main/java/io/opentdf/nifi/ConvertFromZTDF.java#L75

Unused imports were removed to clean up the code. Additionally, the assertion verification keys list population and usage were eliminated to simplify the TDF reading logic in the processFlowFiles method.
Copy link

sonarcloud bot commented Nov 1, 2024

@@ -65,14 +62,15 @@ public ConvertFromZTDF() {
@Override
void processFlowFiles(ProcessContext processContext, ProcessSession processSession, List<FlowFile> flowFiles) throws ProcessException {
SDK sdk = getTDFSDK(processContext);
//TODO add assertion verification key list population
Copy link
Member Author

Choose a reason for hiding this comment

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

@ttschampel should we Config.withDisableAssertionVerification(true) ?

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