microsoft / spring-data-gremlin

We are in the process of deprecating Spring Data Gremlin. -- Provide generic annotation oriented programming form based on gremlin for graph database
Other
129 stars 76 forks source link

[Question] is it possible to work with cosmosDB partitions #226

Closed softwaremagico closed 5 years ago

softwaremagico commented 5 years ago

If exists a CosmosDB with partitions, is it possible to use spring-data-gremlin with it?

At least, I am not able to find where to put the partition key when working with a GremlinRepository.

Incarnation-p-lee commented 5 years ago

@softwaremagico Thanks for you issue, this repo is focus on gremlin itself and Partition is something cosmosdb special. So that may out of the scope here.

softwaremagico commented 5 years ago

Ok, thanks for your response.

softwaremagico commented 5 years ago

After some checks, basically if I add the property "partition" to a vertex, cosmosDB handle correctly and put it in the correct partition. Nothing else special needed.