Just a few comments on the use of Guvnor in a production environment that
may be of interest. We are using 5.1.1 Guvnor and Drools-Server configured
with a KnowledgeAgent.
Early testing showed that if Guvnor was unavailable and a scanner was
configured, the KnowledgeAgent would unsubscribe from the resource and
remove the rules. We were also concerned about "accidental" deployments, the
"Oops, I didn't mean to do that" situation!
To overcome this we decided to decouple Drools-Server from Guvnor and
created a simple package admin ui within Drools-Server to stop the scanner,
pull a package from a URL (generally Guvnor) and restart the scanner. In
this situation the scanner only looks at a local directory. A little bit
more effort to deploy, but this gives a lot more control over deployment of
packages for those rules applications that are business critical.
I remember seeing some comments about a push mechanism from Guvnor some time
ago. This might be a good enhancement.
Regards Ross.
2011/7/8 Michael Anstis <michael.anstis(a)gmail.com>
No.
Decision tables authored in Guvnor need to be compiled into a binary
package from within Guvnor before being consumed by client applications.
Use of a KnowledgeAgent can automate the process for you and
http://community.jboss.org/wiki/PublishDroolsArtifactsFromAProductionEnvi... be
of interest.
Presumably your admins had to learn SQL and the RDBMS of choice before
database deployments became simple?
Perhaps the advantages you can gain from using Drools and Guvnor outweigh
your admins having to learn something new?
With kind regards,
Mike
On 8 July 2011 03:20, thornpw <kradd(a)tscc.de> wrote:
> Hello,
>
> I have a lot of processes that uses DB Tables for mapping purposes. For
> exmplae in a table is sotred, that users of a special location put in a
> spezified OU in the directory. This works fine, Such a table could be
> editet
> with SQL Statements, I don't have to deploy something etc.
>
> But I think, that it should be the better solution to have this in drools,
> because I get a user interface in the guvnor for free and I could use ACL
> to
> define which Business User could change which kind of mappings, while I
> have
> to code this stuff in a SQL Solution.
>
> I tried out to do such mappings in the Guvnor and it worked fine, but I
> deploy such a mapping is much more compley to the Business User then
> changing some SQL (would be done by admins). Do I miss something? Is there
> a
> way to let Business people change Decision Tables on the fly and nothing
> has
> to be deployed?
>
> thanks for your help
>
> --
> View this message in context:
>
http://drools.46999.n3.nabble.com/Best-practise-configuration-in-DB-or-in...
> 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
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users