[JBoss JIRA] (DROOLS-1945) [DMN Editor] Logic validation
by Michael Anstis (Jira)
[ https://issues.jboss.org/browse/DROOLS-1945?page=com.atlassian.jira.plugi... ]
Michael Anstis commented on DROOLS-1945:
----------------------------------------
DMN files are now validated with {{kie-dmn-validation}}.
This module covers the described requirements.
Closing JIRA as out of date.
> [DMN Editor] Logic validation
> -----------------------------
>
> Key: DROOLS-1945
> URL: https://issues.jboss.org/browse/DROOLS-1945
> Project: Drools
> Issue Type: Enhancement
> Components: DMN Editor
> Reporter: Jozef Marko
> Assignee: Michael Anstis
> Priority: Minor
> Labels: drools-tools
>
> The validation could reveal logical errors like missing ranges, subsumption, impossible matches.
> The validation should depend on the selected hit policy.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 8 months
[JBoss JIRA] (DROOLS-4764) Enhance test org.kie.hacep.PodAsLeaderTest.processOneSentMessageAsLeaderTest to not randomly fail
by Massimiliano Dessi (Jira)
[ https://issues.jboss.org/browse/DROOLS-4764?page=com.atlassian.jira.plugi... ]
Massimiliano Dessi commented on DROOLS-4764:
--------------------------------------------
[~manaRH] on the master is fixed, but the differences are lot in the module and in the test since the 7.26
> Enhance test org.kie.hacep.PodAsLeaderTest.processOneSentMessageAsLeaderTest to not randomly fail
> -------------------------------------------------------------------------------------------------
>
> Key: DROOLS-4764
> URL: https://issues.jboss.org/browse/DROOLS-4764
> Project: Drools
> Issue Type: Bug
> Reporter: Marek Novotny
> Assignee: Massimiliano Dessi
> Priority: Major
>
> There is randomly failing the test {{org.kie.hacep.PodAsLeaderTest.processOneSentMessageAsLeaderTest}} with exception like:
> {{noformat}}
> java.lang.RuntimeException
> at org.kie.hacep.PodAsLeaderTest.processOneSentMessageAsLeaderTest(PodAsLeaderTest.java:99)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
> at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: java.util.NoSuchElementException
> at org.apache.kafka.common.utils.AbstractIterator.next(AbstractIterator.java:52)
> at org.kie.hacep.PodAsLeaderTest.processOneSentMessageAsLeaderTest(PodAsLeaderTest.java:82)
> ... 12 more
> {{noformat}}
> one of the reference https://rhba-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/KIE/job/7.26.x/j...
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 8 months
[JBoss JIRA] (DROOLS-3514) [DMN Designer] Feel autocomplete, syntax highlighting and type checking.
by Michael Anstis (Jira)
[ https://issues.jboss.org/browse/DROOLS-3514?page=com.atlassian.jira.plugi... ]
Michael Anstis commented on DROOLS-3514:
----------------------------------------
[~karreiro] Could you please close this JIRA off with your recent work.
> [DMN Designer] Feel autocomplete, syntax highlighting and type checking.
> ------------------------------------------------------------------------
>
> Key: DROOLS-3514
> URL: https://issues.jboss.org/browse/DROOLS-3514
> Project: Drools
> Issue Type: Feature Request
> Components: DMN Editor
> Affects Versions: 7.15.0.Final
> Reporter: Thomas Mantegazzi
> Assignee: Guilherme Gomes
> Priority: Major
> Labels: drools-tools
> Attachments: image-2019-01-14-09-16-09-474.png, image-2019-01-14-09-16-30-813.png, image-2019-01-14-09-17-20-451.png
>
>
> When trying to write decisions, it would be nice to have some sintax highlighting, and autocomplete based on the inputs provided to the decision in the DRG.
> DRG:
> !image-2019-01-14-09-16-09-474.png|thumbnail!
> Data type:
> !image-2019-01-14-09-16-30-813.png|thumbnail!
> Feel expression:
> !image-2019-01-14-09-17-20-451.png|thumbnail!
> In this case, it would be nice that when we write "p" we get the suggestion "person".
> It would also be nice to get type checking, so that if we declare a DMN decision to have output of type : "number" we can not write a literal expression that outputs a String.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 8 months
[JBoss JIRA] (DROOLS-3514) [DMN Designer] Feel autocomplete, syntax highlighting and type checking.
by Michael Anstis (Jira)
[ https://issues.jboss.org/browse/DROOLS-3514?page=com.atlassian.jira.plugi... ]
Michael Anstis reassigned DROOLS-3514:
--------------------------------------
Assignee: Guilherme Gomes (was: Michael Anstis)
> [DMN Designer] Feel autocomplete, syntax highlighting and type checking.
> ------------------------------------------------------------------------
>
> Key: DROOLS-3514
> URL: https://issues.jboss.org/browse/DROOLS-3514
> Project: Drools
> Issue Type: Feature Request
> Components: DMN Editor
> Affects Versions: 7.15.0.Final
> Reporter: Thomas Mantegazzi
> Assignee: Guilherme Gomes
> Priority: Major
> Labels: drools-tools
> Attachments: image-2019-01-14-09-16-09-474.png, image-2019-01-14-09-16-30-813.png, image-2019-01-14-09-17-20-451.png
>
>
> When trying to write decisions, it would be nice to have some sintax highlighting, and autocomplete based on the inputs provided to the decision in the DRG.
> DRG:
> !image-2019-01-14-09-16-09-474.png|thumbnail!
> Data type:
> !image-2019-01-14-09-16-30-813.png|thumbnail!
> Feel expression:
> !image-2019-01-14-09-17-20-451.png|thumbnail!
> In this case, it would be nice that when we write "p" we get the suggestion "person".
> It would also be nice to get type checking, so that if we declare a DMN decision to have output of type : "number" we can not write a literal expression that outputs a String.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 8 months
[JBoss JIRA] (DROOLS-3703) [DMN Designer] Data Types - Constraints - Disable Enumeration/Range components for Any and disable constraints for Context
by Michael Anstis (Jira)
[ https://issues.jboss.org/browse/DROOLS-3703?page=com.atlassian.jira.plugi... ]
Michael Anstis commented on DROOLS-3703:
----------------------------------------
[~karreiro] Isn't this done?
> [DMN Designer] Data Types - Constraints - Disable Enumeration/Range components for Any and disable constraints for Context
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-3703
> URL: https://issues.jboss.org/browse/DROOLS-3703
> Project: Drools
> Issue Type: Enhancement
> Components: DMN Editor
> Reporter: Guilherme Gomes
> Assignee: Guilherme Gomes
> Priority: Major
> Labels: drools-tools
>
> Disable Enumeration and Range components for Any/Context types.
> See (type vs. constraint dropdown):
> {{*Any* - Expression}} ⚠️
> {{*boolean* - Disabled}}
> {{*context* - Disabled}} ⚠️
> {{*date* - Expression, Enumeration, Range}}
> {{*date and time* - Expression, Enumeration, Range}}
> {{*days and time duration* - Expression, Enumeration, Range}}
> {{*number* - Expression, Enumeration, Range}}
> {{*string* - Expression, Enumeration, Range}}
> {{*time* - Expression, Enumeration, Range}}
> {{*years and months duration* - Expression, Enumeration, Range}}
> {{*Structure* - Disabled}}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 8 months