1319 Commits

Author SHA1 Message Date
David Handermann
db919bc494
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 12:12:16 -05:00
exceptionfactory
98b0ceffd8
NIFI-12516 Corrected String.isEmpty() check for Java 8
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-12-15 13:57:53 -06:00
Mark Payne
b3fb0b2713
NIFI-12516 Corrected Cluster Replicated Response Headers for HTTP/2
The headers in the map that come back when replicating a request used to be in the case given; however they can be lowercased in the OkHttp Headers object when using HTTP/2 instead of HTTP/1.1. As a result, we need to ensure that we always use lower-case header names or check the map case-insensitive.

This closes #8163

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 231dbde4b30bfea5b711169fe6f125c9279ec450)
2023-12-15 13:49:50 -06:00
Shane Ardell
d8ac6bf8f9 This closes #7810
NIFI-12088: recalculate hidden property fields when new service is created

Signed-off-by: Scott Aslan <scottyaslan@gmail.com>
2023-12-13 12:55:56 -05:00
Peter Turcsanyi
0661c45585
NIFI-12483 Corrected String and Predicate API calls for Java 8
Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
2023-12-09 13:28:22 +01:00
exceptionfactory
a05f0f86ae
NIFI-12483 Streamlined JMX Metrics Filtering Parameters
- Added bean name filter processing and added test cases

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

This closes #8134.
2023-12-07 16:00:01 +01:00
Matt Gilman
aa575de6e2
NIFI-12470: Fixing forEach callback for usage with Object.entries() to address layout issue in Status History (#8121)
* NIFI-12470:
- Fixing forEach callback for usage with Object.entries() to address layout issue in Status History.
- Using es5 syntax.

This closes #8121
2023-12-07 08:29:54 -05:00
Pierre Villard
7fedb49a9a
NIFI-12362-RC5 prepare for next development iteration 2023-11-23 11:03:53 +01:00
Pierre Villard
5241f43482
NIFI-12362-RC5 prepare release nifi-1.24.0-RC5 2023-11-23 11:03:47 +01:00
Bryan Bende
ac2a5afb20
NIFI-12368 Clear versionedComponentId for copied Snippets
This closes #8025

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 1cc346b63d0ecea1d0b2e9079a0f31c15f035b6d)
2023-11-16 17:47:31 -06:00
exceptionfactory
0a67620c0c
NIFI-12358 Corrected syntax for Java 8
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-11-15 17:07:48 -06:00
Mark Payne
a78c478721
NIFI-12358 Fixed NPE in HostHeaderHandler
Fixed NPE in ThreadDumpTask

This closes #8032

Signed-off-by: David Handermann <exceptionfactory@apache.org>

