[ 
https://issues.apache.org/jira/browse/NIFI-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16367590#comment-16367590
 ] 

ASF GitHub Bot commented on NIFI-4839:
--------------------------------------

GitHub user bbende opened a pull request:

    https://github.com/apache/nifi/pull/2477

    NIFI-4839 Adding CLI to nifi-toolkit

    For whoever reviews this, I'd like to preserve the commit history to retain 
the contributions for each individual. I've already squashed down to the 
minimum set of commits.
    
    There is a quite a lot of code in this PR, but it is all under nifi-toolkit 
for adding a new CLI module. I would expect the review to focus more on the 
functional aspects, as I realize it would be a bit much to go through all of 
the code. 
    
    The README file under nifi-toolkit/nifi-toolkit-cli should provide a good 
overview of the CLI and how to get started using it.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bbende/nifi nifi-registry-toolkit

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/2477.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2477
    
----
commit 066eb798e0909b2dc6f08ffdb32e6910fe421824
Author: Bryan Bende <bbende@...>
Date:   2018-01-22T15:31:15Z

    NIFI-4839 Creating nifi-toolkit-cli to provide a CLI for interacting with 
NiFi and NiFi Registry

commit 41846a7e0b5685a51b59df2e1a468acf5a2ad393
Author: Andrew Grande <aperepel@...>
Date:   2018-02-05T16:42:31Z

    NIFI-4839 - Rename the registry group to `registry` for better UX

commit 34f8555cde8d1a80b0d15a8529691b391c786dc1
Author: Bryan Bende <bbende@...>
Date:   2018-02-05T16:48:33Z

    NIFI-4839 - Fixing completer unit test
    - Added pg-get-version, pg-get-all-versions, pg-change-version
    - Added info the Context to know if we are in interactive mode

commit ea0f22e760ea594f1b3cdba44f19f3ad3393c888
Author: Andrew Grande <aperepel@...>
Date:   2018-02-05T22:33:28Z

    NIFI-4839 - Implemented auto-layout when importing the PG. Will find an 
available spot on a canvas which doesn't overlap with other components and is 
as close to the canvas center as possible.

commit 8c82c2cc46047c1d51845f391530dddc11e4ce08
Author: Bryan Bende <bbende@...>
Date:   2018-02-07T14:42:20Z

    NIFI-4839
    - Modified how the process group box is calculated
    - Adding command to get the id of a registry client by name
    - Refactoring how results are written to support option of simple or json 
output
    - Added pg-set-var command
    - Added pg-list command
    - Added getDescription to every command and prints when asking for help on 
a command
    - Adding verbose out to help command to print description for every command

commit b50ca0c762374d954d8cdeddd367ade0d26a663d
Author: Andrew Grande <aperepel@...>
Date:   2018-02-11T14:53:05Z

    NIFI-4839 - Support both public URLs and local files as inputs for import 
actions.
    - The handling of empty canvas got lost in the merge, causing errors with a 
new NiFi instance.
    - Broaden support for input, now supportes both local files _and_ any 
public URL with a schema recognized by Java runtime.

commit 5aac940d248cdaceceb943ac5309f9be57b4fdf4
Author: Bryan Bende <bbende@...>
Date:   2018-02-11T16:13:18Z

    NIFI-4839 - Updating README and cleaning up descriptions and comments
    - Making registryClientId optional and auto selecting when only one is 
available
    - Added delete-bucket command
    - Added delete-flow command for registry

commit e57a14ca83d5ea6e050c7ae3e6624225aaec2809
Author: Andrew Grande <aperepel@...>
Date:   2018-02-12T17:18:14Z

    NIFI-4839 - Implemented nice dynamic table output for all list-XXX commands 
(in simple mode)
    - Better output formatting for 'registry list-buckets'
    - Implemented dynamic table formatting for 'registry list-XXX' commands
    - Implemented dynamic table formatting for 'nifi list-registry-clients' 
command
    - Implemented dynamic table formatting for 'nifi list-registry-clients' 
command
    - Better handling of non-null, but empty descriptions and commit messages

commit 97765bb28f68f13f8ee3210736b6b91d3a210494
Author: Bryan Bende <bbende@...>
Date:   2018-02-12T19:19:12Z

    NIFI-4839 - Added abbreviation in simple output for name, description, and 
comments
    - Refactored so that commands produce a result which can then be written or 
used
    - Added support for back-referencing results, initially prototyped by 
Andrew Grande
    - Fixed dynamic table layout when writing simple results
    - Added a new command group called 'demo' with a new 'quick-import' command
    - Fixes/improvements after previous refactoring
    - Created a reusable TableWriter and updating a few result classes to use it

commit e8e61b09d70e06ec72e314c0e89e3a355c427dc7
Author: Andrew Grande <aperepel@...>
Date:   2018-02-14T20:25:55Z

    NIFI-4839 - Fixed handling of a connection object position - it doesn't 
have one and just returns null (calculated by the UI dynamically)

commit d7e7919399b395b19445a6a0c7111cc53d0b3d5d
Author: Bryan Bende <bbende@...>
Date:   2018-02-15T13:34:59Z

    NIFI-4839 - Switching standalone mode to default to simple output
    - Added pg-status command and improved output of pg-list
    - Setting up back-refs for pg-list and using table layout for pg-get-vars 
and pg-get-version
    - Only print usage on errors related to missing/incorrect options

commit cf66f78999499c2016803a53f3ae3ee8467921c4
Author: Andrew Grande <aperepel@...>
Date:   2018-02-15T18:47:07Z

    NIFI-4839 - The "Disabled" column had incorrect size and skewed the header

commit a19fb6a54481d79763091722593d68598902a5a5
Author: Bryan Bende <bbende@...>
Date:   2018-02-15T22:18:48Z

    NIFI-4839 Improving back-ref support so that ReferenceResolver is passed 
the option being resolved
    - Adding ResolvedReference to encapsulate the results of resolving a 
back-reference.
    - Update README.md

----


> Create a CLI in NiFi Toolkit to interact with NIFi Registry/deploy flows
> ------------------------------------------------------------------------
>
>                 Key: NIFI-4839
>                 URL: https://issues.apache.org/jira/browse/NIFI-4839
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Bryan Bende
>            Assignee: Bryan Bende
>            Priority: Major
>
> Now that we have NiFi Registry and the ability to import/upgrade flows in 
> NiFi, we should offer a command-line tool to interact with these REST 
> end-points. This could part of NiFi Toolkit and would help people potentially 
> automate some of these operations.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to