Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.net driver doesn't connect new graph traversal source #4749

Open
harunsolidatus opened this issue Jan 8, 2025 · 0 comments
Open

.net driver doesn't connect new graph traversal source #4749

harunsolidatus opened this issue Jan 8, 2025 · 0 comments

Comments

@harunsolidatus
Copy link

harunsolidatus commented Jan 8, 2025

I try to reach new graph's GraphTraversalSource but it doesn't recognize it. Here is my steps

  1. Configuration in janusgraph-server.yaml
graphs: {
  ConfigurationManagementGraph: conf/janusgraph-berkeleyje-server.properties
}
  1. Groovy script is
def createNewGraph(graphName)
{    
    map = new HashMap<String, Object>();
    map.put("storage.backend", "berkeleyje");
    map.put("storage.hostname", "127.0.0.1");
    map.put("graph.graphname", graphName);
    map.put("storage.directory", "/var/lib/janusgraph/"+graphName);
    ConfiguredGraphFactory.createConfiguration(new MapConfiguration(map));
}
  1. Call groovy script and see the new graph
    image

  2. Try to connect that graph with

_remoteConnection = new DriverRemoteConnection(_gremlinClient, "test");
_g = AnonymousTraversalSource.Traversal().WithRemote(_remoteConnection);

When I want to make operation with traversal object ( like _g.V().Count().Next()) it returns

Gremlin.Net.Driver.Exceptions.ResponseException: InvalidRequestArguments: The traversal source [test] for alias [g] is not configured on the server.

What should I do to make that graph recognizable for the .net driver?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant