Commit Graph

57 Commits

Author SHA1 Message Date
Mark Paluch
d2a5f3c3a9 #238 - Delombok source files. 2020-05-18 10:41:20 +02:00
Mark Paluch
1fb49cdb73 #234 - Prepare 2.3 GA (Neumann). 2020-05-12 12:27:59 +02:00
Mark Paluch
f07a2019ea #234 - Updated changelog. 2020-05-12 12:27:55 +02:00
Mark Paluch
87a1773323 #229 - Prepare 2.3 RC2 (Neumann). 2020-04-28 15:03:33 +02:00
Mark Paluch
bf3698dee9 #229 - Updated changelog. 2020-04-28 15:03:30 +02:00
Jens Schauder
b2d4c91865 #215 - Adding tests.
Original pull request: #231.
2020-04-14 17:07:39 +02:00
sbylemans
9607411b86 #215 - Adds RevisionType to AnnotationRevisionMetadata.
Original pull request: #231.
2020-04-14 17:06:52 +02:00
Mark Paluch
3f42c1e06e #47 - Polishing.
Replace Stream usage with for-loops. Make inner class static. Reduce Lombok usage in production code.

Reformat code.

Original pull request: #195.
2020-04-07 15:24:02 +02:00
Jens Schauder
ee0613ed4d #47 - Populate the RevisionType with information from Envers.
For a given revision r the revision type may now be accessed using

    r.getMetadata().getRevisionType()

Original pull request: #195.
2020-04-07 15:23:57 +02:00
Jens Schauder
90b8fcd0b3 #47 - Refactoring EnversRevisionRepositoryImpl.
The refactored version uses a more flexible approach to querying revisions.
This will facilitate the necessary changes for #47.
It also allows to acquire all required information in one query
which at least in theory should be faster.

Original pull request: #195.
2020-04-07 15:23:50 +02:00
Mark Paluch
35583e65da #224 - Prepare 2.3 RC1 (Neumann). 2020-03-31 14:59:20 +02:00
Mark Paluch
7c8b70237d #224 - Updated changelog. 2020-03-31 14:59:18 +02:00
Jens Schauder
cd1f307f48 #225 - Polishing.
Moved clean up of the test environment to an `@After` annotated method.

Fixing some code styling.

Original pull request: #226.
2020-03-20 08:59:42 +01:00
OrDTesters
f1c1f414e2 #225 - Delete licenses after test.
Before this change tests remaining in the test database could adversely affect later tests.

Original pull request: #226.
2020-03-20 08:53:24 +01:00
Jens Schauder
c757d096cd #221 - Prepare 2.3 M4 (Neumann). 2020-03-11 09:46:29 +01:00
Jens Schauder
3120b8a522 #221 - Updated changelog. 2020-03-11 09:46:25 +01:00
Mark Paluch
667f567ea0 #220 - Prepare 2.3 M3 (Neumann). 2020-02-12 14:46:56 +01:00
Mark Paluch
956e1a63d2 #220 - Updated changelog. 2020-02-12 14:46:54 +01:00
Mark Paluch
46eb86e184 #219 - Prepare 2.3 M2 (Neumann). 2020-01-17 09:38:43 +01:00
Mark Paluch
61dcc5747d #219 - Updated changelog. 2020-01-17 09:38:41 +01:00
Mark Paluch
0a95b4fe0f #205 - Prepare 2.3 M1 (Neumann). 2020-01-16 16:05:03 +01:00
Mark Paluch
489c11f22b #205 - Updated changelog. 2020-01-16 16:05:01 +01:00
Mark Paluch
f35ef5614e #209 - Enable JDK 11+ builds. 2020-01-09 10:19:04 -06:00
Mark Paluch
a03fa3879d #216 - Update copyright years to 2020. 2020-01-07 09:10:11 +01:00
Spring Operator
c85e6ccea8 #172 - URL cleanups.
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/LICENSE-2.0 with 19 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).

Original Pull Request: #179
2019-03-22 11:29:34 +01:00
Mark Paluch
e6338ceb80 #156 - Update copyright years to 2019. 2019-01-02 14:35:29 +01:00
Mark Paluch
5528e822e0 #154 - Simplify reference documentation setup. 2018-12-10 10:09:53 +01:00
Jens Schauder
5637994be3 #146 - Polishing.
Unified test comments and tried to improve test names.

Original pull request: #147.
2018-11-13 16:21:06 +01:00
Jens Schauder
901a8a5519 #146 - Added tests and simplified condition.
Added tests to verify behaviour.
In order to improve testability querying was extracted into package private method.

The condition avoiding the IN-queries with empty parameter lists was simplified and made less lenient.

