Category: Spring

0

Testing Spring boot with ScalaTest

Introduction Spring boot tests provides great support for testing which combined with the sugar syntax form Scala makes testing more pleasant and less verbose. In this article we will build a Rest Controller build...

6

How to do integration tests with Spring Boot and Spock

In the latest version of Spring Boot (1.4) they have introduced a new annotation called @SpringBootTest. Previous to this version you may have used either @ContextConfiguration or @SpringApplicationConfiguration combined with @IntegrationTest or/and @WebIntegrationTest to...

3

How to connect Spring Boot to Elasticsearch 2.x.x

My Problem: I have an application built using the Jhipter generator, which is based on Spring Boot. The latest version of Jhipster allows you to include Elasticsearch as an option, so I have an...

13

How to connect to MongoDB 3.0 using Spring Boot

My problem Yesterday, I spent more than 5 hours trying to fix a compatibility issue between the latest version of spring-boot (1.2.6.RELEASE) and a mongoDb 3.0 database. My problem was that I was using...