Set of microservices for simulating terminal pooling. This project uses Spring Cloud, Spring Boot, JDK 10, Maven and JUnit/Mockito/WireMock for testing.
- JDK 10
- Maven 3.5+
- Open project in IDE of choice. The project is broken down into different sub-projects.
-
naming-server
: This is the Eureka naming server used for registering the different microservices.
RunNamingServerApplication.java
to start eureka server, the admin console can be found atlocalhost:8761
-
terminal-server
: The server microservice as specified in theTerminal Pooling.pdf
.
RunTerminalServerApplication.java
to start theterminal-server
. API documentation will be available athttp://localhost:8000/swagger-ui.html
-
terminal-client
: The client microservice as specified in theTerminal Pooling.pdf
.
RunTerminalClientApplication.java
to start theterminal-client
. API documentation will be available athttp://localhost:8100/swagger-ui.html
- Run tests with
mvn clean verify
in each sub-project to run Unit and Integration tests against each microservice independently. - Standalone jar for each service can be generated with
mvn clean package
.