Commit Graph

6724 Commits

Author SHA1 Message Date
Bryan Bende d35247b7b1
NIFI-12788 Avoid host URI encoding errors for Jetty Server Connector
This closes #8404

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-20 12:59:12 -06:00
dependabot[bot] 154fd87b79
Bump undici and @angular-devkit/build-angular (#8418)
Bumps [undici](https://github.com/nodejs/undici) to 6.6.2 and updates ancestor dependency [@angular-devkit/build-angular](https://github.com/angular/angular-cli). These dependencies need to be updated together.


Updates `undici` from 6.2.1 to 6.6.2
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v6.2.1...v6.6.2)

Updates `@angular-devkit/build-angular` from 17.1.3 to 17.2.0
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular-cli/compare/17.1.3...17.2.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
- dependency-name: "@angular-devkit/build-angular"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-20 13:18:41 -05:00
Mark Payne a821966a87
NIFI-12232 Corrected Group Component ID Handling for Clustered Flows
Ensured that if a Process Group doesn't have a Versioned Component ID we use the ComponentIdLookup to create one based on its Instance ID in the same way that is done when serializing the flow; this ensures matching ID's when we synchronize flows across the cluster. Also included some code cleanup around failure handling on startup

This closes #8406

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-20 11:25:56 -06:00
Peter Turcsanyi 0f4defa49a
NIFI-12771 Restored Client-side KMS encryption strategy for S3
This closes #8388

Signed-off-by: David Handermann <exceptionfactory@apache.org>v
2024-02-20 10:59:49 -06:00
Mark Payne 7681054cf7
NIFI-12697 Allow disabling scientific notation when writing JSON
Use Jackson's internal implementations for parsing big integers and floating-point numbers more efficiently

Addressed case where JSON Writer configured to not allow scientific notation, but receives a record that already has a SerializedForm using scientific notation.

This closes #8319

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-20 10:53:39 -06:00
Pierre Villard abc08eb842
NIFI-12796 - PutDatabaseRecord statement type should support u/c/d for Debezium
This closes #8412.

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-02-20 09:36:55 -07:00
exceptionfactory 1e558802c9
NIFI-12819 Removed ReportLineageToAtlas Task and nifi-atlas-bundle
This closes #8427.

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-02-20 09:21:01 -07:00
exceptionfactory ff4c187f86
NIFI-12820 Upgraded Email Processors to Jakarta Mail 2
This closes #8428.

- Upgraded from Java Mail 1.4.7 to Jakarta Mail API 2.1.2
- Upgraded Spring Integration from 5.5.20 to 6.2.1
- Upgraded SubEtha SMTP from 3.1.7 to 7.0.1
- Upgraded Greenmail from 1.6.15 to 2.0.1
- Removed usage of Commons Lang3
- Removed usage of Commons IO

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-02-20 09:16:36 -07:00
exceptionfactory 9a81f660f2
NIFI-12813 Corrected Username handling in HTTP Request Log
- Corrected Jetty AuthenticationState interface reference for authenticated user attribute mapping
- Added unit test verifying expected attribute values

Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8423.
2024-02-19 12:12:08 +01:00
Scott Aslan 3c5b997ce7
[NIFI-12761] refresh RPG (#8401)
* [NIFI-12761] refresh RPG

* address feedback

* stop polling on error

* fix linting errors introduced in this PR

* reload the connections

* refresh rpg, if first call does not have updated timestamp start polling

* rename action

* final touches

This closes #8401
2024-02-16 11:15:44 -05:00
Matt Gilman 6f6ddf8960
NIFI-12795: (#8416)
- Including embedded help documentation.
- Support linking to specific help documentation from the canvas and component listings.
2024-02-16 10:01:04 -05:00
Mark Payne bd11031725
NIFI-12659 Respawn Python Processes on Unexpected Termination
Refactored so that when a Python Process dies, NiFi will detect this, respawn the process, recreate the Processors that exist in the process, re-initialize them, and restart them. In testing, found the PythonControllerInteractionIT had bugs that were causing Python Processors to be re-initialized many times; this resulted in threading issues that caused processors to be invalid, indicating that property descriptors didn't exist, etc. Addressed these concerns in the same commit, since they were necessary to properly run tests

Ensure that ClassLoader is consistently established for python processor proxies; ensure that if we re-initialize python processor the old initialization thread is stopped

This closes #8363

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-15 21:30:55 -06:00
dan-s1 fd4a74dbff
NIFI-12725 Upgraded json-schema-validator from 1.1.0 to 1.3.2
- Adjusted URIs for schemas Draft 4, Draft 6 and Draft 7 to match official values set on json-schema-validator 1.3.0

This closes #8405

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-15 15:11:01 -06:00
Mark Payne b8d7b9c677
NIFI-12757: Issue GC commands to Python for FlowFileTransformResults and RecordTransformResults when no longer needed on Java side
This closes #8375

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-15 15:07:03 -06:00
Rob Fellows e90c42d9cd
[NIFI-12790] Migrate to Angular 17 (#8410)
* [NIFI-12790] update version of typescript and zone.js
* remove override of dependency

* upgrade to angular 17

* migration to control-flow - used "ng generate @angular/core:control-flow"

* update the version of node used to build with

* add engine.node requirement to package.json

This closes #8410
2024-02-15 13:47:19 -05:00
Pierre Villard a1542affc3 NIFI-12789 - fix broken link in couchbase additional details 2024-02-15 10:29:48 -05:00
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
Mark Bean e031e7e7a2
NIFI-12699 Set timeout to 10 seconds for TestStandardFlowFileQueue.testListFlowFilesResultsLimitedCollection
This closes #8330

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-02-01 08:07:55 -06:00
mr1716 376283a856
NIFI-12706 Update reactor-test to 3.5.14
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8329.
2024-02-01 11:04:20 +04:00
exceptionfactory 547f338147
NIFI-12695 Enabled PKCE Support for OIDC Integration
- Added Spring Security PKCE OAuth2 Request Customizer to standard Resolver

Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8324.
2024-02-01 10:57:32 +04:00
Rob Fellows 4620afdbc4
[NIFI-12694] - Fix console errors when starting/stopping process groups (#8317)
This closes #8317
2024-01-31 09:36:45 -05:00
markobean 3116576494
NIFI-12701 add .prettierignore to exclude list (#8323)
This closes #8323
2024-01-31 08:55:50 -05:00
mr1716 4234f119dd
NIFI-12690 Upgraded opentelemetry-proto from 1.0.0 to 1.1.0
This closes #8314

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-30 15:26:36 -06:00
Matt Gilman 304241f3c9
NIFI-12683: Considering current PG permissions in the new canvas item toolbox (#8311)
* NIFI-12683:
- Considering current PG permissions in the new canvas item toolbox.

* NIFI-12683:
- Prettier.

* NIFI-12683:
- Ignoring theme files from prettier check.

* NIFI-12683:
- Aligning button style.

This closes #8311
2024-01-30 15:47:55 -05:00
Rob Fellows d901253974
[NIFI-12686] eslint configuration (#8313)
* [NIFI-12686] eslint configuration for ts files
* add linting to the default maven build

* updates for RAT plugin

* remove .eslitrc as it wasn't needed. updated RAT config

This closes #8313
2024-01-30 12:26:18 -05:00
Scott Aslan 8b2758cd18
[NIFI-12655] theme NiFi following Material Design spec and leveraging Angular Material themes (#8294)
* [NIFI-12655] theme nifi following Material Design and leveraging Angular Material themes

* update accent palette usage to $nifi-canvas-accent-light-palette

* fix layout of create process group dialog

This closes #8294
2024-01-30 08:54:56 -05:00
dan-s1 592cc42059
NIFI-12677 Removed documentation of non-existent strategy for ExcelReader
This closes #8310

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-29 16:09:41 -06:00
Matt Gilman 03b925629e
NIFI-12679: (#8306)
- When overriding a policy prompting whether the new policy should copy the users and groups or if it should be empty.
2024-01-29 16:01:01 -05:00
Matt Gilman 8e0c68e5cc
NIFI-12663: Error Handling in CS Listing (#8305)
* NIFI-12663:
- Handling API error responses in the Management Controller Services page.

* NIFI-12679:
- Renaming components based on review feedback.
- Using ng-content in page-content component.
- Removing the problematic route when navigating to the error page.
- Fixing logic when handling service loading errors.
- Handling errors in the Property Table Helper service.

* NIFI-12679:
- Addressing review feedback.
2024-01-29 15:49:59 -05:00
Balázs Gerner c1a21ad078
NIFI-12642 Added support for FileResourceService in PutS3Object
This closes #8295.

Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
2024-01-29 18:40:19 +01:00
exceptionfactory da9aa33bf1
Merge branch 'NIFI-12646-RC4' 2024-01-29 08:07:59 -06:00
EndzeitBegins 5ba20b87c5
NIFI-12648 Refactor components in elasticsearch bundle using current API methods
Signed-off-by: Joe Gresock <jgresock@gmail.com>

This closes #8303.
2024-01-29 05:03:26 -05:00
jsteinebrey 59ff1b6561 NIFI-9677 Fixed issue that an empty JSON array causes flow file to be considered unmatched even though it should be considered as a match.
Refactored to avoid streaming over the list twice.

Tweaked unit test, so it works in NiFi 1.x also.

Signed-off-by: Matt Burgess <mattyb149@apache.org>

This closes #8266
2024-01-26 21:54:43 -05:00
Rob Fellows 0e87032ef3
[NIFI-12622] - Parameter Providers - listing table (#8298)
* [NIFI-12622] - Parameter Providers - listing table
* Add a new Parameter Provider
* Delete parameter provider
* refactor to reduce duplicate code when creating new properties
* support editing parameter providers
* refactored inline service creation into PropertyTableHelperService
* added parameter provider linking to access policies.

* fix bugs in flow reducer not setting state properly when starting/stopping components and run once.

* address review feedback

* refactored nifiCommon to provide stripProtocol method that was implemented in loads of places. replaced all occurrences to the nifiCommon implementation.

This closes #8298
2024-01-26 12:58:33 -05:00
Balázs Gerner bce14f573b
NIFI-12643 Added support for FileResourceService in PutGCSObject
This closes #8281.

Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
2024-01-26 14:38:41 +01:00
exceptionfactory 5ca7b0df81 NIFI-12646-RC4 prepare for next development iteration 2024-01-25 18:11:30 -06:00
exceptionfactory 640b7bdfbb NIFI-12646-RC4 prepare release nifi-2.0.0-M2-RC4 2024-01-25 18:11:28 -06:00
Pierre Villard 68228921a4
NIFI-12664 Removed deprecated DMC in GetHBase
This closes #8301

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-25 17:48:43 -06:00
exceptionfactory 103e350943
NIFI-12676 Fixed Servlet Registration in HandleHttpRequest
This closes #8304.

Signed-off-by: Joseph Witt <joewitt@apache.org>
2024-01-25 16:40:43 -07:00
Matt Gilman ecb87149fe
NIFI-12611: (#8296)
- Component State.

This closes #8296
2024-01-25 14:53:17 -05:00
lehelb 7fc27651a4 NIFI-12500: Add dynamic target for Get/Set/SendTrapSNMP
This closes #8160.

Signed-off-by: Tamas Palfy <tpalfy@apache.org>
2024-01-25 14:49:28 +01:00
Nissim Shiman 2e3f83eb54
NIFI-12387 Initialize Controller Service Comments with Empty String
The empty string allows controller service configuration to be saved without flow
configuration history recording a configuration change for comments.

This closes #8275

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-24 20:00:00 -06:00
dependabot[bot] 33c5f38687
NIFI-12656 Upgraded vite for new frontend from 4.5.1 to 4.5.2
This closes #8278

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-22 13:52:00 -06:00
David Handermann 93788f9281
NIFI-12650 Upgraded json-path from 2.8.0 to 2.9.0 (#8282)
- Upgraded json-smart from 2.4.11 to 2.5.0
- Added json-path to managed dependencies in root Maven configuration
- Suppressed OWASP Dependency Check finding resolved in json-path 2.9.0
2024-01-22 13:18:28 -05:00
dan-s1 f76d7884ba
NIFI-12554 Moved JoltTransformJSON and JoltTransformRecord to nifi-jolt-nar
This closes #8249

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-19 17:30:37 -06:00
Mark Payne 345b8bd059
NIFI-12647 Added MultiProcessorUseCase for ListFile/FetchFile together
This closes #8276

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-19 16:11:53 -06:00
Freedom9339 39cac2b090 NIFI-8606 Added Disable & Configure button to the Controller Services Details dialog
This closes #7562

Signed-off-by: Mike Moser <mosermw@apache.org>
2024-01-19 20:21:00 +00:00
nathluu 6649115a34
NIFI-12402 Added Wait for Activity to MonitorActivity
This closes #8063

Signed-off-by: David Handermann <exceptionfactory@apache.org>
Co-authored-by: Vuong Nguyen Van <vanvuong24072001@gmail.com>
Co-authored-by: nathluu <luuhoangtanbis@gmail.com>
2024-01-19 11:48:37 -06:00
Timea Barna 9c871699c3
NIFI-12506 Added Threading for Status Analytics Retrieval
This closes #8158

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-19 10:35:42 -06:00
David Handermann e66da895fc
NIFI-12640 Moved servlet-api and jetty-schemas to nifi-jetty-bundle (#8272)
- Set Jetty AnnotationConfiguration log level to WARN suppressing informational messages related to Logback ServletContainerInitializer
2024-01-19 11:29:04 -05:00
David Handermann 806d8d6165
NIFI-12634 Ignored Blank Prefix Values in Kubernetes Components (#8268)
- Updated KubernetesConfigMapStateProvider and KubernetesLeaderElectionManager to ignore blank prefix values as provided in default configuration files
2024-01-19 08:30:45 -05:00
Mark Payne 2acc1038c9
NIFI-12616 Added Processor Documentation Support for Python
- Added some Use Case docs for Python processors and updated Runtime Manifests to include Python based processors as well as Use Case/MultiProcessorUseCase documentation elements. Refactored/cleaned up some of the Python code and added unit tests.

- Added python-unit-tests profile and enabled on Ubuntu and macOS GitHub workflows

This closes #8253

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-18 19:12:05 -06:00
Mark Payne 2212afe482
NIFI-12638 Add Use Case on how to use QueryRecord as a router
This closes #8271

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-18 19:00:12 -06:00
Mark Payne bf1dfd0615
NIFI-12637 Handle migrating Proxy properties for InvokeHTTP
This closes #8270

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-18 18:59:31 -06:00
Mark Payne ddec0dff5a
NIFI-12635 Upgraded Slack client from 1.36.1 to 1.37.0
This closes #8269

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-18 18:57:45 -06:00
exceptionfactory 74fdd1cf98
NIFI-12631 Upgraded Apache MINA SSHD from 2.11.0 to 2.12.0
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8265.
2024-01-18 21:08:23 +04:00
EndzeitBegins 359ffa5b4f
NIFI-12627 Extract nifi-file-transfer from nifi-standard-processors
This closes #8262

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-17 22:21:07 -06:00
EndzeitBegins 53bb995e4e
NIFI-12613 Renamed asDescribedValue() to asAllowableValue()
This closes #8260

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-17 22:16:29 -06:00
Peter Turcsanyi 2a3a7d9379
NIFI-11294 Support Component State Checkpoints in ConsumeAzureEventHub
This closes #8013

Signed-off-by: David Handermann <exceptionfactory@apache.org>
Co-authored-by: Peter Turcsanyi <turcsanyip@apache.org>
Co-authored-by: Malthe Borch <mborch@gmail.com>
2024-01-17 20:08:14 -06:00
Juldrixx 787c45dd61
NIFI-12590 Added Prefix Properties for Kubernetes Leases and ConfigMaps
This closes #8240

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-17 11:34:52 -06:00
Mike Moser 050f81f686
NIFI-12394 Fixed Service references for Migrated Configurations
When syncing to a VersionedFlow, make sure processor references to new controller services are valid after the processor migrates the configuration of its properties

This closes #8184

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-17 11:20:34 -06:00
Matt Gilman 02df7c13f8
NIFI-12604: Empty Queue (#8246)
* NIFI-12604:
- Empty Queue.
- Empty All Queues.

* NIFI-12611:
- Ensuring dialog is closed when an error occurs.
- Migrating from withLatestFrom to concatLatestFrom.

* NIFI-12611:
- Adding header/nav to the controller service listing page.

This closes #8246
2024-01-17 10:24:51 -05:00
Peter Turcsanyi e1f920cd2b
NIFI-8278 Fixed Proxy Service property in Azure Storage processors
This closes #8259

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-16 20:23:05 -06:00
Mark Payne aa837853d1
NIFI-12623: Expose ability to fetch User Details in ListenSlack and receive App Mention events
This closes #8258

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-16 20:11:19 -06:00
Tanmaya Panda a613c52437
NIFI-11958 Added PutAzureDataExplorer and StandardKustoQueryService
This closes #7624

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-16 19:55:33 -06:00
Mark Bathori c92034cda6 NIFI-12596: PutIceberg is missing case-insensitive Record type handling in List and Map types
Signed-off-by: Matt Burgess <mattyb149@apache.org>

This closes #8234
2024-01-16 17:30:17 -05:00
David Handermann 250fe90b34
NIFI-9458 Replaced SimpleDateFormat with DateTimeFormatter (#8248)
- Added FieldConverterRegistry and Standard implementation
- Moved DateTypeUtils methods to FieldConverter implementations
2024-01-16 16:39:40 -05:00
Rob Fellows b47ca20f56
[NIFI-12615] - fix ExpressionChanged error on Counters page. (#8252)
* [NIFI-12615] - fix ExpressionChanged error on Counters page.

* * refactor sorting for extension-creation.component
* refactor sorting for controller-service-table.component
* refactor sorting for reporting-task--table.component
* refactor sorting for parameter-context-table.component

This closes #8252
2024-01-16 15:46:08 -05:00
exceptionfactory c6f5f534cb
NIFI-12618 Upgraded Azure SDK BOM from 1.2.18 to 1.2.19
- Suppressed CVE-2023-36052 not applicable to Java Azure libraries

Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8254.
2024-01-16 23:08:52 +04:00
NissimShiman 3b5d729a3a
NIFI-11389 Fixed controller services's link to referencing controller (#8099)
services of lesser scope

This closes #8099
2024-01-16 11:42:08 -05:00
Juldrixx 9a91933909
NIFI-12441 Added No Tracking Strategy to ListS3
This closes #8088

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-16 09:42:48 -06:00
Pierre Villard dd45e7edcb
NIFI-12593 Added Include all violations property to ValidateCsv
This closes #8229

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-16 09:18:58 -06:00
Matt Gilman 7c09aabb4a
NIFI-12597: Introducing a common navigation bar across all pages (#8237)
* NIFI-12597:
- Introducing a common navigation bar across all pages.

* NIFI-12597:
- Introducing navigation bar to queue listing.

This closes #8237
2024-01-16 08:48:22 -05:00
tpalfy da7c9bcddb
NIFI-12612 In asn1 bundle handle OBJECT IDENTIFIER type as string.
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8247.
2024-01-16 11:14:13 +04:00
Juldrixx 281a28c5d4
NIFI-11288 Add AWS STS dependency for AssumeRoleWithWebIdentity method
This closes #7974

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-15 14:16:52 -06:00
Peter Turcsanyi e8783f3325
NIFI-8278 Added Credentials Type to ADLSCredentialsControllerService
Used migrateProperties() for migrating old flows to the new property structure.
Moved common properties to AzureStorageUtils and also updated/consolidated some property descriptions

This closes #8205

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-15 11:24:01 -06:00
p-kimberley 3ebad40fae
NIFI-12594: ListS3 - observe min/max object age when entity state tracking is used
This closes #8231.

Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
2024-01-15 09:41:46 +01:00
Scott Aslan f1cac06f2a
NIFI-12588: Flow Analysis Rules (#8241)
* [NIFI-12588] Flow Analysis Rules listing

review feedback

update goto dialog title

remove transitional states of enable

fix CS goto

remove access policy UX

check canModifyController

update currentTime

move interfaces

update sorting, inline CS creation, CS goto

use Edit in dialog titles

* review feedback

* input current user

This closes #8241
2024-01-12 17:15:23 -05:00
Matt Gilman a7546a7095
NIFI-12589: Queue Listing (#8235)
* NIFI-12589:
- Introducing queue listing.
- View flowfile content.
- Download flowfile content.
- View flowfile dialog.

* NIFI-12589:
- Addressing review feedback.

* NIFI-12589:
- Fixing merge conflict and removing additional @ts-ignore.

This closes #8235
2024-01-12 16:09:48 -05:00
EndzeitBegins 4efabdcf51
NIFI-12561 Fixed MergeContent DELIMITER_STRATEGY_NONE Handling
This closes #8222

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-12 15:00:13 -06:00
Pierre Villard f95dde1630
NIFI-12599 Added READ_FILESYSTEM Permissions to Lookup Services
This closes #8236

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-12 14:53:15 -06:00
Matt Gilman 0a3393b091
NIFI-12548: Policy Management (#8225)
* NIFI-12548:
- Global Access Policies.

* NIFI-12548:
- Component Access Policies.

* NIFI-12548:
- Addressing review feedback.

* NIFI-12548:
- Addressing review feedback.

This closes #8225
2024-01-12 14:32:22 -05:00
mr1716 56be04cc73
NIFI-12592 Upgraded Apache Curator from 5.5.0 to 5.6.0
This closes #8226

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-12 08:49:14 -06:00
Matt Burgess 31d04c8575
NIFI-12530: Support CREATE TABLE in Oracle database adapters
Signed-off-by: Joe Gresock <jgresock@gmail.com>
This closes #8175.
2024-01-11 21:11:36 -05:00
exceptionfactory dc87cfa9ab
NIFI-12591 Upgraded from Swagger Annotations 1.6.12 to 2.2.20
- Added nifi-swagger-integration with ObjectMapperProcessor for enum customization
- Changed nifi-web-api REST API documentation to use HTML template from swagger-codegen-maven-plugin

Upgraded references in multiple modules:

- c2-protocol-api
- c2-protocol-component-api
- minifi-c2-service
- nifi-api
- nifi-client-dto
- nifi-extension-manifest-model
- nifi-registry-revision-entity-model
- nifi-registry-data-model
- nifi-registry-web-api
- nifi-web-api

Signed-off-by: Csaba Bejan <bejan.csaba@gmail.com>

This closes #8232.
2024-01-11 15:11:28 +01:00
EndzeitBegins dd5854d324
NIFI-12572 Updated nifi-azure-bundle using current API methods
This closes #8210

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-10 14:20:48 -06:00
EndzeitBegins 6f51c58046
NIFI-12089 Fix typo in additionalDetails of CSVReader
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8227.
2024-01-10 16:41:04 +04:00
Pierre Villard 415505ea5d NIFI-12587 - improve error message in ValidateCSV
review - removed row source from logging

Update nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ValidateCsv.java

Co-authored-by: dan-s1 <dstieg1@gmail.com>

Update nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ValidateCsv.java

Co-authored-by: dan-s1 <dstieg1@gmail.com>

Update nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestValidateCsv.java

Co-authored-by: dan-s1 <dstieg1@gmail.com>

Update nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestValidateCsv.java

Signed-off-by: Matt Burgess <mattyb149@apache.org>
This closes #8224

Co-authored-by: dan-s1 <dstieg1@gmail.com>
2024-01-09 17:56:50 -05:00
Rob Fellows 60bde389df
[NIFI-12568] - start/stop/run once from the context menu. start/stop from operation panel. (#8216)
* [NIFI-12568] - start/stop/run once from the context menu. start/stop from operation panel.

* remove excess arguments from menu condition and action definitions

* review feedback: * reload flow if current pg is started/stopped. * reload pg if pg is started/stopped.

* another round of review feedback: catchErrors, filter order, reuse Revision interface from shared, unused imports

* renaming action and related interfaces from reloadProcessGroup to loadChildProcessGroup

* remove commented out code

* remove extranious calls to canOperate

* update conditions when start/stop/enable/disable are presented to the user

* fix vertical alignment for some icons in context menu

* more icon alignment

* review feedback

* updates

This closes #8216
2024-01-09 15:58:15 -05:00
Matt Gilman 3eba8334ce
NIFI-12586: Fix handling of getParameters in NF Editor (#8223)
* NIFI-12586:
- Fixing the handling of getParameters since the supplied input could be undefined in some instances.

* NIFI-12586:
- Removing unused event.
2024-01-09 11:49:23 -05:00
Scott Aslan bbd8d7fd8d
[NIFI-12563] configure reporting task (#8208)
* [NIFI-12563] configure reporting task

* move types to appropriate place

* address dialog resizing issue for reporting task configuration

* add configureReportingTask to reducer

* final touches

* remove unused inputs

* remove unused import

This closes #8208
2024-01-09 11:48:19 -05:00
mr1716 afc367dbe5
NIFI-12581 Upgraded geoip2 from 4.1.0 to 4.2.0
This closes #8218

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-09 09:10:52 -06:00
mr1716 886efa8160
NIFI-12580 Upgraded maven-artifact plugin from 3.8.8 to 3.9.6
This closes #8221

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-09 09:09:06 -06:00
EndzeitBegins 655baec4cb
NIFI-12578 Updated nifi-compress-bundle using current API methods
This closes #8215

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-09 09:07:06 -06:00
EndzeitBegins 77cdba1efa
NIFI-12577 Updated nifi-cdc-bundle using current API methods
This closes #8214

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-09 09:06:15 -06:00
EndzeitBegins 62d444ffc8
NIFI-12575 Updated nifi-asana-bundle using current API methods
This closes #8212

Signed-off-by: David Handermann <exceptionfactory@apache.org>
2024-01-09 09:05:36 -06:00
Rob Fellows 726a930b01
[NIFI-12560] bulletin board (#8204)
* [NIFI-12560] bulletin board

* Add sourceType to BulletinDTO

* remove unused import

* address review feedback: fix overflow for bulletins tooltip.
2024-01-08 15:13:57 -05:00
tpalfy 1c26b39fcd
NIFI-9464 Fixed race condition between "Timer-Driven" threads when running SiteToSiteProvenanceReportingTask.onTrigger and "Compress Provenance Log" threads running EventFileCompressos.run that can cause the SiteToSiteProvenanceReportingTask.onTrigger to pair an already compressed .prov.gz file with a .toc file that corresponds to the uncompressed .prov file. (#8157)
Co-authored-by: Tamas Palfy <tpalfy@apache.org>
2024-01-08 14:30:28 -05:00
mr1716 e7ab595128
NIFI-12579 Update icu4j to 74.2
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8217.
2024-01-08 22:07:49 +04:00
mr1716 0132f8e5d9
NIFI-12583 Update SMBJ to 0.13.0
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8220.
2024-01-08 22:02:17 +04:00
Peter Turcsanyi f55093d103
NIFI-12576 MQTT processors allow path component in Broker URI
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #8213.
2024-01-08 17:38:07 +04:00