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

Add support for Cosmos DB emulator #58

Open
SamHard opened this issue Jul 2, 2019 · 4 comments
Open

Add support for Cosmos DB emulator #58

SamHard opened this issue Jul 2, 2019 · 4 comments

Comments

@SamHard
Copy link

SamHard commented Jul 2, 2019

There's currently no way to connect a local Cosmos DB emulator because GraphClient does not accept values for Port and UseSSL parameters. For the local emulator, we need to set Port to 8901 (it's hard-coded to 443) and UseSSL to false (it's hard-coded to true).

See this page for more info on using the Gremlin API with the Cosmos DB emulator:
https://docs.microsoft.com/en-us/azure/cosmos-db/local-emulator#gremlin-api

SamHard pushed a commit to SamHard/Gremlin.Net.CosmosDb that referenced this issue Jul 2, 2019
Fixes issue evo-terren#58 by adding two optional parameters for Port and UseSSL to the constructor of the GraphClient class.
@BenjaBobs
Copy link
Collaborator

Does the emulator support Gremlin.Net? I thought it didn't yet.

@jpamp
Copy link

jpamp commented Jul 3, 2019

According to https://feedback.azure.com/forums/263030-azure-cosmos-db/suggestions/19636633-support-gremlin-apis-on-cosmos-db-emulator it does now.

@BenjaBobs
Copy link
Collaborator

BenjaBobs commented Jul 4, 2019

Awesome! That paves the way for integration testing!

@SebastianAtWork
Copy link

i see that you already implemented this, can you please make a new nuget version?

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

No branches or pull requests

4 participants