Commit Graph

6608 Commits

Author SHA1 Message Date
exceptionfactory 4d5f33804b
NIFI-12765 Removed Apache Ranger modules
This closes #8389

- Removed nifi-ranger-bundle modules
- Removed nifi-registry-ranger modules

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-02-14 17:11:50 -07:00
exceptionfactory fcaaa566e8
NIFI-12793 Removed deprecated nifi-spark-bundle
This closes #8409

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-02-14 17:10:50 -07:00
Rob Fellows 2792aa7038
[NIFI-12754] - Flow Configuration History (#8399)
* [NIFI-12754] - Flow Configuration History
* support selection
* support pagination
* support sorting
* added time controls, also updated provenance to use them too
* allow for clearing of filters
* use date range filter
* more details dialog for flow config history
* support purge history

* review feedback - use snackbar error where intended, add padding between header and page content

* don't use route for flow config history item selection

* Address review feedback

* remove unused style

* Review feedback * initial query is for the last 2 weeks * added timezone to purge confirmation message * reset pagination state on filter, clear filter, and purge * only resubmit query when filter by changes IF there is a filter term specified

This closes #8399
2024-02-14 16:35:58 -05:00
Scott Aslan 22de416ffc
[NIFI-12774] configure RPG (#8398)
* [NIFI-12774] configure RPG

* address review feedback

* conditionally dispatch selectComponents action

This closes #8398
2024-02-14 12:52:01 -05:00
Alex Ethier e03329e01f
NIFI-12739 - Import ProcessPoolExecutor to fix bug in python 3.9+ (#8357)
* NIFI-12739 Import ProcessPoolExecutor to fix bug in python 3.9+ that causes
Exceptions to be raised incorrectly in multi-threaded applications
(https://bugs.python.org/issue42647)

* Removed extraneous whitespace.
2024-02-14 12:50:01 -05:00
Matt Gilman da8f86b7e7
NIFI-12767: Error handling in Provenance and Lineage (#8386)
* NIFI-12767:
- Error handling in Provenance and Lineage.

* NIFI-12767:
- Addressing review feedback.

* NIFI-12767:
- Restoring empty initial state for completed request that allows showing a banner error over an empty table instead of an empty page.

* NIFI-12767:
- Restoring error state to ensure that the loading spinner stops on error.

This closes #8386
2024-02-14 11:11:26 -05:00
Peter Turcsanyi 9ba68edb5f
NIFI-12766 Fixed Region handling for AWS Assume Role Credentials
This closes #8382

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-12 18:05:09 -06:00
Pierre Villard ecd6ed48a9
NIFI-12755 Upgraded Jetty from 12.0.5 to 12.0.6
- Refactored WebSocket Test Listener to avoid method visibility problem

This closes #8374

Co-authored-by: David Handermann <exceptionfactory@apache.org>
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-12 17:43:01 -06:00
Scott Aslan 25e24e0377
[NIFI-12759] go to RPG (#8378)
This closes #8378
2024-02-12 18:20:40 -05:00
lehelb d1af7ef0c5
NIFI-12781 Removed File Location from Provenance UPLOAD event
This closes #8397

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-12 16:31:41 -06:00
Scott Aslan 14fcc42d16
[NIFI-12758] create remote process group (#8376)
* [NIFI-12758] create remote process group

* address review feedback

* update unit test

This closes #8376
2024-02-12 15:27:14 -05:00
lehelb bf86103abf
NIFI-12775: Renamed provenance/FileResource to ProvenanceFileResource
This closes #8392.

Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
2024-02-12 08:52:24 +01:00
Peter Turcsanyi b6b0b241c3
NIFI-12769 Updated copyright year to 2024 in NOTICE file headers
This closes #8384.

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-02-09 14:23:39 -07:00
David Handermann e93fb17b66
NIFI-12768 Removed unstable filename assertion in TestListFile (#8383) 2024-02-09 16:00:22 -05:00
David Handermann 2ea4838157
NIFI-12764 Removed Commons Codec and Lang3 from security-utils (#8380) 2024-02-09 16:00:06 -05:00
Rob Fellows 7dc696ecdc
[NIFI-12665] fetch parameter provider parameters (#8367)
* [NIFI-12665] - fetch parameter provider parameters
* add permissions checks to parameter provider table actions for edit, delete, and fetch.
* error handling
* routing to fetch parameter provider dialog
* list the parameter groups
* parameter sensitivity selction/deselection
* show banner error if any affected/referencing components are not readable and writeable
* add indicators to parameters for changed, new, removed, ...
* refactored parameter-references component to the common area. leveraged it in the fetch dialog.
* validate the fetch form
* submit the fetch parameter provider parameters

* make the async update step completion icon color theme-aware

* add missing license header

* fixes for the initial round of review comments

* fixing issues found in review

* fix registry clients test

* stop polling when there is an api error

* use sort and join pipes in a couple of more places.

* protect references to parameter provider in the context for read permissions

* when full screen error is triggered, close any open dialog with the 'ROUTED' result to prevent unintended afterClosed actions taking place (like re-selection)

* handle fetch parameter provider error

* remove TODO comments

* call fullScreenError correctly

This closes #8367
2024-02-09 13:19:12 -05:00
Scott Aslan 16eadc88da
[NIFI-12746] keep search field open on backdrop click (#8372)
This closes #8372
2024-02-09 10:37:27 -05:00
Peter Turcsanyi d5206b1ddd
NIFI-12736 Fixed migration of credential properties in AWS processors
This closes #8353

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-09 08:39:29 -06:00
Matt Gilman 439c59e733
NIFI-12742: Error Handling in Summary, Users, and Queue Listing (#8366)
- Error handling in Users.
- Error handling in Summary.
- Error handling in Queue Listing.
- Addressing review feedback.
- Dispatching delete success to ensure the active request is reset upon completion.

This closes #8366
2024-02-09 09:37:07 -05:00
Mark Payne 4094c7f599
NIFI-12740 Fixed Threading Bug with Java to Python Bound Objects
Fixed a threading bug where Java makes a call to Python, Python create a Java object to return (ArrayList), Python returns the object and then cleans it up, notifying Java to remove it from 'bound objects', and then Java process the response and returns a null object because it's no longer bound

This closes #8356

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-09 08:34:49 -06:00
tpalfy 49e599385d
NIFI-12696 Added Component Type to Rule Violations for Authorization
RuleViolations (these objects only reside in memory only) now contain the type of the component that is responsible for the violation. This is used in StandardNiFiServiceFacade to fix and improve the authorization logic.

This closes #8318

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-09 08:27:43 -06:00
Mark Payne 5f534dcc42
NIFI-12710 Support microsecond precision for Timestamp Record fields
- PutDatabaseRecordIT supports operating systems with either nanosecond or microsecond precision

This closes #8332

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-09 08:19:51 -06:00
Bence Simon a519585b02
NIFI-12236 Improved Fault Tolerance in QuestDB Status Repository
- Moved QuestDB components to nifi-questdb-bundle

This closes #8152

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-08 17:27:05 -06:00
Rajmund Takacs 85dc637a96 NIFI-12745: Fix AvroReader silently dropping malformed records
This closes #8361.

Signed-off-by: Tamas Palfy <tpalfy@apache.org>
2024-02-08 19:21:13 +01:00
lehelb 6a007f9159
NIFI-12270 Added UPLOAD Provenance Event Type to nifi-api
This closes #8094

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-08 08:16:46 -06:00
Scott Aslan 43276acf55
[NIFI-12748] apply panelClass to snackbars to apply lighter color to … (#8365)
* [NIFI-12748] apply panelClass to snackbars to apply lighter color to the snackbar action text

* hover color for snackbar action button

* updates based on https://github.com/angular/components/issues/11426

This closes #8365
2024-02-07 15:23:26 -05:00
Matt Gilman 7ec2dd07c9
NIFI-12734: Import from Registry (#8354)
* NIFI-12734:
- Import from Registry.

* NIFI-12734:
- Providing better guidance when there are no registry clients available based on user permissions.
- Showing form validation errors when there are no buckets or no flows.

This closes #8354
2024-02-07 12:02:13 -05:00
Umar Hussain e00d2b6d5e
NIFI-12708: add option in UnpackContent to specify encoding charset for filenames in zip unpacking
This closes #8350

The processor can now take a filename encoding parameter and pass it to zip unpacking. This will allow
user to unzip files with specific encoding to get correct filenames in output.

This for example help with zip files created on Windows which by default uses Cp437 for filename encoding.
If the filename contains special character like German alphabet ä, ü etc., decoding this with Linux's
default encoding usually UTF8 output will contain `?` in it. When the same file is processed with property
set with `Cp437`, the processor outputs correct filenames with special characters preserved.

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-02-07 09:56:21 -07:00
Scott Aslan f39f3ea252
[NIFI-12727] Detect theme based on OS setting, allow user override (#8352)
* [NIFI-12727] Detect theme based on OS setting, allow user override

* update storage service types, introduce theming service for user selection of theme settings

* review feedback, update menu option disaplay names, update storage service types, delete expired local storage items on init

* check for existence of window.matchmedia

* rebase and address review comments

This closes #8352
2024-02-07 08:26:07 -05:00
Scott Aslan 72f6d8a680
[NIFI-12747] correct theming references (#8364)
This closes #8364
2024-02-06 16:08:01 -05:00
Matt Gilman 13c70c0f30
NIFI-12737: Removing all transitions when updating the Canvas transform (#8355)
* NIFI-12737:
- Recording last canvas URL in local storage.
- Using last canvas URL in global menu Canvas item.
- Conditionally applying transitions when centering components.
- Always applying transitions during zoom events (1:1, fit, zoom in/out).
- Adding support to center more than one component.

* NIFI-12737:
- Fixing bug when attempting to click on the search result of the currently selected component.
- Handling centering of a single selection different from a bulk selection as it performs betters with Connections.

This closes #8355
2024-02-06 15:04:35 -05:00
Matt Gilman 91f339bf0f
NIFI-12743: (#8358)
- Updating property editing so that Shift-Enter inserts a new line and Enter commits the edit.
- Fixing bug that prevented deleting a Property and then re-adding a new Property with the same name.

This closes #8358
2024-02-06 10:49:10 -05:00
Peter Turcsanyi 8f63e928a9 NIFI-12732 ListS3 resets its tracking state after configuration change
This closes #8348.

Signed-off-by: Tamas Palfy <tpalfy@apache.org>
2024-02-06 14:52:16 +01:00
Matt Gilman 82c7cf65b5
NIFI-12723: Error Handling in Settings, Bulletin Board, and Counters (#8349)
* NIFI-12723:
- Error handling in General and Flow Analysis Rules.
- Fixed saving flag in management Controller Service listing.

* NIFI-12723:
- Error handling in Reporting Tasks and Registry Clients.

* NIFI-12723:
- Error handling in Bulletin Board.

* NIFI-12723:
- Error handling in Counters.

* NIFI-12723:
- Fixing lint issues.

* NIFI-12723:
- Addressing review feedback.

This closes #8349
2024-02-06 08:13:22 -05:00
mr1716 00e5b454ab
NIFI-12728 Upgraded brotli4j from 1.13.0 to 1.16.0
This closes #8343

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-02 16:31:02 -06:00
mr1716 f70db0d235
NIFI-12729 Upgraded unboundid-ldapsdk from 6.0.10 to 6.0.11
This closes #8344

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-02 16:29:28 -06:00
mr1716 6d55e772c1
NIFI-12730 Upgraded Spring Integration from 5.5.18 to 5.5.20
This closes #8345

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-02 16:28:44 -06:00
Mark Payne e16286ef40
NIFI-12707 Allow LookupRecord to operate on multiple child-records
- In order to accommodate this, also needed to improve DataTypeUtils so that it knows that Record A is wider than Record B if Record A contains all fields of Record B and more.

- Removed unit tests and resources that are overly complex and no longer applicable
- Fixed issue in unit test based on different line endings between operating systems

This closes #8331

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-02 16:24:43 -06:00
mr1716 12531ef206
NIFI-12726 Update commons-email to 1.6.0
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8342.
2024-02-02 09:09:39 +04:00
Matt Burgess 2f42b44efa
NIFI-12731: Ensure state is updated in GetHBase whenever the session is committed
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8346.
2024-02-02 09:05:44 +04:00
Scott Aslan c6f1d771e8
[NIFI-12698] dark mode, [NIFI-12687] status history axis label fix (#8320)
* [NIFI-12698] dark mode, [NIFI-12687] status history axis label fix

* prettier

* lint fix

* update input form field styles to support dark mode

* adjust colors of flow status icons, and PG status icons, and softened the warn palette. Fix background of status history charts in dark mode

* fix provenance text color in dark mode

* leave the toggle for dark mode always visible to encourage testing

This closes #8320
2024-02-01 16:59:43 -05:00
mr1716 d5ed02ec59
NIFI-12715 Updated Snowflake SDKs
This closes #8335.

Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
2024-02-01 20:23:40 +01:00
Mark Payne a587bad711
NIFI-12675 Fixed custom Relationships with Python Processors
Fixed bug that caused custom Relationships not to work on Python Processors. Added unit test to verify. Also addressed issue in PythonControllerInteractionIT where it did not wait for Processors to become valid (originally this wasn't necessary but when we refactored Processors to initialize in the background this was overlooked).

This closes #8316

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-01 11:55:24 -06:00
mr1716 325a5a8043
NIFI-12719 Upgraded metrics-core from 4.2.22 to 4.2.25
This closes #8339

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-01 11:50:10 -06:00
mr1716 41817d8088
NIFI-12718 Upgraded greenmail from 1.6.14 to 1.6.15
This closes #8338

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-01 11:49:23 -06:00
mr1716 c71d9e531b
NIFI-12717 Upgraded Gremlin from 3.7.0 to 3.7.1
This closes #8337

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-01 11:48:18 -06:00
mr1716 691666c36f
NIFI-12713 Upgraded mysql-binlog-connector from 0.28.3 to 0.29.0
This closes #8334

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-01 11:45:54 -06:00
mr1716 c93daaea33
NIFI-12714 Upgraded Solr from 9.4.0 to 9.4.1
This closes #8333

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-01 11:44:18 -06:00
Matt Gilman 102daa15f8
NIFI-12684: Handling error responses in the service listing on the canvas (#8321)
* NIFI-12684:
- Handling error responses in the service listing on the canvas.
- Handling error responses when converting a Property value to a Parameter.

* NIFI-12684:
- Introducing parameter helper to remove duplicated logic and error handling when fetching parameters and converting properties to parameters.

This closes #8321
2024-02-01 11:47:52 -05:00
Mark Payne 7edf0d4e2a
NIFI-12693: Moved notification of python process that a Processor was removed to a background (virtual) thread. Also noted in testing that in one instance a Python Processor never became
valid because it had cached property descriptors before the processor was fully initialized, so updated code to ensure that we do not cache values before initialization is completed.

This closes #8315

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-01 08:15:28 -06:00