Drools 6.1 adapter
The Drools 6.1 adapter allows you use a Knowledge Base (KB) build by the KIE workbench. KIE introduces a new configuration and convention to build KBs using Maven. A KIE project or module is simply a maven java project with an additional metadata file META/knowledge.xml. The KB can be accessed by OpenCDS and by the KIE workbench as is described on the following figure.
The Knowledge Module must be described on the knowledgeModules.xml file as is described on the following snippet. The Maven coordinates must be defined on the XML packageId element separated by colon (:). For example the following snippet is pointing out to the Maven module defined by groupId: org.opencds, artifactId: my-knowledge-module, version: 1.0.0.
... <knowledgeModule> <identifier scopingEntityId="org.opencds" businessId="drools6-adapter" version="1.0.0"/> <status>APPROVED</status> <executionEngine>Drools 6.1 Adapter</executionEngine> <semanticSignifierId scopingEntityId="org.opencds.vmr" businessId="VMR" version="1.0"/> <package> <packageType>MAVEN</packageType> <packageId>org.opencds:my-knowledge-module:1.0.0</packageId> <preload>false</preload> </package> <primaryProcess/> <timestamp>2014-10-13T22:02:06.621-06:00</timestamp> <userId>salvador</userId> </knowledgeModule> ...