30 Commits

Author SHA1 Message Date
Jens Schauder
aa6fccc07e Polishing.
Original pull request #661
See #660
2023-05-04 14:11:58 +02:00
P.J. Meisch
21830b3138 Use Elasticsearch 8.7.0 container in tests. 2023-05-04 14:11:58 +02:00
Christoph Strobl
d52d73f34c Upgrade to Spring 6 and Spring Boot 3.
See #654
2022-12-12 11:15:36 +01:00
Mark Paluch
83cd9e2d5a Polishing.
Use synchronous API for ES test data setup to avoid threading during the bean container startup.

See #636
2022-05-19 11:23:01 -05:00
Mark Paluch
13c0dea55c Switch to Testcontainers for Elasticsearch examples.
See #636
2022-05-19 11:23:01 -05:00
Mark Paluch
8c7e85366c Java 16 migration for Elasticsearch examples.
See #606.
2021-04-30 10:29:35 +02:00
Mark Paluch
ec8557c7da Update copyright years to 2021.
Closes #616
2021-04-27 14:47:20 +02:00
Mark Paluch
43c2d3c784 Polishing.
Refactor sample data into saveAll(…) for easier alignment of data changes across samples.

See #610
Original pull request: #612.
2021-04-13 11:42:23 +02:00
Prakhar Gupta
aa95ff65a8 Use Elasticsearch REST Client instead of Node client.
Closes #610
Original pull request: #612.
2021-04-13 11:42:23 +02:00
Mark Paluch
b5cecf730b Polishing.
Rename AssumeConnection to EnabledOnElasticsearch following the typical design of JUnit 5 EnabledOn… annotation programming model. Enable tests by default if the test element isn't annotated with EnabledOnElasticsearch as we assume that the extension was activated by the parent.

Move EnabledOnElasticsearch into utility project.

See #583
Original pull request: #609
2021-04-08 10:24:57 +02:00
Prakhar Gupta
75b2a08d60 Migrate Elasticsearch examples to JUnit 5.
See #583
Original pull request: #609
2021-04-08 10:24:47 +02:00
Mark Paluch
b6a2754e6a #582 - Adopt to changes in Spring Data Elasticsearch 3.1. 2020-11-19 15:37:39 +01:00
Mark Paluch
104febea4e #509 - Polishing.
Move off deprecated API. Clean up unused gitignore files.
2020-06-16 15:18:27 +02:00
Mark Paluch
d92e7feabc #509 - Favor Spring Boot auto-configuration in Elasticsearch example. 2020-06-16 15:16:29 +02:00
Mark Paluch
1cd241b44a #553 - Polishing.
Remove version overrides for Elasticsearch. Cleanup dependencies.
2020-05-15 14:21:52 +02:00
Mark Paluch
b9380e26f3 #553 - Upgrade Elasticsearch examples to Spring Boot 2.3. 2020-05-11 13:36:52 +02:00
Mark Paluch
f59316b66a #553 - Adapt to Spring Data Elasticsearch. 2020-05-11 10:40:11 +02:00
Christoph Strobl
2bf08bf200 #497 - Add Example for Elasticsearch High Level REST Client. 2019-08-08 19:49:24 +02:00
Christoph Strobl
fb7fb25a8e #514 - Remove code no longer supported by the Elasticsearch NodeClient. 2019-08-08 19:01:14 +02:00
Spring Operator
ccae97890f #491 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 426 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-03-22 08:13:14 +01:00
Spring Operator
6d51ebf294 #473 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* http://mybatis.org/dtd/mybatis-3-config.dtd (301) with 1 occurrences could not be migrated:
   ([https](https://mybatis.org/dtd/mybatis-3-config.dtd) result SSLHandshakeException).
* http://mybatis.org/dtd/mybatis-3-mapper.dtd (301) with 2 occurrences could not be migrated:
   ([https](https://mybatis.org/dtd/mybatis-3-mapper.dtd) result SSLHandshakeException).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://maven.apache.org/xsd/maven-4.0.0.xsd with 70 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).
* http://maven.apache.org/maven-v4_0_0.xsd with 6 occurrences migrated to:
  https://maven.apache.org/maven-v4_0_0.xsd ([https](https://maven.apache.org/maven-v4_0_0.xsd) result 301).
* http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd with 1 occurrences migrated to:
  https://java.sun.com/xml/ns/persistence/persistence_2_0.xsd ([https](https://java.sun.com/xml/ns/persistence/persistence_2_0.xsd) result 302).

# Ignored
These URLs were intentionally ignored.

* http://java.sun.com/xml/ns/persistence with 2 occurrences
* http://maven.apache.org/POM/4.0.0 with 152 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 77 occurrences

Original pull request: #472
2019-03-20 10:10:59 -05:00
Mark Paluch
5d36233d17 #390 - Fix ElasticSearch example to query the appropriate field. 2018-08-14 14:42:04 +02:00
Oliver Gierke
d854c6d084 #342 - Expanded copyright headers to 2018.
Removed trailing whitespace in touched files.
2018-02-22 11:42:57 +01:00
Oliver Gierke
0e9e979c9a #319 - Upgrade to Spring Boot 2.0 M6.
Tweaked setup of in-memory user accounts in Spring Security example to accommodate the changes in Password encoding.

Tweaked Elasticsearch examples to use Log4j 2 instead of Logback as embedded Elasticsearch requires it to run properly.
2017-11-06 12:22:14 +01:00
Oliver Gierke
4164bc4607 #297 - Upgraded to Boot 2.0 and Spring Data Kay.
Bumped version number to 2.0. Upgraded to Spring Boot 2.0.

Stuff disabled in the meantime:

- Cassandra: needs API adaptions in configuration
- JPA > Security: test fails with weird Hibernate error
- Redis > Reactive: API updates needed
- Solr: configration updates necessary

adjust versions

Updated elastic search to the new version.

Fixed the reactor version to Bismuth-BUILD-SNAPSHOT. This probably should be undone when boot references the proper bom.
2017-10-06 15:15:53 +02:00
Oliver Gierke
6684c8c69b #190 - More simplifications for Spring Boot 1.4 M3.
Replaced all occurrences of @SpringApplicationConfiguration with @SpringBootTest. Using SpringRunner instead of @SpringJUnit4ClassRunner now.
2016-06-10 21:26:46 +02:00
Mark Paluch
6d012f4aa2 #164 - Polishing.
Replaced deprecated @Builder annotation with @Builder from the main lombok package. Remove Groovy libraries as Examples do not contain scripting.

Original pull request: #165.
2016-03-21 11:32:09 +01:00
Christoph Strobl
09697b84f2 #164 - Fix Elasticsearch example
Remove Boot Autoconfiguration, in-memory index and facets.
GeoPoint instead of String for location.

Original pull request: #165.
2016-03-21 11:31:56 +01:00
Oliver Gierke
bca4e65e4f #115 - Harmonized package names.
We now consistently use example.springdata.$store as base package name.
2015-07-16 09:10:20 +02:00
Artur Konczak
f9aa1556d8 #28 - Added example for Spring Data Elasticsearch.
Added basic example to show repository and ElasticsearchOperations usage.
2015-01-04 18:40:55 +01:00