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

Schema Management Support #48

Open
ChenZhaobin opened this issue Jul 30, 2020 · 2 comments
Open

Schema Management Support #48

ChenZhaobin opened this issue Jul 30, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@ChenZhaobin
Copy link

ChenZhaobin commented Jul 30, 2020

I find that in JanusGraph.Java we can use mgmt = graph.openManagement() to manage the schemas,
do we have similar functions in this project?

@ChenZhaobin ChenZhaobin changed the title Why not include JanusGraphManagement Why not include the feature :mgmt = graph.openManagement() Jul 30, 2020
@ChenZhaobin
Copy link
Author

and this one: graph.tx().commit()

@FlorianHockmann FlorianHockmann changed the title Why not include the feature :mgmt = graph.openManagement() Schema Management Support Jul 31, 2020
@FlorianHockmann
Copy link
Member

@ChenZhaobin Please don't ask usage questions in the form of GitHub issues as we're only using issues for feature requests or bug reports. You can instead ask question on one of JanusGraph's community channels, especially the janusgraph-users Google group or the Gitter chat.
This especially applies to your question about committing (which isn't necessary as the server already commits each traversal if it has successfully been executed).

Your question about schema management actually asks for a missing feature of this library so I have updated the issue title accordingly. Schema management is currently something that only works in Java / Groovy but you can also do that from JanusGraph.Net by submitting Groovy code as a string to the server. That also includes access to the management API.
There is however also work going on to make this more convenient but it requires changes to JanusGraph Server first. The idea is currently to add a GRPC API to the server which exposes the management interface and then we could use this API from .NET. This was discussed on janusgraph-dev if you're interested in more details on that.

@FlorianHockmann FlorianHockmann added the enhancement New feature or request label Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants