Commit 02ac2810 authored by R.W.Majeed's avatar R.W.Majeed

apply outcome filtering in create

parent d519ef92
......@@ -141,7 +141,7 @@ public class Binary implements ExternalInterface{
return; // nothing to do
}
switch( filter ) {
case "info":
case "info": // info is currently same as all. has no effect, since there are no levels below info
outcome.removeIssuesBelowSeverity(Severity.information);
break;
case "warning":
......@@ -244,6 +244,7 @@ public class Binary implements ExternalInterface{
if( cda != null ){
tryDebugProcessing(cda, outcome);
}
filterOutcome(outcome);
try {
return response.entity(outcomeToXML(outcome)).build();
} catch (XMLStreamException e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment