jBPM logo
  • Blog
  • Download
    • Community
    • Docker
    • Enterprise
  • Learn
    • Getting Started - Using Single Zip Distribution
    • Getting Started - Using Docker
    • Releases
    • Documentation
    • Performance
    • Videos
    • Slides
  • Apps
    • Getting Started
    • Beyond Basics
  • Get help
  • Source
  • Team
  • Services
  • KIE
    • Drools
    • Kogito
    • jBPM
    • OptaPlanner

    • kie.org
  • Star
  • T
  • YT
Fork me on GitHub

Upgrade recipe 7.0

KIE public API classes are backwards compatible (per series), but users often also use implementation classes (which are documented in the reference manual too). This upgrade recipe minimizes the pain to upgrade your code.

Legend

Every upgrade note has an indication how likely your code will be affected by that change:

  • Major Likely to affect your code.
  • Minor Unlikely to affect your code (especially if you followed the examples), unless you have hacks.
  • Impl detail Will not affect your code, unless you have very deep hacks.
  • Recommended Not a backward incompatible change, but you probably want to do this.
  • Readme Read this to better understand why the subsequent major changes were made.
Note for Red Hat customers

The BRMS and BPM Suite version does NOT match the Drools version:

BRMS / BPM Suite version Drools version
6.0 6.0
6.1 6.2
6.2 6.3
6.3 6.4
6.4 6.5

Apply the recipe of the apprepriate Drools version.

Backwards incompatible changes to the public API

Because this is a new major version number (7.0), which is the foundation for the 7.x series for the next few years, it allows us to make backwards incompatible changes to the public API for the long term benefit of this project.

Our current intention is to keep these backwards incompatible changes to a strict minimum (by favoring deprecation over removal) and do not introduce any additional ones after 7.0.

Any backwards incompatible changes are annotated with a Public API badge.

From 6.5.0.Final to 7.0.0.Final

Java 8 or higher required

If you’re using JRE or JDK 6 or 7, upgrade to JDK 8 or higher.

We currently intend to support a minimal version of Java 8 throughout the entire 7.x series.

OSGi integration artifacts renamed

OSGi integration artifacts were renamed from drools-* to kie-*. We have also renamed the Java package names from org.drools.osgi to org org.kie.osgi.. The main reason for these changes is that the artifacts no longer contain just Drools specific code, but also jBPM and OptaPlanner OSGi integration (KIE is the umbrella term for those three projects). The change affects drools-osgi-integration Maven artifact, Karaf features file URL and Spring’s OsgiKModuleBeanFactoryPostProcessor:

Before in pom.xml:

<dependency>
  <groupId>org.drools</groupId>
  <artifactId>drools-osgi-integration</artifactId>
  <version>6.5.0.Final</version>
</dependency>

After in pom.xml:

<dependency>
  <groupId>org.kie</groupId>
  <artifactId>kie-osgi-integration</artifactId>
  <version>7.0.0.Final</version>
</dependency>

Before when using Karaf features file:

features:addurl mvn:org.drools/drools-karaf-features/6.5.0.Final/xml/features

After when using Karaf features files:

features:addurl mvn:org.kie/kie-karaf-features/7.0.0.Beta2/xml/features

Before in Spring configuration file:

<bean id="kiePostProcessor" class="org.drools.osgi.spring.OsgiKModuleBeanFactoryPostProcessor"/>

After in Spring configuration file:

<bean id="kiePostProcessor" class="org.kie.osgi.spring.OsgiKModuleBeanFactoryPostProcessor"/>

KIE Drools Workbench WARs renamed

The KIE Drools Workbench WARs were renamed from kie-drools-wb-distribution-wars-<version>-<container>.war to just kie-drools-wb-<version>-<container>.war. In case you depend directly on the Maven GAV you need to change the artifactId:

Before in pom.xml:

<dependency>
  <groupId>org.kie</groupId>
  <artifactId>kie-drools-wb-distribution-wars</artifactId>
  <version>6.5.0.Final</version>
  <type>war</type>
  <classifier>wildfly10</classifier>
</dependency>

After in pom.xml:

<dependency>
  <groupId>org.kie</groupId>
  <artifactId>kie-drools-wb</artifactId>
  <version>7.0.0.Final</version>
  <type>war</type>
  <classifier>wildfly10</classifier>
</dependency>
Download
Try jBPM - Open Source Business Automation Toolkit
7.74.1.Final
Paid support and consulting

Want to talk to the experts? Red Hat offers certified binaries with enterprise consulting. See services for more information.

jBPM - Open Source Business Automation Toolkit is open. All dependencies of this project are available under the Apache Software License 2.0 or a compatible license.

This website was built with JBake and is completely open source.

Community

  • Blog
  • Get Help
  • Team
  • Governance
  • Academic research

Code

  • Build from source
  • Submit a bug
  • Report a security issue
  • License (Apache-2.0)
  • Release notes
  • Upgrade recipes

KIE projects

  • Drools rule engine
  • OptaPlanner constraint solver
  • jBPM workflow engine
  • Kogito Business Automation platform
CC by 3.0 | Privacy Policy
Sponsored by Red Hat