Change the domain from 'Messages' to 'Order' as that domain is better suited for an example project like this. To that end the MessagesAggregate should be replaced by an OrderAggregate. Additionally, add some decision making logic which denies the shipping of an order if it hasn't been confirmed yet. Adjust and update thee unit test accordingly
The "REST with Spring" Classes
Here's the Master Class of REST With Spring (along with the newly announced Boot 2 material):
>> THE REST WITH SPRING - MASTER CLASS
And here's the Master Class of Learn Spring Security:
>> LEARN SPRING SECURITY - MASTER CLASS
Java and Spring Tutorials
This project is a collection of small and focused tutorials - each covering a single and well defined area of development in the Java ecosystem.
A strong focus of these is, of course, the Spring Framework - Spring, Spring Boot and Spring Securiyt.
In additional to Spring, the following technologies are in focus: core Java
, Jackson
, HttpClient
, Guava
.
Building the project
To do the full build, do: mvn install -Pdefault -Dgib.enabled=false
Building a single module
To build a specific module run the command: mvn clean install -Dgib.enabled=false
in the module directory
Running a Spring Boot module
To run a Spring Boot module run the command: mvn spring-boot:run -Dgib.enabled=false
in the module directory