* NIFI-11520: init ui work for flow analysis UI
* NIFI-11520: use .text() to render user input data
* NIFI-11520: update urls for analysis requests
* NIFI-11520: add WARN enforcement level to ui
* NIFI-11520: ui bug fixes
* fix rule bindings
* use correct count for rule violations
* NIFI-11520: move drawer markup into partial file
* NIFI-11520: remove old recs and policies naming
* NIFI-11520: comments and code cleanup
* NIFI-11520: fix linting errors
* NIFI-11520: restore refresh button logic
* NIFI-11520: remove timer
* NIFI-11520: add checkbox to only show warning violations
* NIFI-11520: style and copy changes
* change copy of violation checkboxes
* show correct details in violation dialog
* add overflow to violations menu
* NIFI-11520: add missing license header
* NIFI-11520: remove unused function
* NIFI-11520: cleanup rule and violation menu handling
* NIFI-11520: remove single use functions
* NIFI-11520: change function name to match established pattern
* NIFI-11520: rename function
* NIFI-11520: remove rule and violation details menu
* NIFI-11520: fix issue causing wrong documentation to be displayed
* NIFI-11520: fix go to button for components in nested process groups
* NIFI-11520: use refresh interval returned from the backend
* NIFI-11520: reload analysis when canvas is refreshed
* NIFI-11520: add violation details dialog with correct message
* NIFI-11520: disabled go to component when root group is violation
* NIFI-11520: remove unused CSS styles
* NIFI-11520: addressing more feedback:
* fix flow analysis drawer button styling
* disable edit rule if user does not have read permission
* fix broken warning list
* add loader and disable check now button while report is running
* NIFI-11520: handle violations without read permission
* NIFI-11520: disable go to component if not processor
* NIFI-11520: remove create analysis button and logic
* NIFI-11520: add pending analysis message
* NIFI-11520: protect against scenario where currentUser not loaded
* NIFI-11520: determine root group based on groupId being null
* NIFI-11520: address review feedback
* simplify go to logic by only showing for processors
* hide go to button instead of disabling
* NIFI-11520: fix hidden state
* NIFI-11520: hide go to based on permissions
This closes#8273
- 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.
* NIFI-12470:
- Fixing forEach callback for usage with Object.entries() to address layout issue in Status History.
- Using es5 syntax.
This closes#8121
Registry
- Corrected component property reference in sorting of response objects
This closes#7977
Signed-off-by: David Handermann <exceptionfactory@apache.org>
- Added nar-packaging and war-packaging profiles to root Maven configuration
- Removed individual properties from NAR module configurations
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
This closes#7947.
NIFI-12245: Removed null check that is no longer necessary
NIFI-12245: Fixed checkstyle violation
Signed-off-by: Bence Simon <bsimon@apache.org>
This closes#7899
* NIFI-11874 update Process Group configuration layout in the UI
* NIFI-11874: relocate checkbox for recursive application of paramenter context
* NIFI-11874 remove comments tab from process group configuration
* NIFI-11874 minor cleanup of float CSS for process-group-parameter-context-combo
This closes#7591
- Clearing the password in the login form when login fails or unable to verify access once authentication succeeds.
This closes#11909
Signed-off-by: David Handermann <exceptionfactory@apache.org>
Fixed issue in logic of LocalComponentLifecycle, which was waiting for all PGs to reach desired stateless run schedule, even when the group itself was not stateless
Fixed JavaScript to specify correct value for recursivity when updating process group parameter context
* NIFI-10904 Changed the font color for dropdown menus to avoid the appearance of menu items being disabled
* NIFI-10904 Changed the CSS tag used to set the color of the dropdown menu text
* NIFI-10904 Used a new css class to set the color of dropdown options
* nifi-10904 Changed the css class for create/reference drop down menu items.
Merged #7502 into main.
- Added new extensible Component Type: FlowAnalysisRule
- Added DisallowComponentType Rule implementation
- Flow Analysis Rules can be managed from the UI under Controller Settings -> Flow Analysis Rules
- Flow Analysis Rules can be set up with an enforcement policy of WARN or ENFORCE
- Flow Analysis Rules can evaluate an individual Component or a Process Group
This closes#7191
Signed-off-by: David Handermann <exceptionfactory@apache.org>
* NIFI-11303 Added a go-to entry on the right click context menu for the provenance lineage tree to take you to the specified component in the graph
* nifi-11303 Removed unused variable.
Merged #7461 into main.
When shutting down FlowController, wait up to gracefulShutdownSeconds seconds for the components to stop before shutting down thread pools. This allows for asynchronous operations such as disableControllerServicesAsync to complete during shutdown. Updated StandardStatelessFlow so that on shutdown it catches more general Exception to ensure that shutdown succeeds
Ensure that Max Concurrent Tasks cannot be set less than 1 for stateless group; fixed typo in ProcessGroupDTO's docs; on shutdown, we may need to disable controller services asynchronously. At that point, the thread pool used to do so may already be shutdown. If so, catch this and create a new single-thread pool, disable the service, and immediately shutdown the pool. Also, if we fail to disable services on shutdown of a stateless flow, instead of throwing an Exception, just log it and move on - it doesn't make much sense for shutdown() to throw an Exception in that case.
Updated system tests so that when emptying a queue, we check the result and if the queue still has data (because a Processor hasn't acknowledged the data, for example) then continue issuing request until the queue fully becomes empty.
When shutting down input/output ports for stateless group, ensure that we wait for the ports' active threads to complete before returning
When stopping StatelessGroupNode, ensure that all the Processors, Controller Services (even those not executed by the Stateless Engine) are stopped/disabled before considering the Stateless Group to be fully STOPPED.
This closes#7253
Signed-off-by: David Handermann <exceptionfactory@apache.org>
* NIFI-11287: detect dependent properties when the property it depends on references a parameter
* address review feedback
* address more review comments
* - loadProperties checks type before getting the parameter context
- retrieve the parameter context with ajax call from inside the class
* add type parameter to all places calling loadProperties
* get reference parameters by invoking provided callbacks from the client
* check for user permissions before requesting for referenced parameters
* address review feedback
This closes#7117
* NIFI-11461 Improved User and Group Tenants Search
- Added searchTenants method to NiFiServiceFacade and removed unnecessary object creation
- Updated TenantsResource to use delegated NiFiServiceFacade.searchTenants method
- Changed autocomplete delay from default 300 ms to 500 ms
* NIFI-11461 Adjusted implementation to use EntityFactory.createTenantEntity
This closes#7181