[JBoss JIRA] (JGRP-1860) Custom classloader in RpcDispatcher
by Bela Ban (Jira)
[ https://issues.redhat.com/browse/JGRP-1860?page=com.atlassian.jira.plugin... ]
Bela Ban commented on JGRP-1860:
--------------------------------
Are you using JGroups directly? It shouldn't be difficult to port your app from 3.6 to 4.x.
{{Marshaller}} was moved out of {{RpcDispatcher}} into its own interface. {{UUID}} may not be backwards-compatible, but it should be trivial to change your subclass...
Note that running 3.6 and 4.x instances in the same cluster is not supported. You have to resort to an external package to make this happen: [1].
[1] https://github.com/jgroups-extras/RollingUpgrades
> Custom classloader in RpcDispatcher
> -----------------------------------
>
> Key: JGRP-1860
> URL: https://issues.redhat.com/browse/JGRP-1860
> Project: JGroups
> Issue Type: Feature Request
> Affects Versions: 3.2.13
> Reporter: Dennis Reed
> Assignee: Bela Ban
> Priority: Major
> Fix For: 3.4.5, 3.5
>
>
> RpcDispatcher is hard-coded to use JGroups' classloader when marshalling the users's custom objects over RPC.
> RpcDispatcher uses Util.objectFromByteBuffer to unmarshall, which uses an ObjectInputStream. ObjectInputStream uses the classloader of its caller's class (Util).
> RpcDispatcher does allow a custom marshaller to be used (implementing RpcDispatcher.Marshaller), but since Util.objectFromByteBuffer hard-codes the use of ObjectInputStream, a custom marshaller cannot simply set the classloader and then delegate back to the default JGroups code.
> Util.objectFromBuffer should be enhanced to use a custom ObjectInputStream implementation that overrides resolveClass to use a custom classloader, and an API should be added to RpcDispatcher to pass in the classloader to use.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 3 months
[JBoss JIRA] (DROOLS-4980) Parameter content type in swagger doc for /server/containers/{containerId}/scesim is application/json
by Anna Dupliak (Jira)
Anna Dupliak created DROOLS-4980:
------------------------------------
Summary: Parameter content type in swagger doc for /server/containers/{containerId}/scesim is application/json
Key: DROOLS-4980
URL: https://issues.redhat.com/browse/DROOLS-4980
Project: Drools
Issue Type: Bug
Components: Scenario Simulation and Testing
Affects Versions: 7.33.0.Final
Reporter: Anna Dupliak
Assignee: Daniele Zonca
Attachments: image-2020-01-27-10-09-23-636.png
Parameter content type in swagger doc for */server/containers/{containerId}/scesim* is only *application/json* but the expected body content that is *application/xml*
!image-2020-01-27-10-09-23-636.png|thumbnail!
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 3 months
[JBoss JIRA] (DROOLS-4979) Support static method invocation in accumulate
by Luca Molteni (Jira)
Luca Molteni created DROOLS-4979:
------------------------------------
Summary: Support static method invocation in accumulate
Key: DROOLS-4979
URL: https://issues.redhat.com/browse/DROOLS-4979
Project: Drools
Issue Type: Bug
Reporter: Luca Molteni
Assignee: Mario Fusco
{code:java}
@Test
public void testAccumulateOfDurationBetweenDateTime() {
final String drl =
"import java.time.Duration\n" +
"import " + Interval.class.getCanonicalName() + ";\n" +
"global java.util.List result; \n" +
"\n" +
"rule \"Rule1\"\n" +
"when\n" +
" $count : Number() from accumulate(\n" +
" Interval($start : start, $end : end), " +
" sum(Duration.between($start, $end).toMinutes()) " +
" ) " +
"then\n" +
" result.add($count);\n" +
"end\n";
List<Long> result = new ArrayList<>();
KieSession ksession = getKieSession(drl);
ksession.setGlobal("result", result);
ksession.insert(new Interval(
LocalDateTime.of(2020, 1, 22, 11, 43),
LocalDateTime.of(2020, 1, 22, 12, 43)
));
ksession.fireAllRules();
assertEquals(60, result.iterator().next().longValue());
}
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 3 months
[JBoss JIRA] (SWSQE-1057) Update pr jobs to use upstream-istio-pipeline
by Filip Brychta (Jira)
Filip Brychta created SWSQE-1057:
------------------------------------
Summary: Update pr jobs to use upstream-istio-pipeline
Key: SWSQE-1057
URL: https://issues.redhat.com/browse/SWSQE-1057
Project: Kiali QE
Issue Type: QE Task
Reporter: Filip Brychta
Assignee: Filip Brychta
PR jobs are running upstream-pipeline job which is using downstream maistra builds.
We need to use upstream-istio-pipeline for PRs targeting master branch.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 3 months
[JBoss JIRA] (ELY-1926) Move wildfly-elytron-password-impl dependency in client from test scope to compile scope
by Diana Vilkolakova (Jira)
Diana Vilkolakova created ELY-1926:
--------------------------------------
Summary: Move wildfly-elytron-password-impl dependency in client from test scope to compile scope
Key: ELY-1926
URL: https://issues.redhat.com/browse/ELY-1926
Project: WildFly Elytron
Issue Type: Bug
Reporter: Diana Vilkolakova
Assignee: Diana Vilkolakova
When using WebServicesClientConfigProviderImpl class from wildfly-elytron-client exception is thrown:
class configured for PasswordFactory (provider: WildFlyElytronPasswordProvider) cannot be found. org.wildfly.security.password.impl.PasswordFactorySpiImpl
This issue is to fix this.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 3 months
[JBoss JIRA] (DROOLS-4978) Improve test coverage for PMML integration
by Jiri Petrlik (Jira)
Jiri Petrlik created DROOLS-4978:
------------------------------------
Summary: Improve test coverage for PMML integration
Key: DROOLS-4978
URL: https://issues.redhat.com/browse/DROOLS-4978
Project: Drools
Issue Type: Task
Components: core engine
Affects Versions: 7.33.0.Final
Reporter: Jiri Petrlik
Assignee: Jiri Petrlik
Fix For: 7.33.0.Final
Improve test coverage by testing more machine learning models:
* Naive Bayes
* Neural networks
* k-Nearest Neighbors
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 3 months