Commit graph

18 commits

Author SHA1 Message Date
Reinhard Prechtl
0b8d94c670
Merge pull request #4 from rillig/fix-date-comparison-in-tests
Fix date comparison in JpaCityServiceTest
2017-12-30 23:21:21 +01:00
Reinhard Prechtl
6baabd4d3b Update README 2017-12-29 17:15:36 +01:00
Reinhard Prechtl
0778caba02 Update Spring Boot Version 2017-12-29 16:50:04 +01:00
Reinhard Prechtl
bfb4309c50 Update Kotlin version and Jackson version 2017-12-29 16:10:12 +01:00
Reinhard Prechtl
44d06e2a58 Updated Mockito, Mockito-Kotlin and AssertJ dependency versions 2017-12-29 11:44:47 +01:00
Reinhard Prechtl
7ccc36c412
Merge pull request #1 from sdeleuze/master
Refactor to idiomatic Spring + Kotlin code
2017-12-28 23:38:41 +01:00
Reinhard Prechtl
3bf872c278
Merge pull request #2 from rillig/patch-1
Cross-reference the blog article
2017-12-28 23:35:08 +01:00
Roland Illig
9c715ce075 Fix test for updatedAt property
Both `save` and `updateCity` calls can happen at the same millisecond,
therefore the `updatedAt` was not necessarily increased.

The `Thread.sleep` method doesn't mention any guarantees of increasing
the system time mentioned by `LocalDateTime` used in `CityEntity`, but
the tests didn't fail again with this change, even when run repeatedly.
2017-11-12 15:17:24 +01:00
Roland Illig
0aa6090ac9
Cross-reference the blog article 2017-11-12 08:16:25 +01:00
Sebastien Deleuze
5bbb84dce6 Refactor to idiomatic Spring + Kotlin code
- Usage of Kotlin JPA compiler plugin to generate default constructors
 - Jackson builder already register Kotlin module with sensible defaults
 - One liner syntax + type inference when possible
2017-06-16 22:36:18 +02:00
Reinhard Prechtl
5cf200dd0f Remove unnecessary dependency 2017-06-16 09:15:53 +02:00
Reinhard Prechtl
925e76f497 Update Tests to validate more fields 2017-06-09 18:15:14 +02:00
Reinhard Prechtl
75abdba122 Update Assertj version 2017-06-09 18:14:37 +02:00
Reinhard Prechtl
1a368d360c Simplify DTO creation 2017-06-09 18:14:17 +02:00
Reinhard Prechtl
7fc151f1bf Merge branch 'master' of github.com:dnno/spring-kotlin-jpa 2017-06-09 14:33:30 +02:00
Reinhard Prechtl
2dfb86896d Rename the service implementation to better reflect its functionality 2017-06-09 14:06:05 +02:00
Reinhard Prechtl
9d2454651e Create README.md 2017-06-09 12:25:07 +02:00
Reinhard Prechtl
7073606393 Initial commit 2017-06-09 12:20:53 +02:00