Bug 1012939 - configurable AuditLogger for deployment services
Summary: configurable AuditLogger for deployment services
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Core
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ER5
: 6.0.0
Assignee: Maciej Swiderski
QA Contact: Marek Baluch
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-27 12:23 UTC by jbride@redhat.com
Modified: 2014-08-06 20:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:12:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description jbride@redhat.com 2013-09-27 12:23:53 UTC
Hi,
  It appears that  VFSDeploymentService and  KModuleDeploymentService are hard-coded to make use of the JPA based AuditLogger in both bpms6 ER3 and upstream community jbpm.
  The alternative AuditLogger is JMS based.
  Request a change to these DeploymentServices to make them both configurable to use either a JPA or JMS AuditLogger.

thank you.  jeff

Comment 2 Maciej Swiderski 2013-10-07 14:16:36 UTC
Added possibility to globally change the audit logger from JPA (default) to JMS based, to do so specify following system property:

-Djbpm.audit.jms.enabled=true

jbpm
master:
https://github.com/droolsjbpm/jbpm/commit/2bebc927af49019e9ab6150d3a76835fb80c5dd5

6.0.x
https://github.com/droolsjbpm/jbpm/commit/011147f5f67116acd5fda4dac3ca744691353161

kie-wb
master
https://github.com/droolsjbpm/kie-wb-distributions/commit/81651303623c566ae3531ccf6a4360cee5401e96

6.0.x
https://github.com/droolsjbpm/kie-wb-distributions/commit/5879a40b5ce715cd9fde27387372119d425961c6

Comment 3 Marek Baluch 2013-12-09 18:17:25 UTC
Verified on ER5.

Implementation is included.


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