A tool to extract saga data from Azure Table storage (used by NServiceBus.Persistence.AzureStorage or NServiceBus.Persistence.AzureTable) for import into Cosmos DB to use with NServiceBus.Persistence.CosmosDB.
All test projects use NUnit. The test projects can be executed using the test runner included with Visual Studio or by using the dotnet test
command from the command line.
The test projects require access to Azure Table Storage and Cosmos DB for tests to pass.
Although it's deprecated, the tests can use the Azure Storage Emulator with no further configuration.
To use a created Azure Storage Account, set an environment variable named AzureStoragePersistence_ConnectionString
with a connection string for your Storage Account.
The local Cosmos DB emulator can be used without configuring a connection string.
The Cosmos DB Emulator, including a data explorer, can be located at https://localhost:8081/_explorer/index.html.
Once the emulator is setup, create a Database named CosmosDBPersistence
.
To create a Cosmos DB Core (SQL) Account refer to the Microsoft instructions for managing Accounts.
Once a Cosmos DB account is setup, you can use the Azure Cosmos explorer to create a Database named CosmosDBPersistence
which is required by the test projects.
To use the created Cosmos DB Account, set an environment variable named CosmosDBPersistence_ConnectionString
with a Cosmos DB connection string for your Account.