Julien Ledoux created NIFI-13679:
------------------------------------

             Summary: NIFI CLI create-reg-client should be capable of handling 
GitHubFlowRegistryClient
                 Key: NIFI-13679
                 URL: https://issues.apache.org/jira/browse/NIFI-13679
             Project: Apache NiFi
          Issue Type: Improvement
         Environment: Official Docker Images 2.0.0-M4 (NiFi, NiFi Registry, 
NiFi Toolkit) running on Ubuntu 22.04.4 LTS and Docker v27.0.3
            Reporter: Julien Ledoux


This ticket concerns the {{bin/cli.sh nifi create-reg-client}} and 
{{update-reg-client}} commands.

While attempting to automate the provisioning of 
NifiRegistryFlowRegistryClient(s) and GitHubFlowRegistryClient(s), I noticed 
that the available options in the NiFi CLI do not fully support the necessary 
configurations for GitHub.

I tried using the {{--properties}} option to see if I could create a 
{{GitHubFlowRegistryClient}} this way. While it is possible to change the 
registry client type to {{{}GitHubFlowRegistryClient{}}}, the CLI doesn't allow 
configuring all the specific properties—only those it shares with 
{{{}NifiRegistryFlowRegistryClient{}}}.

It would be highly beneficial to have the ability to manage this type of 
registry client in the same way as {{{}NifiRegistryFlowRegistryClient{}}}.

It seems that the DTO object does support all the GitHub-specific properties, 
but the command currently only passes four properties to the DTO: name, 
description, type, and URL.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to