Reduce redundancies in External Task Open API query endpoints

XMLWordPrintable

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

            Assignee:
            Unassigned
            Reporter:
            Tassilo Weidner-Mühl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: