Skip to content
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 class for loading mapping templates in bulk #1550

Merged
merged 2 commits into from
Jun 13, 2023

Conversation

Swiddis
Copy link
Collaborator

@Swiddis Swiddis commented Jun 5, 2023

Description

The current architecture requires making a new Index class for every component we want to automatically load in the Integrations project, totaling over 100 lines of boilerplate per template. This PR addresses this by refactoring to use one bulk template loader, using a provided list of template names (pure directory traversal with ClassLoader is nontrivial).

One weird heisenbug was found in AssemblyValidationIT, will need to investigate more later.

Issues Resolved

N/A

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@Swiddis Swiddis added the enhancement New feature or request label Jun 5, 2023
Signed-off-by: Simeon Widdis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants