Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
377 commits
Select commit Hold shift + click to select a range
df4e6c4
DATAES-878 - Wrong value for TermVector.
sothawo Jul 2, 2020
0f940b3
DATAES-883 - Fix log level on resource load error.
sothawo Jul 10, 2020
0944d16
DATAES-842 - Documentation fixes.
sothawo Jul 10, 2020
bdcecd0
DATAES-612 - Add support for index templates.
sothawo Jul 17, 2020
ddee81f
DATAES-886 - Complete reactive auditing.
sothawo Jul 18, 2020
a4cb8ef
DATAES-860 - Updated changelog.
mp911de Jul 22, 2020
c9e813f
DATAES-861 - Updated changelog.
mp911de Jul 22, 2020
0497768
DATAES-862 - Updated changelog.
mp911de Jul 22, 2020
fe45861
DATAES-858 - Fix link to code of conduct.
mp911de Jul 28, 2020
f989cf8
DATAES-891 - Returning a Stream from a Query annotated repository met…
sothawo Jul 29, 2020
f19bf64
DATAES-893 - Adopt to changed module layout of Reactor Netty.
mp911de Aug 4, 2020
b30f125
DATAES-893 - Adopt to changes in Project Reactor.
mp911de Aug 4, 2020
103bf9f
DATAES-894 - Adapt to changes in Reactor
bclozel Aug 5, 2020
0cfb1b5
DATAES-894 - Polishing.
mp911de Aug 5, 2020
68bdc93
[DATAES-433] Support join datatype.
sbcd90 Aug 7, 2020
99ed967
DATAES-433 - Polishing.
sothawo Aug 7, 2020
fd77f62
DATAES-897 - Add documentation for Highlight annotation.
sothawo Aug 8, 2020
fd23c10
DATAES-896 - Use mainField property of @MultiField annotation.
sothawo Aug 9, 2020
73bf3dd
DATAES-899 - Add documentation for join-type.
sothawo Aug 10, 2020
2b6e639
DATAES-901 - Operations deleting an entity should use a routing deduc…
sothawo Aug 11, 2020
53762db
DATAES-872 - Updated changelog.
mp911de Aug 12, 2020
da2e497
DATAES-872 - Prepare 4.1 M2 (2020.0.0).
mp911de Aug 12, 2020
db78ef0
DATAES-872 - Release version 4.1 M2 (2020.0.0).
mp911de Aug 12, 2020
9459d1b
DATAES-872 - Prepare next development iteration.
mp911de Aug 12, 2020
0825db2
DATAES-872 - After release cleanups.
mp911de Aug 12, 2020
0626a57
DATAES-890 - Updated changelog.
mp911de Aug 12, 2020
7b1e4cc
DATAES-902 - Update to Elasticsearch 7.8.1.
sothawo Aug 12, 2020
c8c6e7a
DATAES-898 - Add join-type relevant parts to reactive calls.
sothawo Aug 13, 2020
131f031
DATAES-706 - CriteriaQueryProcessor must handle nested Criteria defin…
sothawo Aug 18, 2020
c82792b
DATAES-908 - Fill version on an indexed entity.
rpuch Aug 19, 2020
26ab5f6
DATAES-908 - Polishing.
sothawo Aug 19, 2020
0208bff
DATAES-909 - Add singular update() methods to ReactiveDocumentOperati…
rpuch Aug 20, 2020
a62e8af
DATAES-909 - Polishing.
sothawo Aug 20, 2020
368957f
DATAES-911 - Add documentation for automatic index creation.
sothawo Aug 22, 2020
4ef4429
DATAES-913 - Minor optimization on collection-returning derived queries.
sothawo Aug 23, 2020
79fdc44
DATAES-912 - Derived Query with "In" Keyword does not work on Text fi…
sothawo Aug 24, 2020
6361a1e
DATAES-914 - Use TestContainers.
sothawo Aug 25, 2020
63efb2a
DATAES-914 - Use TestContainers.
sothawo Aug 27, 2020
6eb038a
DATAES-910 - Update to Elasticsearch 7.9.0.
sothawo Aug 27, 2020
4344a65
DATAES-919 - Fix error messages in test output.
sothawo Aug 28, 2020
ef1cbc3
DATAES-907 - Track Total Hits not working when set to false.
sothawo Aug 28, 2020
d035105
DATAES-920 - Add parameter to @Field annotation to store null values.
sothawo Sep 7, 2020
fd707ab
DATAES-922 - Move off Sink.emitXXX methods.
mp911de Sep 14, 2020
628c925
DATAES-922 - Move off deprecated Reactor API.
mp911de Sep 14, 2020
92a11e6
DATAES-923 - Upgrade to Elasticsearch 7.9.1.
sothawo Sep 14, 2020
6034f38
DATAES-854 - Add support for rank_feature datatype.
sothawo Sep 14, 2020
0e7791a
DATAES-924 - Conversion of properties of collections of Temporal valu…
sothawo Sep 15, 2020
1212a72
DATAES-887 - Updated changelog.
mp911de Sep 16, 2020
ed496f6
DATAES-888 - Updated changelog.
mp911de Sep 16, 2020
93d5ec3
DATAES-905 - Updated changelog.
mp911de Sep 16, 2020
52bdfe4
DATAES-904 - Updated changelog.
mp911de Sep 16, 2020
2c35901
DATAES-904 - Prepare 4.1 RC1 (2020.0.0).
mp911de Sep 16, 2020
faca016
DATAES-904 - Release version 4.1 RC1 (2020.0.0).
mp911de Sep 16, 2020
cba702f
DATAES-904 - Prepare next development iteration.
mp911de Sep 16, 2020
bc92c3a
DATAES-904 - After release cleanups.
mp911de Sep 16, 2020
b7b1718
DATAES-928 - Only test other versions for local changes on main branch.
gregturn Sep 18, 2020
5dc6860
DATAES-929 - Support geo_shape field type field type.
sothawo Sep 19, 2020
3edc5b0
DATAES-932 - GeoPoint - Point conversion is wrong.
sothawo Sep 20, 2020
54909a8
DATAES-933 - Fix typo in javaDoc.
vasyl-bhd Sep 21, 2020
8d4c305
DATAES-936 - Take id property from the source when deserializing an e…
sothawo Sep 23, 2020
7117e5d
DATAES-937 - Repository queries with IN filters fail with empty input…
sothawo Sep 24, 2020
a4c1505
DATAES-938 - Fix collection query detection in ReactiveElasticsearchQ…
mp911de Sep 25, 2020
b44e2bf
DATAES-935 - Setup integration tests separate from unit tests.
sothawo Sep 25, 2020
502bdb4
Revert "DATAES-935 - Setup integration tests separate from unit tests."
sothawo Sep 25, 2020
e200791
DATAES-935 - Setup integration tests separate from unit tests.
sothawo Sep 26, 2020
36d8e7c
DATAES-940 - Update to Elasticsearch 7.9.2. (#529)
sothawo Sep 29, 2020
2a8c1db
DATAES-930 - Add support for geo_shape type entity properties.
sothawo Oct 5, 2020
980aff3
DATAES-921 - Favour exchangeToMono over deprecated exchange.
sothawo Oct 6, 2020
f1dc7fc
DATAES-921 - Polishing.
sothawo Oct 6, 2020
4a25d34
DATAES-944 - Simplify logging setup in test environment.
sothawo Oct 7, 2020
49068b4
DATAES-945 - Compilation error on JDK11+.
sothawo Oct 8, 2020
8365812
DATAES-943 - Add missing mapping parameters.
sothawo Oct 9, 2020
a5d9e92
DATAES-934 - Add a Query taking method to ElasticsearchRepository.
sothawo Oct 10, 2020
d80a4bd
DATAES-947 - Adopt to API changes in Project Reactor.
mp911de Oct 12, 2020
bee7dbf
DATAES-947 - Use Flux.expand(…) for recursive reactive paging.
mp911de Oct 12, 2020
5c30241
DATAES-947 - Polishing.
mp911de Oct 12, 2020
a5d93b0
DATAES-949 - dependency cleanup.
sothawo Oct 13, 2020
0a6d91d
DATAES-927 - Updated changelog.
christophstrobl Oct 14, 2020
d8579d8
DATAES-927 - Prepare 4.1 RC2 (2020.0.0).
christophstrobl Oct 14, 2020
76ad3c4
DATAES-927 - Release version 4.1 RC2 (2020.0.0).
christophstrobl Oct 14, 2020
a74fd89
DATAES-927 - Prepare next development iteration.
christophstrobl Oct 14, 2020
e13c948
DATAES-927 - After release cleanups.
christophstrobl Oct 14, 2020
0ce2c49
DATAES-951 - Revert DATAES-934.
sothawo Oct 15, 2020
9bc4bee
DATAES-953 - DateTimeException on converting Instant or Date to custo…
sothawo Oct 15, 2020
23ac6d7
DATAES-952 - Optimize SearchPage implementation.
sothawo Oct 16, 2020
8a6e125
DATAES-796 - Add method returning Mono<SearchPage<T>>.
sothawo Oct 17, 2020
7198a02
DATAES-956 - Prevent double converter registration.
sothawo Oct 18, 2020
da20cc1
DATAES-931 - Add query support for geo shape queries.
sothawo Oct 21, 2020
83a586c
DATAES-928 - Use JDK 15 for latest CI jobs.
gregturn Oct 26, 2020
1e6cfad
DATAES-960 - Upgrade to Elasticsearch 7.9.3.
sothawo Oct 26, 2020
5c86897
DATAES-962 - Deprecate Jodatime support.
sothawo Oct 27, 2020
a9ea407
DATAES-958 - Updated changelog.
mp911de Oct 28, 2020
27cfea7
DATAES-925 - Updated changelog.
mp911de Oct 28, 2020
f385fa1
DATAES-926 - Updated changelog.
mp911de Oct 28, 2020
f056e09
DATAES-950 - Updated changelog.
mp911de Oct 28, 2020
7375786
DATAES-950 - Prepare 4.1 GA (2020.0.0).
mp911de Oct 28, 2020
a723f07
DATAES-950 - Release version 4.1 GA (2020.0.0).
mp911de Oct 28, 2020
40f6366
DATAES-950 - Prepare next development iteration.
mp911de Oct 28, 2020
0a3faca
DATAES-950 - After release cleanups.
mp911de Oct 28, 2020
1a354d8
DATAES-968 - Enable Maven caching for Jenkins jobs.
mp911de Oct 29, 2020
d036693
DATAES-969 - Use ResultProcessor in ElasticsearchPartQuery to build P…
sothawo Nov 7, 2020
6bfeade
DATAES-970 - Take Testcontainers version from the Spring Data Build pom.
sothawo Nov 8, 2020
6db1aa6
DATAES-588 - Add HttpClientConfigCallback for non-reactive setup.
sothawo Nov 8, 2020
aa763ef
DATAES-971 - Fix tests for using a proxy with reactive client
sothawo Nov 9, 2020
ce82ae0
DATAES-965 - Updated changelog.
mp911de Nov 11, 2020
88a8b84
DATAES-974 - Remove usage of deprecated WebClient exchange() method.
sothawo Nov 11, 2020
6debccf
DATAES-975 - Upgrade to Elasticsearch 7.10.0.
sothawo Nov 12, 2020
9804334
DATAES-972 - BeforeConvertCallback should be called before index quer…
sothawo Nov 16, 2020
04ceed2
DATAES-978 - Accept DateFormat.none for a date property to enable cus…
sothawo Nov 19, 2020
5472722
DATAES-543 - Adjust configuration support classes so they do not requ…
sothawo Nov 21, 2020
8ef0970
DATAES-983 - Test dependency hoverfly-java-junit5 leaks into compile …
sothawo Nov 23, 2020
b17999f
DATAES-986 - Fix Javadoc.
sothawo Nov 24, 2020
749270b
DATAES-976 - Implement CrudRepository and ReactiveCrudRepository.dele…
schauder Nov 12, 2020
9bf6b6a
DATAES-976 - Polishing.
mp911de Nov 25, 2020
7912ae9
DATAES-987 - IndexOperations getMapping fail when using index alias.
sothawo Nov 26, 2020
c66443a
DATAES-988 Allow specifying max results in NativeSearchQueryBuilder
kilink Nov 30, 2020
8e59b18
DATAES-989 - Improve deprecation warning for id properties without an…
sothawo Dec 2, 2020
6a6ead5
DATAES-991 - Wrong value for TermVector(with_positions_offets_payloads).
sothawo Dec 4, 2020
6edb835
DATAES-990 - Index creation fails with Authentication object cannot b…
sothawo Dec 5, 2020
a42de9b
DATAES-362 - Add support for composable meta annotations.
sothawo Dec 5, 2020
7df6ffb
DATAES-362 - Polishing.
sothawo Dec 5, 2020
e408067
DATAES-247 - Support OpType in IndexQuery.
sothawo Dec 6, 2020
fcb8a9b
DATAES-994 Add setup for mutation testing.
sothawo Dec 6, 2020
d25f7fe
DATAES-985 - Add builder method for track_total_hits to NativeSearchQ…
sothawo Dec 6, 2020
585299c
DATAES-995 - Code Cleanup after DATACMNS-1838.
sothawo Dec 7, 2020
625d58b
DATAES-963 - Updated changelog.
mp911de Dec 9, 2020
8013b4b
DATAES-964 - Updated changelog.
mp911de Dec 9, 2020
bc50ac9
DATAES-966 - Updated changelog.
mp911de Dec 9, 2020
33e479f
DATAES-966 - Prepare 4.2 M1 (2021.0.0).
mp911de Dec 9, 2020
9b20e94
DATAES-966 - Release version 4.2 M1 (2021.0.0).
mp911de Dec 9, 2020
4fec1ad
DATAES-966 - Prepare next development iteration.
mp911de Dec 9, 2020
9a987f2
DATAES-966 - After release cleanups.
mp911de Dec 9, 2020
80a50a8
DATAES-973 - Updated changelog.
mp911de Dec 9, 2020
fd97599
DATAES-946 - Support 'wildcard' field type.
sothawo Dec 9, 2020
a2d2a61
DATAES-996 - Use Docker hub credentials for all CI jobs.
gregturn Dec 15, 2020
b49b053
DATAES-996 - Polishing.
gregturn Dec 15, 2020
e950752
DATAES-1003 - add timeout to search query.
simpleusr Dec 18, 2020
6fd35b5
DATAES-1003 - Polishing.
sothawo Dec 18, 2020
90c4a2a
DATAES-982 - Improve refresh handling.
sothawo Dec 29, 2020
f3dbaa0
Add version of Spring dependency to docs.
sothawo Dec 31, 2020
51c5951
#1629 - Update repository after GitHub issues migration.
sothawo Jan 2, 2021
36bbc20
#1632 - Update copyright notice to 2021.
sothawo Jan 7, 2021
6913d80
#1634 - Update Testcontainers dependency. (#1635)
sothawo Jan 7, 2021
00dcee0
Throw exception on index creation error.
sothawo Jan 10, 2021
5bf0c4b
Upgrade to Elasticsearch 7.10.1. (#1639)
sothawo Jan 10, 2021
3c6dd64
Add support for GetFieldMapping request in ReactiveElasticsearchClient.
Jan 13, 2021
dcadb74
Updated changelog.
christophstrobl Jan 13, 2021
020a305
Updated changelog.
christophstrobl Jan 13, 2021
e84a883
Prepare 4.2 M2 (2021.0.0).
christophstrobl Jan 13, 2021
a5c4a87
Release version 4.2 M2 (2021.0.0).
christophstrobl Jan 13, 2021
7df60c9
Prepare next development iteration.
christophstrobl Jan 13, 2021
ee30ef6
After release cleanups.
christophstrobl Jan 13, 2021
e311df9
Use FieldNamingStrategy for property name matching.
sothawo Jan 15, 2021
c6713fa
Use own implementation of date formatters.
sothawo Jan 17, 2021
b7a23ed
Upgrade to Elasticsearch 7.10.2
sothawo Jan 17, 2021
aba14c5
Add enabled mapping parameter.
sothawo Jan 17, 2021
89d6ae7
Add routing parameter to ElasticsearchOperations.
sothawo Jan 18, 2021
159520d
GeoJson types can be lowercase in Elasticsearch.
sothawo Jan 19, 2021
169015f
Fix assertions to assertj.
sothawo Jan 21, 2021
0ee0164
Implement update by query.
Jan 23, 2021
9854c01
Polishing.
sothawo Jan 23, 2021
1aabb42
Documentation fix.
sothawo Jan 23, 2021
1a02c1e
Fix source filter setup in multiget requests.
sothawo Jan 24, 2021
4829b07
ReactiveElasticsearchOperations indexName is encoded twice.
sothawo Jan 25, 2021
e8edd60
Cleanup deprecations from 4.0. (#1671)
sothawo Jan 28, 2021
0ac1b4a
Allow CustomConversions for entities.
sothawo Jan 28, 2021
e6c6d34
Fix subCriteria's not being updated.
slyoldfox Jan 29, 2021
dbd99a3
Polishing.
sothawo Jan 29, 2021
ddc7246
Don't update indexed object if it is no persistent entity.
sothawo Jan 30, 2021
63eebde
Add query Explain Support.
sothawo Jan 30, 2021
a2baea7
Refactor MappingElasticsearchConverter.
mp911de Feb 1, 2021
d811ff2
Polishing.
mp911de Feb 1, 2021
8fa2613
Add Map to ElasticsearchSimpleTypes.
mp911de Feb 2, 2021
910ca7b
Allow fields with id-property names (#1681)
sothawo Feb 5, 2021
fe8c4f1
Add @CountQuery annotation.
sothawo Feb 7, 2021
719bcf4
Fix remaining copyright years
sothawo Feb 11, 2021
87bf84d
Fix remaining copyright years
sothawo Feb 11, 2021
154c50b
Fix some anchor links in documentation.
peermuellerxw Feb 12, 2021
ffc2420
Add support for search_after.
sothawo Feb 12, 2021
3869fd2
Improve delete-by-query returned information.
sothawo Feb 13, 2021
a2e525c
Updated changelog.
christophstrobl Feb 17, 2021
ced6144
Updated changelog.
christophstrobl Feb 17, 2021
53486ac
Updated changelog.
christophstrobl Feb 17, 2021
8d393f5
Updated changelog.
christophstrobl Feb 17, 2021
69cfd57
Prepare 4.2 M3 (2021.0.0).
christophstrobl Feb 17, 2021
d495135
Release version 4.2 M3 (2021.0.0).
christophstrobl Feb 17, 2021
a4bc815
Prepare next development iteration.
christophstrobl Feb 17, 2021
6193f07
After release cleanups.
christophstrobl Feb 17, 2021
9b55afc
Updated changelog.
christophstrobl Feb 18, 2021
2f2ab7c
Updated changelog.
christophstrobl Feb 18, 2021
89125ae
Prepare 4.2 M4 (2021.0.0).
christophstrobl Feb 18, 2021
36b3d09
Release version 4.2 M4 (2021.0.0).
christophstrobl Feb 18, 2021
0367246
Prepare next development iteration.
christophstrobl Feb 18, 2021
43b3035
After release cleanups.
christophstrobl Feb 18, 2021
929d97f
Add function to get index information
gpopides Feb 20, 2021
863ac2f
Polishing.
sothawo Feb 21, 2021
1c549b7
Add SearchFailure field in ByQueryResponse.
Feb 22, 2021
3bc01a4
ReactiveElasticsearchClient should use the same request parameters as…
Feb 24, 2021
17a25cb
Polishing
sothawo Feb 24, 2021
8da718e
Upgrade to Elasticsearch 7.11.1.
sothawo Feb 24, 2021
3f2ab4b
Add support for dense_vector type
morganlutz Feb 26, 2021
dd3d01e
Polishing
sothawo Feb 26, 2021
f08c34e
Improve multiget return.
sothawo Feb 27, 2021
6634d00
DefaultReactiveElasticsearchClient handle 5xx error with empty body
sothawo Mar 3, 2021
e4c7b96
Add the type hint _class attribute to the index mapping.
sothawo Mar 4, 2021
2f5773a
Create index with mapping in one step.
sothawo Mar 6, 2021
3f39f5d
Use correct classes in reactive operations.
sothawo Mar 7, 2021
4dc8b25
Add matched_queries field to SearchHit.
mdgilene Mar 11, 2021
eb816cc
Polishing.
sothawo Mar 11, 2021
b289d5f
Add Rescore functionality.
peermuellerxw Mar 13, 2021
120eed0
Polishing.
sothawo Mar 13, 2021
005d6a4
Added SearchTemplate support for reactive client
bilak Mar 16, 2021
98a8d1a
Polishing
sothawo Mar 16, 2021
8331488
Updated changelog.
mp911de Mar 17, 2021
6e3579d
Updated changelog.
mp911de Mar 17, 2021
28fe9ee
Updated changelog.
mp911de Mar 17, 2021
a89fd89
Prepare 4.2 M5 (2021.0.0).
mp911de Mar 17, 2021
3998206
Release version 4.2 M5 (2021.0.0).
mp911de Mar 17, 2021
ff5a604
Prepare next development iteration.
mp911de Mar 17, 2021
db39b9e
After release cleanups.
mp911de Mar 17, 2021
31b488d
Allow multiple date formats for date fields.
xhaggi Mar 17, 2021
ebac4c0
Polishing.
sothawo Mar 17, 2021
843fd4d
Remove lombok.
sothawo Mar 21, 2021
a3e87a8
Upgrade to OpenWebBeans 2.
sothawo Mar 21, 2021
2e5d2e0
Update CI to Java 16
sothawo Mar 22, 2021
3500dad
Readme lists artifacts with .RELEASE and .BUILD-SNAPSHOT suffixes (#1…
sothawo Mar 23, 2021
13ab2b9
Automatically close scroll context when returning streamed results.
sothawo Mar 27, 2021
2e9bef0
Configure index settings with @Setting annotation.
sothawo Mar 28, 2021
19ecf89
Upgrade to Elasticsearch 7.12.0.
sothawo Mar 28, 2021
0c4f0d8
Updated changelog.
mp911de Mar 31, 2021
76d979c
Prepare 4.2 RC1 (2021.0.0).
mp911de Mar 31, 2021
f9e4ac4
Release version 4.2 RC1 (2021.0.0).
mp911de Mar 31, 2021
2a016f1
Prepare next development iteration.
mp911de Mar 31, 2021
cb08adc
After release cleanups.
mp911de Mar 31, 2021
dfc68cd
Updated changelog.
mp911de Mar 31, 2021
d66f8a0
Documentation fix: Types are in the process of being removed.
rahulmlokurte Apr 3, 2021
4ad0027
#1755-Documentation-fix-to-not-show-deprecated-calls.
sothawo Apr 3, 2021
2bd4ef7
CriteriaQuery must support nested queries.
sothawo Apr 3, 2021
ab73c68
Nested Criteria queries must consider sub-fields.
sothawo Apr 5, 2021
4782414
CriteriaQuery must use nested query only with properties of type nested.
sothawo Apr 6, 2021
58bca88
Fix reactive connection handling.
sothawo Apr 8, 2021
d561c91
Introduce cluster operations.
sothawo Apr 11, 2021
010c0cb
Remove @Persistent from entity-scan include filters (#1772)
sothawo Apr 13, 2021
84391ae
Updated changelog.
mp911de Apr 14, 2021
58f1012
Updated changelog.
mp911de Apr 14, 2021
4e6df37
Updated changelog.
mp911de Apr 14, 2021
03da653
Prepare 4.2 GA (2021.0.0).
mp911de Apr 14, 2021
8bc06c9
Release version 4.2 GA (2021.0.0).
mp911de Apr 14, 2021
054235e
Prepare next development iteration.
mp911de Apr 14, 2021
728ba0a
After release cleanups.
mp911de Apr 14, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Make sure that:
-->

- [ ] You have read the [Spring Data contribution guidelines](https://github.com/spring-projects/spring-data-build/blob/master/CONTRIBUTING.adoc).
- [ ] There is a ticket in the bug tracker for the project in our [JIRA](https://jira.spring.io/browse/DATAES).
- [ ] There is a ticket in the bug tracker for the project in our [issue tracker](https://github.com/spring-projects/spring-data-elasticsearch/issues).
- [ ] You use the code formatters provided [here](https://github.com/spring-projects/spring-data-build/tree/master/etc/ide) and have them applied to your changes. Don’t submit any formatting related changes.
- [ ] You submit test cases (unit or integration tests) that back your changes.
- [ ] You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

10 changes: 5 additions & 5 deletions CI.adoc
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
= Continuous Integration

image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-elasticsearch%2Fmaster&subject=Moore%20(master)[link=https://jenkins.spring.io/view/SpringData/job/spring-data-elasticsearch/]
image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-elasticsearch%2F3.1.x&subject=Lovelace%20(3.1.x)[link=https://jenkins.spring.io/view/SpringData/job/spring-data-elasticsearch/]
image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-elasticsearch%2F2.1.x&subject=Ingalls%20(2.1.x)[link=https://jenkins.spring.io/view/SpringData/job/spring-data-elasticsearch/]
image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-elasticsearch%2Fmaster&subject=2020.0.0%20(master)[link=https://jenkins.spring.io/view/SpringData/job/spring-data-elasticsearch/]
image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-elasticsearch%2F4.0.x&subject=Neumann%20(4.0.x)[link=https://jenkins.spring.io/view/SpringData/job/spring-data-elasticsearch/]
image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-elasticsearch%2F3.2.x&subject=Moore%20(3.2.x)[link=https://jenkins.spring.io/view/SpringData/job/spring-data-elasticsearch/]

== Running CI tasks locally

Since this pipeline is purely Docker-based, it's easy to:

* Debug what went wrong on your local machine.
* Test out a a tweak to your `test.sh` script before sending it out.
* Test out a a tweak to your `verify.sh` script before sending it out.
* Experiment against a new image before submitting your pull request.

All of these use cases are great reasons to essentially run what the CI server does on your local machine.
Expand All @@ -30,7 +30,7 @@ Since the container is binding to your source, you can make edits from your IDE

If you need to package things up, do this:

1. `docker run -it --mount type=bind,source="$(pwd)",target=/spring-data-elasticsearch-github adoptopenjdk/openjdk8:latest /bin/bash`
1. `docker run -it -v /var/run/docker.sock:/var/run/docker.sock --mount type=bind,source="$(pwd)",target=/spring-data-elasticsearch-github adoptopenjdk/openjdk8:latest /bin/bash`
+
This will launch the Docker image and mount your source code at `spring-data-elasticsearch-github`.
+
Expand Down
27 changes: 0 additions & 27 deletions CODE_OF_CONDUCT.adoc

This file was deleted.

4 changes: 4 additions & 0 deletions CONTRIBUTING.adoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
= Spring Data contribution guidelines

You find the contribution guidelines for Spring Data projects https://github.com/spring-projects/spring-data-build/blob/master/CONTRIBUTING.adoc[here].

== Running the test locally

In order to run the tests locally with `./mvnw test` you need to have docker running because Spring Data Elasticsearch uses https://www.testcontainers.org/[Testcontainers] to start a local running Elasticsearch instance.
123 changes: 75 additions & 48 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,54 +20,78 @@ pipeline {
}
}
agent {
docker {
image 'adoptopenjdk/openjdk8:latest'
label 'data'
args '-v $HOME:/tmp/jenkins-home'
}
label 'data'
}
options { timeout(time: 30, unit: 'MINUTES') }

environment {
DOCKER_HUB = credentials('hub.docker.com-springbuildmaster')
}

steps {
sh 'rm -rf ?'
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw clean dependency:list test -Dsort -U -B'
script {
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
docker.image('adoptopenjdk/openjdk8:latest').inside('-u root -v /var/run/docker.sock:/var/run/docker.sock -v /usr/bin/docker:/usr/bin/docker -v $HOME:/tmp/jenkins-home') {
sh "docker login --username ${DOCKER_HUB_USR} --password ${DOCKER_HUB_PSW}"
sh 'PROFILE=none ci/verify.sh'
sh "ci/clean.sh"
}
}
}
}
}

stage("Test other configurations") {
when {
anyOf {
allOf {
branch 'master'
not { triggeredBy 'UpstreamCause' }
}
}
parallel {
stage("test: baseline (jdk11)") {
agent {
docker {
image 'adoptopenjdk/openjdk11:latest'
label 'data'
args '-v $HOME:/tmp/jenkins-home'
}
label 'data'
}
options { timeout(time: 30, unit: 'MINUTES') }

environment {
DOCKER_HUB = credentials('hub.docker.com-springbuildmaster')
}

steps {
sh 'rm -rf ?'
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -Pjava11 clean dependency:list test -Dsort -U -B'
script {
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
docker.image('adoptopenjdk/openjdk11:latest').inside('-u root -v /var/run/docker.sock:/var/run/docker.sock -v /usr/bin/docker:/usr/bin/docker -v $HOME:/tmp/jenkins-home') {
sh "docker login --username ${DOCKER_HUB_USR} --password ${DOCKER_HUB_PSW}"
sh 'PROFILE=java11 ci/verify.sh'
sh "ci/clean.sh"
}
}
}
}
}

stage("test: baseline (jdk12)") {
stage("test: baseline (jdk16)") {
agent {
docker {
image 'adoptopenjdk/openjdk12:latest'
label 'data'
args '-v $HOME:/tmp/jenkins-home'
}
label 'data'
}
options { timeout(time: 30, unit: 'MINUTES') }

environment {
DOCKER_HUB = credentials('hub.docker.com-springbuildmaster')
}

steps {
sh 'rm -rf ?'
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -Pjava11 clean dependency:list test -Dsort -U -B'
script {
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
docker.image('adoptopenjdk/openjdk16:latest').inside('-u root -v /var/run/docker.sock:/var/run/docker.sock -v /usr/bin/docker:/usr/bin/docker -v $HOME:/tmp/jenkins-home') {
sh "docker login --username ${DOCKER_HUB_USR} --password ${DOCKER_HUB_PSW}"
sh 'PROFILE=java11 ci/verify.sh'
sh "ci/clean.sh"
}
}
}
}
}
}
Expand All @@ -81,11 +105,7 @@ pipeline {
}
}
agent {
docker {
image 'adoptopenjdk/openjdk8:latest'
label 'data'
args '-v $HOME:/tmp/jenkins-home'
}
label 'data'
}
options { timeout(time: 20, unit: 'MINUTES') }

Expand All @@ -94,27 +114,28 @@ pipeline {
}

steps {
sh 'rm -rf ?'
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -Pci,artifactory ' +
'-Dartifactory.server=https://repo.spring.io ' +
"-Dartifactory.username=${ARTIFACTORY_USR} " +
"-Dartifactory.password=${ARTIFACTORY_PSW} " +
"-Dartifactory.staging-repository=libs-snapshot-local " +
"-Dartifactory.build-name=spring-data-elasticsearch " +
"-Dartifactory.build-number=${BUILD_NUMBER} " +
'-Dmaven.test.skip=true clean deploy -U -B'
script {
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
docker.image('adoptopenjdk/openjdk8:latest').inside('-v $HOME:/tmp/jenkins-home') {
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -Pci,artifactory -Dmaven.repo.local=/tmp/jenkins-home/.m2/spring-data-elasticsearch-non-root ' +
'-Dartifactory.server=https://repo.spring.io ' +
"-Dartifactory.username=${ARTIFACTORY_USR} " +
"-Dartifactory.password=${ARTIFACTORY_PSW} " +
"-Dartifactory.staging-repository=libs-snapshot-local " +
"-Dartifactory.build-name=spring-data-elasticsearch " +
"-Dartifactory.build-number=${BUILD_NUMBER} " +
'-Dmaven.test.skip=true clean deploy -U -B'
}
}
}
}
}
stage('Publish documentation') {
when {
branch 'master'
}
agent {
docker {
image 'adoptopenjdk/openjdk8:latest'
label 'data'
args '-v $HOME:/tmp/jenkins-home'
}
label 'data'
}
options { timeout(time: 20, unit: 'MINUTES') }

Expand All @@ -123,12 +144,18 @@ pipeline {
}

steps {
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -Pci,distribute ' +
'-Dartifactory.server=https://repo.spring.io ' +
"-Dartifactory.username=${ARTIFACTORY_USR} " +
"-Dartifactory.password=${ARTIFACTORY_PSW} " +
"-Dartifactory.distribution-repository=temp-private-local " +
'-Dmaven.test.skip=true clean deploy -U -B'
script {
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
docker.image('adoptopenjdk/openjdk8:latest').inside('-v $HOME:/tmp/jenkins-home') {
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -Pci,distribute -Dmaven.repo.local=/tmp/jenkins-home/.m2/spring-data-elasticsearch-non-root ' +
'-Dartifactory.server=https://repo.spring.io ' +
"-Dartifactory.username=${ARTIFACTORY_USR} " +
"-Dartifactory.password=${ARTIFACTORY_PSW} " +
"-Dartifactory.distribution-repository=temp-private-local " +
'-Dmaven.test.skip=true clean deploy -U -B'
}
}
}
}
}
}
Expand Down
27 changes: 17 additions & 10 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This project is lead and maintained by the community.

== Code of Conduct

This project is governed by the link:CODE_OF_CONDUCT.adoc[Spring Code of Conduct]. By participating, you are expected to uphold this code of conduct. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.
This project is governed by the https://github.com/spring-projects/.github/blob/e3cc2ff230d8f1dca06535aa6b5a4a23815861d4/CODE_OF_CONDUCT.md[Spring Code of Conduct]. By participating, you are expected to uphold this code of conduct. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.

== Getting Started

Expand Down Expand Up @@ -114,7 +114,7 @@ Add the Maven dependency:
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-elasticsearch</artifactId>
<version>${version}.RELEASE</version>
<version>${version}</version>
</dependency>
----

Expand All @@ -123,7 +123,7 @@ Add the Maven dependency:
// Always change both files!
**Compatibility Matrix**

The compatibility between Spring Data Elasticsearch, Elasticsearch client drivers and Spring Boot versions can be found in the https://docs.spring.io/spring-data/elasticsearch/docs/3.2.0.RC3/reference/html/#preface.versions[reference documentation].
The compatibility between Spring Data Elasticsearch, Elasticsearch client drivers and Spring Boot versions can be found in the https://docs.spring.io/spring-data/elasticsearch/docs/current/reference/html/#preface.versions[reference documentation].

To use the Release candidate versions of the upcoming major version, use our Maven milestone repository and declare the appropriate dependency version:

Expand All @@ -149,7 +149,7 @@ If you'd rather like the latest snapshots of the upcoming major version, use our
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-elasticsearch</artifactId>
<version>${version}.BUILD-SNAPSHOT</version>
<version>${version}-SNAPSHOT</version>
</dependency>

<repository>
Expand All @@ -170,17 +170,17 @@ If you are just starting out with Spring, try one of the https://spring.io/guide
* If you are upgrading, check out the https://docs.spring.io/spring-data/elasticsearch/docs/current/changelog.txt[changelog] for "`new and noteworthy`" features.
* Ask a question - we monitor https://stackoverflow.com[stackoverflow.com] for questions tagged with https://stackoverflow.com/tags/spring-data[`spring-data-elasticsearch`].
You can also chat with the community on https://gitter.im/spring-projects/spring-data[Gitter].
* Report bugs with Spring Data for Elasticsearch at https://jira.spring.io/browse/DATAES[jira.spring.io/browse/DATAES].
* Report bugs with Spring Data for Elasticsearch at https://github.com/spring-projects/spring-data-elasticsearch/issues[https://github.com/spring-projects/spring-data-elasticsearch/issues].

== Reporting Issues

Spring Data uses JIRA as issue tracking system to record bugs and feature requests. If you want to raise an issue, please follow the recommendations below:
Spring Data uses GitHub as issue tracking system to record bugs and feature requests. If you want to raise an issue, please follow the recommendations below:

* Before you log a bug, please search the
https://jira.spring.io/browse/DATAES[issue tracker] to see if someone has already reported the problem.
* If the issue doesn’t already exist, https://jira.spring.io/browse/DATAES[create a new issue].
* Please provide as much information as possible with the issue report, we like to know the version of Spring Data that you are using and JVM version.
* If you need to paste code, or include a stack trace use JIRA `{code}…{code}` escapes before and after your text.
https://github.com/spring-projects/spring-data-elasticsearch/issues[issue tracker] to see if someone has already reported the problem.
* If the issue doesn’t already exist, https://github.com/spring-projects/spring-data-elasticsearch/issues/new[create a new issue].
* Please provide as much information as possible with the issue report, we like to know the version of Spring Data Elasticsearch that you are using and JVM version.
* If you need to paste code, or include a stack trace use Markdown +++```+++ escapes before and after your text.
* If possible try to create a test-case or project that replicates the issue. Attach a link to your code or a compressed file containing your code.

== Building from Source
Expand All @@ -197,6 +197,13 @@ If you want to build with the regular `mvn` command, you will need https://maven

_Also see link:CONTRIBUTING.adoc[CONTRIBUTING.adoc] if you wish to submit pull requests, and in particular please sign the https://cla.pivotal.io/sign/spring[Contributor’s Agreement] before submitting your first pull request._

IMPORTANT: When contributing, please make sure an issue exists in https://github.com/spring-projects/spring-data-elasticsearch/issues[issue tracker] and comment on this issue with how you want to address it. By this we not only know that someone is working on an issue, we can also align architectural questions and possible solutions before work is invested
. We
so
can prevent that much work is put into Pull Requests that have little
or no chances of being merged.


=== Building reference documentation

Building the documentation builds also the project without running tests.
Expand Down
41 changes: 41 additions & 0 deletions TESTING.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
= Testing

== Unit tests

Unit tests in the project are run with

----
./mvnw test
----

== Integration tests

Integration tests are executed when
----
./mvnw verify
----
is run. There must be _docker_ running, as the integration tests use docker to start an Elasticsearch server.

Integration tests are tests that have the Junit5 Tag `@Tag("integration-test")` on the test class. Normally this should not be set explicitly, but the annotation `@SpringIntegrationTest` should be used. This not only marks the test as integration test, but integrates an automatic setup of an Elasticsearch Testcontainer and integrate this with Spring, so
that the required Beans can be automatically injected. Check _src/test/java/org/springframework/data/elasticsearch/JUnit5SampleRestClientBasedTests.java_ as a reference setup

== Mutation testing

The pom includes a plugin dependency to run mutation tests using [pitest](https://pitest.org/). These tests must be explicitly configured and run, they are not included in the normal build steps. Before pitest can run, a normal `./mvnw test` must be executed. The configuration excludes integration tests, only unit tests are considered.


pitest can be run directly from the commandline
----
./mvnw org.pitest:pitest-maven:mutationCoverage
----
This will output an html report to _target/pit-reports/YYYYMMDDHHMI_.

To speed-up repeated analysis of the same codebase set the withHistory parameter to true.
----
./mvnw -DwithHistory org.pitest:pitest-maven:mutationCoverage
----

The classes to test are defined either in the pom.xml or can be set on the commandline:
----
./mvnw -DwithHistory org.pitest:pitest-maven:mutationCoverage -DtargetClasses="org.springframework.data.elasticsearch.support.*"
----
6 changes: 6 additions & 0 deletions ci/clean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash -x

set -euo pipefail

MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" \
./mvnw clean -Dmaven.repo.local=/tmp/jenkins-home/.m2/spring-data-elasticsearch
Loading