Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-5919

KieServiceImpl is not exposing getter for kContainers map.

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Major
    • None
    • None
    • core engine
    • 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?

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            tomasz.maciejewski.rationaltechs Tomasz Maciejewski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: