Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,14 @@ public static async Task GenerateTransactions(ITransactionDataGenerator t, Guid
throw new JobExecutionException($"Error performing logon for Merchant [{merchant.MerchantName}]");
}
}

Random r = new Random();
List<String> results = new List<String>();
foreach (ContractResponse contract in contracts)
{

Int32 numberOfSales = r.Next(2, 4);
// Generate and send some sales
Boolean success = await t.SendSales(transactionDate, merchant, contract, cancellationToken);
Boolean success = await t.SendSales(transactionDate, merchant, contract, numberOfSales, cancellationToken);

if (success == false)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="Quartz" Version="3.5.0" />
<PackageReference Include="TransactionProcessing.DataGeneration" Version="2023.6.3-build19" />
<PackageReference Include="TransactionProcessing.DataGeneration" Version="2023.6.5-build22" />

</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
}
},
"ConnectionStrings": {
"SchedulerReadModel": "server=127.0.0.1;user id=sa;password=sp1ttal;database=Scheduler;Encrypt=True;TrustServerCertificate=True"
"SchedulerReadModel": "server=127.0.0.1;user id=sa;password=Sc0tland;database=Scheduler;Encrypt=True;TrustServerCertificate=True"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@
"Name": "Messaging Service",
"Uri": "http://192.168.0.134:5006/healthui"
},
{
"Name": "Voucher Management ACL Service",
"Uri": "http://192.168.0.134:5008/healthui"
},
{
"Name": "File Processor Service",
"Uri": "http://192.168.0.134:5009/healthui"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
{
"Name": "Security Service",
"Uri": "http://192.168.0.133:5001/health"
"Uri": "https://192.168.0.133:5001/health"
},
{
"Name": "Transaction Processor Service",
Expand All @@ -27,24 +27,12 @@
},
{
"Name": "Estate Management UI",
"Uri": "http://192.168.0.133:5004/health"
},
{
"Name": "Estate Reporting Service",
"Uri": "http://192.168.0.133:5005/health"
"Uri": "https://192.168.0.133:5004/health"
},
{
"Name": "Messaging Service",
"Uri": "http://192.168.0.133:5006/health"
},
{
"Name": "Voucher Management Service",
"Uri": "http://192.168.0.133:5007/health"
},
{
"Name": "Voucher Management ACL Service",
"Uri": "http://192.168.0.133:5008/health"
},
{
"Name": "File Processor Service",
"Uri": "http://192.168.0.133:5009/health"
Expand Down