Skip to content

Conversation

tnleeuw
Copy link
Contributor

@tnleeuw tnleeuw commented May 15, 2025

No description provided.

tnleeuw and others added 21 commits May 14, 2025 16:58
…rrorMessageFormatter.java

Co-authored-by: Erik <dongenevan@gmail.com>
# 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
@tnleeuw tnleeuw self-assigned this May 15, 2025
@tnleeuw tnleeuw added the JSON label May 15, 2025
@tnleeuw tnleeuw requested review from nielsm5 and evandongen May 18, 2025 18:24
@tnleeuw tnleeuw marked this pull request as ready for review May 18, 2025 18:24
@tnleeuw tnleeuw linked an issue May 18, 2025 that may be closed by this pull request
private Mapper mapper;
private DataSonnetOutputType outputType = DataSonnetOutputType.JSON;
private JsonMapper mapper;
private JsonMapper.DataSonnetOutputType outputType = JsonMapper.DataSonnetOutputType.JSON;
Copy link
Contributor

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

@nielsm5 nielsm5 changed the title feature/8976_AddDataSonnetErrorMessageFormatter Add DataSonnetErrorMessageFormatter May 19, 2025
@@ -133,7 +134,7 @@ public void testPrettyJson() throws IOException {
String inputString = StreamUtil.resourceToString(input);
Copy link
Member

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 😄

Copy link
Contributor Author

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() {
Copy link
Member

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)?

tnleeuw added 2 commits May 19, 2025 13:24
…atter

# Conflicts:
#	test/src/test/java/org/frankframework/runner/RunLarvaTests.java
Copy link

@nielsm5 nielsm5 merged commit 7b94c54 into master May 19, 2025
33 checks passed
@nielsm5 nielsm5 deleted the feature/8976_AddDataSonnetErrorMessageFormatter branch May 19, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow flexible JSON error message formatting with DataSonnet
3 participants