Skip to content

Commit b446bf9

Browse files
committed
Spring Boot 3.5 / Spring Data Elasticsearch 6.0 baseline
Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: Andriy Redko <[email protected]>
1 parent 699aa7f commit b446bf9

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

settings.gradle.kts

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ dependencyResolutionManagement {
1414
}
1515

1616
create("springLibs") {
17-
version("spring", "6.2.2")
18-
version("spring-boot", "3.4.2")
19-
library("data-commons", "org.springframework.data:spring-data-commons:3.4.3")
20-
library("data-elasticsearch", "org.springframework.data:spring-data-elasticsearch:5.4.3")
17+
version("spring", "7.0.0-M2")
18+
version("spring-boot", "3.5.0-M2")
19+
library("data-commons", "org.springframework.data:spring-data-commons:4.0.0-M1")
20+
library("data-elasticsearch", "org.springframework.data:spring-data-elasticsearch:6.0.0-M1")
2121
library("web", "org.springframework", "spring-web").versionRef("spring")
2222
library("context", "org.springframework", "spring-context").versionRef("spring")
2323
library("tx", "org.springframework", "spring-tx").versionRef("spring")
@@ -72,12 +72,18 @@ pluginManagement {
7272
maven {
7373
url = uri("https://repo.spring.io/release/")
7474
}
75+
maven {
76+
url = uri("https://repo.spring.io/milestone/")
77+
}
7578
}
7679
}
7780

7881
dependencyResolutionManagement {
7982
repositories {
8083
mavenCentral()
84+
maven {
85+
url = uri("https://repo.spring.io/milestone/")
86+
}
8187
}
8288
}
8389

spring-data-opensearch/src/test/java/org/springframework/data/elasticsearch/core/query/ElasticsearchPartQueryIntegrationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
import org.springframework.data.elasticsearch.repository.query.ElasticsearchQueryMethod;
3737
import org.springframework.data.projection.SpelAwareProxyProjectionFactory;
3838
import org.springframework.data.repository.core.support.DefaultRepositoryMetadata;
39-
import org.springframework.data.repository.query.QueryMethodEvaluationContextProvider;
39+
import org.springframework.data.repository.query.ValueExpressionDelegate;
4040
import org.springframework.lang.Nullable;
4141

4242
/**
@@ -648,7 +648,7 @@ private String getQueryString(String methodName, Class<?>[] parameterClasses, Ob
648648
ElasticsearchQueryMethod queryMethod = new ElasticsearchQueryMethod(method,
649649
new DefaultRepositoryMetadata(SampleRepository.class), new SpelAwareProxyProjectionFactory(),
650650
operations.getElasticsearchConverter().getMappingContext());
651-
ElasticsearchPartQuery partQuery = new ElasticsearchPartQuery(queryMethod, operations, QueryMethodEvaluationContextProvider.DEFAULT);
651+
ElasticsearchPartQuery partQuery = new ElasticsearchPartQuery(queryMethod, operations, ValueExpressionDelegate.create());
652652
Query query = partQuery.createQuery(parameters);
653653
return buildQueryString(query, Book.class);
654654
}

version.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version=1.6.2
1+
version=1.7.0

0 commit comments

Comments
 (0)