Properties

This page contains all the properties related to the Insights Application

Database configuration

Property Example Description Mandatory
DATABASE_TYPE mysql Database type for this application. Allowed values are: mysql, oracle or mssql Y
SPRING_​DATASOURCE_​USERNAME root Database username Y
SPRING_​DATASOURCE_​PASSWORD password Database password Y
SPRING_​DATASOURCE_​URL jdbc:mysql://localhost:3306/insights Database URL Y
SPRING_​DATASOURCE_​DRIVER_​CLASS_​NAME org.mariadb.jdbc.Driver Database driver class name. If not provided default driver class name is chosen based on url value N

Available datasource driver class names:

Database type SPRING_DATASOURCE_DRIVER_CLASS_NAME value
mysql org.mariadb.jdbc.Driver
mssql com.microsoft.sqlserver.jdbc.SQLServerDriver
oracle oracle.jdbc.driver.OracleDriver

Sources Configuration

Onegini Customer Identity Manager

Property Example Description Mandatory
IDP_​API_​STATISTICS_​SOURCE_​BASE_​URI http://idp-core.dev.onegini.me:8081 Base connection url Y
IDP_​API_​STATISTICS_​SOURCE_​USERNAME username API username Y
IDP_​API_​STATISTICS_​SOURCE_​PASSWORD password API password Y
IDP_​API_​STATISTICS_​SOURCE_​SOURCE_​READ_​TIMEOUT 600 (default) Read timeout for single statistics request to Onegini Customer Identity Manager (e.g. request for a specific statistics type value for a given day). Timeout is specified in seconds and has to be a positive value. Y

Token Server

Property Example Description Mandatory
TS_​API_​STATISTICS_​SOURCE_​BASE_​URI http://dev.onegini.me:7878/oauth Base connection url Y
TS_​API_​STATISTICS_​SOURCE_​USERNAME username API username Y
TS_​API_​STATISTICS_​SOURCE_​PASSWORD password API password Y
TS_​API_​STATISTICS_​SOURCE_​SOURCE_​READ_​TIMEOUT 600 (default) Read timeout for single statistics request to Token Server (e.g. request for a specific statistics type value for a given day). Timeout is specified in seconds and has to be a positive value. Y

Scheduling

Property Example Description Mandatory
STATISTICS_​DATA_​GENERATION_​CRON_​DEFINITION 0 0 0 * * ? (default) Cron definition that specifies when statistics engine's data generation job should be launched Y

UI user

Property Example Description Mandatory
SPRING_​SECURITY_​USER_​NAME username Web UI user login Y
SPRING_​SECURITY_​USER_​NAME password Web UI user password Y

Properties encryption

Property Example Description Mandatory
JASYPT_​ENCRYPTOR_​PASSWORD onegini Password that is used to encrypt and decrypt property values N

Other

Property Example Description Mandatory
SERVER_PORT 8581 Insights Application port Y