[Red Hat JIRA] (JGRP-2529) BytesMessage/NioMessage: change semantics of get/setPayload()
by Bela Ban (Jira)
[ https://issues.redhat.com/browse/JGRP-2529?page=com.atlassian.jira.plugin... ]
Bela Ban resolved JGRP-2529.
----------------------------
Resolution: Done
> BytesMessage/NioMessage: change semantics of get/setPayload()
> -------------------------------------------------------------
>
> Key: JGRP-2529
> URL: https://issues.redhat.com/browse/JGRP-2529
> Project: JGroups
> Issue Type: Enhancement
> Reporter: Bela Ban
> Assignee: Bela Ban
> Priority: Major
> Fix For: 5.1.5
>
>
> Currently, setPayload() invoked on BytesMessage or NioMessage serializes the object into a byte array (byte buffer). However, the equivalent getPayload() returns the byte array/buffer, *not* the object.
> The semantics should be:
> * in: byte array, out: byte array
> * in: object, out: object
> This can be implemented by adding a SERIALIZED flag: when an object is serialized into a byte array, the flag is set. When set, the byte array isde-serialized into an object on getPayload(), else the byte array is returned.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (JGRP-2529) BytesMessage/NioMessage: change semantics of get/setPayload()
by Bela Ban (Jira)
Bela Ban created JGRP-2529:
------------------------------
Summary: BytesMessage/NioMessage: change semantics of get/setPayload()
Key: JGRP-2529
URL: https://issues.redhat.com/browse/JGRP-2529
Project: JGroups
Issue Type: Enhancement
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 5.1.5
Currently, setPayload() invoked on BytesMessage or NioMessage serializes the object into a byte array (byte buffer). However, the equivalent getPayload() returns the byte array/buffer, *not* the object.
The semantics should be:
* in: byte array, out: byte array
* in: object, out: object
This can be implemented by adding a SERIALIZED flag: when an object is serialized into a byte array, the flag is set. When set, the byte array isde-serialized into an object on getPayload(), else the byte array is returned.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (SWSQE-1288) UPI OCP provisioning failing because of missing haproxy package
by Filip Brychta (Jira)
Filip Brychta created SWSQE-1288:
------------------------------------
Summary: UPI OCP provisioning failing because of missing haproxy package
Key: SWSQE-1288
URL: https://issues.redhat.com/browse/SWSQE-1288
Project: Kiali QE
Issue Type: Bug
Reporter: Filip Brychta
Assignee: Filip Brychta
The upi job fails because of:
TASK [Install haproxy] *********************************************************
fatal: [ocp46-sk-services]: FAILED! => \{"changed": false, "msg": "No package matching 'haproxy' found available, installed or updated", "rc": 126, "results": ["No package matching 'haproxy' found available, installed or updated"]}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (DROOLS-5156) Fix PackageDescr serialization
by Gabriele Cardosi (Jira)
[ https://issues.redhat.com/browse/DROOLS-5156?page=com.atlassian.jira.plug... ]
Gabriele Cardosi updated DROOLS-5156:
-------------------------------------
Sprint: 2021 Week 07-09 (from Feb 15)
> Fix PackageDescr serialization
> ------------------------------
>
> Key: DROOLS-5156
> URL: https://issues.redhat.com/browse/DROOLS-5156
> Project: Drools
> Issue Type: Task
> Reporter: Gabriele Cardosi
> Assignee: Gabriele Cardosi
> Priority: Minor
> Labels: drools
>
> Step to reproduce:
> # create a PackageDescrBuilder builder
> # declare types with {code:java}builder.newDeclare().type()...{code}
> # create a PackageDescr descr with {code:java}builder.getDescr(){code}
> # invoke {code:java}descr.writeExternal(ObjectOutput){code}
> The following exception is thrown
> {code:java}java.io.NotSerializableException: org.drools.compiler.lang.descr.QualifiedName{code}
> because inside PackageDescr there is a {code:java}TypeDeclarationDescr{code} (that _is serializable_) that in turn contains {code:java}QualifiedName{code} (that _is not_)
>
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (DROOLS-5818) Support @Modifies in executable-model
by Kris Verlaenen (Jira)
[ https://issues.redhat.com/browse/DROOLS-5818?page=com.atlassian.jira.plug... ]
Kris Verlaenen updated DROOLS-5818:
-----------------------------------
Sprint: 2021 Week 04-06 (from Jan 25), 2021 Week 07-09 (from Feb 15) (was: 2021 Week 04-06 (from Jan 25))
> Support @Modifies in executable-model
> -------------------------------------
>
> Key: DROOLS-5818
> URL: https://issues.redhat.com/browse/DROOLS-5818
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.46.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Toshiya Kobayashi
> Priority: Major
>
> Support @Modifies for property reactivity in executable-model:
> e.g.)
> {code:java}
> public class Light {
> private boolean on;
> @Modifies( { "on" } )
> public void turnOn() {
> setOn(true);
> }
> ...
> {code}
> The issue is found in org.drools.mvel.integrationtests.VarargsTest.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months
[Red Hat JIRA] (DROOLS-6029) Unable to build project inserting and updating a fact of same rule running with an executable model
by Abhijit Humbe (Jira)
[ https://issues.redhat.com/browse/DROOLS-6029?page=com.atlassian.jira.plug... ]
Abhijit Humbe updated DROOLS-6029:
----------------------------------
Affects Version/s: 7.49.0.Final
> Unable to build project inserting and updating a fact of same rule running with an executable model
> ---------------------------------------------------------------------------------------------------
>
> Key: DROOLS-6029
> URL: https://issues.redhat.com/browse/DROOLS-6029
> Project: Drools
> Issue Type: Bug
> Components: core engine, executable model
> Affects Versions: 7.49.0.Final
> Reporter: Abhijit Humbe
> Assignee: Toni Rikkola
> Priority: Major
>
> Customer has rule which look like as:
>
> ~~~
> rule "Testrule"
> dialect "mvel"
> when
> then
> com.Employee e = new Employee();
> e.setId("1");
> insert( e );
> e.setName("abc");
> update( e );
> end
> ~~~
>
> If we try to build project it fails with below exception:
> ~~~
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.44.0.Final-redhat-00003:generateModel (default-generateModel) on project RuleIssue_02864136: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.44.0.Final-redhat-00003:generateModel failed.: RuntimeException -> [Help 1]
> [ERROR]
> ~~~
>
--
This message was sent by Atlassian Jira
(v8.13.1#813001)
5 years, 2 months