Refactor base query for ProcessVariableQueryFilter class

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: 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

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

                Created:
                Updated: