Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.37 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.37 KB

mobile-deposit-ui

Aside from standard Spring boot properties (eg: --server.port=8081), the following custom run properties are supported:

  • api.host - configures the domain to send the API request
  • api.proto - configures the protocol to send the API request
  • api.port - configures the port to send the API request

And test properties:

  • test.host - configures host name or IP for selenoid hub to access test ui
  • test.browser.name - configures browser name to run functional tests
  • test.browser.version - configures browser version to run functional tests

Per Spring boot convention, the custom properties can be set a number of ways.

Here's a full example:

mvn clean package && java -jar target/mobile-deposit-ui-1.0-SNAPSHOT.jar --api.host="bank-api.beedemo.net" --api.proto="http" --api.port="8080" --server.port=8081

Note you'll need to install the Spring Boot CLI https://spring.io/guides/gs/spring-boot-cli-and-js/#scratch

Management Endpoints

GET /info - customised to show the scm and build related info POST /shutdown - cause the container to stop. Useful for shutting down at the end of build testing

Build Properties

The following can be specified at build time to inject version information:

${BUILD_NUMBER} ${BUILD_URL} ${GIT_COMMIT}