[JBoss JIRA] (DROOLS-3336) [DMN Designer] Add support for Boxed Lists
by Michael Anstis (Jira)
[ https://issues.jboss.org/browse/DROOLS-3336?page=com.atlassian.jira.plugi... ]
Michael Anstis commented on DROOLS-3336:
----------------------------------------
[~dadossan] This would be a good JIRA for you to get your hands dirty understanding the different grids_ in the DMN Editor.
This requires a new {{ExpressionEditorDefinition}} and accompanying grid.. when you want to work on this ping me and I'll talk you though it :-)
> [DMN Designer] Add support for Boxed Lists
> ------------------------------------------
>
> Key: DROOLS-3336
> URL: https://issues.jboss.org/browse/DROOLS-3336
> Project: Drools
> Issue Type: Enhancement
> Components: DMN Editor
> Affects Versions: 7.15.0.Final
> Reporter: Michael Anstis
> Assignee: Daniel José dos Santos
> Priority: Major
> Labels: drools-tools
>
> See [~tirelli] comment [here|https://issues.jboss.org/browse/BXMSDOC-3463?focusedCommentId=136636...].
> {quote}
> We need to add support for Boxed Lists.
> {quote}
> See "10.2.1.5 Boxed List" in the DMN1.2 Specification.
> [~tirelli] Please confirm it's sufficient to support vertical boxed lists?
> Furthermore can you please confirm a "Boxed List" can be used *everywhere* an {{Expression}} can be used. I see {{List}} extends {{Expression}} however want to be sure there's not an edge case etc tucked away that you know of :-)
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (DROOLS-3336) [DMN Designer] Add support for Boxed Lists
by Edson Tirelli (Jira)
[ https://issues.jboss.org/browse/DROOLS-3336?page=com.atlassian.jira.plugi... ]
Edson Tirelli commented on DROOLS-3336:
---------------------------------------
[~manstis] you are correct, a "Boxed List" can be used everywhere other expressions can be used. In particular, this is quite similar to a "Boxed Relation" with a single column.
I would set this as medium priority simply because it is a rarely used expression. Boxed Relation is used more frequently.
> [DMN Designer] Add support for Boxed Lists
> ------------------------------------------
>
> Key: DROOLS-3336
> URL: https://issues.jboss.org/browse/DROOLS-3336
> Project: Drools
> Issue Type: Enhancement
> Components: DMN Editor
> Affects Versions: 7.15.0.Final
> Reporter: Michael Anstis
> Assignee: Michael Anstis
> Priority: Critical
> Labels: drools-tools
>
> See [~tirelli] comment [here|https://issues.jboss.org/browse/BXMSDOC-3463?focusedCommentId=136636...].
> {quote}
> We need to add support for Boxed Lists.
> {quote}
> See "10.2.1.5 Boxed List" in the DMN1.2 Specification.
> [~tirelli] Please confirm it's sufficient to support vertical boxed lists?
> Furthermore can you please confirm a "Boxed List" can be used *everywhere* an {{Expression}} can be used. I see {{List}} extends {{Expression}} however want to be sure there's not an edge case etc tucked away that you know of :-)
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (DROOLS-3325) Insert operation on a disposed Kie session from session pool should fail
by Mario Fusco (Jira)
[ https://issues.jboss.org/browse/DROOLS-3325?page=com.atlassian.jira.plugi... ]
Mario Fusco resolved DROOLS-3325.
---------------------------------
Resolution: Won't Fix
What's happening there is the following
* one thread calls dispose and then gets swapped out
* the dispose both sets the ksession as not alive and put it back into the pool
* another thread take the session back from the pool and set it alive
* at that point the 1st thread is awaken up and performs the insert on a ksession that is alive again
We decided to not fix this use case because we don't want to limit the possibility of using a session from multiple thread. Another option would have been to set up a sort of transaction system, so that with newKieSession you will begin one transaction and with dispose you will end it. Also in this second case (even not considering the performance implications) this means that you should receive a transaction token and pass that token around for every operation. In other words we'd need to totally change the API of the KieSession by adding this transaction token argument to each and every method and this is clearly not feasible.
> Insert operation on a disposed Kie session from session pool should fail
> ------------------------------------------------------------------------
>
> Key: DROOLS-3325
> URL: https://issues.jboss.org/browse/DROOLS-3325
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.14.0.Final
> Reporter: Tibor Zimányi
> Assignee: Mario Fusco
> Priority: Major
>
> When running test [1] SessionsPoolTest.testKieSessionsPoolInMultithreadEnv in a loop (it helps to raise the number of threads to 100), it fails, because the insert() operation that is done after session dispose ends without an exception. Stacktrace is here [2].
> [1] https://github.com/kiegroup/drools/blob/83f0751f5ebf7bc75a6431bc00b1b8223...
> [2] https://gist.github.com/baldimir/7aaab506c0cd8c273097d71f847d8631
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months