Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Validate redaction rulesets on ingest #348

Closed
rjrudin opened this issue Feb 28, 2019 · 2 comments
Closed

Validate redaction rulesets on ingest #348

rjrudin opened this issue Feb 28, 2019 · 2 comments
Labels

Comments

@rjrudin
Copy link
Contributor

rjrudin commented Feb 28, 2019

Similar to TDE templates - can invoke rdt.ruleValidate

@rjrudin rjrudin transferred this issue from marklogic/ml-gradle Apr 23, 2019
rjrudin added a commit that referenced this issue Apr 23, 2019
This isn't helpful yet though because when the rdt.validate call fails, the Java Client doesn't return the actual error message. So we can tell the user that they have errors, but not what they are, which isn't very useful.
@rjrudin
Copy link
Contributor Author

rjrudin commented Apr 23, 2019

Need to find a way to get the redaction validation message via the Java Client API - currently just getting the following:

17:03:22.071 [main] INFO c.m.a.c.schemas.LoadSchemasTest - MESSAGE: Local message: failed to apply resource at eval: Internal Server Error. Server Message: Server (not a REST instance?) did not respond with an expected REST Error message.
com.marklogic.client.FailedRequestException: Local message: failed to apply resource at eval: Internal Server Error. Server Message: Server (not a REST instance?) did not respond with an expected REST Error message.

@rjrudin
Copy link
Contributor Author

rjrudin commented Aug 21, 2024

Closing, not a priority.

@rjrudin rjrudin closed this as completed Aug 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant