Skip to content

deadwards90/BigBang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BigBang

Cosmos DB Migration Tool written in .NET

How to run

To use run this query with you connection string and json file:

dotnet run -- --connection-string "CosmosConnectionString" --file filelocation

Example database json file

{
  "id": "Databasename",
  "throughput": 400,
  "containers": [
    {
      "id": "table",
      "indexingPolicy": {
        "indexingMode": "consistent",
        "automatic": true,
        "includedPaths": [
          {
            "path": "/*",
            "indexes": [
              {
                "kind": "Range",
                "dataType": "Number",
                "precision": -1
              },
              {
                "kind": "Hash",
                "dataType": "String",
                "precision": 3
              }
            ]
          }
        ]
      },
      "partitionKey": "/partitionKey",
      "defaultTimeToLive": 1000,
      "storedProcedures": [],
      "userDefinedFunctions": []
    }
  ]
}

About

Cosmos DB Migration Tool written in .NET

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published