Guided Editor in BRMS / Guvnor Version 5 (Snapshot of 26 June)
by Paul Browne
Folks,
For various reasons I'm trying out the Guided Editor for Business Rules in
the Guvnor Version 5 (Snapshot of 26 June from Hudson, deployed on JBoss App
Server 4.2.2GA).
I've created the Package / Category and uploaded a simple fact model (as
works in BRMS version 4). I create a new business rule using the guided
editor and the screen shows successfully with both 'When' and 'Then'
parts.Assume the next question is due to me missing something, but wanted to
double check:
When I press the green '+' to the right of the screen I am shown the message
/ dialog layer saying '
*Add a condition to the rule... *or* Add an action to the rule.
*Problem is that there doesn't appear to be a way of adding a condition or
action. The only thing I'm seeing in the logs is
* (Contexts.java:flushAndDestroyContexts:335) could not discover
transaction status
*Am I missing something or should I come back to Guvnor later in the
development Cycle?
Thanks
Paul
12 years, 9 months
RuleML-2008: Deadline Extension
by Adrian Paschke
[ our apologies should you receive this message more than one time ]
=====================================================================
Due to a number of requests we have to decided to extend
the submission deadline by 2 weeks.
NEW deadline for paper/demo submission: June 16
=====================================================================
2008 International RuleML Symposium
on Rule Interchange and Applications (RuleML-2008)
October 30-31, 2008, Orlando, Florida
http://2008.ruleml.org
--------------------------------------------------------------------
RuleML-2008 Highlights:
- Keynote speakers:
* Michael Kifer (State University of New York at Stony Brook, USA),
on "Rule Interchange Format: Not Just Syntax".
Joint keynote between RuleML-2008 and RR2008.
* David Luckham (Stanford University, USA) on complex event processing.
* Paul Haley (Haley Ltd) on business rules.
* Benjamin Grosof (Vulcan Inc, USA) on the SILK KRR system of the HALO
project.
(Details at: http://2008.ruleml.org/keynote.php )
- Joint Lunch Panel with the Business Rules Forum about "Rules on the Web"
- RuleML-2008 Challenge with prestigious prices
(Details at: http://2008.ruleml.org/challenge.php )
(Submissions at: http://ruleml-challenge.cs.nccu.edu.tw/ )
- Lightning talks / Highlight talks
Accepted papers will be published in Springer LNCS proceedings and
a journal special issue (IEEE TKDE pending) is forthcoming.
PRESS RELEASES: http://www.targetwire.com/vpo/rm/
--------------------------------------------------------------------
Call for Papers
Collocated with the 11th International Business Rules Forum, the 2008
International Symposium on Rule Interchange and Applications
(RuleML-2008) is
the second symposium (after last year's highly successful RuleML-2007 -
http://2007.ruleml.org/) devoted to work on practical distributed rule
technologies and rule-based applications which need language standards for
rules operating in the context of, e.g., the Semantic Web, Intelligent
Multi-
Agent Systems, Event-Driven Architectures and Service-Oriented Computing
Applications. The RuleML symposium is a new kind of event where the Web
Rules
and Logic community joins the established, practically oriented Forum of the
Business Rules community (http://www.businessrulesforum.com) to help cross-
fertilizing between Web and Business Logic technology.
The goal of RuleML-2008 is to bring together rule system providers,
representatives of, and participants in, rule standardization efforts (e.g.,
SBVR, RuleML, RIF, PRR, CL) and open source rules communities (e.g., jBoss
Rules, CLIPS/Jess, Prova, OO jDrew, Mandarax, XSB, XQuery),
practitioners and
technical experts, developers, users, and researchers. They will be offered
an exciting venue to exchange new ideas, practical developments and
experiences on issues pertinent to the interchange and application of rules
in open distributed environments such as the Web.
The Symposium gives emphasis on practical issues such as technical
contributions and show case demonstrations of effective, practical,
deployable rule-based technologies, rule interchange formats and
applications
as well as discussions of lessons learned that have to be taken into account
when employing rule-based technologies in distributed, (partially) open,
heterogeneous environments. We also welcome groundwork that helps to
build an
effective, practical, and deployable rule standard, improve rule technology,
provide better understanding of the integration and interchange of
rules, and
make the current generation of rule engines and rule technology more usable
for advanced Web and Service Oriented Architectures.
More details in: http://2008.ruleml.org/cfp.pdf
--------------------------------------------------------------------
RuleML-2008 Challenge
The RuleML-2008 Challenge is one of the highlights of RuleML-2008. It
addresses the system demonstration for practical use of rule technologies in
distributed and/or Web-based environments. The focus of the challenge is on
rule technologies (including rule languages and engines), interoperation and
interchange. The challenge offers participants the chance to demonstrate
their commercial and open source tools, use cases, and applications. Prizes
will be awarded to the two best applications. All accepted demos will be
presented in a special Challenge Session.
More details in: http://2008.ruleml.org/challenge.php
--------------------------------------------------------------------
Important Dates
- Paper Submissions due June 16, 2008 (EXTENDED)
- Notification of acceptance July 22, 2008
- Final submissions due August 13, 2008
- Symposium date October 30-31, 2008
- RuleML Challenge October 30, 2008
--------------------------------------------------------------------
Submission Site is open:
http://www.easychair.org/conferences/?conf=ruleml2008
Submission guidelines:
http://2008.ruleml.org/submissions.php
Topics of Interest:
http://2008.ruleml.org/topics.php
Organizing Committee:
http://2008.ruleml.org/oc.php
Program Committee:
http://2008.ruleml.org/pc.php
=====================================================================
Co-located with:
The 11th International Business Rules Forum
http://www.businessrulesforum.com
=====================================================================
Sponsored by:
Gold level : Vulcan Inc (pending)
Silver level: Model Systems
Bronze level: STI Innsbruck, ruleCore, JBoss
Sponsoring opportunities: http://2008.ruleml.org/sponsoring/
=====================================================================
In Co-operation with:
AAAI, W3C, BPM-Forum, Business Rules Forum , ECCAI, OASIS, OMG,
Dallas Rules Group, Belgium Business Rules Forum,
MIT Sloan CIO Symposium,
ACM, ACM SIGART, ACM SIGMIS, ACM SIGWEB, Open Research Society,
IEEE Systems Man and Cybernetics Society
IEEE SMCS TC on Intelligent Internet Systems
IEEE SMCS TC on Distributed Intelligent Systems
IEEE Computer Society TC on Autonomous and Autonomic Systems
=====================================================================
Media Partners:
Springer LNCS, MoDo Marketing
=====================================================================
16 years, 3 months
drools compliance with dependency licenses
by Reid Kaufmann
Indiana University Extreme! Lab Software License
Version 1.1.1
Copyright (c) 2002 Extreme! Lab, Indiana University. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the distribution.
3. The end-user documentation included with the redistribution, if any,
must include the following acknowledgment:
"This product includes software developed by the Indiana University
Extreme! Lab (http://www.extreme.indiana.edu/)."
Alternately, this acknowledgment may appear in the software itself,
if and wherever such third-party acknowledgments normally appear.
4. The names "Indiana Univeristy" and "Indiana Univeristy Extreme! Lab"
must not be used to endorse or promote products derived from this
software without prior written permission. For written permission,
please contact http://www.extreme.indiana.edu/.
5. Products derived from this software may not use "Indiana Univeristy"
name nor may "Indiana Univeristy" appear in their name, without prior
written permission of the Indiana University.
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHORS, COPYRIGHT HOLDERS OR ITS CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
16 years, 5 months
Mike Kisker is out of the office.
by mkisker@simon.com
I will be out of the office starting 06/20/2008 and will not return until
07/04/2008.
I will respond to your message when I return.
16 years, 6 months
incremental building, drools-clips and deftemplates
by Mark Proctor
I've just managed to get incremental compilation working, was actually
quite a small change. This means that you set a RuleBase on a
PackageBuilder and it'll update the RuleBase ass you add drls to it - it
avoids the creation and merging of a temporary Package, which was needed
for shell environments.
I've also updated drools-clips to support deftemplates via the
ClassBuilder, so it generates internal pojos underneath. I've updated
the unit test to show this working, as the class is internal to Drools I
had to use reflection to instantiate the facts :)
I'll commit this tomorrow, once I've improved it further.
public void testTemplateCreation() throws Exception {
this.shell.eval( "(deftemplate Person (slot name (type String) )
(slot age (type int) ) )" );
this.shell.eval( "(defrule yyy => (printout t yy \" \" (eq 1 1)
) ) )" );
this.shell.eval( "(defrule xxx (Person (name ?name&bob) (age 30)
) (Person (name ?name) (age 35)) => (printout t xx \" \" (eq 1 1) ) )" );
WorkingMemory wm = shell.getStatefulSession();
Class personClass =
this.shell.getStatefulSession().getRuleBase().getPackage( "MAIN"
).getPackageScopeClassLoader().loadClass( "MAIN.Person" );
Method nameMethod = personClass.getMethod( "setName", new
Class[] { String.class } );
Method ageMethod = personClass.getMethod( "setAge", new Class[]
{ int.class } );
Object bob1 = personClass.newInstance();
nameMethod.invoke( bob1, "bob" );
ageMethod.invoke( bob1, 30 );
wm.insert( bob1 );
Object bob2 = personClass.newInstance();
nameMethod.invoke( bob2, "bob" );
ageMethod.invoke( bob2, 35 );
wm.insert( bob2 );
wm.fireAllRules();
assertEquals( "yy truexx true",
new String( this.baos.toByteArray() ) );
}
16 years, 6 months
Rule is firing on those objects for which that has already fired
by siddhartha banik
Hi All,
I am using Drools Stateful session with serialized Rule Base & Working
memory for my application. I need to write some rule which will *only* fire
on newly inserted data points in Working Memory. Does Drools support any
such feature which will help me to achieve this ? Any suggestion, how can I
achieve this efficiently?
As sample, I have written a rule bellow:
global RuleSetOutput ruleSetOutput
rule "sample_rule"
when
(p4: DataObject(id == 4, stringValue == "230007014")) and
(p14: DataObject(id == 14, stringValue == "230007004")) and
(p10: DataObject(id == 10, stringValue == "230007005")) and
(p11: DataObject(id == 11, stringValue == "230007006")) and
(p12: DataObject(id == 12, stringValue == "230007007")) and
(p13: DataObject(id == 13, stringValue == "230007008"))
then
String ruleID = "sample_rule";
RuleOutput ruleOutput =
RuleEngineHelper.getRuleOutput(ruleSetOutput, ruleID);
ruleOutput.addDataObject(p13);
ruleOutput.addDataObject(p4);
ruleOutput.addDataObject(p11);
ruleOutput.addDataObject(p14);
ruleOutput.addDataObject(p10);
ruleOutput.addDataObject(p12);
end
For 1st execution, I am inserting 6 matching DataObjects into Working
Memory. Rule is getting fired once & those 6 data points are getting added
into RuleOutput.
But in subsequent rule executions after I insert 6 more matching DataObjects
into Working Memory, Rule is getting fired couple of times & objects from
old executions also getting appended to the current RuleOutput.
How can I avoid this ?
Regards
Siddhartha
16 years, 6 months
M1
by Mark Proctor
Trunk is ready for M1, we are just in the process of trying to automate
the releases, so we can release more often without pain.
Remember Hudson runs continuously and makes successful builds publicly
available, the assemblies in trunk are now working again, and can be
found here:
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/t...
At the moment that last successful build is pretty close to what M1 will be.
Mark
16 years, 6 months
drools-decisiontables split
by Steven Williams
Hi all,
I have just split the generic templating stuff out of drools-decisiontables
into its own module - drools-templates. drools-decisiontables depends on
drools-templates. If there are any problems please let me know.
cheers
Steve
--
Steven Williams
Supervising Consultant
Object Consulting
Office: 8615 4500 Mob: 0439 898 668 Fax: 8615 4501
steven.williams(a)objectconsulting.com.au
www.objectconsulting.com.au
consulting | development | training | support
our experience makes the difference
16 years, 6 months
sub project names
by Mark Proctor
I'm in the process of splitting drools up into sub projects and looking
for feed on names. Each sub project will have it's own manual.
Drools the Business Logic integration Platform
-----------------------------------------------
Drools Expert
This is the expert system rule engine, as you expect from Drools 4.0
now, Ruleflow has moved to the Flow project
Drools Flow
This is becoming a full blown workflow and process engine and includes
the ruleflow work for rule engine integration
Drools Fusion
Temporal Reason system providing CEP capabilities. The syntax is an
orthogonal extension to the DRL. While it could possible live as a
chapter in the "Drools Expert" manual we expect there will be enough
information on adapters and integration and general theory to justify
its own sub project.
Drools Guvnor
This is the Guvovernance system for Drools and all it's sub projects.
It's still primarily a BRMS, but we are trying to expand it to provide a
governance platform for processes and cep too, which will be a long term
effort post 5.0
Mark
16 years, 6 months
documentation
by Mark Proctor
Anyone using trunk documentation, be aware I'm doing a big refactor in
the process of splitting up the documentation. Which is as follows
drools-docs-generaluserguide
drools-docs-expert
drools-docs-flow
drools-docs-fusion
drools-docs-guvnor
drools-docs-solver
I'm struggling to what to call them, are they each "user guides". Drools
Expert User Guide, Drools Flow User Guide. Or is it better to just hvae
Drools Expert Docuementation, Drools Flow Documentation. Not sure. Also
The User Guide is now just release notes, history/background info and
general introduction, install guide. Its entitled Drools Introduction
and General User Guide. That kinda sucks, anyone got a better name?
I was going to split out documentation into it's own docbook modules,
but as we have a separation of expert, flow and fusion I think it might
get too fragmented. So I'll move examples docs back into the last
chapter of each book. With the general splitting up it should be more
manageable now having examples in the main project manuals.
Mark
16 years, 6 months