Commit Graph

2722 Commits

Author SHA1 Message Date
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 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
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
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
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
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
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
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
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 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
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
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
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
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
exceptionfactory da9aa33bf1
Merge branch 'NIFI-12646-RC4' 2024-01-29 08:07:59 -06: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
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
Matt Gilman ecb87149fe
NIFI-12611: (#8296)
- Component State.

This closes #8296
2024-01-25 14:53:17 -05: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
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
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
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
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
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