You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by jo...@apache.org on 2023/10/12 00:45:49 UTC
[nifi] 03/03: NIFI-12211: This closes #7868. add Validator.VALID to username/password on TinkerpopClientService
This is an automated email from the ASF dual-hosted git repository.
joewitt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
commit 1a0f509ffc4a2d0b9620d1d322807d3588deb6e4
Author: levilentz <le...@gmail.com>
AuthorDate: Wed Oct 11 10:36:44 2023 -0700
NIFI-12211: This closes #7868. add Validator.VALID to username/password on TinkerpopClientService
Signed-off-by: Joseph Witt <jo...@apache.org>
---
.../src/main/java/org/apache/nifi/graph/TinkerpopClientService.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/nifi-nar-bundles/nifi-graph-bundle/nifi-other-graph-services/src/main/java/org/apache/nifi/graph/TinkerpopClientService.java b/nifi-nar-bundles/nifi-graph-bundle/nifi-other-graph-services/src/main/java/org/apache/nifi/graph/TinkerpopClientService.java
index f94a5ba0c5..ac01bb7a3a 100644
--- a/nifi-nar-bundles/nifi-graph-bundle/nifi-other-graph-services/src/main/java/org/apache/nifi/graph/TinkerpopClientService.java
+++ b/nifi-nar-bundles/nifi-graph-bundle/nifi-other-graph-services/src/main/java/org/apache/nifi/graph/TinkerpopClientService.java
@@ -167,6 +167,7 @@ public class TinkerpopClientService extends AbstractControllerService implements
" Note: when using a remote.yaml file, this username value (if set) will overload any " +
"username set in the YAML file.")
.required(false)
+ .addValidator(Validator.VALID)
.expressionLanguageSupported(ExpressionLanguageScope.ENVIRONMENT)
.build();
@@ -178,6 +179,7 @@ public class TinkerpopClientService extends AbstractControllerService implements
"password set in the YAML file")
.required(false)
.sensitive(true)
+ .addValidator(Validator.VALID)
.build();
public static final PropertyDescriptor EXTRA_RESOURCE = new PropertyDescriptor.Builder()