This service manages all orders
- Java 1.8
- Maven
- MySQL
Menu preferences > plugins
, type Lombok
in the search field then click Install
The installation procedure can be found here
Initialize the local database
$ mysql -uroot
...
mysql> CREATE DATABASE oms;
Clone the code repository locally and build it.
$ git clone git@github.com:htchepannou/oms-service.git
$ cd oms-service
$ mvn clean install
This will generate the service binary target/oms-service.jar
This allow to run the server locally on port 8080
, using the local database and calling downstream services that are running remotely at Heroku.
$ java -jar target/oms-service.jar
This allow to run the server locally on port 18083
, using the local database and calling downstream services that are running on the locally.
-
Install and run all downstream services locally:
-
Run the server with
local
profile:
$ java -Dspring.profiles.active=local -jar target/oms-service.jar
This project is open source sofware under the MIT License