[JBoss JIRA] (DROOLS-4481) [DMN Designer] Data Types - Business Central Data Objects as DMN Data Types UX
by Elizabeth Clayton (Jira)
[ https://issues.jboss.org/browse/DROOLS-4481?page=com.atlassian.jira.plugi... ]
Elizabeth Clayton updated DROOLS-4481:
--------------------------------------
Attachment: 2_introtext.png
> [DMN Designer] Data Types - Business Central Data Objects as DMN Data Types UX
> ------------------------------------------------------------------------------
>
> Key: DROOLS-4481
> URL: https://issues.jboss.org/browse/DROOLS-4481
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Reporter: Guilherme Gomes
> Assignee: Elizabeth Clayton
> Priority: Major
> Labels: UX, UXTeam, drools-tools
> Attachments: 2019-08-26 17.48.30.gif, 2_introtext.png, Screen Shot 2019-08-26 at 18.11.01.png
>
>
> *Requirements*
> It should be possible to generate data types from imported data models (java classes).
> * As a user I want to be able to use data type definitions that are structured similar to Java data object models (classes) that I have defined externally.
> * As I user I want to be able to edit and update data objects that have been converted to data types, so that I can manually update the definitions.
> Import/convert data objects:
> * 5 levels deep can “introspect” and convert data model, beyond that the data type would be “any.”
> * Import (convert) only within the Data Type tab, this is not a feature of the Import/Include function as import DO’s is not supported in the DMN spec. --
> *Current scenario*
> Currently, users can create Data Objects on Business Central. See:
> !2019-08-26 17.48.30.gif|width=600!
> However users cannot re-use Data Objects as Data Types.
> ---
> *Description*
> Data Objects (DO) are pretty similar to DMN Data Types (DT). So, would be great to import the DO above as a DMN DT like the following one:
> !Screen Shot 2019-08-26 at 18.11.01.png|width=600!
> ---
> *Questions to clarify at requirement level*
> 1) Some DOs can be quite complex and some fields can be impossible to guess.
> - Person
> -- name (Some strange type)
> -- age (Integer)
> What should we do? Import name as "Any"? Remove the name field? Or block the Person type?
> 2) Do we need a specific component to import Data Objects as Data Types? Couldn't we just add Data Objects in the type dropdown, but use a different category (Default, Custom Data Types, Data Objects)?
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 9 months
[JBoss JIRA] (DROOLS-4481) [DMN Designer] Data Types - Business Central Data Objects as DMN Data Types UX
by Elizabeth Clayton (Jira)
[ https://issues.jboss.org/browse/DROOLS-4481?page=com.atlassian.jira.plugi... ]
Elizabeth Clayton commented on DROOLS-4481:
-------------------------------------------
[~karreiro] I updated the click-thru with:
* Inline alerts: Please note: the examples in my mocks are just roughs to show the general concept. The exact styling should match PatternFly 3 recommendations, to be consistent in the overall UI. See: https://www.patternfly.org/v3/pattern-library/communication/inline-notifi...
* Importing the DO in its collapsed state, and a screen to show the expanded view.
* It's not visible in the click-thru, but here's a version with inline help text at the top of the dialog. In my mockups I replaced the help text with the inline error. I think that might be okay, but if you think it's best to move the whole area down to support the alert that would be good. Here's a mockup with the intro text, though we might want [~stetson.robinson] to review it.
!2_introtext.png|thumbnail!
> [DMN Designer] Data Types - Business Central Data Objects as DMN Data Types UX
> ------------------------------------------------------------------------------
>
> Key: DROOLS-4481
> URL: https://issues.jboss.org/browse/DROOLS-4481
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Reporter: Guilherme Gomes
> Assignee: Elizabeth Clayton
> Priority: Major
> Labels: UX, UXTeam, drools-tools
> Attachments: 2019-08-26 17.48.30.gif, Screen Shot 2019-08-26 at 18.11.01.png
>
>
> *Requirements*
> It should be possible to generate data types from imported data models (java classes).
> * As a user I want to be able to use data type definitions that are structured similar to Java data object models (classes) that I have defined externally.
> * As I user I want to be able to edit and update data objects that have been converted to data types, so that I can manually update the definitions.
> Import/convert data objects:
> * 5 levels deep can “introspect” and convert data model, beyond that the data type would be “any.”
> * Import (convert) only within the Data Type tab, this is not a feature of the Import/Include function as import DO’s is not supported in the DMN spec. --
> *Current scenario*
> Currently, users can create Data Objects on Business Central. See:
> !2019-08-26 17.48.30.gif|width=600!
> However users cannot re-use Data Objects as Data Types.
> ---
> *Description*
> Data Objects (DO) are pretty similar to DMN Data Types (DT). So, would be great to import the DO above as a DMN DT like the following one:
> !Screen Shot 2019-08-26 at 18.11.01.png|width=600!
> ---
> *Questions to clarify at requirement level*
> 1) Some DOs can be quite complex and some fields can be impossible to guess.
> - Person
> -- name (Some strange type)
> -- age (Integer)
> What should we do? Import name as "Any"? Remove the name field? Or block the Person type?
> 2) Do we need a specific component to import Data Objects as Data Types? Couldn't we just add Data Objects in the type dropdown, but use a different category (Default, Custom Data Types, Data Objects)?
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 9 months
[JBoss JIRA] (DROOLS-4558) executable-model doesn't fully parse multi-line pattern
by Luca Molteni (Jira)
[ https://issues.jboss.org/browse/DROOLS-4558?page=com.atlassian.jira.plugi... ]
Luca Molteni updated DROOLS-4558:
---------------------------------
Sprint: 2019 Week 38-40 (from Sep 16)
> executable-model doesn't fully parse multi-line pattern
> --------------------------------------------------------
>
> Key: DROOLS-4558
> URL: https://issues.jboss.org/browse/DROOLS-4558
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.24.0.Final, 7.25.0.Final, 7.26.0.Final, 7.27.0.Final
> Environment: - executable-model
> Reporter: Toshiya Kobayashi
> Assignee: Luca Molteni
> Priority: Major
> Labels: support
>
> When a pattern has multiple lines, executable-model doesn't fully parse its conditions.
> {noformat}
> rule R1 when
> $p : Person(age == 30
> || employed == true)
> then
> end
> {noformat}
> Looking at the generated Java code, only the first line is parsed.
> It doesn't have a problem in 7.23.0.Final so it seems to be a regression after that.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 9 months