[JBoss JIRA] (DROOLS-4607) DMN DT Analysis for symbols
by Matteo Mortari (Jira)
Matteo Mortari created DROOLS-4607:
--------------------------------------
Summary: DMN DT Analysis for symbols
Key: DROOLS-4607
URL: https://issues.jboss.org/browse/DROOLS-4607
Project: Drools
Issue Type: Feature Request
Components: dmn engine
Reporter: Matteo Mortari
Assignee: Matteo Mortari
Extend analysis to symbolic processing in the possible cases
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (DROOLS-4606) DMN alpha network
by Matteo Mortari (Jira)
Matteo Mortari created DROOLS-4606:
--------------------------------------
Summary: DMN alpha network
Key: DROOLS-4606
URL: https://issues.jboss.org/browse/DROOLS-4606
Project: Drools
Issue Type: Task
Components: dmn engine
Reporter: Matteo Mortari
Assignee: Matteo Mortari
Start refactoring work to support alpha network
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (WFWIP-231) Error messages in operator logs
by Petr Kremensky (Jira)
[ https://issues.jboss.org/browse/WFWIP-231?page=com.atlassian.jira.plugin.... ]
Petr Kremensky updated WFWIP-231:
---------------------------------
Description:
The following error log message appears in operator log:
{noformat}
{"level":"error","ts":1570436049.1596415,"logger":"wildlfyserver_resources","msg":"Failed to create new
resource","WildFlyServer.Namespace":"pkremens-namespace","WildFlyServer.Name":"quickstart","Resource.Name":"quickstart-
loadbalancer","Resource.Type":"*v1.Service","error":"services \"quickstart-loadbalancer\" already exists","stacktrace":"github.com/go-logr/zapr.
(*zapLogger).Error\n\t/go/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\ngithub.com/wildfly/wildfly-operator/pkg/resources.Create\n\t/go
/src/github.com/wildfly/wildfly-operator/pkg/resources/actions.go:37\ngithub.com/wildfly/wildfly-operator/pkg/resources
/services.CreateOrUpdateLoadBalancerService\n\t/go/src/github.com/wildfly/wildfly-operator/pkg/resources/services/service.go:63\ngithub.com
/wildfly/wildfly-operator/pkg/controller/wildflyserver.(*ReconcileWildFlyServer).Reconcile\n\t/go/src/github.com/wildfly/wildfly-operator
/pkg/controller/wildflyserver/wildflyserver_controller.go:195\nsigs.k8s.io/controller-runtime/pkg/internal/controller.
(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.1.12/pkg/internal/controller/controller.go:215\nsigs.k8s.io
/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime(a)v0.1.12/pkg/internal/controller
/controller.go:158\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190221213512-86fb29eff628
/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/go/pkg/mod/k8s.io
/apimachinery@v0.0.0-20190221213512-86fb29eff628/pkg/util/wait/wait.go:134\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/go/pkg/mod/k8s.io
/apimachinery@v0.0.0-20190221213512-86fb29eff628/pkg/util/wait/wait.go:88"}
{noformat}
The error message appears every time during project creation, it can be reproduced using the latest upstream (dd5a057) operator and provided quickstart-cr.yaml example.
was:
The following error log message appears in operator log:
{noformat}
{"level":"error","ts":1570433292.136392,"logger":"wildlfyserver_resources","msg":"Failed
to update resource","WildFlyServer.Namespace":"pkremens-
namespace","WildFlyServer.Name":"eap-cd","Resource.Name":"eap-
cd","Resource.Type":"*v1.StatefulSet","error":"Operation cannot be fulfilled on
statefulsets.apps \"eap-cd\": the object has been modified; please apply your changes to the
latest version and try again","stacktrace":"github.com/wildfly/wildfly-operator/vendor
/github.com/go-logr/zapr.(*zapLogger).Error\n\t/root/go/src/github.com/wildfly/wildfly-
operator/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/wildfly/w...
/pkg/resources.Update\n\t/root/go/src/github.com/wildfly/wildfly-operator/pkg/resources
/actions.go:73\ngithub.com/wildfly/wildfly-operator/pkg/controller/wildflyserver.
(*ReconcileWildFlyServer).checkStatefulSet\n\t/root/go/src/github.com/wildfly/wildfly-
operator/pkg/controller/wildflyserver/wildflyserver_controller.go:389\ngi...
/wildfly-operator/pkg/controller/wildflyserver.(*ReconcileWildFlyServer).Reconcile\n\t/root
/go/src/github.com/wildfly/wildfly-operator/pkg/controller/wildflyserver
/wildflyserver_controller.go:187\ngithub.com/wildfly/wildfly-operator/vendor/sigs.k8s.io
/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/root
/go/src/github.com/wildfly/wildfly-operator/vendor/sigs.k8s.io/controller-runtime
/pkg/internal/controller/controller.go:215\ngithub.com/wildfly/wildfly-operator/vendor
/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/root
/go/src/github.com/wildfly/wildfly-operator/vendor/sigs.k8s.io/controller-runtime
/pkg/internal/controller/controller.go:158\ngithub.com/wildfly/wildfly-operator/vendor
/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/root/go/src/github.com/wildfly
/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\ngithub.com/wildfly
/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/root/go/src
/github.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util
/wait/wait.go:134\ngithub.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util
/wait.Until\n\t/root/go/src/github.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery
/pkg/util/wait/wait.go:88"}
{noformat}
The error message appears every time during project creation, it can be reproduced using the latest upstream (dd5a057) operator and provided quickstart-cr.yaml example.
> Error messages in operator logs
> -------------------------------
>
> Key: WFWIP-231
> URL: https://issues.jboss.org/browse/WFWIP-231
> Project: WildFly WIP
> Issue Type: Bug
> Components: OpenShift
> Reporter: Petr Kremensky
> Assignee: Jeff Mesnil
> Priority: Critical
> Labels: operator
>
> The following error log message appears in operator log:
> {noformat}
> {"level":"error","ts":1570436049.1596415,"logger":"wildlfyserver_resources","msg":"Failed to create new
> resource","WildFlyServer.Namespace":"pkremens-namespace","WildFlyServer.Name":"quickstart","Resource.Name":"quickstart-
> loadbalancer","Resource.Type":"*v1.Service","error":"services \"quickstart-loadbalancer\" already exists","stacktrace":"github.com/go-logr/zapr.
> (*zapLogger).Error\n\t/go/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\ngithub.com/wildfly/wildfly-operator/pkg/resources.Create\n\t/go
> /src/github.com/wildfly/wildfly-operator/pkg/resources/actions.go:37\ngithub.com/wildfly/wildfly-operator/pkg/resources
> /services.CreateOrUpdateLoadBalancerService\n\t/go/src/github.com/wildfly/wildfly-operator/pkg/resources/services/service.go:63\ngithub.com
> /wildfly/wildfly-operator/pkg/controller/wildflyserver.(*ReconcileWildFlyServer).Reconcile\n\t/go/src/github.com/wildfly/wildfly-operator
> /pkg/controller/wildflyserver/wildflyserver_controller.go:195\nsigs.k8s.io/controller-runtime/pkg/internal/controller.
> (*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.1.12/pkg/internal/controller/controller.go:215\nsigs.k8s.io
> /controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime(a)v0.1.12/pkg/internal/controller
> /controller.go:158\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190221213512-86fb29eff628
> /pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/go/pkg/mod/k8s.io
> /apimachinery@v0.0.0-20190221213512-86fb29eff628/pkg/util/wait/wait.go:134\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/go/pkg/mod/k8s.io
> /apimachinery@v0.0.0-20190221213512-86fb29eff628/pkg/util/wait/wait.go:88"}
> {noformat}
> The error message appears every time during project creation, it can be reproduced using the latest upstream (dd5a057) operator and provided quickstart-cr.yaml example.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (WFWIP-231) Error messages in operator logs
by Petr Kremensky (Jira)
[ https://issues.jboss.org/browse/WFWIP-231?page=com.atlassian.jira.plugin.... ]
Petr Kremensky updated WFWIP-231:
---------------------------------
Description:
The following error log message appears in operator log:
{noformat}
{"level":"error","ts":1570433292.136392,"logger":"wildlfyserver_resources","msg":"Failed
to update resource","WildFlyServer.Namespace":"pkremens-
namespace","WildFlyServer.Name":"eap-cd","Resource.Name":"eap-
cd","Resource.Type":"*v1.StatefulSet","error":"Operation cannot be fulfilled on
statefulsets.apps \"eap-cd\": the object has been modified; please apply your changes to the
latest version and try again","stacktrace":"github.com/wildfly/wildfly-operator/vendor
/github.com/go-logr/zapr.(*zapLogger).Error\n\t/root/go/src/github.com/wildfly/wildfly-
operator/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/wildfly/w...
/pkg/resources.Update\n\t/root/go/src/github.com/wildfly/wildfly-operator/pkg/resources
/actions.go:73\ngithub.com/wildfly/wildfly-operator/pkg/controller/wildflyserver.
(*ReconcileWildFlyServer).checkStatefulSet\n\t/root/go/src/github.com/wildfly/wildfly-
operator/pkg/controller/wildflyserver/wildflyserver_controller.go:389\ngi...
/wildfly-operator/pkg/controller/wildflyserver.(*ReconcileWildFlyServer).Reconcile\n\t/root
/go/src/github.com/wildfly/wildfly-operator/pkg/controller/wildflyserver
/wildflyserver_controller.go:187\ngithub.com/wildfly/wildfly-operator/vendor/sigs.k8s.io
/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/root
/go/src/github.com/wildfly/wildfly-operator/vendor/sigs.k8s.io/controller-runtime
/pkg/internal/controller/controller.go:215\ngithub.com/wildfly/wildfly-operator/vendor
/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/root
/go/src/github.com/wildfly/wildfly-operator/vendor/sigs.k8s.io/controller-runtime
/pkg/internal/controller/controller.go:158\ngithub.com/wildfly/wildfly-operator/vendor
/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/root/go/src/github.com/wildfly
/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\ngithub.com/wildfly
/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/root/go/src
/github.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util
/wait/wait.go:134\ngithub.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util
/wait.Until\n\t/root/go/src/github.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery
/pkg/util/wait/wait.go:88"}
{noformat}
The error message appears every time during project creation, it can be reproduced using the latest upstream (dd5a057) operator and provided quickstart-cr.yaml example.
was:
The following error log message appears in operator log:
{noformat}
{"level":"error","ts":1570433292.136392,"logger":"wildlfyserver_resources","msg":"Failed
to update resource","WildFlyServer.Namespace":"pkremens-
namespace","WildFlyServer.Name":"eap-cd","Resource.Name":"eap-
cd","Resource.Type":"*v1.StatefulSet","error":"Operation cannot be fulfilled on
statefulsets.apps \"eap-cd\": the object has been modified; please apply your changes to the
latest version and try again","stacktrace":"github.com/wildfly/wildfly-operator/vendor
/github.com/go-logr/zapr.(*zapLogger).Error\n\t/root/go/src/github.com/wildfly/wildfly-
operator/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/wildfly/w...
/pkg/resources.Update\n\t/root/go/src/github.com/wildfly/wildfly-operator/pkg/resources
/actions.go:73\ngithub.com/wildfly/wildfly-operator/pkg/controller/wildflyserver.
(*ReconcileWildFlyServer).checkStatefulSet\n\t/root/go/src/github.com/wildfly/wildfly-
operator/pkg/controller/wildflyserver/wildflyserver_controller.go:389\ngi...
/wildfly-operator/pkg/controller/wildflyserver.(*ReconcileWildFlyServer).Reconcile\n\t/root
/go/src/github.com/wildfly/wildfly-operator/pkg/controller/wildflyserver
/wildflyserver_controller.go:187\ngithub.com/wildfly/wildfly-operator/vendor/sigs.k8s.io
/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/root
/go/src/github.com/wildfly/wildfly-operator/vendor/sigs.k8s.io/controller-runtime
/pkg/internal/controller/controller.go:215\ngithub.com/wildfly/wildfly-operator/vendor
/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/root
/go/src/github.com/wildfly/wildfly-operator/vendor/sigs.k8s.io/controller-runtime
/pkg/internal/controller/controller.go:158\ngithub.com/wildfly/wildfly-operator/vendor
/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/root/go/src/github.com/wildfly
/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\ngithub.com/wildfly
/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/root/go/src
/github.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util
/wait/wait.go:134\ngithub.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util
/wait.Until\n\t/root/go/src/github.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery
/pkg/util/wait/wait.go:88"}
{noformat}
> Error messages in operator logs
> -------------------------------
>
> Key: WFWIP-231
> URL: https://issues.jboss.org/browse/WFWIP-231
> Project: WildFly WIP
> Issue Type: Bug
> Components: OpenShift
> Reporter: Petr Kremensky
> Assignee: Jeff Mesnil
> Priority: Critical
> Labels: operator
>
> The following error log message appears in operator log:
> {noformat}
> {"level":"error","ts":1570433292.136392,"logger":"wildlfyserver_resources","msg":"Failed
> to update resource","WildFlyServer.Namespace":"pkremens-
> namespace","WildFlyServer.Name":"eap-cd","Resource.Name":"eap-
> cd","Resource.Type":"*v1.StatefulSet","error":"Operation cannot be fulfilled on
> statefulsets.apps \"eap-cd\": the object has been modified; please apply your changes to the
> latest version and try again","stacktrace":"github.com/wildfly/wildfly-operator/vendor
> /github.com/go-logr/zapr.(*zapLogger).Error\n\t/root/go/src/github.com/wildfly/wildfly-
> operator/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/wildfly/w...
> /pkg/resources.Update\n\t/root/go/src/github.com/wildfly/wildfly-operator/pkg/resources
> /actions.go:73\ngithub.com/wildfly/wildfly-operator/pkg/controller/wildflyserver.
> (*ReconcileWildFlyServer).checkStatefulSet\n\t/root/go/src/github.com/wildfly/wildfly-
> operator/pkg/controller/wildflyserver/wildflyserver_controller.go:389\ngi...
> /wildfly-operator/pkg/controller/wildflyserver.(*ReconcileWildFlyServer).Reconcile\n\t/root
> /go/src/github.com/wildfly/wildfly-operator/pkg/controller/wildflyserver
> /wildflyserver_controller.go:187\ngithub.com/wildfly/wildfly-operator/vendor/sigs.k8s.io
> /controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/root
> /go/src/github.com/wildfly/wildfly-operator/vendor/sigs.k8s.io/controller-runtime
> /pkg/internal/controller/controller.go:215\ngithub.com/wildfly/wildfly-operator/vendor
> /sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/root
> /go/src/github.com/wildfly/wildfly-operator/vendor/sigs.k8s.io/controller-runtime
> /pkg/internal/controller/controller.go:158\ngithub.com/wildfly/wildfly-operator/vendor
> /k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/root/go/src/github.com/wildfly
> /wildfly-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\ngithub.com/wildfly
> /wildfly-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/root/go/src
> /github.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util
> /wait/wait.go:134\ngithub.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util
> /wait.Until\n\t/root/go/src/github.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery
> /pkg/util/wait/wait.go:88"}
> {noformat}
> The error message appears every time during project creation, it can be reproduced using the latest upstream (dd5a057) operator and provided quickstart-cr.yaml example.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (WFWIP-231) Error messages in operator logs
by Petr Kremensky (Jira)
Petr Kremensky created WFWIP-231:
------------------------------------
Summary: Error messages in operator logs
Key: WFWIP-231
URL: https://issues.jboss.org/browse/WFWIP-231
Project: WildFly WIP
Issue Type: Bug
Components: OpenShift
Reporter: Petr Kremensky
Assignee: Jeff Mesnil
The following error log message appears in operator log:
{noformat}
{"level":"error","ts":1570433292.136392,"logger":"wildlfyserver_resources","msg":"Failed
to update resource","WildFlyServer.Namespace":"pkremens-
namespace","WildFlyServer.Name":"eap-cd","Resource.Name":"eap-
cd","Resource.Type":"*v1.StatefulSet","error":"Operation cannot be fulfilled on
statefulsets.apps \"eap-cd\": the object has been modified; please apply your changes to the
latest version and try again","stacktrace":"github.com/wildfly/wildfly-operator/vendor
/github.com/go-logr/zapr.(*zapLogger).Error\n\t/root/go/src/github.com/wildfly/wildfly-
operator/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/wildfly/w...
/pkg/resources.Update\n\t/root/go/src/github.com/wildfly/wildfly-operator/pkg/resources
/actions.go:73\ngithub.com/wildfly/wildfly-operator/pkg/controller/wildflyserver.
(*ReconcileWildFlyServer).checkStatefulSet\n\t/root/go/src/github.com/wildfly/wildfly-
operator/pkg/controller/wildflyserver/wildflyserver_controller.go:389\ngi...
/wildfly-operator/pkg/controller/wildflyserver.(*ReconcileWildFlyServer).Reconcile\n\t/root
/go/src/github.com/wildfly/wildfly-operator/pkg/controller/wildflyserver
/wildflyserver_controller.go:187\ngithub.com/wildfly/wildfly-operator/vendor/sigs.k8s.io
/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/root
/go/src/github.com/wildfly/wildfly-operator/vendor/sigs.k8s.io/controller-runtime
/pkg/internal/controller/controller.go:215\ngithub.com/wildfly/wildfly-operator/vendor
/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/root
/go/src/github.com/wildfly/wildfly-operator/vendor/sigs.k8s.io/controller-runtime
/pkg/internal/controller/controller.go:158\ngithub.com/wildfly/wildfly-operator/vendor
/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/root/go/src/github.com/wildfly
/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\ngithub.com/wildfly
/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/root/go/src
/github.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util
/wait/wait.go:134\ngithub.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery/pkg/util
/wait.Until\n\t/root/go/src/github.com/wildfly/wildfly-operator/vendor/k8s.io/apimachinery
/pkg/util/wait/wait.go:88"}
{noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (DROOLS-4560) executable-model wrongly calculates in eval with parenthesis
by Luca Molteni (Jira)
[ https://issues.jboss.org/browse/DROOLS-4560?page=com.atlassian.jira.plugi... ]
Luca Molteni updated DROOLS-4560:
---------------------------------
Sprint: 2019 Week 38-40 (from Sep 16)
> executable-model wrongly calculates in eval with parenthesis
> ------------------------------------------------------------
>
> Key: DROOLS-4560
> URL: https://issues.jboss.org/browse/DROOLS-4560
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.27.0.Final
> Environment: - executable-model
> Reporter: Toshiya Kobayashi
> Assignee: Luca Molteni
> Priority: Major
> Labels: support
>
> executable-model wrongly calculates in eval with parenthesis.
> For example, with this rule,
> {noformat}
> import org.drools.modelcompiler.domain.CalcFact;rule R when
> $p : CalcFact( $v1 : value1, $v2 : value2 )
> eval( ($v1 / ($v2 * 10) * 10) > 25 )
> then
> end
> {noformat}
> if $v1 = 1 and $v2 = 1, ($v1 / ($v2 * 10) * 10) is 1. So the rule should not fire.
> However, executable-model generates Java code:
> {code:java}
> public class Rules4A265EF484FEEE0E4E84E77B3DEB48F9RuleMethods0 {
> /**
> * Rule name: R
> */
> public static org.drools.model.Rule rule_R() {
> final org.drools.model.Variable<org.drools.modelcompiler.domain.CalcFact> var_$p = D.declarationOf(org.drools.modelcompiler.domain.CalcFact.class,
> "$p");
> final org.drools.model.Variable<Double> var_$v1 = D.declarationOf(Double.class,
> "$v1");
> final org.drools.model.Variable<Double> var_$v2 = D.declarationOf(Double.class,
> "$v2");
> org.drools.model.Rule rule = D.rule("R").build(D.bind(var_$v1).as(var_$p,
> (_this) -> _this.getValue1()).reactOn("value1"),
> D.bind(var_$v2).as(var_$p,
> (_this) -> _this.getValue2()).reactOn("value2"),
> D.expr("454A1C822808AC7491268E4F381F0EDA",
> var_$v1,
> var_$v2,
> ($v1, $v2) -> org.drools.modelcompiler.util.EvaluationUtil.greaterThanNumbers($v1 / $v2 * 10 * 10,
> 25d)),
> D.execute(() -> {
> }));
> return rule;
> }
> }
> {code}
> See that parentheses are removed so ($v1 / $v2 * 10 * 10) becomes 100.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (DROOLS-4368) HACEP Refactor DefaultKafkaConsumer
by Massimiliano Dessi (Jira)
[ https://issues.jboss.org/browse/DROOLS-4368?page=com.atlassian.jira.plugi... ]
Massimiliano Dessi updated DROOLS-4368:
---------------------------------------
Summary: HACEP Refactor DefaultKafkaConsumer (was: HACEP Refactor DefaultKafkaConsumer -Testing )
> HACEP Refactor DefaultKafkaConsumer
> -----------------------------------
>
> Key: DROOLS-4368
> URL: https://issues.jboss.org/browse/DROOLS-4368
> Project: Drools
> Issue Type: Task
> Components: core engine
> Reporter: Daniele Zonca
> Assignee: Massimiliano Dessi
> Priority: Major
> Labels: HADrools
>
> Try to uniform leader/replica flow:
> - If I'm the leader it invokes `defaultProcessAsLeader` -> `processLeader` -> `process/processWithSnapshot`
> - If I'm a replica it invokes `defaultProcessAsAReplica` -> `consumeEventsFromBufferAsAReplica` -> `processEventsAsAReplica` -> `process`
> Try to remove most/all boolean and use proper method parameter
> Verify defaultProcessAsAReplica else branch. This should never happen because if leader sent a message about process a specific event, it should be available
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month