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

Remove scrolling from the import of XMLs

XMLWordPrintable

      Context:
      For the import of decision/process XMLs, we go over the process definition index in Elasticsearch and fetch all definitions that don't have an XML yet. For those, we fetch the XMLs from the engine and then add an import job. As Optimize goes over the index regularly there's no point to use scrolling here.

      AT:

      • the process and decision definition XML import does not use Elasticsearch scrolling any longer

      Hint:
      There are (possibly) two options on how we could improve that:

      • We could just use simply perform a query over the definitions that don't have an XML and sorted by the date those definitions were imported to Elasticsearch. This way we could page over the result.
      • the process definition XML import iterates over the engine definitions sorted by deployment time and fetches the XML for each definition.

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              johannes.heinemann Johannes
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: