On 17-06-13 16:36, Mario Fusco wrote:
... I am realizing we are not providing a way in kie-api  to create a KieBaseConfiguration or KieSessionConfiguration programmatically. ...
OptaPlanner needs to be in the kie-api too, because it uses:

KieBaseConfiguration kieBaseConfiguration = KnowledgeBaseFactory.newKnowledgeBaseConfiguration(); // currently in kie-internal-api
            ...
            KieBase kieBase = kieContainer.newKieBase(kieBaseConfiguration);

@Mark & Edson, I think we should provide methods to create KieBaseConfigurations and KieSessionConfigurations in kie-api. Can I add them to the KieServices interface?
+1

Mario



On Mon, Jun 17, 2013 at 4:16 PM, Wolfgang Laun <wolfgang.laun@gmail.com> wrote:
...to create a KieSessionConfiguration
_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev



_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev