]
Mario Fusco updated DROOLS-5919:
--------------------------------
Sprint: 2021 Week 04-06 (from Jan 25) (was: 2020 Week 52-03 (from Dec 21))
KieServiceImpl is not exposing getter for kContainers map.
-----------------------------------------------------------
Key: DROOLS-5919
URL:
https://issues.redhat.com/browse/DROOLS-5919
Project: Drools
Issue Type: Enhancement
Components: core engine
Reporter: Tomasz Maciejewski
Assignee: Mario Fusco
Priority: Major
KieServiceImpl is not exposing getter for kContainers map.
The scenario description:
1) Client application creates kieContainers (not classpathKContainer)
2) Client application wants to update kieContainer to the new version
with updateToVersion
3) Currently it seems like there is *no* getter method exposed to retrieve an entry from
kContainers map by containerId, same like getKieClasspathContainer for the
classpathKContainer
Proposed solution (KieServiceImpl class):
_public KieContainer getKieContainer(String containerId) {_
_return kContainers.get(containerId);_
_}_
Is there any reason it is not exposed or it is possible to find it somewhere else?