This is an automated email from the ASF dual-hosted git repository.
pvillard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new 330aa6ae8f NIFI-14560 Removed Supported Proxies from Property
Description Field
330aa6ae8f is described below
commit 330aa6ae8fe6d852c13969262495878fe19aafc6
Author: exceptionfactory <[email protected]>
AuthorDate: Mon May 12 22:12:39 2025 -0500
NIFI-14560 Removed Supported Proxies from Property Description Field
Signed-off-by: Pierre Villard <[email protected]>
This closes #9935.
---
.../src/main/java/org/apache/nifi/proxy/ProxyConfiguration.java | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git
a/nifi-extension-bundles/nifi-standard-services/nifi-proxy-configuration-api/src/main/java/org/apache/nifi/proxy/ProxyConfiguration.java
b/nifi-extension-bundles/nifi-standard-services/nifi-proxy-configuration-api/src/main/java/org/apache/nifi/proxy/ProxyConfiguration.java
index 266092487e..7214609d17 100644
---
a/nifi-extension-bundles/nifi-standard-services/nifi-proxy-configuration-api/src/main/java/org/apache/nifi/proxy/ProxyConfiguration.java
+++
b/nifi-extension-bundles/nifi-standard-services/nifi-proxy-configuration-api/src/main/java/org/apache/nifi/proxy/ProxyConfiguration.java
@@ -38,13 +38,10 @@ public class ProxyConfiguration {
public static final ProxyConfiguration DIRECT_CONFIGURATION = new
ProxyConfiguration();
- public static PropertyDescriptor createProxyConfigPropertyDescriptor(final
ProxySpec... _specs) {
-
- final Set<ProxySpec> specs = getUniqueProxySpecs(_specs);
+ public static PropertyDescriptor createProxyConfigPropertyDescriptor(final
ProxySpec... supportedProxySpecs) {
+ final Set<ProxySpec> specs = getUniqueProxySpecs(supportedProxySpecs);
final StringBuilder description = new StringBuilder("Specifies the
Proxy Configuration Controller Service to proxy network requests.");
- description.append(" Supported proxies: ");
-
description.append(specs.stream().map(ProxySpec::getDisplayName).collect(Collectors.joining(",
")));
if (specs.contains(SOCKS)) {
description.append(" In case of SOCKS, it is not guaranteed that
the selected SOCKS Version will be used by the processor.");