Skip to content

Commit 6caa704

Browse files
committed
Updating GraphSON serializer version
1 parent 3913111 commit 6caa704

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

articles/cosmos-db/create-graph-gremlin-console.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ You also need to install the [Gremlin Console](https://tinkerpop.apache.org/). U
5454
username|*Your username*|The resource of the form `/dbs/<db>/colls/<coll>` where `<db>` is your database name and `<coll>` is your collection name.
5555
password|*Your primary key*| See second screenshot below. This is your primary key, which you can retrieve from the Keys page of the Azure portal, in the Primary Key box. Use the copy button on the left side of the box to copy the value.
5656
connectionPool|{enableSsl: true}|Your connection pool setting for SSL.
57-
serializer|{ className: org.apache.tinkerpop.gremlin.<br>driver.ser.GraphSONMessageSerializerV1d0,<br> config: { serializeResultToString: true }}|Set to this value and delete any `\n` line breaks when pasting in the value.
57+
serializer|{ className: org.apache.tinkerpop.gremlin.<br>driver.ser.GraphSONMessageSerializerV2d0,<br> config: { serializeResultToString: true }}|Set to this value and delete any `\n` line breaks when pasting in the value.
5858

5959
For the hosts value, copy the **Gremlin URI** value from the **Overview** page:
6060
![View and copy the Gremlin URI value on the Overview page in the Azure portal](./media/create-graph-gremlin-console/gremlin-uri.png)

articles/cosmos-db/gremlin-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The following table lists the TinkerPop features that are implemented by Azure C
4343

4444
## Gremlin wire format: GraphSON
4545

46-
Azure Cosmos DB uses the [GraphSON format](https://tinkerpop.apache.org/docs/3.3.2/reference/#graphson-reader-writer) when returning results from Gremlin operations. GraphSON is the Gremlin standard format for representing vertices, edges, and properties (single and multi-valued properties) using JSON.
46+
Azure Cosmos DB uses the [GraphSON format](http://tinkerpop.apache.org/docs/current/reference/#graphson) when returning results from Gremlin operations. Azure Cosmos DB supports "GraphSONv2" version. GraphSON is the Gremlin standard format for representing vertices, edges, and properties (single and multi-valued properties) using JSON.
4747

4848
For example, the following snippet shows a GraphSON representation of a vertex *returned to the client* from Azure Cosmos DB.
4949

0 commit comments

Comments
 (0)