Release Notes 5.23.8

New Features

Versioning by folder names

Business dimensional properties can be extracted not only from the file name, but from the containing folder names too.

RuleServices is compatible with Spring Boot

An ability to build Spring Boot Application based on RuleService code. Now jar artifact can be used as SpringBoot component without additional configurations.

Improvements

Rule Services:

  • Support inheritance of beans in Swagger and OpenAPI
  • Implemented "@RulesType" annotation that allows to expose Extra Method in webservice which accept OpenL types
  • RuleServices is configured to use random temporary folder for deployments cache

Core:

  • Support Java 15
  • An ability to set multiple properties under one pattern for file name processor
  • "toBoolean(a)" function converts String to Boolean is implemented
  • The rule with the newest effectiveDate is selected in case is expirationDate is not defined
  • "yyyyMMdd" date pattern is defined by default for PropertiesFileNameProcessor

Rule Services, Webstudio:

  • File System (local) repository type is supported for Deploy Repository

Fixed Bugs

Core:

  • "The element is null" message is presented to user, if array parameter in child datatype is the same as in parent datatype
  • Duplicated errors appear in the log
  • No error message is presented to user, if rule or spreadsheet overloaded by dimensional property has different input parameters name per version
  • A lot of "Skip duplicated message" errors in the log
  • An error message is displayed for empty Decision Tables
  • "Ambiguous dispatch" error is not presented to user the number of business version with different effectiveDate is even
  • Cell type is identified incorrectly for float literal
  • An external return is not matched with SmartRules, if array is defined in merged columns
  • Incorrect date is successfully parsed from the filename by pattern

Webstudio:

  • The filename pattern functionality doesn't work properly with the symbol "$", "^", "+" and "."
  • Module loading failure: StackOverflowError: in case of cyclic inheritance
  • Full list of patterns is not displayed on Copy module UI
  • Non-alphabetical sorting of projects in Editor
  • Duplicate of table with different input Alias is not displayed on the UI
  • Error on clicking '+' for input types Collection, Set
  • The field " Current Revision" should be renamed to "Current Revision Id"

Webstudio Repository:

  • Slow performance on repository tab if there are a lot of projects
  • Git merge messages misleading user

Rule Services:

  • Date type serialization and deserialization are not consistent
  • Swagger errors on Demo server

Migration Notes

Updated libs:

  • Spring Framework v5.2.10.RELEASE
  • Spring Security v5.4.1
  • Jackson v2.11.3
  • Jetty Server v9.4.33.v20201020
  • Tomcat v9.0.39
  • commons-io v2.8.0
  • commons-codec v1.15
  • JGit v5.9.0.202009080501-r
  • Bouncy Castle v1.67
  • httpclient v4.5.13
  • elasticsearch v6.8.13
  • Kafka v2.5.1
  • cache2k v1.6.0.Final
  • JUnit v4.13.1
  • Awaitility v4.0.3
  • ASM v9.0
  • XStream v1.4.13
  • Joda Time v2.10.7
  • Microsoft JDBC Driver v8.4.1.jre8
  • SnakeYAML v1.27
  • stax-ex v1.8.3

The following properties should be edited in RuleServices:

  • ruleservice.datasource.filesystem.supportVersion was removed.
  • ruleservice.datasource.deploy.clean.datasource was removed. Use your startup script if it is required to clean files before run RuleServices.
  • ruleservice.datasource.dir should be replaced with production-repository.uri
  • ruleservice.tmp.dir was removed. The system temporary folder is used instead.

The following classes are deprecated:

  • org.openl.rules.ruleservice.core.interceptors.AnyType - replaced by RulesType
  • org.openl.rules.project.resolving.CWPropertyFileNameProcessor - no replacement. Just remove any refferences from rules.xml.
  • org.openl.rules.project.resolving.PropertiesFileNameProcessor - remove own implementation. Default implementation should cover all use cases.

© Copyright OpenL Tablets, 2004-2020