GitHub user aperepel opened a pull request:
https://github.com/apache/nifi/pull/2465
Broaden support for input, now supports both local files _and_ any public
URL with a schema recognized by Java runtime.
Assume UTF-8 charset by default for now. In theory would be possible to add
more (sigh!) switches to specify a charset, but not sure it's worth it until we
get further confirmation of the need.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aperepel/nifi import-from-url
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/2465.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 #2465
----
commit f97df47034346cebf9b5c7bbac2144273c0edc4c
Author: Bryan Bende <bbende@...>
Date: 2018-01-22T15:31:15Z
Initial plumbing for new NiFi Registry toolkit tool
- Setting up command framework
- Check point for get-flow-version command
- Working get-flow-version
- Working commands for ListBuckets and CreateBucket
- Adding more commands
- Adding support for properties files and secure connections with
certificates
- Adding JLine to make a shell
- Cleaning up JLine integration
- Adding support for executing single commands, renaming to CLI
- Adding command groups to organize commands based on target area
- Refactoring how command options are setup
- Refactoring how NiFiRegistryClient is created to make it easier to test
and to support proxied entities
- Implementing custom completer
- Working NiFI commands for listing, adding, and updating Registry Clients
- Refactoring to create an overall CLI context to pass around with a
session, and adding session commands
- Making use of session properties file for NiFi and NiFiReg commands
- Working import-pg command for NiFi
- Adding current user commands and session clear
- Reorganizing packages, refactoring to separate API
- Adding persistent session
- Adding commands for pg-start, pg-stop, and pg-get-vars, and a basic README
- Fixes #17 - Only print session info when interactive
- Fixes #20 - Making all create commands return a single id value for easy
use in automation or copying/pasting
- Fixes #19 - Removing name from the options of pg-import since it should
use the name from registry
- Fixes #16 - Making flow version optional when exporting, if not specified
then the latest will be exported
- Fixes #18 - Removing flow version arg from import-flow-version,
automatically determining next one-up version
- Fixes #21 - Removing bucket id from export/import and automatically
determining it
commit 56b2c2a4edf08ba4e0c8de153fb5d78cdc744212
Author: Andrew Grande <aperepel@...>
Date: 2018-02-05T16:42:31Z
#24 rename the registry group to `registry` for better UX (#25)
commit 0eede186f1a626221271b2671fdfbb9f404177ed
Author: Bryan Bende <bbende@...>
Date: 2018-02-05T16:48:33Z
- Fixing completer unit test
- Fixes #29 - Adding pg-get-version, pg-get-all-versions, pg-change-version
- Adding info the Context to know if we are in interactive mode
commit 0e0b8cbf1ded78f61bfdb040aea43daa8537997e
Author: Andrew Grande <aperepel@...>
Date: 2018-02-05T22:33:28Z
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 7844927a490d14d9b8af3d029e06432eda09b42c
Author: Bryan Bende <bbende@...>
Date: 2018-02-07T14:42:20Z
- Modifying how the process group box is calculated. This closes #31
- Adding command to get the id of a registry client by name
- Fixes #28 - Refactoring how results are written to support option of
simple or json output
- Fixes #30 - Adding pg-set-var command
commit aa9dc3fd662eb587fbcf9089a10a3a06c46a5e1f
Author: Bryan Bende <bbende@...>
Date: 2018-02-09T15:45:03Z
Fixes #27 - Added pg-list command
commit 6af1505b053036797dd8b7e2662b8715e6379580
Author: Bryan Bende <bbende@...>
Date: 2018-02-09T19:26:02Z
Fixes #32 - Added getDescription to every command and prints when asking
for help on a command
commit 3ce95cd433a27a366799f9091971ef3cbf84ed60
Author: Bryan Bende <bbende@...>
Date: 2018-02-09T21:49:11Z
Adding verbose out to help command to print description for every command
commit 0cc85e91c4d7b99e40f4a087507638ddbf09a72c
Author: Andrew Grande <aperepel@...>
Date: 2018-02-10T15:08:33Z
The handling of empty canvas got lost in the merge, causing errors with a
new NiFi instance.
commit 9dbc6277eb571968826612ed82f6b27100178451
Author: Andrew Grande <aperepel@...>
Date: 2018-02-10T21:31:00Z
Broaden support for input, now supportes both local files _and_ any public
URL with a schema recognized by Java runtime.
----
---