Bug 1072353

Summary: Improve Spring integration
Product: [Retired] JBoss BPMS Platform 6 Reporter: Ivo Bek <ibek>
Component: jBPM CoreAssignee: Maciej Swiderski <mswiders>
Status: CLOSED CURRENTRELEASE QA Contact: Ivo Bek <ibek>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0.2CC: kverlaen, mbiarnes, rrajasek
Target Milestone: CR1   
Target Release: 6.0.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Consequence: Fix: Result: all improvements and their usage scenario are described in the blog: http://mswiderski.blogspot.com/2014/01/jbpm-6-with-spring.html
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:03:10 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ivo Bek 2014-03-04 12:50:36 UTC
Description of problem:

As we have discussed with Maciej. In the 6.0.x branch some helpful classes for Spring integration are missing such as org.kie.spring.factorybeans.RuntimeEnvironmentFactoryBean. A developer is forced to initialize and work with JBPM out of beans.xml and the unit tests here are not run https://github.com/droolsjbpm/droolsjbpm-integration/tree/master/kie-spring/src/test/java/org/kie/spring/jbpm

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Maciej Swiderski 2014-03-11 14:29:22 UTC
back ported to 6.0.x

jbpm
6.0.x:
https://github.com/droolsjbpm/jbpm/commit/416269451fc2fc37989b1675a9041693a1987c1a

droolsjbpm-integration
6.0.x:
https://github.com/droolsjbpm/droolsjbpm-integration/commit/cabe236b59587c0c3c5617c7259f371fa64e4e7b

please note that when this is ported to any other branch make sure that commits from comment #9 of bz https://bugzilla.redhat.com/show_bug.cgi?id=1036647 are already ported.

Comment 2 Michael 2014-03-17 10:40:35 UTC
Ticket cherry-picked into 6.0.1.CR1. 
Commits:
jbpm:494241b2415c70f6352b7fc57cd577f8b4e8d5c0
droolsjbpm-integration:085d5b3c0b9fb69eb961ce8b2a4dc29261afd4e0

Comment 3 Ivo Bek 2014-03-27 17:27:22 UTC
Verified in BPMS 6.0.1.CR2