peter_backlund
8005e0219b
Removed call to transaction aspect rollback function, breaks when the aspect isn't weaved.
17 lat temu
peter_backlund
6a38351409
Removed redundant constructor argument for Cargo (origin can be derived from the inital route specification)
17 lat temu
peter_backlund
26a7aed12d
Slight method name changes (deriveStatusFromHandling => deriveDeliveryProgress).
Fixed cloning of Date in a few places.
Explicitly roll back transaction if handling event registration fails.
Using single-parameter validation + message in more places (instead of arrays)
17 lat temu
peter_backlund
905e2195b8
Corrected voyage numbers and UN Locodes.
17 lat temu
peter_backlund
b27d95c830
Renamed package "carrier" to "voyage", in line with Voyage being the aggregate root.
17 lat temu
peter_backlund
61b7fe0138
HandlingEventService.registerHandlingEvent() signature takes value objects instead of HandlingEventRegistrationAttempt, decoupling it from message queues.
Creating sample data using domain objects and storing with Hibernate, for simplicity.
Estimated time of arrival is now a property of the Cargo aggregate.
Tracking web interface has new look for 1.1.
Admin interface shows more time related information.
Serverside now handles change of destination (no UI yet though)
17 lat temu
peter_backlund
6bb5180938
Adapted to generated web service API
17 lat temu
peter_backlund
8607b34c15
Generated Java files fell out during last commit :-(
17 lat temu
peter_backlund
5da56ab2e9
Generated Java classes from WSDL for the handling report web service, under com.aggregator. Eliminated related handwritten Java code.
17 lat temu
peter_backlund
4593076cf3
Moved pathfinder to directly under com.
Split out messagning infrastructure context to separate file.
17 lat temu
peter_backlund
c32c6e7810
Moved synchronous stub implementation of ApplicationEvents to separate package.
17 lat temu
peter_backlund
af5e958ef0
Completed handling of cargo in lifecycle scenario test.
17 lat temu
peter_backlund
84b16a069b
Renamed TrackingService to CargoInspectionService to avoid confusion.
Renamed Cargo.updateStatus() to deriveStatusFromHandling(), and split implementation to side-effect free functions.
17 lat temu
peter_backlund
6413004c01
Simplified hashCode()
17 lat temu
peter_backlund
e802da27f6
Test fix
17 lat temu
peter_backlund
596afcf9d1
17 lat temu
peter_backlund
1a79f4e395
"Assign cargo to route" is now a use case with a matching application service method and transaction (was previously directly behind the RMI facade).
Various minor fixes for the JFokus presentation.
17 lat temu
peter_backlund
f4e7c8c3de
Updated to 1.1 web service API
17 lat temu
peter_backlund
cd3020da7a
A few minor method name changes and documentation imrpovements
17 lat temu
peter_backlund
04123fd15d
Adapted tests to recent changes, removed a few redundant utilities.
17 lat temu
peter_backlund
924b0784c8
Asynchronous update of the Cargo aggregate. Several properties of the Cargo aggregate are now calculated and persisted, on handling (asynchronously) and on changes to routing (synchronously, since that's inside the cargo aggregate).
Relation between Cargo and its complete delivery history (handling events) is now replaced by explicit repository lookup at the time of cargo status update.
The copy() method on value objects is removed.
All enums in the cargo are now value objects.
17 lat temu
peter_backlund
c13319f3ed
Get registration date from attempt, removed redundant null check.
17 lat temu
peter_backlund
e9fe35da93
Don't clone date in getter
17 lat temu
peter_backlund
88e248c3c4
Getting dates for Legs from TransitEdge.
17 lat temu
peter_backlund
85ae33b72f
Using HandlingEventRepository for tracking view.
17 lat temu
peter_backlund
03bc69c8b2
Restructured contexts slightly.
17 lat temu
peter_backlund
e6a0b00a80
Arrival deadline date is now passed as parameter into booking facade (not read from request parameter yet though).
17 lat temu
peter_backlund
cb2ef14e30
Moved some parse calls out of a loop that only need to happen once per report.
17 lat temu
peter_backlund
88a6b52e99
Added log4j configuration servlet context listener
17 lat temu
peter_backlund
78c481fbc8
Added dates to TransitEdge, fixed RMI exposure of Pathfinder service
17 lat temu
peter_backlund
ca7aad1e80
Added slf4j-log4j compatibility jar
17 lat temu
peter_backlund
74371c806b
Split the tracking and booking web interfaces to separate dispatcher servlets, to clarify the fact that the booking web app is external and could be run in a different JVM or be replaced by a thick client.
17 lat temu
peter_backlund
956b3b9b36
Package the booking facade classes in a separate jar
17 lat temu
peter_backlund
45d37263e5
Reorganized booking facade + DTOS to make it clear what the API facing the client is, and to facilitate packaging of a distributable jar.
17 lat temu
peter_backlund
835fb6f73d
Added limitation properties such as deadline date to graph traversal service API.
GraphDAO no longer uses the database, simply hardcoded for simplicity.
17 lat temu
peter_backlund
ed4bd9569e
Restructured the context files to be organized per layer, and moved the external graph traversal application to its own, separate context. Communication is now through RMI.
17 lat temu
peter_backlund
ecd3c783d3
Improved documentation
17 lat temu
peter_backlund
ac016503c6
Validate that origin and destination are different
17 lat temu
peter_backlund
f89fdbb63f
Made method parameter final
17 lat temu
peter_backlund
dc89bc5e2f
Improved documentation
17 lat temu
peter_backlund
a255cd82a7
Removed duplicate test class
17 lat temu
peter_backlund
0e7ce21cf3
Moved transaction demarcation from ExternalRoutingServiceImpl into pathfinder application, improved documentation.
17 lat temu
peter_backlund
c4794cf943
Moved external context application that find shorts path in a graph to separate package hierarchy altogether: com.partner.pathfinder.
17 lat temu
peter_backlund
17ec508c32
Don't generate dedicated pom for ws-client artifact, pulls in unneeded deps in the incident logging application.
17 lat temu
peter_backlund
f6083400b6
Implemented RouteSpecification.isSatisfiedBy()
17 lat temu
peter_backlund
7159fb2902
Deleted file
17 lat temu
peter_backlund
e0fbdafafa
Voyage
17 lat temu
peter_backlund
7e3a49dc3d
TrackingService
17 lat temu
peter_backlund
d032c94a7b
Handling
17 lat temu
peter_backlund
2fb2a8b87b
Cargo now requires a route specification on creation.
17 lat temu