Original pull request: #147.
2018-11-13 16:18:50 +01:00
Julien Millau
1ecec0d713 #146 - Avoid executing IN-query with empty parameter list.
These queries are illegal in Postgres and possible other databases.

Original pull request: #147.
2018-11-13 16:17:10 +01:00
Jens Schauder
14e4386205 #116 - Implemented RevisionMetadata.getRevisionInstant().
Implemented the missing new method RevisionMetadata.getRevisionInstant() by extracting part of ….getRevisionDate(). This makes DefaultRevisionMetadata compile again.

Decided against a default implementation on the interface side since it would just hide the fact that the interface changed.

Original pull request: #118.
2018-02-20 09:10:36 +01:00
Jens Schauder
ae443c2d4d #112 - Changed assumed time zone to system default.
This matches the behavior of the DateTime default constructor used in 1.1.x.
2018-02-01 11:56:55 +01:00
Jens Schauder
2b0471461a #30 - Polishing.
Migrated test to AssertJ.

Original pull request: #45.
2018-02-01 11:18:10 +01:00
Jens Schauder
bdb539d800 #30 - Added Querydsl support based on fragments.
EnversRevisionRepositoryImpl is now just a fragment and doesn’t inherit any implementation.

Original pull requests: #45.
2018-02-01 11:18:03 +01:00
Dmytro Iaroslavskyi
9446be0b5f #30 - Added support for Querydsl's QueryDslPredicateExecutor.
Original pull request PR #45.
2018-02-01 11:11:30 +01:00
Jens Schauder
a4cdb30abb #112 - Fixed DefaultRevisionMetadata.getRevisionDate().
Assuming UTC time zone for converting the long into a LocalDateTime.

Original pull request: #114.
2018-02-01 11:08:09 +01:00
Benedikt Ritter
901bcba65b #112 - Test demonstrating bug in DefaultRevisionMetadata.getRevisionDate().
Test showing that the current code does not work.

Original pull request: #113.
2018-02-01 11:07:30 +01:00
Jens Schauder
e6d064255f #21 - Polishing.
Removed superfluous property from pom.
Removed includeDeletion parameter since it is always set to true.
Add toString for Country for easier debugging.
2018-01-03 13:22:37 +01:00
Jens Schauder
215b9540a4 #21 - removed intermediate step of creating a Pair.
Avoids an exception, since Pair can not have a null values.
2018-01-03 13:14:11 +01:00
Nikola Petrovic
14ef7aa6de #21 - added ability to searching deleted entities.
Original PR: #27
2018-01-03 13:12:03 +01:00
Oliver Gierke
92934b99b4 #107 - Polishing.
Avoid overriding deprecated method and rather do so with the recommended alternative in RevisionRepositoryFactory. Java 8 polishing in RevisionRepositoryFactory's constructor.
2017-11-29 16:17:17 +01:00
Oliver Gierke
ded1481023 #107 - Adapt to API changes in JpaRepositoryFactory.
We now override JpaRepositoryFactory.getTargetRepository(RepositoryInformation, EntityManager).
2017-11-29 16:17:17 +01:00
Oliver Gierke
ddc4894053 #83 - Adapt to API changes in repository interfaces. 2017-05-03 18:26:51 +02:00
Oliver Gierke
1383d815e6 #76 - Adapt to API changes in Spring Data Commons. 2017-03-25 12:39:10 +01:00
Oliver Gierke
aa732d2752 #66 - Adapt API in EnversRepositoryFactoryBean.
Related tickets: DATACMNS-891, DATACMNS-960.
2016-12-15 22:01:28 +01:00
Oliver Gierke
515bf2a0f5 #58 - Fixed RepositoryIntegrationTests.
Instead of asserting concrete revision numbers we now rather just compare those.

Related ticket: #55.
2016-09-20 01:17:54 +02:00
Oliver Gierke
5c404c26fc #55 - Added support for changing the sort direction when accessing revisions.
We now make use of the RevisionSort type introduced in Spring Data Commons [0] to determine the order of the revisions to be read.

[0] https://jira.spring.io/browse/DATACMNS-888
2016-09-01 19:59:57 +02:00
Oliver Gierke
4262bb777c #43 - Prepared project for inclusion into Spring Data release train.
Moved to Spring Data parent build.
2015-12-20 20:04:49 +01:00
Michael Igler
e8776cadf1 #40 - Upgraded to Gosling release train. 2015-10-29 16:54:54 +01:00
Oliver Gierke
c14a3c1116 #31 - Polishing.
Tweaked implementation to not only lookup revision but also the entity in the given revision. Additional formatting and metadata polishing.
2015-05-14 18:18:18 +02:00