Dominique Jean-Prost created NIFI-11057:
-------------------------------------------
Summary: Allow docker user to add a nar provider of type
nifi-registry
Key: NIFI-11057
URL: https://issues.apache.org/jira/browse/NIFI-11057
Project: Apache NiFi
Issue Type: Improvement
Affects Versions: 1.19.1
Reporter: Dominique Jean-Prost
As a docker user, I cannot give a value for
{{{}nifi.nar.library.provider.nifi-registry{}}}.
There is currently no ENV variable to do so.
So this jira would need to add a new function in {{common.sh}} to allow to add
a property line in a file. The existing 2 functions are {{prop_replace}} and
{{{}uncomment{}}}. I suggest adding a {{prop_add}} to allow adding a property.
Then if the suggested env variable
{{NIFI_NAR_LIBRARY_PROVIDER_NIFI_REGISTRY_URL}} is set, then create two lines
{code:java}
nifi.nar.library.provider.nifi-registry.implementation=org.apache.nifi.registry.extension.NiFiRegistryNarProvider
nifi.nar.library.provider.nifi-registry.url= value of
NIFI_NAR_LIBRARY_PROVIDER_NIFI_REGISTRY_URL
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)