Chapter 3. New features

This section highlights new features in Red Hat Decision Manager 7.10.

3.1. Business Central

3.1.1. Support for DMN 1.1 and 1.3 assets in DMN designer

You can now use the DMN designer in Business Central to open DMN 1.1 and 1.3 assets. Any DMN 1.1 and 1.3 models (do not contain DMN 1.3 features) that you import into Business Central, open in the DMN designer, and save are converted to DMN 1.2 models. For more information, see Designing a decision service using DMN models.

3.1.2. Test scenarios

The test scenarios designer in Business Central is now available with the following new features:

  • You can now perform the undo and redo operations from the Settings panel. Also, a warning pop-up is displayed when you save or discard any changes from the Settings panel.
  • In rule-based test scenarios, you can use the following new java classes as data objects:

    • LocalDateTime
    • LocalTime
    • BigDecimal
    • BigInteger
  • You can use Byte, Character, Float, Long, Short, LocalDateTime, LocalTime, BigDecimal, and BigInteger classes to create and manage the list of data object values.

For more information, see Testing a decision service using test scenarios.

3.1.3. New parameter list for Decision Services

Red Hat Decision Manager 7.10 includes a new Decision Service details section in the DMN editor properties panel containing a read-only list of Input Data, Encapsulated Decisions, and Output Decisions.

For more information, see Getting started with decision services and Designing a decision service using DMN models.

3.2. New standalone BPMN and DMN editors

Red Hat Decision Manager now provides standalone editors for Business Process Model and Notation (BPMN) process models and Decision Model and Notation (DMN) decision models. The standalone editors enable you to view and design BPMN and DMN models embedded in your web applications. The read-only mode for standalone BPMN editor is not supported in Red Hat Decision Manager 7.10.0.

The standalone editors are distributed in a self-contained library that provides an all-in-one JavaScript file for each editor. The JavaScript file uses a comprehensive API to set and control the editor. You can install the standalone editors in two ways:

  • Download each JavaScript file manually
  • Use the NPM package

For more information, see Designing a decision service using DMN models and Designing business processes using BPMN models.

3.3. Support for VSCode extension

Red Hat Decision Manager now provides support for VSCode extension enabling you to view and design BPMN and DMN models in Visual Studio Code (VSCode). The VSCode extension in Red Hat Decision Manager requires VSCode 1.46.0 or later.

You can install the Red Hat Decision Manager VSCode extension using:

  • VSCode user interface

    1. Open Extensions menu option.
    2. Search for and install Red Hat Business Automation Bundle extension.
  • Terminal

    1. Launch VSCode Quick Open.
    2. Enter the following command and press Enter.

      ext install redhat.vscode-extension-red-hat-business-automation-bundle

For more information, see Designing a decision service using DMN models and Designing business processes using BPMN models.

3.4. New wrapper modules

Red Hat Decision Manager 7.10 now includes wrapper modules that you can use to reduce overhead and improve the maintenance of Drools engine. There is an ongoing effort to refactor Drools engine by identifying and descoping optional features that are unrelated to the internal algorithm of the engine. Drools engine uses MVEL for DRL parsing, constraints evaluation, and templates generation. Usages of MVEL are isolated in a new drools-mvel module. Drools engine implements KieSessions serialization with protobuf to ensure better backward compatibility. This serialization feature is isolated in the drools-serialization-protobuf module.

You can add drools-mvel and drools-serialization-protobuf modules to your project classpath.

Red Hat Decision Manager now provides the following new wrapper modules:

  • drools-engine: Contains drools-core, drools-compiler, and drools-model-compiler dependencies
  • drools-engine-classic: Contains drools-core, drools-compiler, and drools-mvel dependencies

To use the Drools engine with the executable model, you must include the drools-engine wrapper module in your project dependencies. To use the Drools engine without the executable model, you must import your dependencies to the drools-engine-classic wrapper module.

3.5. Integration

3.5.1. Support for client roles in Red Hat Single Sign-On

When integrating Red Hat Decision Manager with Red Hat Single Sign-On, you can enable support for client roles. By default, only realm roles are supported.

For more information about integration with Red Hat Single Sign-On, see Integrating Red Hat Decision Manager with Red Hat Single Sign-On.

3.6. Red Hat OpenShift Container Platform

3.6.1. Support for Red Hat OpenShift Container Platform version 4.7

Red Hat Decision Manager now supports Red Hat OpenShift Container Platform version 4.7 and Red Hat OpenShift Container Platform version 4.6 EUS.

For more information, see Red Hat OpenShift Container Platform Life Cycle Policy and Red Hat OpenShift Extended Update Support (EUS) Overview.

3.6.2. Support for LDAP login module stacking

Red Hat Decision Manager now supports LDAP login module stacking. You can set the AUTH_LDAP_LOGIN_MODULE environment variable to optional for LdapExtended login module images.

3.6.3. Configurable persistent volume sizes for Business Central

Red Hat Decision Manager now supports configurable persistent volume sizes for Business Central. The default is 1Gi for Business Central and 64Mb for Business Central Monitoring.