Adding a custom logo to Drools Guvnor
by LCode
In previous versions of Drools Guvnor I was able to custom brand the
application by unpacking the drools guvnor war and replacing the header logo
image in the 'images' folder.
In version 5.3 it would appear that the same is still possible since section
16.3. of the documentation reads "The parts you can customize are the style
sheet, the "shortcut icon" and the header logo."
However I cannot find the correct image for the header logo in public
images. The one in org.drools.guvnor.Guvnor\images\hdrlogo_brms.gif is not
the drools header image. Indeed it would seem that I can only replace the
logo by recompiling from source.
Is this a bug or am I missing something obvious?
--
View this message in context: http://drools.46999.n3.nabble.com/Adding-a-custom-logo-to-Drools-Guvnor-t...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years, 1 month
Guvnor 5.3 : No more "Create New ..." button in "Browse" view ?
by Vincent LEGENDRE
Hi all,
The question is in the subjec :
In 5.2 there was a "create new" button in "browse" panel, which allow business user to create new assets.
In 5.3, no more button ...
Is it on purpose ?
Is it a bug ?
Is there a way to get it back ?
Does it appears only under some conditions ?
13 years, 1 month
Fwd: 5.3.0 Final - Rule using accumulate with windows:length delivers an unexpected result
by Michael Anstis
I'd have to defer to the drools-expert people.. as the problem appears to
be with 5.3.0.Final of drools-expert.
As a reminder, the DRL failing in 5.3.0.Final (or giving different results
to 5.2.0?) is:-
rule "Event Processing Evaluation"
dialect "mvel"
when
$list:java.util.List() from collect( evalEvent(wam == 'D1', f !=
null)over window:length( 1 ))
$average:Double() from accumulate( evalEvent($vf:f) from
$list,average($vf) )
eval($average > 5)
then
internalEvent fact0 = new internalEvent();
fact0.setDesrc( "Internal Event: "+ $average );
insert(fact0 );
end
---------- Forwarded message ----------
From: axel <axel.poeschmann(a)solutions.endress.com>
Date: 14 November 2011 08:16
Subject: Re: [rules-users] Guvnor (5.3.0 Final)- Rule using accumulate with
windows:length delivers an unexpected result
To: rules-users(a)lists.jboss.org
Thanks Mike.
So, now I've included Drools 5.3.0 Final in my Eclipse Drools Project too
and discovered the same problem as in Guvnor with my example. There is a
difference between 5.2.0 Final (works well) and 5.3.0 Final (fails) in my
case.
Is there a major change with event processing with sliding windows or is it
a just bug in the new version?
The DRL between Eclipse and Guvnor is the same, in principle. It means, I
started the project within Guvnor using the build features with the Editor
supporting creating a model in Guvnor and the business rule. These two
files, I couldn't reuse in my Eclipse project 1:1 (I used New File from
Guvnor Ressource in Eclipse for that), failed to compile and even to open
for the brl-file. So, I made the same model as Java Classes and a new DRL in
Eclipse copy the stuff from the Guvnors view source windows adding the
includes for the Java model and adding the Event declaration by hand. By the
way, are there any other hints for that ...
With regards,
Axel
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-Guvnor-5-3-0-Final-Rule-usi...
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
13 years, 1 month
Issues with Eclipse Excel Plugin for Drools Decision Tables
by Schlüter Dr. Andreas
Hi all,
I am trying out Drools with JBoss Tooling in Eclipse. Actually, much of it does not work for me, but since there were not many complaints about that, I think it must be due to my missing experience. But now I have a couple of things that seem like bugs to me. (BTW, I mainly use Eclipse 3.7, but I also installed 3.6 to see whether anything is better with that - which generally it isn't. I upgraded Jboss tools to one of the newest nightly builds which I do not like, but only that solved the issue that the rules language dialects could not be found. I am using drools 5.2.0)
I gave up on the Audit trail which always said "The selected audit log is empty..." (but it isn't and this should have been resolved two years ago according to some mails, but I simply avoid using that view).
What bothers me most is that the Excel Plugin shows really erratic behavior in my Eclipse (both versions of eclipse). It opens the Excel file once (I converted to Excel 2003 (*.xls) from my newer version), but on the second time it says "Cannot create the in-place editor Reason: This is probably because there is no OLE editor registered against the type of file you were trying to access" Details say: File does not exist, is not accessible to user or does not have the correct format. result=-2147287008.) Sometimes later on it will work again, sometimes it won't and Excel complains about another Application needing to complete its OLE requests (until I shut it down using task manager since there is no alternative since it does not accept any input anymore). Sometimes even saving changes fails, leaving a corrupt file. Is that common behavior that others experience as well or is it just a local configuration issue? (Usually, I have no issues with my installation and I am not aware of configuring anything apart from using the Eclipse update sites.)
Thanks in advance for any hints,
Andreas
13 years, 1 month
Enabling Role Base Authorization in Guvnor.
by Manohar Kokkula
Hi all,
I am trying to enable the Role Base Authorization in Guvnor after it was
running
fine with the default login mechanism.
But, encountered some problem with the attempt.
I followed given steps:
Step 1:
I exploded guvnor-5.2.0.Final-jboss-as-5.1.war file, got
guvnor-5.2.0.Final-jboss-as-5.1 folder,
in this I located component.xml(guvnor-5.2.0.Final-jboss-as-5.1/WEB-INF/)
What I did was that in the components.xml,
- commented out the default <security:identity
authenticate-method="#{defaultAuthenticator.authenticate}"/>
- uncomment the <security:identity
authenticate-method="#{authenticator.authenticate}"
jaas-config-name="other"/>
- change the role base authorization to true,
<security:role-based-permission-resolver
enable-role-based-authorization="true"/>
Step 2:
And at the login-config.xml from jboss-5.0.0.GA/server/default/conf/
I have changed the "other" application policy to
<application-policy name = "other">
<authentication>
<login-module code =
"org.jboss.security.auth.spi.UsersRolesLoginModule"
flag = "required" >
<module-option
name="usersProperties">props/guvnor-users.properties</module-option>
<module-option
name="rolesProperties">props/guvnor-roles.properties</module-option>
</login-module>
</authentication>
</application-policy>
guvnor-users.properties
admin=admin123
guvnor-roles.properties
admin=admin
Step 3:
At last I created new guvnor-5.2.0.Final-jboss-as-5.1.war file from
guvnor-5.2.0.Final-jboss-as-5.1 folder and deployed the updated war file
into boss-5.0.0.GA/server/default/deploy
At last I am unable to login into BRMS,
I got following error message in Browser,
HTTP Status 404 - /guvnor-5.2.0.Final-jboss-as-5.1/
type Status report
message /guvnor-5.2.0.Final-jboss-as-5.1/
description The requested resource (/guvnor-5.2.0.Final-jboss-as-5.1/) is
not available.
JBoss Web/2.1.1.GA
Please guide me any one.
Thanks and regards
Manohar Kokkula
Mailto: manohar.kokkula(a)tcs.com
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
13 years, 1 month
programming classes to represent domain in Drools like templates
by santiago carbonell
Hi,
I'm new in drools and I'm doing some test with this fantastic engine. With
Drools, I've loaded a drl file with some rules and ran with drools engine
and works perfect, but I got to preset/programming some classes in Java
about the domain where rules worked.
I'd like to load this domain, this "classes" as a file, like drl files, but
insted of rules, I'd like to load classes, or domain, so I'd needn't to
preset/programming this classes in Java.
My question is how can I load this classes in some file, like drl files with
rules? Is like templates in clips.
Thanks
--
View this message in context: http://drools.46999.n3.nabble.com/programming-classes-to-represent-domain...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years, 1 month
Showstopper issues for Drools Adoption in our organization
by kapokfly
Not sure if these are also your questions you might have with the rule engine
adoption, but we have seen 2 showstopper issues for drools adoption in our
organization, or it is just because we are lack of some necessary knowledge.
Issue 1) : pattern match for large data
There are cases in a rule we need find matched records against a large
population of data and perform some actions.
Example:
From 2 millions employee directory, find those belongs to Depart1 and
with salary increased by 10% last year.
Inserting all these employee's data into WorkingMemory is HUGE and
mission impossible, we can't simply load the entire db into the working
memory, do we have any other approach to accomplish or this is just not a
use case can be resolved by a rule engine?
Issue 2): Map business object to real engineering implementation
What we are trying to do is to build a rule UI which a business user without
engineering background of our codebase can work with; the business object we
show on the UI might be different with the real engineering objects already
in system, for example, on the UI a user might be able to able to see
something like person.address.addressLine1 but the actually implementation
might not be an object traverse implementation.
Example, the model could be Long Person.addressId ; then referring to his
address we need another lookup and we want to hide such complexity to the
end user.
The approach we took is to design a translation layer to translate the user
input to drools rule string, is this the right approach?
If not, any suggestions? I know Drools is mainly designed for developers but
just trying to see if there is any way we can work it around.
Thanks and looking forward to your recommendations.
Ivan
-----
Ivan, your Panda, forever
--
View this message in context: http://drools.46999.n3.nabble.com/Showstopper-issues-for-Drools-Adoption-...
Sent from the Drools: User forum mailing list archive at Nabble.com.
13 years, 1 month