[rules-users] Fire specific rules deployed in guvnor that reside in the same package
Michael Anstis
michael.anstis at gmail.com
Wed Apr 10 09:25:08 EDT 2013
Building a package (where ever) will include all rules. In your case, in
both XLS files.
You showed this code at the begining:-
<quote>
I use this code:
public static KnowledgeBase readKnowledgeBase()
throws Exception {
UrlResource resource = (UrlResource) ResourceFactory
.newUrlResource("
http://127.0.0.1:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/myPackage/LATEST
");
resource.
setBasicAuthentication("enabled");
resource.setUsername("guest");
resource.setPassword("guest");
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory
.newKnowledgeBuilder();
kbuilder.add(resource, ResourceType.PKG);
KnowledgeBase kbase = kbuilder.newKnowledgeBase();
kbase.addKnowledgePackages(kbuilder.getKnowledgePackages());
return kbase;
}
</quote>
How does this differ when you use the URL
http://127.0.0.1:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/myPackage/LATEST/decisiontable1?
On 10 April 2013 12:21, ciberg2 <joaoguerra72 at gmail.com> wrote:
> I use the JBPM eclipse plugin and commit the Excel decision tables into the
> repository, then I build the package.
>
> Is this what you needed to know?
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Fire-specific-rules-deployed-in-guvnor-that-reside-in-the-same-package-tp4023266p4023291.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130410/781da52c/attachment.html
More information about the rules-users
mailing list