Uploaded image for project: 'Camunda Operate'
  1. Camunda Operate
  2. OPE-913

Migration tries to put empty pipeline definitions in Elasticsearch

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: backend
    • Labels:

      Description

      Bug description

      If migration has no pipeline files then the migration script tries to put a pipeline definition with empty content.  

      Steps to reproduce the behavior

      Run migrate.sh without pipeline folder or empty pipeline folder

      Expected behavior

      Migration script should not create empty pipeline definitions.

      Environment and Additional Information

      Error message from elasticsearch response:

      -------------------------------
      Create pipeline *
      -------------------------------
      {"error":{"root_cause":[{"type":"parse_exception","reason":"request body or source parameter is required"}],"type":"parse_exception","reason":"request body or source parameter is required"},"status":400}
      

        Attachments

          Activity

            People

            Assignee:
            svetlana.dorokhova Svetlana Dorokhova
            Reporter:
            ralf.puchert Ralf Puchert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: