Levi Lentz created NIFI-12211:
---------------------------------
Summary: TinkerpopClientService is enable-able when setting the
username or password in the service
Key: NIFI-12211
URL: https://issues.apache.org/jira/browse/NIFI-12211
Project: Apache NiFi
Issue Type: Bug
Reporter: Levi Lentz
Assignee: Levi Lentz
In the TinkperpopClientService we are missing validators on the username and
password as introduced by this PR:
[https://github.com/apache/nifi/pull/7677]
Example stacktrace when setting the username/password:
{code:java}
java.lang.IllegalStateException: Cannot enable Controller Service
TestableGremlinClientService[id=gremlinService] because it is in an invalid
state: 'user-name' validated against 'test' is invalid because 'user-name' is
not a supported property or has no Validator associated with it
{code}
The fix:
Add Validators.VALID to the username/password fields.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)