Setup
The chapter covers the configuration of DUM Engine.
- Dependant components
- Set up API credentials
- Set up database connection details
- Set up DUM Engine port
- Launch DUM Engine
Dependant components
DUM Engine depends on other components in order to work properly. Hence, you need to properly configure access to the Onegini Consumer Identity Manager.
In order to set up the connection to the Onegini Consumer Identity Manager you must configure the following properties:
- DUM_ENGINE_IDP_URL
- DUM_ENGINE_IDP_API_PERSON_USERNAME
- DUM_ENGINE_IDP_API_PERSON_PASSWORD
Please refer to the properties section for more details.
Set up API credentials
To be able to access the DUM Engine API's you first need to log in with credentials set by following environment variables:
- DUM_ENGINE_AUTH_USERNAME
- DUM_ENGINE_AUTH_PASSWORD
Set up database connection details
DUM Engine uses a database to store its data. Use following properties for the database setup:
- SPRING_DATASOURCE_USERNAME
- SPRING_DATASOURCE_PASSWORD
- SPRING_DATASOURCE_URL
- SPRING_DATASOURCE_DRIVER_CLASS_NAME - should be determined by SPRING_DATASOURCE_URL in most cases
Please refer to the database configuration for more details.
Set up DUM Engine port
DUM Engine can be set up on a specific port. The default port is 8080
. Use this property to configure it:
- SERVER_PORT
Launch DUM Engine
You have now configured DUM Engine. Start DUM Engine and check if the application started correctly by executing a http GET on:
http://SERVER_HOST:SERVER_PORT/actuator/health
If the response message includes the text UP
, you have successfully started the DUM Engine.