Stirling-PDF icon indicating copy to clipboard operation
Stirling-PDF copied to clipboard

Dynamic paths for tools and removal of unused book endpoints

Open Frooodle opened this issue 10 months ago • 0 comments

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 RuntimePathConfig class to manage dynamic paths for operations and pipeline configurations (src/main/java/stirling/software/SPDF/config/RuntimePathConfig.java).
  • Removed the bookAndHtmlFormatsInstalled bean and its associated logic from AppConfig and EndpointConfiguration (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 weasyprint and unoconvert in ExternalAppDepConfig to use values from RuntimePathConfig (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

Documentation

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.

Frooodle avatar Feb 22 '25 01:02 Frooodle