[jboss-jira] [JBoss JIRA] (DROOLS-3355) Discuss and verify Assembler/Weaver API to better support for jBPM and generic runtimes
Edoardo Vacchi (Jira)
issues at jboss.org
Wed Nov 28 05:20:00 EST 2018
[ https://issues.jboss.org/browse/DROOLS-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13667313#comment-13667313 ]
Edoardo Vacchi edited comment on DROOLS-3355 at 11/28/18 5:19 AM:
------------------------------------------------------------------
*Overview:*
Assembler/Weaver/Runtime is the triplet of services that constitute a "Knowledge Plug-In", i.e. a component that plugs into the Drools (or maybe more correctly, KIE) core to provide a "knowledge runtime" and a common interface to submit pieces of knowledge to such runtimes in a uniform way.
*AssemblerService* finds or create a package for a given Resource; inserts the resource into the package, and the package into a registry. The package notion is akin to that of namespace (or "Java-style" packages).
*WeaverService* merges the contents of a fresh package to an existing package, when the name of such packages matches.
*RuntimeService*, on the other hand is completely separate from the other two. For a given Session, it returns a runtime instance of a "knowledge plugin" (e.g, DMN, PMML, etc.).
was (Author: evacchi):
*Overview:*
Assembler/Weaver/Runtime is the triplet of services that constitute a "Knowledge Plug-In", i.e. a component that plugs into the Drools (or maybe more correctly, KIE) core to provide a "knowledge runtime" and a common interface to submit pieces of knowledge to such runtimes in a uniform way.
*AssemblerService* finds or create a package for a given Resource; inserts the resource into the package, and the package into a registry. Lots of boilerplate. In many cases, the useful logic boils down to parsing the Resource and adding it to a relevant package. The package notion is akin to that of namespace (or "Java-style" packages).
*WeaverService* merges the contents of a fresh package to an existing package, when the name of such packages matches.
*RuntimeService*, on the other hand is completely separate from the other two. For a given Session, it returns a runtime instance of a "knowledge plugin" (e.g, DMN, PMML, etc.).
> Discuss and verify Assembler/Weaver API to better support for jBPM and generic runtimes
> ---------------------------------------------------------------------------------------
>
> Key: DROOLS-3355
> URL: https://issues.jboss.org/browse/DROOLS-3355
> Project: Drools
> Issue Type: Enhancement
> Reporter: Edoardo Vacchi
> Assignee: Edoardo Vacchi
> Priority: Major
> Labels: drools-core
>
> Current API may be too Drools/Rule-Engine-centric, might want to rethink it
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list