Consolidate duplicated code for definition removal from deployment cache

XMLWordPrintable

    • Type: Task
    • Resolution: Won't Fix
    • Priority: L3 - Default
    • None
    • Affects Version/s: 7.15.0
    • Component/s: engine
    • None

      What is the problem?

      The DeploymentCache.removeDeployment method (https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/persistence/deploy/cache/DeploymentCache.java#L310-L319) performs the same functionality as part of the DeploymentManager.deleteDeployment method (https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/persistence/entity/DeploymentManager.java#L126-L129).

      AC:
      Reduce code duplication for the following features:

      • Remove definitions from CmmnModelInstanceCache by deployment id;
      • Remove definitions from DmnModelInstanceCache by deployment id;
      • Remove DecisionRequirementsDefinitions for a deployment;

      Hints (optional):
      The duplication was reported in CAM-13205 and PR 1365.

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Nikola Koevski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: