Skip to content

Commit 8715e98

Browse files
Merge pull request #199 from TransactionProcessing/task/#198_sendtransactionsource
Add Transaction Source for file transactions
2 parents 151a6d1 + e07e699 commit 8715e98

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

FileProcessor.BusinessLogic/FileProcessor.BusinessLogic.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<PackageReference Include="MediatR" Version="10.0.1" />
1515
<PackageReference Include="Shared.EventStore" Version="1.3.7" />
1616
<PackageReference Include="System.IO.Abstractions" Version="17.0.15" />
17-
<PackageReference Include="TransactionProcessor.Client" Version="1.1.5" />
17+
<PackageReference Include="TransactionProcessor.Client" Version="1.1.7-build12" />
1818
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.5" />
1919
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.5" />
2020
</ItemGroup>

FileProcessor.BusinessLogic/RequestHandlers/FileRequestHandler.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ public async Task<Unit> Handle(ProcessTransactionForFileLineRequest request,
465465
OperatorIdentifier = contract.OperatorName,
466466
ProductId = product.ProductId,
467467
AdditionalTransactionMetadata = transactionMetadata,
468+
TransactionSource = 2 // File based transaction
468469
};
469470

470471
SerialisedMessage serialisedRequestMessage = new SerialisedMessage

0 commit comments

Comments
 (0)