Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-2138

Resolve circular circular dependency between the ReportService and SharingService

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.5.0, 2.5.0-alpha1
    • Component/s: backend
    • Labels:
      None

      Description

      AT:

      • there is no circular dependency between the ReportService and the SharingService
      • the beans are initialized using the constructor
      • the direct autowiring of the fields has been removed

      Context:
      The ReportService depends on the SharingService and vice versa. This has serveral issues:

      • it is bad practice
      • it's hard to read/understand the code
      • we can't use the constructors to initialize the beans

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            johannes.heinemann Johannes Heinemann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: