106 Commits (e09a8daa7b51432d7083233d76c89d5e137971ff)
 

Author SHA1 Message Date
  peter_backlund e09a8daa7b Tried to make the domain classes more internally consistent and created test classes for those domain classes that didn't have one. 16 years ago
  Patrik Fredriksson 497da164a5 Fixed bug, cargo without any handling events is not misdirected (thi scase previously caused NPE). 16 years ago
  peter_backlund 4d94406f1e Added asynchronous event emission whenever a handling event is registered, so that interested parties can be notified if a cargo is misdirected (is unloaded, is late, has arrived, or whatever). 16 years ago
  peter_backlund 9d0e0c1e28 Cargo is never misdirected if there's no itinerary (null check) 16 years ago
  Patrik Fredriksson 44288c0b30 Refactored identities. 16 years ago
  Patrik Fredriksson 4bb12bf2a4 Minor clean-up. 16 years ago
  Patrik Fredriksson ba5922bff2 Implemented Cargo.isMisdirected() 16 years ago
  Patrik Fredriksson 0f6b3ee342 Fixed trimming. 16 years ago
  Patrik Fredriksson b4d32bde50 Implemented initial misdirected logic. Carg.isMisdirected() still needs more work. 16 years ago
  peter_backlund 835276ab6b Improved comment on rationale behind the removed relation between DeliveryHistory and HandlingEvent. 16 years ago
  peter_backlund 6e66db1fd3 Removed the OR-mapped relation between DeliveryHistory and HandlingEvent, making DH a transient object. DH is populated by a repository call. 16 years ago
  peter_backlund 34968c4798 Removed empty test 16 years ago
  peter_backlund 2972ae0f44 Moved enum and logic into the domain model. 16 years ago
  peter_backlund c39ac98777 Improved CargoWithHistoryDTO, added message resource bundling 16 years ago
  jorgen_falk 60829c7c82 Added mandatory text field validator to location 16 years ago
  peter_backlund 1b09a4066f Fixed a few broken JAX-WS-related dependencies in the POM. 16 years ago
  peter_backlund 7613908c1e Failing scenario test for a routing service, with a few added skeleton interfaces, domain classes and methods. 16 years ago
  peter_backlund e1f739c4f9 Use a proper Hibernate configuration file. 16 years ago
  peter_backlund 130d3bfd0c Use Location.UNKNOWN to signal unknown location instead of null 16 years ago
  peter_backlund d3f27ad4d9 Added missing commons-io dependency 16 years ago
  peter_backlund 8bebb4a8c8 Added an ability to import the actual UN Locode database from CSV, as a servlet context hook (not activated yet though). 16 years ago
  peter_backlund 9dfbdf5ce6 Introduced a UnLocode class, consistent with CarrierMovementId and TrackingId for CarrierMovement and Cargo, respectively. 16 years ago
  jorgen_falk ac9066c324 Added first shot with gui validation. Note: need improvement... 17 years ago
  jorgen_falk 463ff157b9 Added start shell script 17 years ago
  jorgen_falk 822327d7b1 Modified GUI to use DefaultFormBuilder. 17 years ago
  jorgen_falk 31912b0410 Deleted Eclipse files 17 years ago
  jorgen_falk dc4caf5ccb Modified inclusion pattern in jar plugin to inlcude all flies and all folders under .../ws/ 17 years ago
  jorgen_falk 96cebe0132 Removed accidentay added target folder 17 years ago
  jorgen_falk 17a7baa2c2 Initial import of HandlingEvent registration application 17 years ago
  jorgen_falk 8f09ec3850 Added locationRepository bean to test context. 17 years ago
  jorgen_falk 02b9f2998c Added LocationRepository 17 years ago
  peter_backlund 13bc89c5e9 Suggestion for handling domain validation as close to each domain object as possible - Location now requires UN locode argument to constructor to match a certain regexp, and each HandlingEvent.Type may answer type.requiresCarrierMovement() and type.prohibitsCarrierMovement(), evaluated from HandlingEvent constructor. 17 years ago
  peter_backlund d4e242e1fa Removed redundant null check. 17 years ago
  peter_backlund a5b9399b19 Added unit test for event registration web service. 17 years ago
  jorgen_falk 5f14707498 Replaced ellipsis argument in DeliveryHistory.addEvents() with two methods; one that takes a single HandlingEvent and one that takes a Collection<HandlingEvent> 17 years ago
  peter_backlund 22fdbe5c35 Added a few reports, pointed the online source repository to ddd.sventon.org. 17 years ago
  jorgen_falk e9b47376b6 Added Location to HandlingEvent c-tor 17 years ago
  jorgen_falk b0e13bf4f9 Added Location to HandlingEvent c-tor (forced commit) 17 years ago
  peter_backlund d1628e710a HandlingEventService now has a single, strongly typed method for registering events. 17 years ago
  peter_backlund e0ca0b99c6 Made Cargo-HandlingEvent relation bidirectional again, with DeliveryHistory in the middle. 17 years ago
  jorgen_falk 39def1ed33 Moved the HandlingEvent Comparator from DeliveryHistory to HandlingEvent 17 years ago
  jorgen_falk b8a12b0e84 Added some more test data 17 years ago
  peter_backlund 6831952b05 Restore DeliveryHistory (for now). 17 years ago
  peter_backlund 1113a6c978 - Persistent implementations of all repositories are in place, with tests and sample data generation. 17 years ago
  jorgen_falk abf2f02137 Removed DeliveryHistory, part 1. Need to do some more clean up, specially with the InMem repositories 17 years ago
  jorgen_falk c6fe368584 Added Location to HandlingEvent 17 years ago
  peter_backlund e4a93041ca Use toString() for retrieving a string representation of TrackingId and CarrierId instead of repeated id accessor. 17 years ago
  peter_backlund e6f539a7a0 Added missing expectation on Session. 17 years ago
  jorgen_falk ae22881faa Modified domain objects. Removed 'get' and 'set' prefix from getters&setters 17 years ago
  peter_backlund d9117c08c6 Introduced UUID, timeRegistered property and sameAs/equals for HandlingEvent. 17 years ago