Bug 724530 (BRMS-476) - Enable uploading custom accumulate functions as part of POJO model .jar file
Summary: Enable uploading custom accumulate functions as part of POJO model .jar file
Keywords:
Status: VERIFIED
Alias: BRMS-476
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRM (Guvnor)
Version: 5.0.2,5.1.0.ER4
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ER1
: BRMS 5.3.1 GA
Assignee: manstis
QA Contact: Jiri Locker
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-30 14:29 UTC by Jiri Locker
Modified: 2020-09-10 21:10 UTC (History)
4 users (show)

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.
Clone Of:
Environment:
Last Closed:
Type: Feature Request


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 724194 0 high CLOSED CCE when trying to use own accumulate functions 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker BRMS-476 0 Minor Closed Enable uploading custom accumulate funcitons as part of POJO model .jar file 2013-11-22 11:26:21 UTC

Internal Links: 724194

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.


Note You need to log in before you can comment on or make changes to this bug.