[JBoss JIRA] (DROOLS-1918) Guided rule editor: "from accumulate" should support multiple pattern definitions
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1918?page=com.atlassian.jira.plugi... ]
Michael Anstis moved GUVNOR-1922 to DROOLS-1918:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1918 (was: GUVNOR-1922)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Guided Rule Editor
Guided Template Editor
(was: Guided Rule Editor)
(was: Guided Rule Templates)
Affects Version/s: 5.5.0.Final
(was: drools-5.4.0.Final)
> Guided rule editor: "from accumulate" should support multiple pattern definitions
> ---------------------------------------------------------------------------------
>
> Key: DROOLS-1918
> URL: https://issues.jboss.org/browse/DROOLS-1918
> Project: Drools
> Issue Type: Feature Request
> Components: Guided Rule Editor, Guided Template Editor
> Affects Versions: 5.5.0.Final
> Reporter: Michael Anstis
> Assignee: Michael Anstis
>
> This was reported:-
> On 27/07/12 03:34, Udaypal Aarkoti wrote:
> > Michael,
> >
> > I was talking to Edson about what's the best way to build a PoC for a customer that I am working with and Edson gave a few suggestions. Those more mostly using DRL but I wanted to convert them into a Rule Template that customer can simply use to fill in values but looks like I hit a limitation here and wanted to check if there any way around it.
> >
> > Here is the psuedo code and the rule I am trying to implement
> >
> > Class Partner {}
> > Class Representation{ Partner partner }
> > Class Training {Representative rep}
> >
> > The main problem I am facing is that I cannot seem to have a compound condition using "from accumulate" as show below in guided editor. I am able to use either a "Representative" Object or "Training" object as a condition but NOT both using the guided editor.
> >
> > Is that true? Is there a way around it? I don't want to use DSL because there are some key bindings that needs to be passed to the condition (i.e user will enter value in the template that need to be passed down to the DSL, which I believe is not currently supported).
> >
> >
> > rule "Accumulate partner Trainings for RPPOS100"
> >
> > when
> > $p : Partner()
> > $count : Number() from accumulate( $r : Representative( partner == $p ) and Training( representative == $r, name == "RPPOS100" ), count( 1 ) )
> > then
> > System.out.println("Testing : " + $count);
> > end
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (DROOLS-1920) Query Asset support to guided editors
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1920?page=com.atlassian.jira.plugi... ]
Michael Anstis moved GUVNOR-1534 to DROOLS-1920:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1920 (was: GUVNOR-1534)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Data Model Oracle
Guided Rule Editor
Guided Template Editor
(was: Data Model Oracle)
(was: Guided Rule Editor)
(was: Guided Rule Templates)
> Query Asset support to guided editors
> -------------------------------------
>
> Key: DROOLS-1920
> URL: https://issues.jboss.org/browse/DROOLS-1920
> Project: Drools
> Issue Type: Feature Request
> Components: Data Model Oracle, Guided Rule Editor, Guided Template Editor
> Reporter: Toni Rikkola
>
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (DROOLS-1921) Bound variables cannot be used in the call method as parameter in guided rules
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1921?page=com.atlassian.jira.plugi... ]
Michael Anstis moved GUVNOR-2605 to DROOLS-1921:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1921 (was: GUVNOR-2605)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Guided Rule Editor
Guided Template Editor
(was: Guided Rule Editor)
(was: Guided Rule Templates)
Affects Version/s: 6.4.0.Final
(was: drools_6.4.0.Final)
> Bound variables cannot be used in the call method as parameter in guided rules
> ------------------------------------------------------------------------------
>
> Key: DROOLS-1921
> URL: https://issues.jboss.org/browse/DROOLS-1921
> Project: Drools
> Issue Type: Feature Request
> Components: Guided Rule Editor, Guided Template Editor
> Affects Versions: 6.4.0.Final
> Reporter: Nicolas Heron
> Assignee: Guilherme Carreiro
> Labels: OnBoarding
>
> - create a guided rule
> - in the them part create a binding variable
> - In the then part, use call a method of one of the binding variables
> - in the parameters of the method, of one is of type of one of the created binding variables, the button "bounded variable" is not displayed
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (DROOLS-1912) Guided Rule Editor: Make the editor more readable
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1912?page=com.atlassian.jira.plugi... ]
Michael Anstis moved GUVNOR-1266 to DROOLS-1912:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1912 (was: GUVNOR-1266)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Guided Rule Editor
Guided Template Editor
(was: Guided Rule Editor)
(was: Guided Rule Templates)
> Guided Rule Editor: Make the editor more readable
> -------------------------------------------------
>
> Key: DROOLS-1912
> URL: https://issues.jboss.org/browse/DROOLS-1912
> Project: Drools
> Issue Type: Enhancement
> Components: Guided Rule Editor, Guided Template Editor
> Reporter: Toni Rikkola
> Assignee: Michael Anstis
> Priority: Optional
>
> Right now the editor is full of text boxes and drop-downs. It would have a cleaner and more clearer look if all these would be text.
> We can show the editable parts by hi-lighting them on mouse over or writing them with a different style (bold, italic or different colors).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (DROOLS-1915) Guided rule editor: Support for List<RuleModel> when persistence format is changed to DRL
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1915?page=com.atlassian.jira.plugi... ]
Michael Anstis moved GUVNOR-1990 to DROOLS-1915:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1915 (was: GUVNOR-1990)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Guided Rule Editor
(was: Guided Rule Editor)
> Guided rule editor: Support for List<RuleModel> when persistence format is changed to DRL
> -----------------------------------------------------------------------------------------
>
> Key: DROOLS-1915
> URL: https://issues.jboss.org/browse/DROOLS-1915
> Project: Drools
> Issue Type: Feature Request
> Components: Guided Rule Editor
> Reporter: Michael Anstis
>
> Currently the persistent format for the Guided Rule Editor and Guided Template Editor is XML (serialized model using XStream).
> Work is in progress to support deserializing from DRL to support round-tripping of guided rules authored in Guvnor to Eclipse. This introduces the potential for a single DRL file to contain multiple rules.
> It is possible for the new unmarshalling work to parse individual rules and hence return a List<RuleModel> however the current Guided Rule Editor would need to be changed to support multiple RuleModels in a single editor.
> There's lots more to think about.. what if the DRL contains Queries, Functions or Declarative Types etc... then what? Should this JIRA ever get to be worked on, perhaps a dropping out to a single free-format (DRL) text box is the only viable approach (until all Editors can use DRL).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (DROOLS-1916) Guided rule editor: It should be possible to use more than one pattern with "Any of the following are true:"
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1916?page=com.atlassian.jira.plugi... ]
Michael Anstis moved GUVNOR-2239 to DROOLS-1916:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1916 (was: GUVNOR-2239)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Guided Rule Editor
Guided Template Editor
(was: Guided Rule Editor)
(was: Guided Rule Templates)
> Guided rule editor: It should be possible to use more than one pattern with "Any of the following are true:"
> ------------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-1916
> URL: https://issues.jboss.org/browse/DROOLS-1916
> Project: Drools
> Issue Type: Feature Request
> Components: Guided Rule Editor, Guided Template Editor
> Reporter: Toni Rikkola
>
> This is not possible.
> When
> Any of the following ist true
> QuestionAnswer_1 >= 75
> OR
> QuestionAnswer_1 = 50 AND QuestionAnswer_2 >= 25
> OR
> QuestionAnswer_1 <= 25 AND QuestionAnswer_2 >= 75
> THEN
> ....do some magic
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (DROOLS-1917) Support variable expressions in interval-based for temporal operators
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1917?page=com.atlassian.jira.plugi... ]
Michael Anstis moved GUVNOR-1980 to DROOLS-1917:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1917 (was: GUVNOR-1980)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Guided Rule Editor
(was: Guided Rule Editor)
Affects Version/s: 5.5.0.Final
(was: drools-5.5.0.Final)
> Support variable expressions in interval-based for temporal operators
> ----------------------------------------------------------------------
>
> Key: DROOLS-1917
> URL: https://issues.jboss.org/browse/DROOLS-1917
> Project: Drools
> Issue Type: Feature Request
> Components: Guided Rule Editor
> Affects Versions: 5.5.0.Final
> Reporter: Adrian Paredes
> Priority: Minor
>
> It would be cool if it were possible to use expressions, and bound variables in particular, in time intervals for temporal operators. Something like this:
> rule "Sound the alarm with parametric delay"
> when
> $f : FireDetected( )
> not( SprinklerActivated( this after[expr: $f.start, $f.end] $f ) )
> then
> // sound the alarm
> end
> A similar request was made for the interval-based timer in this issue:
> https://issues.jboss.org/browse/JBRULES-3402
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (DROOLS-1907) Double clicking the guided rule add item lists does not select the item
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1907?page=com.atlassian.jira.plugi... ]
Michael Anstis moved GUVNOR-1656 to DROOLS-1907:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1907 (was: GUVNOR-1656)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Guided Rule Editor
Guided Template Editor
(was: Guided Rule Editor)
(was: Guided Rule Templates)
> Double clicking the guided rule add item lists does not select the item
> -----------------------------------------------------------------------
>
> Key: DROOLS-1907
> URL: https://issues.jboss.org/browse/DROOLS-1907
> Project: Drools
> Issue Type: Enhancement
> Components: Guided Rule Editor, Guided Template Editor
> Reporter: Toni Rikkola
> Assignee: Mark Coble
> Priority: Optional
>
> Doing some testing and I keep double clicking and nothing happens :)
> Items in the action/conditioning lists should add the action/condition
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months
[JBoss JIRA] (DROOLS-1908) Guided Editor: Function call improvements
by Michael Anstis (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1908?page=com.atlassian.jira.plugi... ]
Michael Anstis moved GUVNOR-1435 to DROOLS-1908:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1908 (was: GUVNOR-1435)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Data Model Oracle
Guided Rule Editor
Guided Template Editor
(was: Data Model Oracle)
(was: Guided Rule Editor)
(was: Guided Rule Templates)
> Guided Editor: Function call improvements
> -----------------------------------------
>
> Key: DROOLS-1908
> URL: https://issues.jboss.org/browse/DROOLS-1908
> Project: Drools
> Issue Type: Enhancement
> Components: Data Model Oracle, Guided Rule Editor, Guided Template Editor
> Reporter: Toni Rikkola
>
> For more information, check the comments in GUVNOR-1431.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 8 months