Daniel Stieglitz created NIFI-15237:
---------------------------------------
Summary: Replace the use of deprecated method withRemote in
org.apache.tinkerpop.gremlin.process.traversal.AnonymousTraversalSource with
API suggestion
Key: NIFI-15237
URL: https://issues.apache.org/jira/browse/NIFI-15237
Project: Apache NiFi
Issue Type: Improvement
Reporter: Daniel Stieglitz
Assignee: Daniel Stieglitz
The logs indicate the withRemote method in
org.apache.tinkerpop.gremlin.process.traversal.AnonymousTraversalSource has
been deprecated as seen below:
{code:java}
2025-11-19T10:56:34.3714519Z [WARNING]
/home/runner/work/nifi/nifi/nifi-extension-bundles/nifi-graph-bundle/nifi-other-graph-services/src/main/java/org/apache/nifi/graph/TinkerpopClientService.java:[523,64]
[deprecation] withRemote(RemoteConnection) in AnonymousTraversalSource has
been deprecated
2025-11-19T10:56:34.3717142Z where T is a type-variable:
2025-11-19T10:56:34.3717977Z T extends TraversalSource declared in class
AnonymousTraversalSource
2025-11-19T10:56:34.3720324Z [WARNING]
/home/runner/work/nifi/nifi/nifi-extension-bundles/nifi-graph-bundle/nifi-other-graph-services/src/main/java/org/apache/nifi/graph/TinkerpopClientService.java:[525,64]
[deprecation] withRemote(RemoteConnection) in AnonymousTraversalSource has
been deprecated
2025-11-19T10:56:34.3722737Z where T is a type-variable:
2025-11-19T10:56:34.3723542Z T extends TraversalSource declared in class
AnonymousTraversalSource {code}
The point of this ticket is to replace the deprecated withRemote method with
the suggestion seen in the API
[javadocs|https://tinkerpop.apache.org/javadocs/current/core/org/apache/tinkerpop/gremlin/process/traversal/AnonymousTraversalSource.html]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)