-
Notifications
You must be signed in to change notification settings - Fork 78
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
mlLoadSchemas does not work with folders #160
Comments
Thanks @SoundBot , that's certainly the case - the initial design for this feature was simply to load TDE schemas from a flat directory. Adding this should be straightforward. |
Going to address this in 2.7.0, which I'll hopefully release in the next couple weeks. Going to also address how to load redaction rulesets with custom collections. Most of the work will be in ml-javaclient-util. |
@SoundBot Any issues if schemas are now prefixed with a "/", just like modules? |
|
@jedigo There is, though it's not available yet via a Gradle property. The code is all in the ml-javaclient-util project. The class that reads files from the filesystem is DefaultDocumentFileReader. It has a setUriPrefix method to control the URI prefix, which defaults to "/". It's possible to do some surgery in build.gradle to access this class and modify it, but a Gradle property of course would be nicer. If that sounds useful, please open a new ticket for it. |
Steps to reproduce:
The load fails.
It works fine when all XSDs are located in ml-schemas folder.
The text was updated successfully, but these errors were encountered: