Bump spring-boot to 3.5.0 (#2418)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -126,6 +126,14 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<doclint>syntax</doclint>
|
||||||
|
<legacyMode>true</legacyMode>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
@@ -31,7 +31,6 @@ import org.springframework.data.domain.Pageable;
|
|||||||
import org.springframework.data.domain.Slice;
|
import org.springframework.data.domain.Slice;
|
||||||
import org.springframework.data.domain.Sort;
|
import org.springframework.data.domain.Sort;
|
||||||
import org.springframework.data.jpa.domain.Specification;
|
import org.springframework.data.jpa.domain.Specification;
|
||||||
import org.springframework.data.repository.query.FluentQuery;
|
|
||||||
import org.springframework.lang.NonNull;
|
import org.springframework.lang.NonNull;
|
||||||
import org.springframework.lang.Nullable;
|
import org.springframework.lang.Nullable;
|
||||||
|
|
||||||
@@ -171,6 +170,11 @@ public class BaseEntityRepositoryACM<T extends AbstractJpaTenantAwareBaseEntity>
|
|||||||
return repository.findAll(accessController.appendAccessRules(AccessController.Operation.READ, spec), pageable);
|
return repository.findAll(accessController.appendAccessRules(AccessController.Operation.READ, spec), pageable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Page<T> findAll(final Specification<T> spec, final Specification<T> countSpec, final Pageable pageable) {
|
||||||
|
return repository.findAll(accessController.appendAccessRules(AccessController.Operation.READ, spec), countSpec, pageable);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@NonNull
|
@NonNull
|
||||||
public List<T> findAll(final Specification<T> spec, @NonNull final Sort sort) {
|
public List<T> findAll(final Specification<T> spec, @NonNull final Sort sort) {
|
||||||
@@ -194,7 +198,7 @@ public class BaseEntityRepositoryACM<T extends AbstractJpaTenantAwareBaseEntity>
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public <S extends T, R> R findBy(final Specification<T> spec, final Function<FluentQuery.FetchableFluentQuery<S>, R> queryFunction) {
|
public <S extends T, R> R findBy(final Specification<T> spec, final Function<? super SpecificationFluentQuery<S>, R> queryFunction) {
|
||||||
Objects.requireNonNull(spec, SPEC_MUST_NOT_BE_NULL);
|
Objects.requireNonNull(spec, SPEC_MUST_NOT_BE_NULL);
|
||||||
return repository.findBy(
|
return repository.findBy(
|
||||||
// spec shall be non-null and the result of appending rules shall be non-null
|
// spec shall be non-null and the result of appending rules shall be non-null
|
||||||
|
|||||||
10
pom.xml
10
pom.xml
@@ -17,7 +17,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
<version>3.4.6</version>
|
<version>3.5.0</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<groupId>org.eclipse.hawkbit</groupId>
|
<groupId>org.eclipse.hawkbit</groupId>
|
||||||
@@ -43,12 +43,12 @@
|
|||||||
|
|
||||||
<snapshotDependencyAllowed>true</snapshotDependencyAllowed>
|
<snapshotDependencyAllowed>true</snapshotDependencyAllowed>
|
||||||
|
|
||||||
<spring.boot.version>3.4.6</spring.boot.version>
|
<spring.boot.version>3.5.0</spring.boot.version>
|
||||||
<spring.cloud.version>2024.0.1</spring.cloud.version>
|
<spring.cloud.version>2025.0.0</spring.cloud.version>
|
||||||
<springdoc-openapi.version>2.8.9</springdoc-openapi.version>
|
<springdoc-openapi.version>2.8.9</springdoc-openapi.version>
|
||||||
<spring.plugin.core.version>3.0.0</spring.plugin.core.version>
|
<spring.plugin.core.version>3.0.0</spring.plugin.core.version>
|
||||||
<!-- Spring boot version overrides (should be reviewed with every boot upgrade) - START -->
|
<!-- Spring boot version overrides (should be reviewed with every Spring boot upgrade) - START -->
|
||||||
<!-- Newer versions needed than defined in Boot -->
|
<!-- Newer versions needed than defined in the Spring boot -->
|
||||||
<!-- Spring boot version overrides - END -->
|
<!-- Spring boot version overrides - END -->
|
||||||
|
|
||||||
<!-- Eclipselink - START -->
|
<!-- Eclipselink - START -->
|
||||||
|
|||||||
Reference in New Issue
Block a user