I might be wrong, but I think DRL - BRL is still not possible.
Just had a look at org.drools.ide.common.server.util.BRDRLPersistence, and
we have the following:
public RuleModel unmarshal(String str) {
throw new UnsupportedOperationException(
Still not possible to
Hi,
I am aware that we can provide user permissions at Package/Category level
and restrict the users, but i want to know whether its possible to restrict
the users by providing permissions at rules/DSL level, because we dont want
the user to modify the DSL which would be defined by the Admin and
Pattern( field != null, eval( someFunc( field ) ) )
Mark
On 14/09/2010 05:18, lnguyen wrote:
Sorry here is some additional details...I hope I'm not making this sound more
complicated than it really is but I am attempting to restrict access to view
an account based on the logged in user.
This is good to know. I was just in the middle of converting to 5.1.1 but will
not stop. By the way the 5.1.1 version of Guvnor appears to be unstable under
JBoss 5.1.
Verify operations just hang. Error messages (with no message) get displayed,
Inability to sign out, etc.
Back to 5.0.1.
You are right, of course. The BRL editor has its own XML format.
I just wonder whether going through a DrlParser - DrlDumper cycle might
produce a sufficiently well-behaved DRL text that could be easily enough
transformed to the BRL XML. But nothing of this is in the stable API, so
it would be
Anyone?
I found out that JBoss AS doesn't know which TransactionManager to use here.
I have:
Environment env = KnowledgeBaseFactory.newEnvironment();
env.set(EnvironmentName.ENTITY_MANAGER_FACTORY, myEmFactory);
env.set(EnvironmentName.TRANSACTION_MANAGER, );
session =
Hi,
in my package definition I have two kinds of facts. I use stateFullSession
and I send to ksession facts of two different types. For each type I have
one rule using only this type. So what I am doing is processing two
different fact's types in one session. I start fireAllRules, and I know it
Hi,
I've mentioned the test case I'm working on before. It's: If a certain
value exceeds a limit more than X times within Y minutes/hours, do
something.
~ Count = X , time = Y
During a talk with other developers it came up that by intuition the men
would have chosen a other approach
Hi,
I am using persistence, and since the sessions don't seem to have a
standard way of getting removed from the database when they are not
needed anymore, I am wondering how to do that.
I am using JPA but if I call :
em.remove(someSessionInfo);
where em is the JPA EntityManager, that does not
In my application I am using the following flow:
1. I am using Guvnor to allow customer to define business event structure
through the Declarative Model feature.
2. After defining the model, customers write rules and package them into
a snapshot where my
We are currently using drools guvnor 5.0.1 deplyed in Weblogic 10.3. We
needed to multithread the call to the rule engine. We were facing the issue
of Concurrent modification as described in
https://jira.jboss.org/browse/JBRULES-1888.
It seemed to have been fixed and we tried upgrading it to
For a pair of events, the performance will be the same with
before/after. If you have more than 2, though, best would be to use
sliding windows.
Edson
2010/9/14 Tina Vießmann tviessm...@stud.hs-bremen.de:
Hi,
I've mentioned the test case I'm working on before. It's: If a certain value
Thank you, Edson.
I've thought about it. There are some inconsistencies in the application
integrating my application. Therefore using sliding windows is kind of
problematic. There for I'm using the events timestamps as a compromise ...
I know, its very critizisable, but I can't change it.
Hi
I am using the statefulknowledgesession with jpa persistence with
spring...exactly configured as per in the section : Example 2.5. JPA
configuration for StatefulKnowledgeSessions
http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-introduction/html_single/index.html#d0e47
I am
The thing is that, afaik, the DrlParser in itself doesn't give you something
that you can use to generate the BRL XML, even for a well-behaved DRL. You
would have to do some sort of model-to-model transformation that would have
RuleModel as an outcome. With the RuleModel at hand you can easily
On 14/09/2010 21:17, Leonardo Gomes wrote:
The thing is that, afaik, the DrlParser in itself doesn't give you
something that you can use to generate the BRL XML, even for a
well-behaved DRL. You would have to do some sort of model-to-model
transformation that would have RuleModel as an
I am using Guvnor packaging and snapshot creation.
I have three environment DEV, UAT and Production, I configured each
environment with a package snapshot to listen to, each time the package
change, I build it then overwrite the snapshot for that particular
environment. This was working great for
I have the same problem with drools 5.2 Using JPA with tomcat on bitronix.
I temporarily resolved with:
env.set (EnvironmentName.CMD_SCOPED_ENTITY_MANAGER, emf.createEntityManager
());
Every time I use the session.
___
rules-users mailing list
2010/9/14 Mark Proctor mproc...@codehaus.org
Exactly, we don't want to mature and promote a proprietary XML and waste
the time and create the confusion from not following a standard.
Any XML standard for rules and especially production system rules is way
behind what systems like Drools,
19 matches
Mail list logo