[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 resolved DROOLS-4368.
----------------------------------------
Resolution: Done
> 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
[JBoss JIRA] (DROOLS-4604) Query code generation neglects query parameter(s)
by Mario Fusco (Jira)
[ https://issues.jboss.org/browse/DROOLS-4604?page=com.atlassian.jira.plugi... ]
Mario Fusco updated DROOLS-4604:
--------------------------------
Story Points: 2
Sprint: 2019 Week 41-43 (from Okt 7)
> Query code generation neglects query parameter(s)
> -------------------------------------------------
>
> Key: DROOLS-4604
> URL: https://issues.jboss.org/browse/DROOLS-4604
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.27.0.Final
> Reporter: IVAN ZILOTTI
> Assignee: Mario Fusco
> Priority: Blocker
>
> The Drools _query_ code generated by the test method below is not including the query parameter ({{String eventId}}) specified via {{PackageDescrBuilder}}.
> Note that parameters to Drools _functions_ constructed through the same process are correctly included. See _org.drools.compiler.lang.api.DescrBuilderTest#testFunctions_.
>
> h3. Generated code
> {code:java}
> package org.test.rules
> import org.test.event.TemporalEvent
> query "getTemporalEventById"
> TemporalEvent( id == eventId ) from entry-point "TemporalEventStream"
> end
> {code}
> h3. Test
> {code:java}
> @Test
> public void testFluentQuery() {
> PackageDescrBuilder packBuilder =
> DescrFactory.newPackage()
> .name("org.test.rules")
> .newImport()
> .target("org.test.event.TemporalEvent")
> .end()
> .newQuery()
> .name("getTemporalEventById")
> .parameter("String", "eventId")
> .lhs()
> .pattern( "TemporalEvent")
> .constraint("id == eventId")
> .from()
> .entryPoint("EventStream")
> .end()
> .end()
> .end()
> .end();
> String query = new DrlDumper().dump(packBuilder.getDescr());
> System.out.println(query);
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (SWSQE-963) OCP 4.2 provisioning fails with Error creating OpenStack container object
by Filip Brychta (Jira)
[ https://issues.jboss.org/browse/SWSQE-963?page=com.atlassian.jira.plugin.... ]
Filip Brychta commented on SWSQE-963:
-------------------------------------
Created https://redhat.service-now.com/surl.do?n=PNT0672701
> OCP 4.2 provisioning fails with Error creating OpenStack container object
> -------------------------------------------------------------------------
>
> Key: SWSQE-963
> URL: https://issues.jboss.org/browse/SWSQE-963
> Project: Kiali QE
> Issue Type: Bug
> Reporter: Filip Brychta
> Assignee: Filip Brychta
> Priority: Blocker
> Labels: infrastructure
>
> Full exception:
> level=debug msg="module.masters.openstack_compute_instance_v2.master_conf[0]: Still creating... [1m0s elapsed]"
> level=debug msg="module.masters.openstack_compute_instance_v2.master_conf[0]: Creation complete after 1m7s [id=440a6c32-ef73-4bbf-9ea9-1cdade8314d0]"
> level=error
> level=error msg="Error: Error creating OpenStack container object: Expected HTTP response code [] when accessing [PUT https://rhos-d.infra.prod.upshift.rdu2.redhat.com:13808/v1/AUTH_0d9514d7d...], but got 413 instead"
> level=error msg="Upload exceeds quota."
> level=error
> level=error msg=" on ../../../../../../../tmp/openshift-install-535787086/bootstrap/main.tf line 49, in resource \"openstack_objectstorage_object_v1\" \"ignition\":"
> level=error msg=" 49: resource \"openstack_objectstorage_object_v1\" \"ignition\" {"
> level=error
> level=error
> level=fatal msg="failed to fetch Cluster: failed to generate asset \"Cluster\": failed to create cluster: failed to apply using Terraform"
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (SWSQE-963) OCP 4.2 provisioning fails with Error creating OpenStack container object
by Filip Brychta (Jira)
Filip Brychta created SWSQE-963:
-----------------------------------
Summary: OCP 4.2 provisioning fails with Error creating OpenStack container object
Key: SWSQE-963
URL: https://issues.jboss.org/browse/SWSQE-963
Project: Kiali QE
Issue Type: Bug
Reporter: Filip Brychta
Assignee: Filip Brychta
Full exception:
level=debug msg="module.masters.openstack_compute_instance_v2.master_conf[0]: Still creating... [1m0s elapsed]"
level=debug msg="module.masters.openstack_compute_instance_v2.master_conf[0]: Creation complete after 1m7s [id=440a6c32-ef73-4bbf-9ea9-1cdade8314d0]"
level=error
level=error msg="Error: Error creating OpenStack container object: Expected HTTP response code [] when accessing [PUT https://rhos-d.infra.prod.upshift.rdu2.redhat.com:13808/v1/AUTH_0d9514d7d...], but got 413 instead"
level=error msg="Upload exceeds quota."
level=error
level=error msg=" on ../../../../../../../tmp/openshift-install-535787086/bootstrap/main.tf line 49, in resource \"openstack_objectstorage_object_v1\" \"ignition\":"
level=error msg=" 49: resource \"openstack_objectstorage_object_v1\" \"ignition\" {"
level=error
level=error
level=fatal msg="failed to fetch Cluster: failed to generate asset \"Cluster\": failed to create cluster: failed to apply using Terraform"
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (DROOLS-4604) Query code generation neglects query parameter(s)
by IVAN ZILOTTI (Jira)
[ https://issues.jboss.org/browse/DROOLS-4604?page=com.atlassian.jira.plugi... ]
IVAN ZILOTTI updated DROOLS-4604:
---------------------------------
Priority: Blocker (was: Major)
> Query code generation neglects query parameter(s)
> -------------------------------------------------
>
> Key: DROOLS-4604
> URL: https://issues.jboss.org/browse/DROOLS-4604
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.27.0.Final
> Reporter: IVAN ZILOTTI
> Assignee: Mario Fusco
> Priority: Blocker
>
> The Drools _query_ code generated by the test method below is not including the query parameter ({{String eventId}}) specified via {{PackageDescrBuilder}}.
> Note that parameters to Drools _functions_ constructed through the same process are correctly included. See _org.drools.compiler.lang.api.DescrBuilderTest#testFunctions_.
>
> h3. Generated code
> {code:java}
> package org.test.rules
> import org.test.event.TemporalEvent
> query "getTemporalEventById"
> TemporalEvent( id == eventId ) from entry-point "TemporalEventStream"
> end
> {code}
> h3. Test
> {code:java}
> @Test
> public void testFluentQuery() {
> PackageDescrBuilder packBuilder =
> DescrFactory.newPackage()
> .name("org.test.rules")
> .newImport()
> .target("org.test.event.TemporalEvent")
> .end()
> .newQuery()
> .name("getTemporalEventById")
> .parameter("String", "eventId")
> .lhs()
> .pattern( "TemporalEvent")
> .constraint("id == eventId")
> .from()
> .entryPoint("EventStream")
> .end()
> .end()
> .end()
> .end();
> String query = new DrlDumper().dump(packBuilder.getDescr());
> System.out.println(query);
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month