[jboss-jira] [JBoss JIRA] (DROOLS-5061) DMN strongly typed codegen DMNContext and DMNResult

Matteo Mortari (Jira) issues at jboss.org
Mon Apr 27 10:08:51 EDT 2020


     [ https://issues.redhat.com/browse/DROOLS-5061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matteo Mortari updated DROOLS-5061:
-----------------------------------
    Epic Name: DMN strongly typed codegen DMNContext and DMNResult  (was: DMN codegen DMNContext and DMNResult)


> DMN strongly typed codegen DMNContext and DMNResult
> ---------------------------------------------------
>
>                 Key: DROOLS-5061
>                 URL: https://issues.redhat.com/browse/DROOLS-5061
>             Project: Drools
>          Issue Type: Epic
>          Components: dmn engine
>            Reporter: Matteo Mortari
>            Assignee: Luca Molteni
>            Priority: Major
>
> A codegen facility is required to generate statically code strongly typed for the input/output of a DMN model, considering also the data types defined inside the DMN model as ItemDefinition. 
> Surface and interface common to:
> * BPMN integration: when invoking DMN from BPMN, the return of the evaluation is a Map and not the domain model
> * Kogito/OpenAPI/Swagger: when using the codegenerated version, annotation shall explain the swagger API the expected input/output type of the REST request for DMN
> ** for Quarkus based, use RegisterForReflection annotation
> ** use MP validation for allowedvalues 
> * DMN Editor: when importing a Java Class in the editor, it shall use the user-supplied Java Class 
> Documentation:
> * the programmatic use of the generated classes, directly, is DISCOURAGED
> * if anything, a programmatic use will eventually be stable by making use of the available interfaces in kie-dmn-core



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list