Development project for the implementation of the Revenue Engine service.
Start the application using these commands below
Tip
Run these commands inside the root folder of this project; i.e inside the revenue-engine folder.
-
Using maven
mvn spring-boot:run -
From jar file Create a jar file using
mvn clean installcommand and then execute:java -jar target/revenue-engine.jar
Note
By default spring boot application starts on port number 8080. If port 8080 is occupied in your system then you can change the port number by uncommenting and updating the server.port property inside the application.yaml file that is available inside the src > main > resources folder.
Note
In order to use the profile (see pom.xml) please use: mvn spring-boot:run -Pgenerate-rest-apis
Run the test cases using this command below
Tip
This command needs to run inside the root folder of this project i.e inside the revenue-engine folder
- To run all the test cases
mvn test