Skip to content

Commit

Permalink
Rename Gremlin container by graph (#5744)
Browse files Browse the repository at this point in the history
* Rename Gremlin container by graph

* Replace rid in url with name

* Replace mongo with mongodb

* Replace rid with name in examples

* Fix bug

* Update MongoDB name

* Update file name by git mv as windows doesn't work

* Update MongDB name in example
  • Loading branch information
bizarreWizard authored and sarangan12 committed Apr 26, 2019
1 parent a35a6dc commit 38c2ed6
Show file tree
Hide file tree
Showing 34 changed files with 444 additions and 310 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"keyspaceRid": "keyspaceName",
"keyspaceName": "keyspaceName",
"createUpdateCassandraKeyspaceParameters": {
"properties": {
"resource": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"keyspaceRid": "keyspaceName"
"keyspaceName": "keyspaceName"
},
"responses": {
"204": { },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"keyspaceRid": "keyspaceName"
"keyspaceName": "keyspaceName"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"keyspaceRid": "tableName",
"tableRid": "tableName",
"keyspaceName": "tableName",
"tableName": "tableName",
"createUpdateCassandraTableParameters": {
"properties": {
"resource": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"keyspaceRid": "keyspaceName",
"tableRid": "tableName"
"keyspaceName": "keyspaceName",
"tableName": "tableName"
},
"responses": {
"204": { },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"keyspaceRid": "keyspaceName",
"tableRid": "tableName"
"keyspaceName": "keyspaceName",
"tableName": "tableName"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"subscriptionId": "subid",
"resourceGroupName": "rgName",
"accountName": "ddb1",
"keyspaceRid": "keyspaceName"
"keyspaceName": "keyspaceName"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"databaseRid": "databaseName",
"databaseName": "databaseName",
"createUpdateGremlinDatabaseParameters": {
"properties": {
"resource": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"databaseRid": "databaseName"
"databaseName": "databaseName"
},
"responses": {
"204": { },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"databaseRid": "databaseName"
"databaseName": "databaseName"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"databaseRid": "databaseName",
"containerRid": "containerName",
"createUpdateGremlinContainerParameters": {
"databaseName": "databaseName",
"graphName": "graphName",
"createUpdateGremlinGraphParameters": {
"properties": {
"resource": {
"id": "containerName",
"id": "graphName",
"indexingPolicy": {
"indexingMode": "Consistent",
"automatic": true,
Expand Down Expand Up @@ -61,11 +61,11 @@
"responses": {
"200": {
"body": {
"id": "containerName",
"name": "containerName",
"type": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers",
"id": "graphName",
"name": "graphName",
"type": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs",
"properties": {
"id": "containerName",
"id": "graphName",
"indexingPolicy": {
"indexingMode": "Consistent",
"automatic": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"databaseRid": "databaseName",
"containerRid": "containerName"
"databaseName": "databaseName",
"graphName": "graphName"
},
"responses": {
"204": { },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
"subscriptionId": "subid",
"resourceGroupName": "rgName",
"accountName": "ddb1",
"databaseRid": "databaseName",
"containerRid": "containerName"
"databaseName": "databaseName",
"graphName": "graphName"
},
"responses": {
"200": {
"body": {
"id": "containerName",
"name": "containerName",
"type": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers",
"id": "graphName",
"name": "graphName",
"type": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs",
"properties": {
"id": "containerName",
"id": "graphName",
"indexingPolicy": {
"indexingMode": "Consistent",
"automatic": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
"subscriptionId": "subid",
"resourceGroupName": "rgName",
"accountName": "ddb1",
"databaseRid": "databaseName"
"databaseName": "databaseName"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "testctn",
"name": "testctn",
"type": "Microsoft.DocumentDB/databaseAccounts/apis/databases/containers",
"id": "testgrf",
"name": "testgrf",
"type": "Microsoft.DocumentDB/databaseAccounts/apis/databases/graphs",
"properties": {
"id": "testctn",
"id": "testgrf",
"indexingPolicy": {
"indexingMode": "Consistent",
"automatic": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"databaseRid": "databaseName",
"collectionRid": "collectionName",
"createUpdateMongoCollectionParameters": {
"databaseName": "databaseName",
"collectionName": "collectionName",
"createUpdateMongoDBCollectionParameters": {
"properties": {
"resource": {
"id": "testcoll",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"databaseRid": "databaseName",
"collectionRid": "collectionName"
"databaseName": "databaseName",
"collectionName": "collectionName"
},
"responses": {
"204": { },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"subscriptionId": "subid",
"resourceGroupName": "rgName",
"accountName": "ddb1",
"databaseRid": "databaseName",
"collectionRid": "collectionName"
"databaseName": "databaseName",
"collectionName": "collectionName"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"subscriptionId": "subid",
"resourceGroupName": "rgName",
"accountName": "ddb1",
"databaseRid": "databaseName"
"databaseName": "databaseName"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"databaseRid": "databaseName",
"createUpdateMongoDatabaseParameters": {
"databaseName": "databaseName",
"createUpdateMongoDBDatabaseParameters": {
"properties": {
"resource": {
"id": "updatedDatabaseName"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"databaseRid": "databaseName"
"databaseName": "databaseName"
},
"responses": {
"204": { },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"databaseRid": "databaseName"
"databaseName": "databaseName"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"databaseRid": "databaseName",
"containerRid": "containerName",
"databaseName": "databaseName",
"containerName": "containerName",
"createUpdateSqlContainerParameters": {
"properties": {
"resource": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"databaseRid": "databaseName",
"containerRid": "containerName"
"databaseName": "databaseName",
"containerName": "containerName"
},
"responses": {
"204": { },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"subscriptionId": "subid",
"resourceGroupName": "rgName",
"accountName": "ddb1",
"databaseRid": "databaseName",
"containerRid": "containerName"
"databaseName": "databaseName",
"containerName": "containerName"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"subscriptionId": "subid",
"resourceGroupName": "rgName",
"accountName": "ddb1",
"databaseRid": "databaseName"
"databaseName": "databaseName"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"databaseRid": "databaseName",
"databaseName": "databaseName",
"createUpdateSqlDatabaseParameters": {
"properties": {
"resource": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"databaseRid": "databaseName"
"databaseName": "databaseName"
},
"responses": {
"204": { },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"databaseRid": "databaseName"
"databaseName": "databaseName"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"tableRid": "tableName",
"tableName": "tableName",
"createUpdateTableParameters": {
"properties": {
"resource": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"tableRid": "tableName"
"tableName": "tableName"
},
"responses": {
"204": { },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2015-04-08",
"subscriptionId": "subid",
"tableRid": "tableName"
"tableName": "tableName"
},
"responses": {
"200": {
Expand Down
12 changes: 8 additions & 4 deletions specification/cosmos-db/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ directive:
reason: The Container doesn't support Patch operation
- suppress: TrackedResourcePatchOperation
from: cosmos-db.json
where: $.definitions.MongoDatabase
reason: The MongoDatabase doesn't support Patch operation
where: $.definitions.MongoDBDatabase
reason: The MongoDBDatabase doesn't support Patch operation
- suppress: TrackedResourcePatchOperation
from: cosmos-db.json
where: $.definitions.MongoCollection
reason: The MongoCollection doesn't support Patch operation
where: $.definitions.MongoDBCollection
reason: The MongoDBCollection doesn't support Patch operation
- suppress: TrackedResourcePatchOperation
from: cosmos-db.json
where: $.definitions.Table
Expand All @@ -82,6 +82,10 @@ directive:
from: cosmos-db.json
where: $.definitions.GremlinDatabase
reason: The GremlinDatabase doesn't support Patch operation
- suppress: TrackedResourcePatchOperation
from: cosmos-db.json
where: $.definitions.GremlinGraph
reason: The GremlinGraph doesn't support Patch operation
- suppress: DefinitionsPropertiesNamesCamelCase
from: cosmos-db.json
where: $.definitions.MetricValue.properties._count
Expand Down

0 comments on commit 38c2ed6

Please sign in to comment.