From the course: Creating Your First Spring Boot Microservice

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Spring Data MongoDB microservice

Spring Data MongoDB microservice

From the course: Creating Your First Spring Boot Microservice

Start my 1-month free trial

Spring Data MongoDB microservice

- And finally, we're going to see the last files that are needed to stand up this microservice and configure some APIs. And then we're actually going to hit the changes made to the APIs. Let's look at explorer Cali application, see what had to be changed there. So were scrolling down, a lot of the main parts didn't change to create all Tour packages. That's the same but now when we create Tours, I have my helper method "tourFormFile" at the bottom here has changed significantly where it's not having to site all those different attributes but it just, finally what the result of mapping a record in the Jason file into a "tourFromFile", we get on line 76 we get back the string for the title of the Tour, the package name of the Tour and then the list of details, is just a map of string to string. So when we read the "TourForm" file we stream them and then we want to create Tours so, we invoke the Tour service as we did before…

Contents