OBLS-450 Publish CycleCountCompletedEvent#6008
Conversation
There was a problem hiding this comment.
Pull request overview
This PR introduces Spring async support and refactors inventory/cycle-count webhook publishing from Quartz jobs + InventoryAdjustmentEvent toward async transactional application events (TransactionCreatedEvent, CycleCountCompletedEvent).
Changes:
- Enable Spring
@Asyncglobally and register a configurabletaskExecutor. - Add
CycleCountCompletedEvent+ listener service to publish cycle count completion webhooks. - Replace
InventoryAdjustmentEvent/Quartz job flow withTransactionCreatedEvent+ listener for adjustment webhooks.
Reviewed changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 3 comments.
Show a summary per file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## feature/obaf-integration #6008 +/- ##
==============================================================
- Coverage 10.43% 10.38% -0.05%
+ Complexity 1711 1701 -10
==============================================================
Files 901 917 +16
Lines 51619 52201 +582
Branches 12239 12373 +134
==============================================================
+ Hits 5384 5423 +39
- Misses 45379 45909 +530
- Partials 856 869 +13 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|

I added a few things here besides the
CycleCountCompletedEvent. I separated this into 3 commits:@EnableAsyncso we don't have to rely on jobs to run tasks asynchronouslyCycleCountCompletedEventandCycleCountCompletedEventServiceInventoryAdjustmentEventintoTransactionEventCreatedThis is ready for review, but I am marking this as do not merge, because I am still testing the last commit.