Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-11748

Reduce redundancies in External Task Open API query endpoints

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • engine

      Problem

      In the Open API Freemarker abstraction, there are two places where the same information must be added when extending the External Task query with a new criterion:

      • engine-rest/engine-rest-openapi/src/main/templates/models/org/camunda/bpm/engine/rest/dto/runtime/externaltask/ExternalTaskQueryDto.ftl
      • engine-rest/engine-rest-openapi/src/main/templates/lib/commons/external-task-query-params.ftl

      Reasoning
      It is likely that the information in both places diverge in the future

      Solution
      Consolidate the redundant information to a central place

      Hint
      It affects not only the External Task Entity; All files located under engine-rest/engine-rest-openapi/src/main/templates/lib/commons/*-query-params.ftl might have redundancies

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              tassilo.weidner Tassilo Weidner
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: