@@ -0,0 +1,896 @@
+package org.openengsb.drools;%0A%0Aimport java.util.Iterator;%0Aimport java.util.Properties;%0A%0Aimport org.drools.RuleBase;%0Aimport org.drools.WorkingMemory;%0Aimport org.drools.agent.RuleAgent;%0Aimport org.openengsb.drools.model.Event;%0A%0Apublic class GuvnorInterface %7B%0A%0A%09public static final String URL = %22http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/testPackage/LATEST%22; %0A%09%0A%09public static final void main(String%5B%5D args) %7B%0A%09%09Properties config = new Properties();%0A%09%09config.put(%22url%22, URL);%0A%09%09RuleAgent agent = RuleAgent.newRuleAgent(config);%0A%09%09RuleBase ruleBase = agent.getRuleBase();%0A%0A%09%09WorkingMemory workingMemory = ruleBase.newStatefulSession();%0A%09%09Event e = new Event(%22greet%22);%0A%09%09workingMemory.insert(e);%0A%0A%09%09workingMemory.fireAllRules();%0A%0A%09%09for (Iterator%3C?%3E i = workingMemory.iterateObjects(); i.hasNext();) %7B%0A%09%09%09System.out.println(i.next().getClass().getCanonicalName());%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

add guvnor-interface-test (nonworking)