Skip to content

build: add AbstractXMLReader to mirth-client-core#262

Open
tonygermano wants to merge 1 commit intoOpenIntegrationEngine:mainfrom
tonygermano:abstractxmlreader-client
Open

build: add AbstractXMLReader to mirth-client-core#262
tonygermano wants to merge 1 commit intoOpenIntegrationEngine:mainfrom
tonygermano:abstractxmlreader-client

Conversation

@tonygermano
Copy link
Member

This class was not available to the client, but it is required to serialize transformer message templates to the message tree view.

@tonygermano tonygermano requested review from a team, gibson9583, jonbartels, kayyagari, kpalang, mgaffigan, pacmano1 and ssrowe and removed request for a team March 7, 2026 06:48
@github-actions
Copy link

github-actions bot commented Mar 7, 2026

Test Results

  105 files  ±0    202 suites  ±0   7m 1s ⏱️ + 1m 15s
  633 tests ±0    633 ✅ ±0  0 💤 ±0  0 ❌ ±0 
1 266 runs  ±0  1 266 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit df7bad7. ± Comparison against base commit 9a36030.

♻️ This comment has been updated with latest results.

@tonygermano tonygermano added this to the Next Release milestone Mar 7, 2026
pacmano1
pacmano1 previously approved these changes Mar 7, 2026
Copy link
Contributor

@pacmano1 pacmano1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with JSON, XML and HL7. Seems fixed. Excellent find whoever found it.

@tonygermano
Copy link
Member Author

tonygermano commented Mar 9, 2026

Tested with JSON, XML and HL7. Seems fixed. Excellent find whoever found it.

@pacmano1 Thank you for informing me of the issue 😛 The 4 datatypes affected would be HL7v2, delimited, edi, and NCPDP (all of the types that serialize from some other format to XML). JSON and XML itself should have been fine without this PR.

The class that is the subject of this PR was introduced in #223. It was being included in mirth-server.jar already, so everything was fine on the server side. Adding it to mirth-client-core.jar allows the client to use it, too.

NicoPiel
NicoPiel previously approved these changes Mar 13, 2026
Copy link
Collaborator

@NicoPiel NicoPiel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Superb find.

Copy link
Contributor

@mgaffigan mgaffigan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem like a plugin - I suggest moving the class out of a subdirectory of plugins. Plugins have plugin manifests. The only other classes we ship from the plugins directories in core are immediate children of the plugins directory.

Suggest moving outside plugins namespace. If you wish for it to stay, make it an actual plugin.

@tonygermano
Copy link
Member Author

This doesn't seem like a plugin - I suggest moving the class out of a subdirectory of plugins. Plugins have plugin manifests. The only other classes we ship from the plugins directories in core are immediate children of the plugins directory.

Suggest moving outside plugins namespace. If you wish for it to stay, make it an actual plugin.

@mgaffigan
The package name was created in #223, not this PR, which is only packaging the class for the client to be able to use it.

It is not a plugin, but an abstract class that functions like a plugin interface. The existing plugin interfaces live in the com.mirth.connect.plugins package, and that was the precedent I followed in the previous PR when I named it, changing mirth for OIE.

@mgaffigan
Copy link
Contributor

@tonygermano

It is not a plugin, but an abstract class that functions like a plugin interface. The existing plugin interfaces live in the com.mirth.connect.plugins package, and that was the precedent I followed in the previous PR when I named it, changing mirth for OIE.

Then the include can presumably be narrowed to this class or directory specifically - the reference of the other plugin directory subtree match results in every plugin class getting shipped twice.

This class was not available to the client, but it is required to
serialize transformer message templates to the message tree view.

Signed-off-by: Tony Germano <tony@germano.name>
@tonygermano tonygermano dismissed stale reviews from NicoPiel and pacmano1 via df7bad7 March 14, 2026 03:08
@tonygermano tonygermano force-pushed the abstractxmlreader-client branch from 3935d94 to df7bad7 Compare March 14, 2026 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants