FINERACT-2326: Upgrade dependencies

This commit is contained in:
Adam Saghy
2025-09-12 10:32:13 -05:00
parent fa9c7b9364
commit 627ccf603f
9 changed files with 15 additions and 13 deletions
+2 -2
View File
@@ -85,7 +85,7 @@ buildscript {
classpath 'org.eclipse.persistence:eclipselink:4.0.6' classpath 'org.eclipse.persistence:eclipselink:4.0.6'
classpath 'jakarta.ws.rs:jakarta.ws.rs-api:3.1.0' classpath 'jakarta.ws.rs:jakarta.ws.rs-api:3.1.0'
classpath 'com.google.cloud.tools:jib-layer-filter-extension-gradle:0.3.0' classpath 'com.google.cloud.tools:jib-layer-filter-extension-gradle:0.3.0'
classpath 'org.apache.commons:commons-lang3:3.17.0' classpath 'org.apache.commons:commons-lang3:3.18.0'
classpath 'io.swagger.core.v3:swagger-jaxrs2-jakarta:2.2.22' classpath 'io.swagger.core.v3:swagger-jaxrs2-jakarta:2.2.22'
classpath 'jakarta.servlet:jakarta.servlet-api:6.1.0' classpath 'jakarta.servlet:jakarta.servlet-api:6.1.0'
} }
@@ -100,7 +100,7 @@ plugins {
id 'com.github.hierynomus.license' version '0.16.1' apply false id 'com.github.hierynomus.license' version '0.16.1' apply false
id 'com.github.jk1.dependency-license-report' version '2.9' apply false id 'com.github.jk1.dependency-license-report' version '2.9' apply false
id 'org.zeroturnaround.gradle.jrebel' version '1.2.0' apply false id 'org.zeroturnaround.gradle.jrebel' version '1.2.0' apply false
id 'org.springframework.boot' version '3.4.4' apply false id 'org.springframework.boot' version '3.5.5' apply false
id 'net.ltgt.errorprone' version '4.1.0' apply false id 'net.ltgt.errorprone' version '4.1.0' apply false
id 'io.swagger.core.v3.swagger-gradle-plugin' version '2.2.23' apply false id 'io.swagger.core.v3.swagger-gradle-plugin' version '2.2.23' apply false
id 'com.gorylenko.gradle-git-properties' version '2.4.2' apply false id 'com.gorylenko.gradle-git-properties' version '2.4.2' apply false
@@ -25,8 +25,8 @@ dependencyManagement {
mavenBom 'com.squareup.okhttp3:okhttp-bom:4.12.0' mavenBom 'com.squareup.okhttp3:okhttp-bom:4.12.0'
mavenBom 'org.slf4j:slf4j-bom:2.0.17' mavenBom 'org.slf4j:slf4j-bom:2.0.17'
mavenBom 'io.micrometer:micrometer-bom:1.13.6' mavenBom 'io.micrometer:micrometer-bom:1.13.6'
mavenBom 'org.springframework:spring-framework-bom:6.2.5' mavenBom 'org.springframework:spring-framework-bom:6.2.10'
mavenBom 'org.springframework.boot:spring-boot-dependencies:3.4.4' mavenBom 'org.springframework.boot:spring-boot-dependencies:3.5.5'
mavenBom 'io.awspring.cloud:spring-cloud-aws-dependencies:3.2.1' mavenBom 'io.awspring.cloud:spring-cloud-aws-dependencies:3.2.1'
mavenBom 'io.opentelemetry:opentelemetry-bom:1.44.1' mavenBom 'io.opentelemetry:opentelemetry-bom:1.44.1'
mavenBom 'org.jetbrains.kotlin:kotlin-bom:2.0.21' mavenBom 'org.jetbrains.kotlin:kotlin-bom:2.0.21'
@@ -210,7 +210,7 @@ dependencyManagement {
exclude 'pull-parser:pull-parser' exclude 'pull-parser:pull-parser'
} }
dependency 'org.owasp.esapi:esapi:2.6.0.0' dependency 'org.owasp.esapi:esapi:2.7.0.0'
dependency 'org.awaitility:awaitility:4.2.2' dependency 'org.awaitility:awaitility:4.2.2'
dependencySet(group: 'org.apache.poi', version: '5.4.1') { dependencySet(group: 'org.apache.poi', version: '5.4.1') {
@@ -272,5 +272,6 @@ dependencyManagement {
dependency 'com.ibm.icu:icu4j:76.1' dependency 'com.ibm.icu:icu4j:76.1'
dependency 'org.yakworks:spring-icu4j:0.4.2' dependency 'org.yakworks:spring-icu4j:0.4.2'
dependency 'org.apache.commons:commons-lang3:3.18.0'
} }
} }
+1 -1
View File
@@ -68,7 +68,7 @@ dependencies {
testImplementation 'com.squareup.retrofit2:retrofit:2.11.0' testImplementation 'com.squareup.retrofit2:retrofit:2.11.0'
testImplementation 'org.apache.httpcomponents:httpclient:4.5.14' testImplementation 'org.apache.httpcomponents:httpclient:4.5.14'
testImplementation 'org.apache.commons:commons-lang3:3.17.0' testImplementation 'org.apache.commons:commons-lang3:3.18.0'
testImplementation ('com.googlecode.json-simple:json-simple:1.1.1') { testImplementation ('com.googlecode.json-simple:json-simple:1.1.1') {
exclude group: 'junit', module: 'junit' exclude group: 'junit', module: 'junit'
} }
+1 -1
View File
@@ -40,7 +40,7 @@ dependencies {
testImplementation 'com.squareup.retrofit2:retrofit:2.11.0' testImplementation 'com.squareup.retrofit2:retrofit:2.11.0'
testImplementation 'org.apache.httpcomponents:httpclient:4.5.14' testImplementation 'org.apache.httpcomponents:httpclient:4.5.14'
testImplementation 'org.apache.commons:commons-lang3:3.17.0' testImplementation 'org.apache.commons:commons-lang3:3.18.0'
testImplementation ('com.googlecode.json-simple:json-simple:1.1.1') { testImplementation ('com.googlecode.json-simple:json-simple:1.1.1') {
exclude group: 'junit', module: 'junit' exclude group: 'junit', module: 'junit'
} }
@@ -26,6 +26,7 @@ import org.apache.fineract.portfolio.loanaccount.domain.LoanTransaction;
import org.apache.fineract.portfolio.savings.domain.SavingsAccount; import org.apache.fineract.portfolio.savings.domain.SavingsAccount;
import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query; import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param; import org.springframework.data.repository.query.Param;
@@ -52,4 +53,6 @@ public interface NoteRepository extends JpaRepository<Note, Long>, JpaSpecificat
@Query("select note from Note note where note.savingsTransaction.id = :savingsTransactionId") @Query("select note from Note note where note.savingsTransaction.id = :savingsTransactionId")
List<Note> findBySavingsTransactionId(@Param("savingsTransactionId") Long savingsTransactionId); List<Note> findBySavingsTransactionId(@Param("savingsTransactionId") Long savingsTransactionId);
@Modifying
void deleteAllBySavingsAccount(SavingsAccount savingsAccount);
} }
@@ -400,9 +400,7 @@ public class SavingsApplicationProcessWritePlatformServiceJpaRepositoryImpl impl
} }
} }
final List<Note> relatedNotes = this.noteRepository.findBySavingsAccount(account); this.noteRepository.deleteAllBySavingsAccount(account);
this.noteRepository.deleteAllInBatch(relatedNotes);
this.savingAccountRepository.delete(account); this.savingAccountRepository.delete(account);
return new CommandProcessingResultBuilder() // return new CommandProcessingResultBuilder() //
+1 -1
View File
@@ -20,7 +20,7 @@ dependencies {
// testCompile dependencies are ONLY used in src/test, not src/main. // testCompile dependencies are ONLY used in src/test, not src/main.
// Do NOT repeat dependencies which are ALREADY in implementation or runtimeOnly! // Do NOT repeat dependencies which are ALREADY in implementation or runtimeOnly!
// //
tomcat 'org.apache.tomcat:tomcat:10.1.39@zip' tomcat 'org.apache.tomcat:tomcat:10.1.42@zip'
testImplementation( files("$rootDir/fineract-provider/build/classes/java/main/"), testImplementation( files("$rootDir/fineract-provider/build/classes/java/main/"),
project(path: ':fineract-core', configuration: 'runtimeElements'), project(path: ':fineract-core', configuration: 'runtimeElements'),
project(path: ':fineract-accounting', configuration: 'runtimeElements'), project(path: ':fineract-accounting', configuration: 'runtimeElements'),
+1 -1
View File
@@ -20,7 +20,7 @@ dependencies {
// testCompile dependencies are ONLY used in src/test, not src/main. // testCompile dependencies are ONLY used in src/test, not src/main.
// Do NOT repeat dependencies which are ALREADY in implementation or runtimeOnly! // Do NOT repeat dependencies which are ALREADY in implementation or runtimeOnly!
// //
tomcat 'org.apache.tomcat:tomcat:10.1.39@zip' tomcat 'org.apache.tomcat:tomcat:10.1.42@zip'
testImplementation( files("$rootDir/fineract-provider/build/classes/java/main/"), testImplementation( files("$rootDir/fineract-provider/build/classes/java/main/"),
project(path: ':fineract-provider', configuration: 'runtimeElements'), project(path: ':fineract-provider', configuration: 'runtimeElements'),
'org.junit.jupiter:junit-jupiter-api', 'org.junit.jupiter:junit-jupiter-api',
+1 -1
View File
@@ -20,7 +20,7 @@ dependencies {
// testCompile dependencies are ONLY used in src/test, not src/main. // testCompile dependencies are ONLY used in src/test, not src/main.
// Do NOT repeat dependencies which are ALREADY in implementation or runtimeOnly! // Do NOT repeat dependencies which are ALREADY in implementation or runtimeOnly!
// //
tomcat 'org.apache.tomcat:tomcat:10.1.39@zip' tomcat 'org.apache.tomcat:tomcat:10.1.42@zip'
testImplementation( files("$rootDir/fineract-provider/build/classes/java/main/"), testImplementation( files("$rootDir/fineract-provider/build/classes/java/main/"),
project(path: ':fineract-provider', configuration: 'runtimeElements'), project(path: ':fineract-provider', configuration: 'runtimeElements'),
'org.junit.jupiter:junit-jupiter-api', 'org.junit.jupiter:junit-jupiter-api',