We need some variables in our application that are environment dependent. To do this I suggest we create properties files for each environment and use maven to copy the right environment file depending on the arguments we give it during build.
Place the following files in our project source code:
We need some variables in our application that are environment dependent. To do this I suggest we create properties files for each environment and use maven to copy the right environment file depending on the arguments we give it during build.
Place the following files in our project source code:
environment.properties_local environment.properties_test environment.properties_acc environment.properties_prod
Place the first item in this file: environment.url=???
For the production environment the value of this parameter will be: environment.url=www.therdl.com
For local please use your localhost url. Test can be our amazon server url and acceptance we skip cause we don't have such an environment yet.
Use this parameter when building the link for the bookmarkable search (see the relevant issue)