-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: main
Are you sure you want to change the base?
Conversation
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In order for reading a TDF to work you need to do something like this, I think:
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.
Quality Gate passedIssues Measures |
@@ -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 |
There was a problem hiding this comment.
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) ?
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