(cherry picked from commit b5c3e6f9aae9791b749ba3d908ce1b6672ee2124)
2023-11-15 16:59:59 -06:00
Paulette Hines-Cross pliszle
885445ccb5
NIFI-12107 Fixed sorting in the cluster table
This closes #7923

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 93d373f037c353b95f8ad502dec8768fc5e780bc)
2023-11-13 08:41:52 -06:00
exceptionfactory
7e0976490a
NIFI-12293 Standardized HTTP error response messages (#7957)
- Updated ExceptionFilter and AuthenticationFilter with standard messages

This closes #7957

(cherry picked from commit 97dd543c6a850f1076b05c7a9bcc28d37e184d5b)
2023-11-03 14:27:24 -05:00
exceptionfactory
f37b77f64c
NIFI-12287 Standardized skipping Source and Javadoc for NAR modules
- 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.

(cherry picked from commit 2366132e92951a8fc27097c777d3104a1c396f7b)
2023-10-31 14:35:54 -05:00
annanys23
a9e05ff473
NIFI-5137 Fixed the path to Controller Service grid item's state
This closes #7833

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 6daf0abfd4ce56c1a1285f68af050e02b36fa6f4)
2023-10-21 20:08:41 -05:00
markobean
0e806a19a1
NIFI-11874: update process group configuration dialog UI, specific to nifi-1.x line (#7844)
This closes #7844
2023-10-20 14:48:46 -04:00
Matt Gilman
2c019bb985
NIFI-11909 Cleared Password field after login
- 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>
(cherry picked from commit 97dfe2d812a9fa8b0fcc2b1d0b7f352f656b530e)
2023-10-19 13:42:11 -05:00
exceptionfactory
1a2d769e82
NIFI-12219 Added Xodus Flow History Storage with Migration (#7885)
- Added EntityStoreAuditService implementation using JetBrains Xodus libraries
- Added FlowConfigurationHistoryMigrator for checking and migrating H2 databases containing Flow Configuration History to Xodus persistent store implementation
2023-10-18 10:48:05 -04:00
Zackeus Bengtsson
387c22b22c
NIFI-12122 Fixed persistence of Parameter Context descriptions
Fixed bug where parameter context descriptions were not loaded on NiFi startup and overwritten as empty

This closes: #7787

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 0a47157640c1502a0379a7f66d764d2d7d344872)
2023-10-13 18:39:55 -05:00
Bryan Bende
ad915f773d
NIFI-12186 Add ability to export a versioned reporting task snapshot (#7853)
* NIFI-12186 Add ability to export a versioned reporting task snapshot
- Add CLI commands and optional query param to specify specific reporting task
2023-10-09 11:39:43 -04:00
Nissim Shiman
698a426bda
NIFI-11782 Resolved NPE when moving snippet with label to process group
This closes #7838

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 5afda79f282c99df370edb411234c2182bebe4b9)
2023-10-05 16:11:52 -05:00
Pierre Villard
18ab14b148
NIFI-12103 Replaced deprecated usage of new URL(String)
This closes #7771

Signed-off-by: David Handermann <exceptionfactory@apache.org>

(cherry picked from commit 2aca08910c4e06fff2c98d3794d9b5a3cd427988)
2023-09-23 10:35:14 -05:00
Peter Turcsanyi
878d2e025f
NIFI-11595 StateProvider.replace() supports creating the initial state
- Extracted common logic from setState() and replace() into modifyState()
- Removed redundant code from createNode() because exceptions are handled on the caller side
- NodeExistsException and InterruptedException are handled in setState() and replace()
- Also used KeeperException's subclasses instead of KeeperException.code()

This closes #7324

Signed-off-by: David Handermann <exceptionfactory@apache.org>

(cherry picked from commit ac80b9d900221fedb59142e4a4802bf4ab2a17f4)
2023-09-19 12:32:03 -05:00
Joseph Witt
1f149988c6
NIFI-12064 Upgraded Maven Plugin versions
This closes #7731

Signed-off-by: David Handermann <exceptionfactory@apache.org>

(cherry picked from commit a1fca9b44edb387c3673251d37f268264122d3eb)
2023-09-14 19:39:32 -05:00
Freedom9339
bcc3468a39 NIFI-10904 Changed the font color for drop down menus to avoid the app… (#7502)
* 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.
2023-08-31 09:44:06 -07:00
exceptionfactory
9cd720ee20 NIFI-12001 Refactored CertificateUtils to separate modules
- Added nifi-security-cert for reusable components without dependencies
- Added nifi-security-cert-builder for certificate generation

NIFI-12001: Changes related to backporting
Signed-off-by: Matt Burgess <mattyb149@apache.org>
2023-08-30 15:06:37 -04:00
Matt Burgess
1a9e972721 NIFI-11195: Fixed NiFi versions for backport 2023-08-29 15:43:06 -04:00
exceptionfactory
fec34036a5 NIFI-11195 Refactored Identity Mapping to nifi-security-identity
- Moved StringUtils from nifi-properties to nifi-property-utils
- Moved Peer Identity methods from CertificateUtils to specific Site-to-Site classes

Signed-off-by: Joe Gresock <jgresock@gmail.com>
This closes #6977.
2023-08-29 15:43:06 -04:00
Freedom9339
1bec97542c NIFI-11303 Added a go-to entry on the right click context menu for th… (#7461)
* 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.
2023-08-21 09:42:36 -07:00
mr1716
f17e281267
NIFI-11955 Upgraded maven-clean-plugin from 3.2.0 to 3.3.1
This closes #7616

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 0d119f6f394e26ba02123a6554a8f2dd56550af9)
2023-08-16 21:08:56 -05:00
Yolanda M. Davis
104af930d7
NIFI-11899 Correct Bulletin Metrics Registry to return latest Bulletins
This closes #7567

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit f8e3b9ebacb4d927ac6a4f9a3fee0eaaf2d9fd36)
2023-08-04 11:21:36 -05:00
Pierre Villard
1307a63eba
NIFI-11901 Added name and version subtitle in Processor Details view
This closes #7563

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 572e661d1271082f6a7aa7195853609127b83dec)
2023-08-04 11:17:18 -05:00
exceptionfactory
27a690a30a NIFI-11832-RC3 prepare for next development iteration 2023-07-25 14:03:12 -05:00
exceptionfactory
b7792f03b7 NIFI-11832-RC3 prepare release nifi-1.23.0-RC3 2023-07-25 14:03:11 -05:00
Mark Payne
7b588fad17
NIFI-3065 When copying a PG, do not set the Log File Suffix if not already set
This closes #7522

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 0eebf6b14ea6bfe230cc675577edf166019f5ef7)
2023-07-24 13:07:33 -05:00
Pierre Villard
ff6bfe5fcd
NIFI-11846 - Change version should not show keep existing parameter context
This closes #7517

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 969679e43b82af0b9d217c3b971b751b4ded3eb2)
2023-07-24 11:36:18 -05:00
Mark Payne
6854d9ba86
NIFI-11814 Optimized Cluster Replication Component status evaluation
When waiting for all controller services to reach the desired status in the ClusterReplicationComponentLifecycle component, return immediately if there are no services to wait for. Otherwise, request that referencing components not be included in the return value of the Controller Services

