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

Refactor base query for ProcessVariableQueryFilter class

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • backend
    • Not defined

      AT:

      • in the ProcessVariableQueryFilter class the query to filter out the name and type of a variable is moved to a single code snippet

      Context:
      For each variable type a separate query to Elasticsearch is build, but for each query we always do the same query to filter filter for the variable name and type, e.g.:

      boolQuery()
            .must(termQuery(getNestedVariableNameField(), dto.getName()))
            .must(termQuery(getNestedVariableTypeField(), dto.getType().getId()));
      

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              johannes.heinemann Johannes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: