Refactor user task commands and integration tests

XMLWordPrintable

    • Type: Task
    • Resolution: Won't Do
    • Priority: L3 - Default
    • 3.3.0-alpha1, 3.3.0
    • Affects Version/s: None
    • Component/s: backend
    • None
    • Not defined

      AT:

      • duplicated code in the user task duration/frequency commands and integration tests are being removed and only the changing parts are being kept

      Hint:
      It's already quite complicated to understand how the query is being build. Maybe we should think about a different way of executing the queries instead of adding to the complex structure.

      Affected components:

      • user task integration tests
      • user task commands
      • ProcessReportDataCreator
      • SingleReportEvaluator
      • ProcessReportDataBuilderHelper

      Possible refactorings:

      • Add report data creation to command itself
      • Add report builder class
      • Command is build up by a list of aggregation steps. Each step conatins buildAggregation and processAggregation methods

            Assignee:
            Unassigned
            Reporter:
            Johannes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: