application.yml
The application.yml file configures the workflow database settings, including initial load, schema, conflicts, and domains.
Location: limits-starter\src\main\resources.
File values
Property | Value | Description |
---|---|---|
server.port | 3090 | Port used by the limits server application. |
management.endpoints.web.exposure.include | “*” | List of the Spring Boot Actuator endpoint exposed in the application. |
Section: content.hibernate
This section configures the Content Service database and connections to the Content Server.
Property | Value | Description |
---|---|---|
content.hibernate.connection.url | “jdbc:h2:mem:content_service;DB_CLOSE_DELAY=-1” | URL of the Hibernate connection to the content server. |
content.hibernate.connection.driver_class | org.h2.Driver | Driver used for the Hibernate connection to the content server. |
content.hibernate.dialect | “org.hibernate.dialect.H2Dialect” | SQL dialect used for the Hibernate connection to the content server. |
content.hibernate.show_sql | false | Flag used to set up the printing of the SQL queries in the Hibernate logs. |
content.hibernate.format_sql | false | Flag used to set up the formatting of the SQL queries in the Hibernate logs. |
content.hibernate.hbm2ddl.auto | update | Hibernate DDL generation setup to run on startup against the content server database. NOTE: Remove this line once the table is created. |
content.hibernate.hikari.connectionTimeout | 30000 | Maximum time (in milliseconds) that a client will wait for a connection from the pool (connection to the content server). |
content.hibernate.hikari.idleTimeout | 60000 | Maximum time (in milliseconds) that a connection is allowed to sit idle in the pool (connection to the content server). |
content.hibernate.hikari.minimumIdle | 1 | Minimum number of idle connections that HikariCP tries to maintain in the pool (connection to the content server) |
content.hibernate.hikari.maximumPoolSize | 10 | Maximum size that the pool is allowed to reach, including both idle and in-use connections (connection to the content server). |
content.hibernate.hikari.poolName | “content” | User-defined name for the connection pool. Displayed mainly in logging and JMX management consoles to identify pools |
Section: JWT configuration
This section configures the JWT parameters used for authentication
Property | Value | Description |
---|---|---|
qfs.jwt.key.public | The RSA key public key encoded in Base64, used to verify the integrity of the tokens | |
qfs.jwt.key.private | The RSA key private key encoded in Base64, used to sign the tokens | |
qfs.expiration | 43200 | The lifetime of the tokens in seconds |
Section: Content Server security configuration
This section configures the Content Service entitlements
Property | Value | Description |
---|---|---|
contentServer.security.calculatedMemberRole | ROLE_USER | The role users must have to create calculated members in the content server |
contentServer.security.kpiRole | ROLE_USER | The role users must have to create KPIs in the content server |
contentServer.security.cache.entitlementsTTL | 3600 | The time to live of the entitlement cache |
Section: Activiti History
This section configures the use of the Activiti History. See Activity user guide for details about the Activiti History: https://www.activiti.org/userguide/
Property | Value | Description |
---|---|---|
spring.activiti.dbHistoryUsed | true | Flag used to enable/disable the Activiti History |
spring.activiti.historyLevel | full | Activity History level |
Section: Activiti database
This section configures the Activiti database and the connection to the Activiti database.
Property | Value | Description |
---|---|---|
activiti.datasource.url | “jdbc:h2:file:./limits-activiti;DB_CLOSE_DELAY=-1” | URL of the Hibernate connection to the Activiti database. |
activiti.datasource.username | activiti | User name used for the Hibernate connection to the Activiti database. |
activiti.datasource.password | password | Password used for the Hibernate connection to the Activiti database |
activiti.datasource.properties.hibernate.dialect | org.hibernate.dialect.H2Dialect | SQL dialect used for the Hibernate connection to the Activiti database. |
activiti.datasource.properties.hibernate.format_sql | true | Flag used to set up the formatting of the SQL queries in the Hibernate logs |
activiti.datasource.properties.hibernate.hbm2ddl.auto | update | Hibernate DDL generation setup to run on startup against the Activiti database. NOTE: Remove this line once the table is created. |
activiti.datasource.hikari.connectionTimeout | 30000 | Maximum time (in milliseconds) that a client will wait for a connection from the pool (connection to the Activiti database). |
activiti.datasource.hikari.idleTimeout | 60000 | Maximum time (in milliseconds) that a connection is allowed to sit idle in the pool (connection to the Activiti database). |
activiti.datasource.hikari.minimumIdle | 1 | Minimum number of idle connections that HikariCP tries to maintain in the pool (connection to the Activiti database). |
activiti.datasource.hikari.maximumPoolSize | 10 | Maximum size that the pool is allowed to reach, including both idle and in-use connections (connection to the Activiti database). |
activiti.datasource.hikari.poolName | “activiti” | User-defined name for the connection pool. Displayed mainly in logging and JMX management consoles to identify pools |
Section: Audit Log Database
This section configures the Activiti database and the connection to the Audit Log database.
Property | Value | Description |
---|---|---|
audit-log.datasource.url | “jdbc:h2:tcp://localhost/./audit-log” | URL of the Hibernate connection to the Audit Log database. |
audit-log.datasource.username | audit | User name used for the Hibernate connection to the Audit Log database. |
audit-log.datasource.password | Password used for the Hibernate connection to the Audit Log database. | |
audit-log.datasource.properties.hibernate.dialect | org.hibernate.dialect.H2Dialect | SQL dialect used for the Hibernate connection to the Audit Log database. |
audit-log.datasource.properties.hibernate.format_sql | true | Flag used to set up the formatting of the SQL queries in the Hibernate logs |
audit-log.datasource.properties.hibernate.hbm2ddl.auto | update | Hibernate DDL generation setup to run on startup against the Audit Log database. NOTE: Remove this line once the table is created. |
audit-log.datasource.hikari.connectionTimeout | 30000 | Maximum time (in milliseconds) that a client will wait for a connection from the pool (connection to the Audit Log database). |
audit-log.datasource.hikari.idleTimeout | 60000 | Maximum time (in milliseconds) that a connection is allowed to sit idle in the pool (connection to the Audit Log database). |
audit-log.datasource.hikari.minimumIdle | 1 | Minimum number of idle connections that HikariCP tries to maintain in the pool (connection to the Audit Log database). |
audit-log.datasource.hikari.maximumPoolSize | 10 | Maximum size that the pool is allowed to reach, including both idle and in-use connections (connection to the Audit Log database). |
audit-log.datasource.hikari.poolName | “audit-log” | User-defined name for the connection pool. Displayed mainly in logging and JMX management consoles to identify pools |
Section: limit
This section defines additional properties used during the limit process.
Property | Value | Description |
---|---|---|
FourEyes | limit-process-instance.four-eyes | Maps the ‘four-eyes’ workflow type used for the creation of approval tasks to the ‘limit-process-instance.four-eyes’ workflow. |
SixEyes | limit-process-instance.six-eyes-kpi | Maps the ‘six-eyes-kpi’ workflow type used for the creation of limit tasks to the ‘limit-process-instance.six-eyes-kpi’ workflow. This property is required for Limits to start. You can use the reference limit-process-instance.straight-through provided in limits-starter/src/main/resources/processes/ as a default implementation. |
StraightThrough | limit-process-instance.straight-through | Maps the ‘StraightThrough’ workflow type used for the creation of limit tasks to the ‘limit-process-instance.straight-through’ workflow. |
Deletion | limit-process-instance.deletion | Maps the ‘deletion’ workflow type used for deleting a limit definition to the ‘limit-process-instance.deletion’ workflow. This applies to every limit definition deletion from the Limit Inventory widget. |
Exception | limit-process-instance.exception | Maps the ‘exception’ workflow type used for breaches/warnings to the ‘limit-process-instance.exception’ workflow. |