Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-7158

Capability for naming the input and output of the DMN model from the DMN Editor

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Runtime Tooling
    • None
    • False
    • None
    • False
    • 0
    • 0% 0%
    • ---
    • ---

      When Kogito auto-generates the Rest Controller class for a DMN model, the names that gives to the input and output on dmnDefinitions, is something like InputSet1 and outputSet1 (increasing the number on every new dmn model).

      This names is given, (apparently) in almost-random way. This means that when a new dmn model is created, all previous input and output name could be modified.  This situation is a bit annoying when using openapi codegen plugin for auto-generate the client for invoking dmn models, because of the constant change to classes and methods names.

      Might be useful that the name of input and output of the DMN model , could be specified (by the user) when creating or modifying the model with the DMN editor (from kie-sandbox or vs plugin). 

      Attached is an screenshot of a RestController class auto-generated .

       

            rh-ee-pefernan Pere Fernandez Perez
            francisco.boato francisco boato (Inactive)
            Lubomir Terifaj Lubomir Terifaj
            Lubomir Terifaj Lubomir Terifaj
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: