444 Revize (af8d76faadec5f49bb13373b6ffdf2be244c3601)
 

Autor SHA1 Zpráva Datum
  peter_backlund af8d76faad Cleanup před 17 roky
  peter_backlund 54b8b61922 Huuuuge commit: restructured into project hierarchy, no other code changes. Everything compiles, tests run, but deployment is broken and will be remodeled. před 17 roky
  peter_backlund 370634a03f Entity interface now has sameAs instead of sameIdentityAs, which expresses the intent more clearly. před 17 roky
  peter_backlund 5a8fcee732 Entity interface now has sameAs instead of sameIdentityAs, which expresses the intent more clearly. před 17 roky
  peter_backlund 6ec87aba70 Put pessimistic locking on hold for now. před 17 roky
  peter_backlund 5b9ae28f7a Delivery now only holds one persistent field, most recent handling activity, and derives answers to everything about the delivery on the fly. před 17 roky
  peter_backlund e6ddcab7eb před 17 roky
  peter_backlund 0c6aa5e6d4 Reorganized the application layer, using use-case naming of packages. před 17 roky
  peter_backlund 69f474ea61 Renamed ApplicationEvents to SystemEvents, a term used in DDD litterature. před 17 roky
  peter_backlund f64ba77f42 Using "notifyOf..." naming convention in ApplicationEvents. před 17 roky
  peter_backlund e7fb6b9853 Improved cargo delivery updater, added itinerary updater. před 17 roky
  peter_backlund 62e9aeb4db Extracted a Projections value object in the Cargo aggregate, which handles predictions about the future of the cargo (next expected activity, ETA). před 17 roky
  peter_backlund 791a218647 Disable a draconian time validation in Leg, to unbreak test suite. před 17 roky
  peter_backlund d0e8723d17 Minor validation fixes and toString changes in Leg, fixed LegTest exception expectation před 17 roky
  peter_backlund 253ab43dca Changed Itinerary to use load/unload semantics consistently, instead of arrival/departure in some cases. před 17 roky
  peter_backlund 6f06185593 Expanded voyage rescheduling scenario test to include the case where a voyage is rescheduled so that the old itinerary is no longer maintainable, and modified the domain model to handle that case. před 17 roky
  peter_backlund 2ec76e5bb8 HandlingEvent now has a HandlingActivity field internally. HaAct is moved to shared package, as it's being used persistently by both Cargo and HandlingEvent. před 17 roky
  peter_backlund c6f4c3fc06 Ran "format code" on the entire code base. No other changes in this commit. před 17 roky
  peter_backlund 24ccb04db6 Merged patch from Eric that has started exploration of the customs aspect (zones, handling etc) and made sample voyages and locations more realistic. před 17 roky
  peter_backlund 25ea78762c Initial support for rescheduling a voyage and updating an itinerary to reflect schedule changes. před 17 roky
  peter_backlund 0518790dd1 Added loadCargoForRouting application service call, which will put a pessimistic lock on a cargo during (re-)routing in order to show benefits of aggregate separation explicitly. Not implemented yet though. před 17 roky
  peter_backlund 229b47d2cf Added package.html, fixed import. před 17 roky
  peter_backlund 6423adb9e7 Collected all event-driven application services under the dddsample.application.event package and renamed CargoInspectionService to CargoDeliveryUpdater. před 17 roky
  peter_backlund 21c9e94193 Made cargo delivery update cause an event to be published and subscribed to (and acted upon), instead of performing checks at the same time the delivery is updated. před 17 roky
  peter_backlund f8a01cfd96 Added CGLIB dep, fixed Jetty plugin version, specified resources file encoding to silence warning před 17 roky
  peter_backlund bd070ebdca Made TrackingId serializable před 17 roky
  peter_backlund 941d4c2e0a Altered application events and emssaging infrastructure to reflect that handling event registration is now synchronous. před 17 roky
  peter_backlund 25f18d97c0 Added link to WSDL před 17 roky
  peter_backlund 7bb1898849 Changed idString() methods to stringValue() před 17 roky
  peter_backlund 3562bc9264 Made submission of handling reports synchronously registering handling events. před 17 roky
  peter_backlund 69947e03ec Added a firstLeg() method před 17 roky
  peter_backlund 0ebf2e0dca Hackish way of making the delivery not being misdrected after a reroute. Makes tests pass, but needs refactoring. před 17 roky
  peter_backlund 4f06bb49ea Rewrote cargo scenario test to use Hamcrest matchers. před 17 roky
  peter_backlund 7b67f9694d Cleaner and clearer lifecycle scenario test. Now used only the domain layer. před 17 roky
  peter_backlund 1a71fe0549 Refactored creation of Cargo into a CargoFactory. před 17 roky
  peter_backlund 45fa5a65df Added an FAQ section před 17 roky
  peter_backlund 4d75e162b6 Made id field property volatile před 17 roky
  peter_backlund 16377d1f2e Added Pacific TZ and Long Beach location před 17 roky
  peter_backlund 3b1fc28e1e Clarified Java version před 17 roky
  peter_backlund 073c0dad8b Use version property for slf4j před 17 roky
  ericevans 1626d96f5b Eric- Changed behavior of Empty Itinerary to expect nothing. No event is appropriate for a Cargo with an empty itinerary, rather than any event being acceptable. Added tests for this into ItineraryTest. There was another test that depended on this behavior simply as a way to not have to populate the Itinerary the setup. That one is now a TODO. před 17 roky
  ericevans 7f1dc845e3 Eric - Removed origin from Cargo. Now RouteSpecification is the only place with origin. Changed hibernate mappings to remove Cargo origin. Removed test that looked for case when Cargo origin was different from RouteSpecification origin. This rule isn't quite right. The rule should be that the origin cannot change after there is an event. před 17 roky
  ericevans 99b9d556d5 Eric - Fixed bug in CargoTrackingViewAdapterTest.java, which worked only for Central Europe Time. před 17 roky
  peter_backlund 8929b0e240 Added assertions to HandlingHistory that ensures that it refers to a unique cargo, and that a Cargo can't derive its delivery progress from a handling history of another cargo. There are also two descriptive static factory methods for the different possibilities of creating a HandlingHistory. před 17 roky
  peter_backlund 6ee8f2e53a Logging is now a bit less verbose. před 17 roky
  peter_backlund 8f30715264 Removed an unneeded dependency exclusion, added default goal (package) před 17 roky
  peter_backlund 002191b07b Unique foreign key names před 17 roky
  peter_backlund 31658acb35 [maven-release-plugin] prepare for next development iteration před 17 roky
  peter_backlund 452bcc1925 [maven-release-plugin] prepare release register-app-1.1.0 před 17 roky
  peter_backlund 199068a0cb Trunk now rolls 1.2.0-SNAPSHOT před 17 roky