This closes #7493

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit 7405dcb510d0740d7e0eaf3200ed2d8900f5b3f0)
2023-07-19 14:26:47 -05:00
exceptionfactory
1b0b37e6e4
NIFI-11781 Corrected OIDC Claim Identity Processing
- Added StandardOidcUserService supporting fallback claim names
- Updated StandardClientRegistrationProvider to use standard Subject claim
- Updated OIDC Security Configuration to use customized OidcUserService for claim handling

Signed-off-by: Joe Gresock <jgresock@gmail.com>
This closes #7468.
2023-07-15 11:04:47 -04:00
Emilio Setiadarma
3649ade3c7
NIFI-11536 Corrected Keystore and Truststore auto-reloading
- Replaced Jetty KeyStoreScanner and custom TrustStoreScanner with shared StoreScanner
- New StoreScanner uses TLS Configuration to reload SSLContext instead of relying on Jetty SslContextFactory properties

This closes #7446

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit a85ef2c1f49780be93b49ec6cb077a61c8cc063e)
2023-07-10 11:08:22 -05:00
exceptionfactory
9161485f21
NIFI-11767 Replaced String.repeat() with StringUtils.repeat() for Java 8
Signed-off-by: David Handermann <exceptionfactory@apache.org>
2023-07-06 18:09:07 -05:00
dan-s1
c091eade00
NIFI-11767 Refactored Groovy tests in nifi-web-error and nifi-web-security to Java
This closes #7457

Signed-off-by: David Handermann <exceptionfactory@apache.org>

(cherry picked from commit d24318cdb8003925f9a5411bf20094a02b0c084a)
2023-07-06 16:32:28 -05:00
simonbence
2abd1c5092
NIFI-11769 Adding details on Registry Clients and Registrty Client types on UI (#7453)
Co-authored-by: Shane Ardell <shane.m.ardell@gmail.com>

Merged #7453 into main.
2023-07-01 20:58:38 +02:00
Bence Simon
5acbb8a702
NIFI-11706 Add option to create dedicated Parameter Contexts for Imported Flows
This closes #7401

Signed-off-by: David Handermann <exceptionfactory@apache.org>
(cherry picked from commit cadf2fb6f25caf334bf787292380af5b25fdcbb1)
2023-06-30 13:15:41 -05:00
exceptionfactory
5a68069b8f
NIFI-11714 Added Error Handler to Jetty Server
- Configured Error Handler with Stack Traces disabled for NiFi and Registry

Signed-off-by: Joe Gresock <jgresock@gmail.com>

This closes #7447.
2023-06-29 16:46:40 -04:00
dan-s1
ce5eb85c1d
NIFI-11754 Refactored Groovy test in nifi-jetty to Java (and JUnit 5)
This closes #7442

Signed-off-by: David Handermann <exceptionfactory@apache.org>

(cherry picked from commit 2a7fa6d17b1807091659197c702a221825a30eeb)
2023-06-27 14:45:26 -05:00
dan-s1
207af04ea2
NIFI-11747 Refactored Groovy tests in nifi-web-api to Java (and JUnit 5)
This closes #7434

Signed-off-by: David Handermann <exceptionfactory@apache.org>

(cherry picked from commit 7748d9d1e5287c6b99c965ee0ed93ed154802def)
2023-06-26 15:23:24 -05:00
timeabarna
d5fb6b4518 NIFI-3065 Per Process Group logging (#7315)
* NIFI-3065 Per Process Group logging
2023-06-23 21:20:34 -04:00
exceptionfactory
072c9547bf NIFI-11748 Upgraded Apache Commons Codec from 1.15 to 1.16.0
Signed-off-by: Matt Burgess <mattyb149@apache.org>
2023-06-23 18:26:51 -04:00
exceptionfactory
411111925b
NIFI-11735 Refactored Identity Provider Groups Handling (#7419)
- Removed H2 database approach in favor of passing groups in Application Bearer Token
2023-06-22 11:11:44 -04:00