Skip to content

feat(sdk): add isValidTdf with Go lax-schema validation, and tdf validate (DSPX-5352) - #428

Draft
dmihalcik-virtru wants to merge 2 commits into
mainfrom
DSPX-5352-java-isvalidtdf
Draft

dmihalcik-virtru wants to merge 2 commits into
mainfrom
DSPX-5352-java-isvalidtdf

feat(cmdline): add validate command (DSPX-5352)

429f810
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Oct 30, 2026 in 31s

Annotations

Check warning on line 192 in sdk/src/main/java/io/opentdf/platform/sdk/TDFValidator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaGNuaDYoYbKsR1GF_dz&open=AaGNuaDYoYbKsR1GF_dz&pullRequest=428

Check failure on line 97 in sdk/src/test/java/io/opentdf/platform/sdk/TDFValidatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaGNuaASoYbKsR1GF_dy&open=AaGNuaASoYbKsR1GF_dy&pullRequest=428