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 |
Authentication
Basic
Property |
Example |
Description |
Mandatory |
SPRING_SECURITY_USER_NAME |
username |
Web UI user login |
Y |
SPRING_SECURITY_USER_PASSWORD |
password |
Web UI user password |
Y |
OAuth2 JWT token
JWT authentication is disabled by default. To enable it, provide the SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_ISSUER_URI
property.
Property |
Example |
Description |
Mandatory |
SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_ISSUER_URI |
https://auth-server/ |
Identity of the authorization server |
N |
SECURITY_OAUTH2_JWT_AUDIENCE |
onegini-console (default) |
Identity of the resource server (insights app in this case) |
N |
SECURITY_OAUTH2_JWT_SCOPE |
openid (default) |
Scope required to authenticate JWT |
N |
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 (default) |
Insights Application port |
N |