Bug 1045358

Summary: Rule name service is too heavy
Product: [Retired] JBoss BRMS Platform 6 Reporter: Toni Rikkola <trikkola>
Component: Business CentralAssignee: Toni Rikkola <trikkola>
Status: CLOSED DUPLICATE QA Contact: Lukáš Petrovický <lpetrovi>
Severity: low Docs Contact:
Priority: low    
Version: 6.0.0CC: etirelli, mbaluch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-26 08:33:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Toni Rikkola 2013-12-20 09:16:55 UTC
Description of problem:
Currently, to show an up to date list of rules in the guided editors, we build the internal Data Model Oracle each time a file with rules is saved. This does get heavy if there are a lot of dependencies and/or the project is big.

Better way to do this, is improving the rule name service to notice changes in the files that generate DRL and parsing the rule names from the DRL. The rule name service needs to keep handles between the rule names and the paths the rule names were got from, so it is possible to rename, remove and move files and not break the existing rule name list.

Comment 3 Toni Rikkola 2014-03-26 08:33:00 UTC

*** This bug has been marked as a duplicate of bug 1051463 ***