Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-10874

Multiple levels of versioned flows might not able to load from repository

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.20.0, 1.19.1
    • Core Framework
    • None

    Description

      With the refactoring of the registry (changing it to a component), several necessary change was done, including the "generification" of the way included versioned flows are handled (recognised).

      Previous implementation was depending on an URI, which was not descriptive enough for the new concept. Storage location has been introduced and now registry client implementations are capable for determine if they are capable to load a given flow based on this.

      As a fallback mechanism, the URI was kept for the NiFiRegistry based implementation. A bug has been introduced with this mechanism, namely: the ProcessGroupResouce#createProcessGroup method works with version information from the UI, which has no knowledge of this. In order to guarantee that the given information is stored during flow creation (here: loading flow from external source) we need to guarantee the transition of this information.

      Attachments

        Issue Links

          Activity

            People

              simonbence Simon Bence
              simonbence Simon Bence
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m