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

Split Definitions grouped by version and tenant into dedicated endpoints

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.0
    • Component/s: backend, frontend
    • Labels:
    • Effort:
      Not defined

      Description

      Context:
      With OPT-3428 we allowed for more than 10k definitions (byKey) to exist by paging through them with a page size of 1k. But as seen in the support ticket SUPPORT-7320 depending on the amount and distribution of versions and tenants across definitions the default bucket size limit of 10k can still get hit with a single call of /api/definition/:type/definitionVersionsWithTenants.

      Given the nested aggregations used here we cannot fully control the number of buckets returned in total. We should thus split up the retrieval of definitions keys, available versions for a definitionKey as well as available tenants for the combination of both. This way we always have a single dimension of buckets we can properly limit and page through.

      AT:

      • the endpoint /api/definition/:type/definitionVersionsWithTenants. is split up into three endpoints:
        • one to retrieve available definition keys along with their names
        • one to retrieve available versions for a particular definition key along with their versionTags
        • one to retrieve available tenants for a specific definitionKey and a list of versions
      • the definition selection in the report builder as well as in the event based process data source selection is switched to these new endpoints

        mgm-controller-panel

        This is the controller panel for Smart Panels app

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                sebastian.bathke Sebastian Bathke
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Salesforce