#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.
This commit is contained in:
Oliver Gierke
2017-05-04 19:28:40 +02:00
parent 90546357c7
commit 4164bc4607
98 changed files with 319 additions and 368 deletions

View File

@@ -15,8 +15,7 @@
*/
package example.springdata.map;
import static org.hamcrest.CoreMatchers.*;
import static org.junit.Assert.*;
import static org.assertj.core.api.Assertions.*;
import java.util.List;
@@ -48,7 +47,7 @@ public class PersonRepositoryIntegrationTest {
Person person = repository.save(new Person("Dave", "Matthews", 47));
assertThat(repository.findOne(person.getId()), is(person));
assertThat(repository.findById(person.getId())).hasValue(person);
}
@Test
@@ -59,7 +58,7 @@ public class PersonRepositoryIntegrationTest {
List<Person> result = repository.findByAgeGreaterThan(18);
assertThat(result, hasItem(dave));
assertThat(result, not(hasItem(oliver)));
assertThat(result).contains(dave);
assertThat(result).doesNotContain(oliver);
}
}