Questions tagged [drools-kie-server]

KIE (Knowledge Is Everything) Execution Server

Standalone execution server that can be used to remotely execute rules using REST, JMS or Java interface

Download: https://www.drools.org/download/download.html

Docs - Release Notes: https://docs.jboss.org/drools/release/7.5.0.Final/drools-docs/html_single/#DroolsReleaseNotesChapter

105 questions
0
votes
1 answer

Execution of rule is failing when modify an object

In the below rules I expect Rule2 is fire because I am modifying customer name to mahesh. But when I execute Rule2 is not firing but Rule3 is firing. Am I missing anything here rule "Rule1" lock-on-active true salience 95 when …
Ganesh
  • 167
  • 1
  • 7
  • 21
0
votes
2 answers

Drools Decision Table Multiple Parameters

I have a drools decision table with conditions level="l0" and positiontype="Replacement". My excel looks like the below My Code to set the parameters looks like Requirement requirement = new Requirement(); …
Melissa
  • 13
  • 1
  • 2
0
votes
0 answers

Detect certain number of events in a time frame, but fire only once

Need a rule which alerts if a certain number of BootNotifications (here 2) occurs in a certain time frame (here 10s). I came up with the following rule: rule "MonitorNumberOfReboots" dialect "mvel" when $s : BootNotification() Number(…
Scholle
  • 1,521
  • 2
  • 23
  • 44
0
votes
2 answers

Dynamic rule creation in drools with different number of conditions and actions in each rule

I am new to Drools. As per my usecase, I want to dynamically create the rules. I have considered using the following rule template: template header rule eventType package org.ossandme; global org.ossandme.AlertDecision alertDecision; …
0
votes
1 answer

Is there Any API in Drools to check whether the rule is present in KieModules or not?

We are using Drools as rules processing language for serving content to users. I have my service deployed on EC2 instance and I need to test that whether the rules (DRLs) are present in instance memory or not? Is there any way or API in Drools?
0
votes
1 answer

How can we provide username and password of the external git repository while importing it in kie workbench 7.4

I am using Kie workbench 7.4. While importing an external git repository, it is asking only the repository URL. Not the username and password. So while clicking on the next button, authentication is failing. I am getting "Unable to complete your…
Soniya Abaraham
  • 85
  • 2
  • 11
0
votes
1 answer

how to deploy rules on kie server based on user permission

Only users with certain permissions should be able to deploy to kie server others should not. How to implement an interceptor on the kie server ie the kieserver should throw an error if the user does not have certain permissions
0
votes
1 answer

Drools 7 access fact in DRL file

I'm passing a string into a drools rule with Drools 7: public static void main(String[] args) { log("Starting"); KieContainer kc = KieServices.Factory.get().getKieClasspathContainer(); KieSession ksession = kc.newKieSession("RulesKS"); …
mikeb
  • 10,578
  • 7
  • 62
  • 120
0
votes
1 answer

Drools Kie Scanner 7.5.0 not working

I am using Kie-CI api to scan the latest ruleset in local maven repository. Kie-CI is not working after upgrading to version 7.5.0. Below is the code I am using. Exception says artifact does not exists but actually artifact exists in repository.…
Suresh
  • 515
  • 1
  • 8
  • 21
0
votes
1 answer

Kie server 7.5.0 default user

I have deployed a Kie Server 7.5.0 over a Wildfly 10, I can enter the login page of the Kie workbench, but I haven't been able to find out which is the default admin user or how to add my own one. I see Wildfly has an add_user script and an access…
Rafa
  • 85
  • 1
  • 10
0
votes
1 answer

Drools unable to create MavenProject from InputStream

I have a Drools decision table implementation that works on my development machine but not when deployed to my VM in the cloud. Now this suggest a deployment problem, but for the life of me I cannot see where the issue is. line 321 of…
oldDave
  • 395
  • 6
  • 25
0
votes
1 answer

Drools stateful session per request

We are trying to use Drool as our rule engine service. What we done till now is listed below Deployed workbench 7.2.Final Deployed KIE server 7.2.0.Final Configured some data objects, rules, deployed the changes to KIE server and we are able to…
Vishal Vijay
  • 2,518
  • 2
  • 23
  • 45
0
votes
0 answers

Drools rule using accumulate

Hello I it is my first time involved in drools project. I have created some simple rules that work fine, however I have trouble with more complex rules that use the accumulate function. Below I have this rule. rule "1" no-loop when $msg :…
IsidIoan
  • 403
  • 2
  • 5
  • 13
0
votes
0 answers

multi threaded rule engine with drools 7.4.1

As per the documentation it says the multi threaded rule engine is introduced in Drools 7.0 and is experimental Is this still experimental in 7.4.1 or is it production worthy in latest release 7.4.1. What is New and Noteworthy in Drools 7.0 This…
Saravanan
  • 1
  • 1
0
votes
0 answers

Drools rules are not firing

I am new to drools and I am trying to create some rules for a project. I had been able to create a couple of rules but I have found difficulty to fire the below rules so any help would be valuable and much appreciated. I have been trying for more…
IsidIoan
  • 403
  • 2
  • 5
  • 13