Getting Started
- Create an
application.properties
in your home directory with a value different than the one in/src/main/resources/application.properties
. - Create a run configuration in your IDE (or build a jar) and run it with the following flag:
-Dspring.config.location=file:/full-path-to/your-home-dir/application.properties
. - Run the application and call
http://localhost:8080/getValue
to retrieve the value
Rerun the tests and replace the name of the folder with an environment variable.