Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8a688dbcb4 | |||
| f5a9e1149a | |||
| ec1186119a | |||
| f2e00278cb | |||
| c300d462ac | |||
| 216e90f4a7 | |||
| d58e5a7173 | |||
| e4be6d82d5 | |||
| 08ea0bb6d9 | |||
| aeda13f920 | |||
| 270a5e2fca | |||
| de0eadc72b | |||
| 33bf5d505d |
@@ -25,3 +25,5 @@ jobs:
|
|||||||
uses: spring-projects/spring-data-build/actions/maven-build@3.5.x
|
uses: spring-projects/spring-data-build/actions/maven-build@3.5.x
|
||||||
env:
|
env:
|
||||||
TESTCONTAINERS_REUSE_ENABLE: true
|
TESTCONTAINERS_REUSE_ENABLE: true
|
||||||
|
with:
|
||||||
|
settings-xml: '${{ vars.SETTINGS_XML }}'
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ permissions:
|
|||||||
jobs:
|
jobs:
|
||||||
Inbox:
|
Inbox:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.repository_owner == 'spring-projects' && (github.event.action == 'opened' || github.event.action == 'reopened') && github.event.pull_request == null && !contains(join(github.event.issue.labels.*.name, ', '), 'dependency-upgrade') && !contains(github.event.issue.title, 'Release ')
|
if: vars.PROJECT_CARDS_ENABLED == 'true' && github.repository_owner == 'spring-projects' && (github.event.action == 'opened' || github.event.action == 'reopened') && github.event.pull_request == null && !contains(join(github.event.issue.labels.*.name, ', '), 'dependency-upgrade') && !contains(github.event.issue.title, 'Release ')
|
||||||
steps:
|
steps:
|
||||||
- name: Create or Update Issue Card
|
- name: Create or Update Issue Card
|
||||||
uses: actions/add-to-project@v1.0.2
|
uses: actions/add-to-project@v1.0.2
|
||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
github-token: ${{ secrets.GH_ISSUES_TOKEN_SPRING_DATA }}
|
github-token: ${{ secrets.GH_ISSUES_TOKEN_SPRING_DATA }}
|
||||||
Pull-Request:
|
Pull-Request:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.repository_owner == 'spring-projects' && (github.event.action == 'opened' || github.event.action == 'reopened') && github.event.pull_request != null
|
if: vars.PROJECT_CARDS_ENABLED == 'true' && github.repository_owner == 'spring-projects' && (github.event.action == 'opened' || github.event.action == 'reopened') && github.event.pull_request != null
|
||||||
steps:
|
steps:
|
||||||
- name: Create or Update Pull Request Card
|
- name: Create or Update Pull Request Card
|
||||||
uses: actions/add-to-project@v1.0.2
|
uses: actions/add-to-project@v1.0.2
|
||||||
@@ -36,7 +36,7 @@ jobs:
|
|||||||
github-token: ${{ secrets.GH_ISSUES_TOKEN_SPRING_DATA }}
|
github-token: ${{ secrets.GH_ISSUES_TOKEN_SPRING_DATA }}
|
||||||
Feedback-Provided:
|
Feedback-Provided:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.repository_owner == 'spring-projects' && github.event_name == 'issue_comment' && github.event.action == 'created' && github.actor != 'spring-projects-issues' && github.event.pull_request == null && github.event.issue.state == 'open' && contains(toJSON(github.event.issue.labels), 'waiting-for-feedback')
|
if: vars.PROJECT_CARDS_ENABLED == 'true' && github.repository_owner == 'spring-projects' && github.event_name == 'issue_comment' && github.event.action == 'created' && github.actor != 'spring-projects-issues' && github.event.pull_request == null && github.event.issue.state == 'open' && contains(toJSON(github.event.issue.labels), 'waiting-for-feedback')
|
||||||
steps:
|
steps:
|
||||||
- name: Update Project Card
|
- name: Update Project Card
|
||||||
uses: actions/add-to-project@v1.0.2
|
uses: actions/add-to-project@v1.0.2
|
||||||
|
|||||||
@@ -26,3 +26,7 @@ jobs:
|
|||||||
build-name: 'spring-data-elasticsearch'
|
build-name: 'spring-data-elasticsearch'
|
||||||
username: '${{ secrets.ARTIFACTORY_USERNAME }}'
|
username: '${{ secrets.ARTIFACTORY_USERNAME }}'
|
||||||
password: '${{ secrets.ARTIFACTORY_PASSWORD }}'
|
password: '${{ secrets.ARTIFACTORY_PASSWORD }}'
|
||||||
|
context-url: '${{ vars.ARTIFACTORY_CONTEXT_URL }}'
|
||||||
|
repository: '${{ vars.ARTIFACTORY_REPOSITORY }}'
|
||||||
|
project: '${{ vars.ARTIFACTORY_PROJECT }}'
|
||||||
|
settings-xml: '${{ vars.SETTINGS_XML }}'
|
||||||
|
|||||||
+2
-2
@@ -1,3 +1,3 @@
|
|||||||
#Thu Jul 17 14:00:55 CEST 2025
|
#Tue Jun 02 15:00:44 CEST 2026
|
||||||
|
distributionUrl=https\://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.16/apache-maven-3.9.16-bin.zip
|
||||||
wrapperUrl=https\://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar
|
wrapperUrl=https\://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar
|
||||||
distributionUrl=https\://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.11/apache-maven-3.9.11-bin.zip
|
|
||||||
|
|||||||
@@ -5,12 +5,12 @@
|
|||||||
|
|
||||||
<groupId>org.springframework.data</groupId>
|
<groupId>org.springframework.data</groupId>
|
||||||
<artifactId>spring-data-elasticsearch</artifactId>
|
<artifactId>spring-data-elasticsearch</artifactId>
|
||||||
<version>5.5.10</version>
|
<version>5.5.13</version>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.data.build</groupId>
|
<groupId>org.springframework.data.build</groupId>
|
||||||
<artifactId>spring-data-parent</artifactId>
|
<artifactId>spring-data-parent</artifactId>
|
||||||
<version>3.5.10</version>
|
<version>3.5.13</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<name>Spring Data Elasticsearch</name>
|
<name>Spring Data Elasticsearch</name>
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
<url>https://github.com/spring-projects/spring-data-elasticsearch</url>
|
<url>https://github.com/spring-projects/spring-data-elasticsearch</url>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<springdata.commons>3.5.10</springdata.commons>
|
<springdata.commons>3.5.13</springdata.commons>
|
||||||
|
|
||||||
<!-- version of the ElasticsearchClient -->
|
<!-- version of the ElasticsearchClient -->
|
||||||
<elasticsearch-java>8.18.8</elasticsearch-java>
|
<elasticsearch-java>8.18.8</elasticsearch-java>
|
||||||
@@ -82,8 +82,7 @@
|
|||||||
<scm>
|
<scm>
|
||||||
<url>https://github.com/spring-projects/spring-data-elasticsearch</url>
|
<url>https://github.com/spring-projects/spring-data-elasticsearch</url>
|
||||||
<connection>scm:git:git://github.com/spring-projects/spring-data-elasticsearch.git</connection>
|
<connection>scm:git:git://github.com/spring-projects/spring-data-elasticsearch.git</connection>
|
||||||
<developerConnection>scm:git:ssh://git@github.com/spring-projects/spring-data-elasticsearch.git
|
<developerConnection>scm:git:ssh://git@github.com/spring-projects/spring-data-elasticsearch.git</developerConnection>
|
||||||
</developerConnection>
|
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<issueManagement>
|
<issueManagement>
|
||||||
|
|||||||
@@ -1,29 +0,0 @@
|
|||||||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
|
|
||||||
https://maven.apache.org/xsd/settings-1.0.0.xsd">
|
|
||||||
|
|
||||||
<servers>
|
|
||||||
<server>
|
|
||||||
<id>spring-plugins-release</id>
|
|
||||||
<username>${env.ARTIFACTORY_USR}</username>
|
|
||||||
<password>${env.ARTIFACTORY_PSW}</password>
|
|
||||||
</server>
|
|
||||||
<server>
|
|
||||||
<id>spring-libs-snapshot</id>
|
|
||||||
<username>${env.ARTIFACTORY_USR}</username>
|
|
||||||
<password>${env.ARTIFACTORY_PSW}</password>
|
|
||||||
</server>
|
|
||||||
<server>
|
|
||||||
<id>spring-libs-milestone</id>
|
|
||||||
<username>${env.ARTIFACTORY_USR}</username>
|
|
||||||
<password>${env.ARTIFACTORY_PSW}</password>
|
|
||||||
</server>
|
|
||||||
<server>
|
|
||||||
<id>spring-libs-release</id>
|
|
||||||
<username>${env.ARTIFACTORY_USR}</username>
|
|
||||||
<password>${env.ARTIFACTORY_PSW}</password>
|
|
||||||
</server>
|
|
||||||
</servers>
|
|
||||||
|
|
||||||
</settings>
|
|
||||||
+17
-15
@@ -15,15 +15,12 @@
|
|||||||
*/
|
*/
|
||||||
package org.springframework.data.elasticsearch.client.elc.aot;
|
package org.springframework.data.elasticsearch.client.elc.aot;
|
||||||
|
|
||||||
import co.elastic.clients.elasticsearch._types.mapping.RuntimeFieldType;
|
|
||||||
import co.elastic.clients.elasticsearch._types.mapping.TypeMapping;
|
|
||||||
import co.elastic.clients.elasticsearch.indices.IndexSettings;
|
|
||||||
import co.elastic.clients.elasticsearch.indices.PutMappingRequest;
|
|
||||||
import org.springframework.aot.hint.MemberCategory;
|
import org.springframework.aot.hint.MemberCategory;
|
||||||
import org.springframework.aot.hint.RuntimeHints;
|
import org.springframework.aot.hint.RuntimeHints;
|
||||||
import org.springframework.aot.hint.RuntimeHintsRegistrar;
|
import org.springframework.aot.hint.RuntimeHintsRegistrar;
|
||||||
import org.springframework.aot.hint.TypeReference;
|
|
||||||
import org.springframework.lang.Nullable;
|
import org.springframework.lang.Nullable;
|
||||||
|
import org.springframework.util.ClassUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* runtime hints for the Elasticsearch client libraries, as these do not provide any of their own.
|
* runtime hints for the Elasticsearch client libraries, as these do not provide any of their own.
|
||||||
@@ -37,17 +34,22 @@ public class ElasticsearchClientRuntimeHints implements RuntimeHintsRegistrar {
|
|||||||
public void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader) {
|
public void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader) {
|
||||||
|
|
||||||
hints.reflection()
|
hints.reflection()
|
||||||
.registerType(TypeReference.of(IndexSettings.class), builder -> builder.withField("_DESERIALIZER")) //
|
.registerTypeIfPresent(classLoader, "co.elastic.clients.elasticsearch.indices.IndexSettings",
|
||||||
.registerType(TypeReference.of(PutMappingRequest.class), builder -> builder.withField("_DESERIALIZER")) //
|
builder -> builder.withField("_DESERIALIZER"))
|
||||||
.registerType(TypeReference.of(RuntimeFieldType.class), builder -> builder.withField("_DESERIALIZER"))//
|
.registerTypeIfPresent(classLoader, "co.elastic.clients.elasticsearch.indices.PutMappingRequest",
|
||||||
.registerType(TypeReference.of(TypeMapping.class), builder -> builder.withField("_DESERIALIZER")) //
|
builder -> builder.withField("_DESERIALIZER"))
|
||||||
;
|
.registerTypeIfPresent(classLoader, "co.elastic.clients.elasticsearch._types.mapping.RuntimeFieldType",
|
||||||
|
builder -> builder.withField("_DESERIALIZER"))
|
||||||
|
.registerTypeIfPresent(classLoader, "co.elastic.clients.elasticsearch._types.mapping.TypeMapping",
|
||||||
|
builder -> builder.withField("_DESERIALIZER"));
|
||||||
|
|
||||||
hints.serialization() //
|
if (ClassUtils.isPresent("org.apache.http.impl.auth.BasicScheme", classLoader)) {
|
||||||
.registerType(org.apache.http.impl.auth.BasicScheme.class) //
|
hints.serialization() //
|
||||||
.registerType(org.apache.http.impl.auth.RFC2617Scheme.class) //
|
.registerType(org.apache.http.impl.auth.BasicScheme.class) //
|
||||||
.registerType(java.util.HashMap.class) //
|
.registerType(org.apache.http.impl.auth.RFC2617Scheme.class) //
|
||||||
;
|
.registerType(java.util.HashMap.class) //
|
||||||
|
;
|
||||||
|
}
|
||||||
|
|
||||||
hints.resources() //
|
hints.resources() //
|
||||||
.registerPattern("co/elastic/clients/version.properties") //
|
.registerPattern("co/elastic/clients/version.properties") //
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
Spring Data Elasticsearch 5.5.10 (2025.0.10)
|
Spring Data Elasticsearch 5.5.13 (2025.0.13)
|
||||||
Copyright (c) [2013-2022] Pivotal Software, Inc.
|
Copyright (c) [2013-2022] Pivotal Software, Inc.
|
||||||
|
|
||||||
This product is licensed to you under the Apache License, Version 2.0 (the "License").
|
This product is licensed to you under the Apache License, Version 2.0 (the "License").
|
||||||
@@ -37,5 +37,6 @@ conditions of the subcomponent's license, as noted in the LICENSE file.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user