Details
-
Enhancement
-
Resolution: Won't Do
-
Major
-
None
-
None
-
None
-
2021 Week 10-12 (from Mar 8)
-
Undefined
-
NEW
-
NEW
-
---
-
---
Description
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?