mirror of
https://github.com/apache/nifi.git
synced 2025-02-08 02:58:43 +00:00
NifiRegistryFlowRegistryClient defines the PropertyDescriptor PROPERTY_URL name as small case "url". The map bases on the name property of the PropertyDescriptor object. Here searching with uppercase value of "URL" causes the map lookup to fail and cause a NPE later on. Therefore, it is changed as "url" NIFI-10787 - Added constant for property descriptor "url" in NiFiRegistryFlowMapper to make it more clear. NIFI-10787 - Added change to unit test. NIFI-10787 - Updated unit test to validate that NiFi registry url is being set and retrieved. Signed-off-by: Nathan Gough <thenatog@gmail.com> This closes #6655.