Commit f85a5162 authored by michael.simon's avatar michael.simon
Browse files

add registry and service in drools session

parent 3be6a59c
......@@ -179,7 +179,10 @@ public class KnowledgeSessionServiceImpl implements KnowledgeSessionService {
throw new MisconfiguredServiceException("Der Registrierungsprozess für den Dienst ist nicht korrekt konfiguriert (Keine Zugangsregel geladen)");
ksession.setGlobal("logger", logger);
ksession.insert(user);
ksession.insert(service);
ksession.insert(registry);
logger.debug("Test all Rules for service {}", service.getName());
ksession.fireAllRules();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment