Bug 1035175

Summary: org.switchyard.component.common.knowledge.util.Listeners uses deprectated API
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Jiri Pechanec <jpechane>
Component: Rules / jBPM integrationAssignee: David Ward <dward>
Status: MODIFIED --- QA Contact: Matej Melko <mmelko>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: atangrin, soa-p-jira
Target Milestone: DR1   
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The "org.switchyard.component.common.knowledge.util.Listeners" class refers to a deprecated API "WorkingMemoryEventListener".
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jiri Pechanec 2013-11-27 08:55:35 UTC
The aforementioned class refers to WorkingMemoryEventListener that is deprecated and will be removed in next version of Drools.

http://docs.jboss.org/drools/release/6.0.0.Final/kie-api-javadoc/org/kie/api/event/rule/WorkingMemoryEventListener.html

If fixed it will not be aslo necessary to use typecasting for manager.

Comment 1 Keith Babo 2013-11-27 14:09:11 UTC
IIRC, this class was deprecated from the moment it was added to the public API.  Bringing David into the loop since he has more knowledge on the background here.

Comment 2 David Ward 2013-12-02 15:31:16 UTC
Easy enough to remove, but it's in their public api. So, should we wait to remove it until they remove it, or what?

Comment 3 Anne-Louise Tangring 2013-12-02 15:58:28 UTC
As long as it's marked Deprecated, we're ok.

Comment 4 David Ward 2014-02-26 20:25:43 UTC
FYI, usage of the deprecated interface is removed with this jira:
https://issues.jboss.org/browse/SWITCHYARD-1955