1409 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
exceptionfactory
42547eb60c
NIFI-11703 Upgraded to Spring Framework 6 and Jetty 12
- Upgraded Spring Framework from 5.3.31 to 6.0.15
- Upgraded Spring Security from 5.8.7 to 6.2.0
- Upgraded Spring Vault from 2.3.4 to 3.1.0
- Upgraded Jetty from 10.0.18 to 12.0.5 with EE 10
- Upgraded Jersey from 2.41 to 3.1.4
- Upgraded JAXB from 2.3.9 to 4.0.4
- Upgraded AspectJ from 1.9.20.1 to 1.9.21
- Upgraded JMS API from 2.0.1 to 3.1.0
- Upgraded ActiveMQ Broker from 5.18.2 to 6.0.1 for JMS 3
- Upgraded JJWT from 0.9.1 to 0.12.3
- Replaced jackson-module-jaxb-annotations with jackson-module-jakarta-xmlbind-annotations
- Replaced maven-jaxb2-plugin with hisrc-higherjaxb40-maven-plugin 2.1.1
- Replaced kongchen swagger-maven-plugin with swagger-codegen-maven-plugin from Swagger 3
- Replaced com.nickwongdev AspectJ Plugin with Codehaus 1.14.0 for newer Java versions
- Removed unused cglib-nodep
- Removed references to javax.validation
- Removed custom Jetty ALPN Processor not required for Java 21
- Removed several tests depending on older Jetty and Jakarta libraries
- Removed unnecessary webdefault.xml configurations
- Replaced unsupported cross-context servlet forwarding with HTTP forwarding
- Replaced javax.servlet references with jakarta.servlet
- Replaced javax.xml.bind references with jakarta.xml.bind
- Replaced javax.ws references with jakarata.ws
- Updated Spring Security CSRF implementation for Spring Security 6
- Updated web.xml versions to 6.0
- Updated REST API templates using new swagger-codegen variables
- Removed VALIDATE_DATA property from ParseCEF based on library compatibility issue with javax.validation
- Added application URL logging to NiFi JettyServer

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

This closes #8197.
2024-01-04 14:01:32 +04:00
Rob Fellows
3877146170
[NIFI-12552] - Support client-side pagination on Summary tables (#8192)
* [NIFI-12552] - Support client-side pagination on Summary tables
* updated the filter control to only show the label indicating matches when a filter is active. similar to how it is done for the events table
* aligned cells like Run Status so the icon and text are vertically centered in the table cell

* moving System Diagnostics out from the Summary page to the main application menu

* reset summary listing table selection when pagination or filter changes.

* remove area chart icon from the System Diagnostics menu option as it duplicates the Node Status History option

* refactor selection clearing to its own action

This closes #8192
2024-01-03 18:37:23 -05:00
Rob Fellows
689f990978
[NIFI-12553] - Context menu option for View Status History (#8193)
* [NIFI-12553] - Context menu option for View Status History
* Added View Status History to the canvas context menu for applicable component types
* Added support for Node Status History from the flow menu

* remove unused imports

This closes #8193
2024-01-02 17:14:43 -05:00
Matt Gilman
76f880588f
NIFI-12543: Users/User Groups (#8191)
* NIFI-12543:
- Users/User Groups.

* NIFI-12543:
- Users/User Groups Deletion.
- Establishing routes for selection, editing, and access policies.

* NIFI-12543:
- User/User Group Creation.
- User/User Group Configuration.
- Renaming existing User State to Current User State.

* NIFI-12543:
- User access policies table.

* NIFI-12543:
- Sorting users/groups in the edit dialog.

* NIFI-12543:
- Addressing review feedback.

This closes #8191
2024-01-02 11:17:00 -05:00
Rob Fellows
e15aecce67
Nifi 12505 system diagnostics (#8190)
* [NIFI-12505] System Diagnostics

* Refactor Status History dialog to use the load and open action pattern.

* address review feedback

This closes #8190
2023-12-28 15:20:50 -05:00
Matt Gilman
a73d812c23
NIFI-12529: Enable/Disable Controller Service (#8185)
* NIFI-12529:
- Enable/Disable Controller Services.
- Resetting state when destroying Controller Service listings, General, Registry Clients, and Reporting Tasks.

* NIFI-12529:
- Addressing review feedback.

This closes #8185
2023-12-28 08:36:21 -05:00
Matt Gilman
211d1001f2
NIFI-12547: (#8188)
- Set the width of the Property editor. This ensures the width looks correct and the overflow scroll policy works as expected.
- Fixed table layout issues where width: 100% from listing table wasn't correct.

This closes #8188
2023-12-27 10:41:48 -05:00
Rob Fellows
30419c8dd8
[NIFI-12504] Remaining views on Summary page (#8174)
* [NIFI-12504] process group summary tab
* ellipsify data/headers in table
* input and output port summary tabs
* connections summary tab
* rpg summary tab

* address review feedback including a filtering approach that doesn't rely on splitting strings by some arbitray character.

* remove unnecessary try/catch blocks

This closes #8174
2023-12-22 14:22:10 -05:00
Matt Gilman
1f54d5d1fc
NIFI-12481: Filtering out unauthorized registry clients to avoid unhandled error (#8147)
* NIFI-12481:
- Filtering out unauthorized registry clients to avoid unhandled error.

* NIFI-12481:
- Using es5 syntax.

This closes #8147
2023-12-21 11:34:57 -05:00
Matt Gilman
e6d09c3b3d
NIFI-12485: Lineage Graph (#8173)
* NIFI-12485:
- Lineage.

* NIFI-12485:
- Adding context menu to lineage graph.
- Refactoring canvas context menu to promote reuse.

* NIFI-12485:
- Lineage timeline slider.

* NIFI-12485:
- Addressing review feedback.

* NIFI-12485:
- Addressing review feedback.

This closes #8173
2023-12-21 11:10:11 -05:00
Rob Fellows
703948b1d6
[NIFI-12519] - deselect parameter when it is deleted. (#8166)
* [NIFI-12519] - deselect parameter when it is deleted. also, enable goto controller service linking

* Added confirmation dialog in controller service edit when the form is dirty and the user attempts to route away using a referencing component link

* Reset state when closing the summary and counter pages.

This closes #8166
2023-12-19 10:16:50 -05:00
Matt Gilman
49bbc38b6b
NIFI-12502: Handle additional Property Table capabilities (#8159)
* NIFI-12502:
- Go To Service.
- Save before navigating if form dirty.
- Go To Parameter.
- Convert To Parameter.

* NIFI-12502:
- Ensuring tests are still bootstrapped correctly.

* NIFI-12502:
- Addressing review feedback.

This closes #8159
2023-12-18 14:22:07 -05:00
David Handermann
80700cc6c6
NIFI-12418 Corrected Provider Groups Missing in Refreshed Tokens (#8126)
- Updated OidcBearerTokenRefreshFilter to maintain current Identity Provider Groups when generating refreshed application Bearer Tokens
- Refactored LoginAuthenticationToken to remove unnecessary optional constructors and use java.time.Instant for expiration
- Added Issuer Provider with implementation for Bearer Token Issuer based on host and port properties
2023-12-18 11:53:23 -05:00