Bug 724530 (BRMS-476)

Summary: Enable uploading custom accumulate functions as part of POJO model .jar file
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jiri Locker <jlocker>
Component: BRM (Guvnor)Assignee: manstis
Status: VERIFIED --- QA Contact: Jiri Locker <jlocker>
Severity: unspecified Docs Contact:
Priority: high    
Version: 5.0.2, 5.1.0.ER4CC: atangrin, lpetrovi, rwagner, tkobayas
Target Milestone: ER1   
Target Release: BRMS 5.3.1 GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-476
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When using custom accumulate functions, the custom class had to be packaged as a Jar file and added to jboss-brms.war/WEB-INF/lib. It is now possible to include the class file for custom accumulate functions in the POJO model jar file and upload via the JBoss Enterprise BRMS user interface.
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Jiri Locker 2010-11-30 14:29:17 UTC
securitylevel_name: Public

Currently the class has to be placed in jboss-brms.war/WEB-INF/classes or in jboss-brms.war/WEB-INF/lib packed in a .jar archive which has to be done before BRMS gets deployed. It would be comfortable for the user to be able to add custom functions on-the-fly by uploading through the Guvnor UI.

Comment 1 Jiri Locker 2010-11-30 14:29:59 UTC
Link: Added: This issue related BRMS-137


Comment 3 Rick Wagner 2012-05-15 18:39:06 UTC
GSS prioritizes this issue 'high'.  We have a customer that needs this functionality (on the attached case).  We are suggesting that rather than patch the customer's release (5.1) we will instead provide it in BRMS 5.3.  (The customer has noted it seems to work on BRMS 5.3 so hopefully this will be just a QE effort.)  Please grant 'blocker' status.

Comment 4 Toshiya Kobayashi 2012-06-15 13:24:50 UTC
This issue seems to have been fixed in BRMS 5.2.0

I confirmed that I can add Accumulate Function dynamically in BRMS 5.2.0. I just add a pojo fact jar which includes Accumulate Function classes and add properties via GUI [Create New] -> [New File].

Key -> drools.accumulate.function.<functionNameAlias>
Value -> package.YourCustomAccumulateFunction

Comment 5 Lukáš Petrovický 2012-08-28 06:53:48 UTC
Could have been fixed some time ago. Let's check that.

Comment 6 Jiri Locker 2012-08-30 13:00:20 UTC
I confirm this is working since 5.2.0 and I also verified in 5.3.0. Since this issue is targeted at 5.3.1 I'm leaving it ON_QA and will update with the first 5.3.1 build to come.