Gremlin.Net.CosmosDb icon indicating copy to clipboard operation
Gremlin.Net.CosmosDb copied to clipboard

Add support for Cosmos DB emulator

Open SamHard opened this issue 5 years ago • 4 comments

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 avatar Jul 02 '19 21:07 SamHard

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

BenjaBobs avatar Jul 03 '19 06:07 BenjaBobs

Awesome! That paves the way for integration testing!

BenjaBobs avatar Jul 04 '19 06:07 BenjaBobs

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

SebastianAtWork avatar Oct 18 '19 12:10 SebastianAtWork