KieRepository holds the old versions of KieModule forever (Bug DROOLS-381).The fix for this bug is that old version can be explicity removed with a call KieRepository.removeKieModule(ReleaseId oldVersionReleaseId)
.
When there is a KieScanner registered to scan for new versions of releaseId, does that implicitly call kieRepo.removeKieModule(oldVersion)
?
If not, is there any events published by KieScanner that releaseId has been upgraded, so that we can explicitly call kieRepo.removeKieModule