Stirling-PDF
Stirling-PDF copied to clipboard
Dynamic paths for tools and removal of unused book endpoints
Description of Changes
This pull request includes several changes primarily focused on improving configuration management, removing deprecated methods, and updating paths for external dependencies. The most important changes are summarized below:
Configuration Management Improvements:
- Added a new
RuntimePathConfigclass to manage dynamic paths for operations and pipeline configurations (src/main/java/stirling/software/SPDF/config/RuntimePathConfig.java). - Removed the
bookAndHtmlFormatsInstalledbean and its associated logic fromAppConfigandEndpointConfiguration(src/main/java/stirling/software/SPDF/config/AppConfig.java,src/main/java/stirling/software/SPDF/config/EndpointConfiguration.java). [1] [2] [3]
External Dependency Path Updates:
- Updated paths for
weasyprintandunoconvertinExternalAppDepConfigto use values fromRuntimePathConfig(src/main/java/stirling/software/SPDF/config/ExternalAppDepConfig.java). [1] [2]
Minor Adjustments:
- Corrected a typo from "Unoconv" to "Unoconvert" in
EndpointConfiguration(src/main/java/stirling/software/SPDF/config/EndpointConfiguration.java).
Checklist
General
- [ ] I have read the Contribution Guidelines
- [ ] I have read the Stirling-PDF Developer Guide (if applicable)
- [ ] I have read the How to add new languages to Stirling-PDF (if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
Documentation
- [ ] I have updated relevant docs on Stirling-PDF's doc repo (if functionality has heavily changed)
- [ ] I have read the section Add New Translation Tags (for new translation tags only)
UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR)
Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the Testing Guide for more details.