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

Improve memory management and error handling #70

Merged
merged 9 commits into from
Dec 17, 2021
Merged

Conversation

jafarre-bi
Copy link

  • Using temporary files, input/output streams or scratch files instead of fully loading files into memory.
  • Improved error handling.
  • Temporary files are now guarranted to be removed when not needed anymore.
  • Created generic utility class and extension to simplify temporary-file management.
  • Fixed bugs in the /health endpoint.
  • Small miscellaneous improvements and many warnings removed.

Copy link
Member

@metmajer metmajer left a comment

Choose a reason for hiding this comment

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

🥇

@jafarre-bi jafarre-bi force-pushed the feature/EDPC-1071 branch 2 times, most recently from aa69bc9 to 64715d6 Compare December 15, 2021 15:37
@jafarre-bi
Copy link
Author

jafarre-bi commented Dec 16, 2021

We have detected a problem with the packaging of the app.jar, so this cannot be merged yet. Apparently, the problem was always there, but it doesn't always manifest.

Add a modified transformer for module descriptors in META-INF/groovy
@jafarre-bi
Copy link
Author

jafarre-bi commented Dec 16, 2021

The fix required activating the mergeGroovyExtensionModules transformation of the shadowJar plugin and also working around a bug in the plugin code.
@metmajer please, review this latest change. Thank you.

Copy link
Member

@metmajer metmajer left a comment

Choose a reason for hiding this comment

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

Thank you!

@jafarre-bi jafarre-bi merged commit def9b0c into master Dec 17, 2021
@jafarre-bi jafarre-bi deleted the feature/EDPC-1071 branch December 17, 2021 14:17
jafarre-bi pushed a commit that referenced this pull request Dec 17, 2021
* Improve memory management and error handling

Co-authored-by: zxBCN Farre_Basurte,Juan_Antonio (IT EDS) EXTERNAL <juan_antonio.farre_basurte.ext@boehringer-ingelheim.com>

(cherry picked from commit def9b0c)
@victorpablosceruelo victorpablosceruelo mentioned this pull request Aug 18, 2022
5 tasks
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.

2 participants