Versions Compared

Key

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

...

This section explains how to install the Case Engine component, how to configure it and which other components are needed to be installed.


Installation

The Case Engine will be delivered with the runtime and can be downloaded in the artifactory. Alternatively you can also use the DCM 2.0 beta release which also includes the case engine

...

Code Block
languagebash
titleexample command to start the case engine
$ java -Dserver.port=18081 -Dspring.config.additional-location=file:///config/DCM2/CaseEngine/config -jar blueriq-dcm-case-engine-{{version}}.jar


Dependencies

The case engine component depends on the following components:

...

Code Block
languagebash
titlebootstrap.propeties
spring.profiles.active=native,\
    case-engine,\
    customerdata-client,\
    dcm-lists-publisher,\
    externaldatasources,\
    process-sql-store,\
    timeline-event-publisher-amqp,\
    trace-event-publisher-amqp,\
    audit


Configuration

Specific for the case engine there are mutliple properties that need to be set.

...

Code Block
languagebash
titleexternal-datasources.properties
#### Datasources  H2 ###
blueriq.datasource.process-sql-store.url=jdbc:h2:./h2db/dcm;AUTO_SERVER=TRUE
blueriq.datasource.process-sql-store.username=sa
blueriq.datasource.process-sql-store.password=
blueriq.datasource.process-sql-store.driverClassName=org.h2.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  

Authentication

The synchronous operations are protected with basic authentication. To specify the credentials required to log in to the Case Engine, create a user in user.properties with the case-engine role.

...