chore: add caching, validation, lazy routes, refresh rate limiting, JaCoCo, and cleanup (#2762)

* feat: add login rate limiting to prevent brute-force attacks

* chore: add caching, validation, lazy routes, refresh rate limiting, JaCoCo, and remove dead code
This commit is contained in:
ACX
2026-02-15 08:51:25 -07:00
committed by GitHub
parent f7650d9fd6
commit 03272f7c35
12 changed files with 150 additions and 93 deletions
+11
View File
@@ -4,6 +4,7 @@ plugins {
id 'io.spring.dependency-management' version '1.1.7'
id 'org.hibernate.orm' version '7.2.4.Final'
id 'com.github.ben-manes.versions' version '0.53.0'
id 'jacoco'
}
group = 'org.booklore'
@@ -108,6 +109,7 @@ dependencies {
implementation 'com.fasterxml.jackson.core:jackson-annotations'
// --- Caching ---
implementation 'org.springframework.boot:spring-boot-starter-cache'
implementation 'com.github.ben-manes.caffeine:caffeine:3.2.3'
// --- Test Dependencies ---
@@ -127,6 +129,15 @@ hibernate {
test {
useJUnitPlatform()
jvmArgs("-XX:+EnableDynamicAgentLoading")
finalizedBy jacocoTestReport
}
jacocoTestReport {
dependsOn test
reports {
xml.required = true
html.required = true
}
}
bootRun {