refactor(config): remove redundant Spring Boot config and fix injection patterns (#314)

* refactor(config): remove redundant Spring Boot config and fix injection patterns

- Delete TransactionConfig (Spring Boot auto-configures JpaTransactionManager)
- Delete MultipartConfig (replaced with spring.servlet.multipart.* properties)
- Delete BeanConfig (RestTemplate moved to RestClientConfig, WS stats to WebSocketConfig)
- Remove duplicate @EnableScheduling from TaskSchedulerConfig
- Fix @ConfigurationProperties: remove @Component from AppProperties, change
  @Configuration to @ConfigurationProperties on BookmarkProperties
- Move RestTemplate bean to RestClientConfig
- Add WS stats suppression to WebSocketConfig via ApplicationReadyEvent
- Remove @Autowired from KepubConversionService, GoogleParser,
  HardcoverBookSearchService (single-constructor injection)
- Remove redundant two-arg constructor from GoogleParser
- Fix CbxReaderService pre-existing compile error (transferEntryTo)

* refactor(config): add primary RestTemplate bean and include audiobook settings in persistence configuration
This commit is contained in:
brios
2026-04-22 17:27:00 -04:00
committed by Zach Yale
parent 19223d749d
commit 390a37266c
14 changed files with 35 additions and 97 deletions
@@ -43,7 +43,10 @@ spring:
fail-on-null-for-primitives: false
servlet:
multipart:
enabled: false
enabled: true
max-file-size: 1024MB
max-request-size: 1024MB
file-size-threshold: 0
mvc:
async:
request-timeout: 600000