Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

These properties are divided into three files:

  • Include Page
    _PropertiesFileJava
    _PropertiesFileJava
    : common properties that concern security, logging and the connection to the customer data
  • Include Page
    _PropertiesCaseEngine
    _PropertiesCaseEngine
    : properties for several queues, MongoDB and Quartz
  • Include Page
    _PropertiesExternalDatasources
    _PropertiesExternalDatasources
    : properties that enable the Case Engine to communicate with the Process SQL Store

Create the files in the additional config location of the case engine and copy and paste the corresponding properties into each file.

...

Code Block
languagebash
titleapplication-case-engine.properties
# queue configuration from blueriq.default.rabbitmq and can be overruled
blueriq.case.engine.rabbitmq.queueNames=dcmEventsQueue
blueriq.case.engine.rabbitmq.exchangeName=dcmEvents

# queue configuration from blueriq.default.rabbitmq can be overruled
blueriq.process.engine.v2.automatic-task.rabbitmq.exchangeName=dcmTasksEvents

# queue configuration from blueriq.default.rabbitmq can be overruled
blueriq.process.engine.v2.process-finished.rabbitmq.exchangeName=dcmEvents

# queue configuration from blueriq.default.rabbitmq can be overruled
blueriq.case.engine.scheduler.rabbitmq.exchangeName=dcmScheduledEvents

# queue configuration from blueriq.default.rabbitmq can be overruled
blueriq.case.engine.maintenance.rabbitmq.exchangeName=dcmMaintenanceEvents
 
blueriq.case.engine.concurrency.concurrent-consumers=1
blueriq.case.engine.concurrency.max-concurrent-consumers=1

blueriq.case.engine.data.mongodb.host=localhost
blueriq.case.engine.data.mongodb.port=30012
blueriq.case.engine.data.mongodb.database=caseEngine

blueriq.locking.mongodb.host=localhost
blueriq.locking.mongodb.port=30012
blueriq.locking.mongodb.database=locks

spring.quartz.job-store-type=memory

spring.quartz.properties.org.quartz.threadPool.class=org.quartz.simpl.SimpleThreadPool
spring.quartz.properties.org.quartz.threadPool.threadCount=2

...

Code Block
languagebash
titleapplication-external-datasources.properties
#### Datasources  H2PostgreSQL ###
blueriq.datasource.process-sql-store.url=jdbc:h2postgresql:./h2db/dcm;AUTO_SERVER=TRUE//bq-postgres:5432/blueriq
blueriq.datasource.process-sql-store.username=sablueriq
blueriq.datasource.process-sql-store.password=welcome
blueriq.datasource.process-sql-store.driverClassName=org.h2postgresql.Driver
blueriq.hibernate.process-sql-store.hbm2ddl.auto=update
blueriq.hibernate.process-sql-store.dialect=org.hibernate.dialect.H2Dialect
blueriq.hibernate.process-sql-store.criteria.literal_handling_mode=BIND
blueriq.hibernate.process-sql-store.globally_quoted_identifiers=true
blueriq.hibernate.process-sql-store.globally_quoted_identifiers_skip_column_definitions=true  validate
Info
titlehbm2ddl.auto

When using a production database, please use 'validate' instead of 'update' in combination with the supplied database scripts.

...

Example output

StartTask event :Image Removedlogline:

2024-04-25 13:43:09.100 INFO        c.b.d.c.c.CaseEngineRestController httpSessionId="43C5CF48C812F97E301843659A09A04A" runtimeSessionId="" userId="caseengine" projectName="" projectVersion="" currentPageName="" tenantName="" [trace=662a41cd99970f5e778c9835294b1413,span=be8f45537809ead6] - [startTask] Starting transaction - task ID: '6' case ID: '662a41c4fcab766683cab7c5'

Finishing a case

Whenever the process for a case finishes, the case will be closed. This means that the following persistent parts of a case will be removed:

...

Code Block
languagepowershell
titleapplication-case-engine.properties
blueriq.case.engine.data.general.remove-aggregates-on-case-close = false

...