Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-2005

DependencyResolver should update dependencies once for all given items

    XMLWordPrintable

Details

    • Fix
    • Status: Approved (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.7.3
    • 2.7.4
    • None
    • None

    Description

      Current Situation

      Currently the DependencyResolver is called internally in the JocInventory.insert or JocInventory.update methods for single items. Those methods are used by different apis, e.g. copy, import, store, restore from trash, git - update from repository

      The DependencyResolver runs in its own thread with its own database connection to not slow down the parent api calls. The DependencyResolver should not be coupled with those methods, as it occupies a lot of database connections, depending on the item count, which results in the database becoming unresponsive until the connections a freed up again.

      Desired Behavior

      When the parent apis are finished with their own processing the DependencyResolver has to be called with the collection of items the parent apis have processed. The DependencyResolver has to be removed from the JocInventory.insert and JocInventory.update methods for single items.

      Attachments

        Activity

          People

            sp Santiago Aucejo Petzoldt
            sp Santiago Aucejo Petzoldt
            Oliver Haufe Oliver Haufe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: