Merge branch 'feature/add-polling-cron' into 'release/0.0.1-RELEASE'
less verbose logs See merge request qantra/qpay-transaction-manager-spring-boot!8
This commit is contained in:
@@ -48,6 +48,7 @@ public class PollCronWorkflow extends WorkflowDefinition {
|
||||
public NextAction process(StateExecution execution) {
|
||||
List<Transaction> transactions = transactionService.getTransactionRepository()
|
||||
.findAllByConfirmationStatusAndIntegrationStatus(Status.SUCCESS, Status.PENDING);
|
||||
if (!transactions.isEmpty())
|
||||
log.info("Transaction count {}", transactions.size());
|
||||
|
||||
for (Transaction transaction: transactions) {
|
||||
|
||||
Reference in New Issue
Block a user