-
Notifications
You must be signed in to change notification settings - Fork 81
Add DataSonnetErrorMessageFormatter #8990
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
Add DataSonnetErrorMessageFormatter #8990
Conversation
…orMessageFormatter
…rrorMessageFormatter.java Co-authored-by: Erik <dongenevan@gmail.com>
…and potentially others
…/8976_AddDataSonnetErrorMessageFormatter
# Conflicts: # core/src/main/java/org/frankframework/errormessageformatters/ErrorMessageFormatter.java # core/src/main/java/org/frankframework/errormessageformatters/SoapErrorMessageFormatter.java # nn-specials/src/main/java/org/frankframework/errormessageformatters/Y01ErrorMessageFormatter.java
…/8976_AddDataSonnetErrorMessageFormatter
…/8976_AddDataSonnetErrorMessageFormatter
…atter # Conflicts: # core/src/main/java/org/frankframework/errormessageformatters/ErrorMessageFormatter.java # core/src/main/java/org/frankframework/errormessageformatters/XslErrorMessageFormatter.java
…nsistency across the code.
… the output message that was different between local runs and maven runs)
private Mapper mapper; | ||
private DataSonnetOutputType outputType = DataSonnetOutputType.JSON; | ||
private JsonMapper mapper; | ||
private JsonMapper.DataSonnetOutputType outputType = JsonMapper.DataSonnetOutputType.JSON; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ik vind het denk ik duidelijker om deze enum in een aparte class te zetten aangezien hij nu op meer dan 1 plek wordt gebruikt
…hod from Misc to JsonUtil.
@@ -133,7 +134,7 @@ public void testPrettyJson() throws IOException { | |||
String inputString = StreamUtil.resourceToString(input); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eigenlijk moeten deze tests verplaats worden naar een TestJsonUtil class 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🫣
@@ -273,4 +273,11 @@ public int size() { | |||
} | |||
return parameters.size(); | |||
} | |||
|
|||
public List<String> getParameterNames() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Namen hoeven niet uniek te zijn, misschien handig dat hier nog even bij te zetten? Of komen ze dan tweemaal in de lijst (ook dan handig te noteren)?
…atter # Conflicts: # test/src/test/java/org/frankframework/runner/RunLarvaTests.java
|
No description provided.