[JBoss JIRA] (DROOLS-2421) Unexpected response from rule engine for windowing rules
by Bishnu Shankar Pandey (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2421?page=com.atlassian.jira.plugi... ]
Bishnu Shankar Pandey updated DROOLS-2421:
------------------------------------------
Attachment: DroolsTest.zip
> Unexpected response from rule engine for windowing rules
> --------------------------------------------------------
>
> Key: DROOLS-2421
> URL: https://issues.jboss.org/browse/DROOLS-2421
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 6.5.0.Final
> Reporter: Bishnu Shankar Pandey
> Assignee: Mario Fusco
> Attachments: DroolsTest.zip
>
>
> Here the sample code of my window rule :
> rule "Sliding window test1"
> agenda-group "g0"
> when
> exists Fact( (facts["parameter2"] ) != null && facts["source"] == "A0") && $number: Number() from accumulate(Fact(facts["parameter2"] != null && $t : Double.valueOf(facts["parameter2"]) && facts["source"] == "A0") over window:time(2m) , sum($t))
> then
> globalList.add("2 Minute Sum of parameter2 of Source A0 is " + $number );
> end
> rule "Sliding window test2"
> agenda-group "g0"
> when
> exists Fact( (facts["parameter2"] ) != null && facts["source"] == "A1") && $number: Number() from accumulate(Fact(facts["parameter2"] != null && $t : Double.valueOf(facts["parameter2"]) && facts["source"] == "A1") over window:time(2m) , sum($t))
> then
> globalList.add("2 Minute Sum of parameter2 of Source A1 is " + $number );
> end
> I am sending request from 2 different sources. I am getting response as 0.0 after some time. I check the values in the working memory by using collect as List for the parameter values. I have found that the previous values got deleted when the response is 0.0. I need immediate help.
> Some important info:
> Fact is the class Object and it has a Hashmap(facts) as class variable. The factmap contains the variable name as key and its value as variable value.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 9 months
[JBoss JIRA] (SWSQE-112) Document configuration of openshift production cluster
by Filip Brychta (JIRA)
Filip Brychta created SWSQE-112:
-----------------------------------
Summary: Document configuration of openshift production cluster
Key: SWSQE-112
URL: https://issues.jboss.org/browse/SWSQE-112
Project: Kiali QE
Issue Type: Task
Reporter: Filip Brychta
Assignee: Michael Foley
We need mojo page with full description of our openshift production cluster which should include:
* used blades
* OS version
* description of all necessary accounts and permissions (for jenkins, jenkins slaves,...)
* ...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 9 months
[JBoss JIRA] (SWSQE-110) Update OC on Ansible Image
by Guilherme Baufaker Rêgo (JIRA)
[ https://issues.jboss.org/browse/SWSQE-110?page=com.atlassian.jira.plugin.... ]
Guilherme Baufaker Rêgo updated SWSQE-110:
------------------------------------------
Team: Infrastructure (was: Infrastructure)
Sprint: Kiali QE Sprint 3
> Update OC on Ansible Image
> --------------------------
>
> Key: SWSQE-110
> URL: https://issues.jboss.org/browse/SWSQE-110
> Project: Kiali QE
> Issue Type: Bug
> Reporter: Guilherme Baufaker Rêgo
> Assignee: Filip Brychta
>
> Started by user Guilherme Baufaker Rêgo
> Running in Durability level: MAX_SURVIVABILITY
> [Pipeline] node
> Still waiting to schedule task
> jenkins-slave-ansible-os-client-tools-kxpss is offline
> Running on jenkins-slave-ansible-os-client-tools-kxpss in /home/jenkins/workspace/Istio+Mesh+Ansible Pipeline
> [Pipeline] {
> [Pipeline] stage
> [Pipeline] { (Clone Istio Repository)
> [Pipeline] checkout
> Cloning the remote Git repository
> Cloning repository https://github.com/gbaufake/istio.git
> > git init /home/jenkins/workspace/Istio+Mesh+Ansible Pipeline/istio # timeout=10
> Fetching upstream changes from https://github.com/gbaufake/istio.git
> > git --version # timeout=10
> > git fetch --tags --progress https://github.com/gbaufake/istio.git +refs/heads/*:refs/remotes/origin/*
> > git config remote.origin.url https://github.com/gbaufake/istio.git # timeout=10
> > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> > git config remote.origin.url https://github.com/gbaufake/istio.git # timeout=10
> Fetching upstream changes from https://github.com/gbaufake/istio.git
> > git fetch --tags --progress https://github.com/gbaufake/istio.git +refs/heads/*:refs/remotes/origin/*
> > git rev-parse refs/remotes/origin/kiali-addon^{commit} # timeout=10
> > git rev-parse refs/remotes/origin/origin/kiali-addon^{commit} # timeout=10
> Checking out Revision e5be3cd1b2acc60e3ce4ed798f91366947367e17 (refs/remotes/origin/kiali-addon)
> > git config core.sparsecheckout # timeout=10
> > git checkout -f e5be3cd1b2acc60e3ce4ed798f91366947367e17
> Commit message: "Kiali as Istio Addon"
> > git rev-list --no-walk e5be3cd1b2acc60e3ce4ed798f91366947367e17 # timeout=10
> [Pipeline] }
> [Pipeline] // stage
> [Pipeline] stage
> [Pipeline] { (Ansible Playbook)
> [Pipeline] dir
> Running in /home/jenkins/workspace/Istio+Mesh+Ansible Pipeline/istio/install/ansible
> [Pipeline] {
> [Pipeline] sh
> [ansible] Running shell script
> + oc login https://osemaster.os37-gbaufake.osepool.centralci.eng.rdu2.redhat.com:8443 --token=cXd1vapqDSQbW3kWxg7qvuuGgKglMlxvQUaGzH4Mf5s --insecure-skip-tls-verify
> Logged into "https://osemaster.os37-gbaufake.osepool.centralci.eng.rdu2.redhat.com:8443" as "user1" using the token provided.
> You have access to the following projects and can switch between them with 'oc project <projectname>':
> bookinfo
> * default
> istio-system
> kiali-test-box
> kiali-test-breadth-sink
> kiali-test-breath
> kiali-test-circle
> kiali-test-circle-callback
> kiali-test-depth
> kiali-test-depth-sink
> kiali-test-hourglass
> kube-public
> kube-system
> logging
> management-infra
> openshift
> openshift-infra
> openshift-node
> samples
> Using project "default".
> Welcome! See 'oc help' to get started.
> [Pipeline] sh
> [ansible] Running shell script
> + oc version
> oc v1.5.0+031cbe4
> kubernetes v1.5.2+43a9be4
> features: Basic-Auth GSSAPI Kerberos SPNEGO
> [~fbrychta] can you update oc to 3.7?
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 9 months