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

Reduce redundancies in External Task Open API query endpoints

    XMLWordPrintable

Details

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

    Description

      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

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:

                  Salesforce