JanusGraph / JanusGraph/janusgraph
.net driver doesn't connect new graph traversal source
- Dominant language
- Java
- Stars
- 5.8k
- Forks
- 1.2k
- Avg merge
- 13h 53m
- Merged PRs (30d)
- 6
Description
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
}
```
2. Groovy script is
```
def createNewGraph(graphName)
{
map = new HashMap();
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));
}
```
3. Call groovy script and see the new graph

4. 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?
Contributor guide
Research direction
Start with the janusgraph-server.yaml graph configuration, the Groovy createNewGraph script, and the .NET DriverRemoteConnection setup shown in the report. Trace how the dynamically created graph name is exposed to the remote traversal source, then verify that _g.V().Count().Next() succeeds through the .NET driver.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, java
- Domain
- api, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100