Gabriele Cardosi created DROOLS-5722:
----------------------------------------
Summary: Fix ServiceDiscoveryImpl.reset
Key: DROOLS-5722
URL:
https://issues.redhat.com/browse/DROOLS-5722
Project: Drools
Issue Type: Bug
Reporter: Gabriele Cardosi
Assignee: Gabriele Cardosi
In one of the last PR a
{code:java}
PriorityMap
{code}
has been implemented inside
{code:java}
org.kie.api.internal.utils.ServiceDiscoveryImpl
{code}
But this map is not updated/reset from
{code:java}
org.kie.api.internal.utils.ServiceDiscoveryImpl.reset()
{code}
and that lead to unconsistent situation: _cachedServices_ are removed but they can't
be repopulated, because an exception is thrown at
https://github.com/kiegroup/droolsjbpm-knowledge/blob/3b8c6100f2544987923...
This ticket should add a "reset" method inside PriorityMap, and call it inside
{code:java}
org.kie.api.internal.utils.ServiceDiscoveryImpl
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)