[
https://jira.jboss.org/jira/browse/JBSEAM-4456?page=com.atlassian.jira.pl...
]
Tihomir Surdilovic commented on JBSEAM-4456:
--------------------------------------------
Will be fixed in Seam 3 where Drools 5 API will be used to load resources, for example:
kbuilder.add(ResourceFactory.newClassPathResource("myrule.drl"),
ResourceType.DRL);
Seam 3 will also support changeset, and you will be able to configure applying changeset
to a KnowledgeAgent (kagent.applyChangeSet( ResourceFactory.newUrlResource( url ) );
)
Support for reloading classpath security.drl
--------------------------------------------
Key: JBSEAM-4456
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4456
Project: Seam
Issue Type: Feature Request
Components: Drools
Affects Versions: 2.2.0.GA
Environment: Drools without BRMS
Reporter: Miloslav Vlach
Assignee: Tihomir Surdilovic
Attachments: RuleAgent.java.patch.zip
I need to enable reloading *.drl files located in classpath. The attribute files load
only files typed in absolute path form.
<security:rule-based-permission-resolver security-rules="#{ruleAgent}"
/>
<security:identity authenticate-method="#{authenticator.authenticate}"
remember-me="true" />
<drools:rule-agent
name="ruleAgent"
files="classpath:///security.drl classpath:///security2.drl"
local-cache-dir="/tmp/"
poll="5"/>
<drools:managed-working-memory name="policyPricingWorkingMemory"
auto-create="true" rule-base="#{ruleAgent}" />
More info at
http://www.bpsolutions.cz/blog/-/blogs/reloadable-drools-jboss-rules-secu...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira