-
Install azure power shell module : Install the Azure Az PowerShell module | Microsoft Docs
-
Connect to azure in a PS terminal: Connect-AzAccount -Subscription "YOUR SUBSCFRITPION NAME"
-
Change directory to nsbcommon folder in the PS terminal
-
Open the “Nsb.Commons\deployCosmosAndSB.ps1” file and change the following parameters accordingly and execute the script from the PS session openedd in step 2
$location= "Central US"
$resourceGroupName = "EastPotDeployRg" # Resource Group name
$accountName = "evecosmosaccountname" # Must be all lower case
$databaseName = "evecosmosDatabase"
$serviceBusName ="eveservicebus"
-
The above script creates cosmos and SB and ouputs the cosmos (Primary SQL Connection String) and sb (PrimaryConnectionString) connection strings in the terminal, updated these values in the following files.
- Local.settings.json (in the root folder)
- ITOps\AcmeTickets.ITOps.SyncApi\appsettings.json
-
Execute the following command “dotnet tool install -g NServiceBus.Transport.AzureServiceBus.CommandLine” this will install the nservicebus SB tooling.
-
In the nsbcommon solution folder, open the file “Nsb.Commons\queues.ps1” and modify the “$env:AzureServiceBus_ConnectionString“ with value from step 5 and execute the ps script.
-
Postman setup
- open the folder Postman_Collection (in the root folder)
- Import collection : Eventellect.postman_collection.json
- Import environment: Local.postman_environment.json
-
Follow the POT video demo steps to run the flow.
Repository navigation
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|