[rules-users] Guvnor "inheritance"

Joe Ammann joe at pyx.ch
Thu Dec 1 06:23:01 EST 2011


Hi

my users asked me to provide something like "package inheritance" in
Guvnor. They would like to be able to define some artefact types (most
notably DLSs, Working Sets, function definitions and extensible rules)
in a "parent package", and then create "sub packages" where only the
pure rule definitions live, but can use the artefacts from the "parent
package".

Now I realise that Guvnor/Drools packages are not really hierarchical.
They may happen to have dots in their name and be displayed in a tree,
but that's all.

I can implement this by doing "inheritance by copying", since I provide
the access to the Guvnor tree with my own Eclipse RCP application and
only use the asset editors from Guvnor. But I was wondering if I'm
missing some fundamental concept in Guvnor that would make this easy?

I could also imagine this to be realized by extending the concept of
working sets from fact types and fields to also include DSL, functions
and rules. That would even be more flexible :-)

-- 
CU, Joe




More information about the rules-users mailing list