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

If NiFi Registry URL changes, flows containing inner versioned flows cannot be fetched

    XMLWordPrintableJSON

Details

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

    Description

      I was performing some testing of integration with NiFi Registry. I started with an insecure registry running on http://localhost:18080

      I created a simple dataflow, called 'Inner Flow'. I then versioned it. Afterwards I put its parent Process Group ('Outer Flow') under Version Control.

      Everything worked as expected. I then wanted to verify that things still worked when secured. I secured my registry, changing the URL to https://localhost:18443

      Unfortunately, this resulted in no longer being able to check out the flow 'Outer Flow'. It failed because when the flow was created, it stored the coordinates of 'Inner Flow' as http://localhost:18080/.... but now it can no longer find any Registry Client that can handle http://localhost:18080/... since the client has now been reconfigured to use the HTTPS based URL.

      Attachments

        Issue Links

          Activity

            People

              markap14 Mark Payne
              markap14 Mark Payne
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 1h 10m
                  1h 10m