Feat/trk 005 tracking event log - #61
Merged
Merged
Conversation
… and FreightOrderService
…htOrder class by adding an one to many association to TrakingEvent
…ingControllerTest
…ingControllerTest
…ingControllerTest
hajk1
approved these changes
Mar 19, 2026
hajk1
added a commit
that referenced
this pull request
Mar 19, 2026
* init changes for TRK 004 * fixing test issues * fixing test issues * fixing test issues * Feat/trk 005 tracking event log (#61) * adding TrackingEvent entity * creating TrackingEventRepository * creating TrackingEvent entity,service,updating FreightOrderController and FreightOrderService * adding an arrayList of events on traking orderResponse,updating freightOrder class by adding an one to many association to TrakingEvent * test writting * creating test for trakingEvent in FreightOrderContollerTest and TrackingControllerTest * creating test for trakingEvent in FreightOrderContollerTest and TrackingControllerTest * creating test for trakingEvent in FreightOrderContollerTest and TrackingControllerTest * test bug fixing * test bug fixing * test bug fixing * fixing transactional issue * init changes for TRK 004 * fixing test issues * fixing test issues * fixing test issues * fixing transactional issue * fixing test issues * fixing test issues --------- Co-authored-by: Essosolim Joël PAKA <pakawess@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tracking Events Implementation
Implemented the core business logic, automated logging, and REST endpoints for freight order visibility and audit trails.
Tasks completed:
TrackingEvent.javaentity (extendingBaseEntity) with support for automated status changes, gate scans, and manual notes.OrderTrackingResponseandFreightOrderService.javato automatically persist aSTATUS_CHANGEevent with descriptive metadata whenever an order status is updated.TrackingEventRequest.javaand updated the tracking response to include a chronologically sortedeventsarray.TrackingEventController.javawith endpoints for manual event logging (POST) and event retrieval (GET) for specific orders.Verification: