[jboss-jira] [JBoss JIRA] (DROOLS-4515) [DMN Designer] Kogito - DMNMarshaller - Improve JsArrayLike-based APIs

Guilherme Gomes (Jira) issues at jboss.org
Mon Sep 9 19:03:00 EDT 2019


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

Guilherme Gomes updated DROOLS-4515:
------------------------------------
    Description: 
Currently, the {{DMNMarshaller}} works following this stack:

 !stack.png|width=600! 

However the {{JSITDefinitions}} class (and all other DMN classes related to *Jsonix*) are "artificially" typed JSON objects. This objects define odd list structures, like this: 

 !json.png|width=600! 

Ideally, the list of DRGElements would be a list of the entries in the *value* key, and the entries from the *name* key would be discarded.

This JIRA comprehends to change {{JsArrayLike}}-based APIs to {{java.util.List APIs}}.


  was:
Currently, the {{DMNMarshaller}} works following this stack:

 !stack.png|width=600! 

However the {{JSITDefinitions}} class (and all other DMN classes related to *Jsonix*) are "artificially" typed JSON objects. This objects define odd list structures, like this: 

 !json.png|width=600! 

Ideally, the list of DRGElements would be a list of the entries in the *value* key, and the entries *name* key must be discarded.

This JIRA comprehends to change {{JsArrayLike}}-based APIs to {{java.util.List APIs}}.




> [DMN Designer] Kogito - DMNMarshaller - Improve JsArrayLike-based APIs
> ----------------------------------------------------------------------
>
>                 Key: DROOLS-4515
>                 URL: https://issues.jboss.org/browse/DROOLS-4515
>             Project: Drools
>          Issue Type: Enhancement
>          Components: DMN Editor
>            Reporter: Guilherme Gomes
>            Assignee: Guilherme Gomes
>            Priority: Major
>              Labels: drools-tools
>         Attachments: json.png, stack.png
>
>
> Currently, the {{DMNMarshaller}} works following this stack:
>  !stack.png|width=600! 
> However the {{JSITDefinitions}} class (and all other DMN classes related to *Jsonix*) are "artificially" typed JSON objects. This objects define odd list structures, like this: 
>  !json.png|width=600! 
> Ideally, the list of DRGElements would be a list of the entries in the *value* key, and the entries from the *name* key would be discarded.
> This JIRA comprehends to change {{JsArrayLike}}-based APIs to {{java.util.List APIs}}.



--
This message was sent by Atlassian Jira
(v7.13.5#713005)


More information about the jboss-jira mailing list