opentdf / java-sdk

OpenTDF Java SDK
BSD 3-Clause Clear License
0 stars 1 forks source link

Different KAS URL formats between ZTDF and NanoTDF #73

Open ttschampel opened 4 months ago

ttschampel commented 4 months ago

The TDF SDK supports a KAS Url without a protocol; the NanoTDF SDK requires it

NanoSDK Without protocol in KAS Url:

Caused by: java.io.IOException: java.lang.RuntimeException: Unsupported protocol for resource locator
opentdf-nifi-1 |    at io.opentdf.nifi.ConvertToNanoTDF.lambda$processFlowFiles$0(ConvertToNanoTDF.java:72)
opentdf-nifi-1 |    at org.apache.nifi.controller.repository.StandardProcessSession.write(StandardProcessSession.java:3432)
opentdf-nifi-1 |    ... 13 common frames omitted

Example: