diff --git a/pom.xml b/pom.xml index f40977df..9216ddba 100644 --- a/pom.xml +++ b/pom.xml @@ -33,7 +33,7 @@ 1.1.3 1.8 3.6.2 - Fowler-RELEASE + Gosling-BUILD-SNAPSHOT diff --git a/rest/starbucks/README.md b/rest/starbucks/README.md index ae174dd2..12f5c011 100644 --- a/rest/starbucks/README.md +++ b/rest/starbucks/README.md @@ -9,6 +9,10 @@ This sample app exposes 10843 Starbucks coffee shops via a RESTful API that allo 3. Access the root resource (`curl http://localhost:8080`) and traverse hyperlinks. 4. Or access the location search directly (e.g. `localhost:8080/stores/search/findByAddressLocationNear?location=40.740337,-73.995146&distance=0.5miles`) +## API exploration + +The module uses the HAL Browser module of Spring Data REST which serves a UI to explore the resources exposed. Point your browser to `http://localhost:8080` to see it. + ## Technologies used - Spring Data REST & Spring Data MongoDB diff --git a/rest/starbucks/pom.xml b/rest/starbucks/pom.xml index f860eacf..90c637e5 100644 --- a/rest/starbucks/pom.xml +++ b/rest/starbucks/pom.xml @@ -23,6 +23,12 @@ spring-boot-starter-data-mongodb + + org.springframework.data + spring-data-rest-hal-browser + runtime + + org.springframework.batch spring-batch-core