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

Retierate Command class hierarchy

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • L3 - Default
    • 2.7.0
    • None
    • backend
    • None

    Description

      AT:

      • the current command class hierarchy is reevaluated in terms of it it serves the current purpose well and redisgned where appropriate
      • all the parts of the command are modular and can be reuused
      • there is a command builder that reuuses the modules to build the command
      • every command is a chain of modules that is used to build the elasticsearch query and to extract the result from the Elastisearch query result
      • the command key generation is adjusted so that the configuration parameter do not depend on the view and group by

      Context:
      The current class hierarchy makes it hard to implement result type specific abstractions e.g. as the sorting done with https://github.com/camunda/camunda-optimize/pull/425.
      The command structure became confusing and hard to understand. Also the creation of the command is now using configuration fields which depend on the view/group by, which is really prone to errors.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            There are no Sub-Tasks for this issue.

            Activity

              People

                Unassigned Unassigned
                sebastian.bathke Sebastian Bathke
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce