]
Jozef Marko updated DROOLS-4694:
--------------------------------
Attachment: convert-15-fields.webm
[DMN Designer] BC DOs as DMN DTs - Create import action into the UI
-------------------------------------------------------------------
Key: DROOLS-4694
URL:
https://issues.jboss.org/browse/DROOLS-4694
Project: Drools
Issue Type: Task
Components: DMN Editor
Reporter: Guilherme Gomes
Assignee: Daniel José dos Santos
Priority: Major
Labels: drools-tools
Attachments: convert-15-fields.webm, do-not-pick-fields.webm
Consume the service provided by DROOLS-4680 and create Data Types in the UI.
⚠️ Notice:
- Respect the nesting logic
- Use the data types manager for creating type (just like the "Add" button)
- The new data types must be added in the end of the list
- If a Data Type with the same name already exists, remove it, and add the new one.
h2. Manual Scenarios
- No fields in data object (/)
- Nested data objects, more than 5 levels (x) we do not follow acceptance criteria
- Class B extends Class A (/)
- Classes added as dependencies (x) we do not follow acceptance criteria
- Classes from different package than dmn (/)
- Collection fields (x)
[
comment|https://github.com/kiegroup/kie-wb-common/pull/3003#issuecomment-...]
- simple/built in type java types fields (?)
[
comment|https://github.com/kiegroup/kie-wb-common/pull/3003#issuecomment-...]
- static fields (?)
[
comment|https://github.com/kiegroup/kie-wb-common/pull/3003#issuecomment-...]
- Import, rename original java class, import again
- Import, delete import, import
- Import, add field in original java class, import
- Import, change field type in original class, import
- Import, import
- Import, pick also types needed for fields
- Import, do not pick types needed for fields (x) [^do-not-pick-fields.webm]
- Use imported type in dmn, test scenario