3 Ревизии (e414008c6300fe382a7de0c9b1502028217d8a94)

Автор SHA1 Съобщение Дата
  Marten Deinum e414008c63
Use Mockito as mocking library instead of EasyMock преди 8 години
  Marten Deinum 7384bde811
Use JUnit4 style for all tests преди 8 години
  Patrik Fredriksson eb92ab71d1 Restructured. преди 11 години
  peter_backlund 0c6aa5e6d4 Reorganized the application layer, using use-case naming of packages. преди 17 години
  peter_backlund 69f474ea61 Renamed ApplicationEvents to SystemEvents, a term used in DDD litterature. преди 17 години
  peter_backlund f64ba77f42 Using "notifyOf..." naming convention in ApplicationEvents. преди 17 години
  peter_backlund c6f4c3fc06 Ran "format code" on the entire code base. No other changes in this commit. преди 17 години
  peter_backlund 6423adb9e7 Collected all event-driven application services under the dddsample.application.event package and renamed CargoInspectionService to CargoDeliveryUpdater. преди 17 години
  peter_backlund 6fbb5acf47 Moved handling of failure to create handling event out of the application layer, letting the exception mark transaction for rollback. преди 17 години
  peter_backlund 6a38351409 Removed redundant constructor argument for Cargo (origin can be derived from the inital route specification) преди 17 години
  peter_backlund b27d95c830 Renamed package "carrier" to "voyage", in line with Voyage being the aggregate root. преди 17 години
  peter_backlund 61b7fe0138 HandlingEventService.registerHandlingEvent() signature takes value objects instead of HandlingEventRegistrationAttempt, decoupling it from message queues. преди 17 години
  peter_backlund cd3020da7a A few minor method name changes and documentation imrpovements преди 17 години
  peter_backlund 062a17bf97 Test fixes преди 17 години
  peter_backlund fbcada7479 Brought tests up to speed with code changes. преди 18 години
  peter_backlund f1ee998456 Introduced infrastructure.messagning.jms package and moved all consumers and the implementation of SystemEvents there. преди 18 години
  peter_backlund c44996ccef Renamed DomainEventNotifer to SystemEvents and moved out to application layer. преди 18 години
  peter_backlund 60245479bf Consolidated HandlingEventService.register() and the registration attempt queue consumer, and stubbed handling of rejected attempts. преди 18 години
  Patrik Fredriksson f1445cfa82 Started restructuring to make layering more clear преди 18 години
  peter_backlund c4a0dfb1ee Introduced Voyage, Schedule and VoyageNumber. CarrierMovement is now a value object, CarrierMovementId is dropped. преди 18 години
  peter_backlund 5b8559f2f9 Moved "assignToRoute" into Cargo and removed the service method. преди 18 години
  peter_backlund e335d1895b Refactored construction of HandlingEvent instance into a factory, which uses repositories for assembly. преди 18 години
  peter_backlund 27f083ba00 Fixed constructor call преди 18 години
  peter_backlund 743d5d7bc1 Moved domain service implementations into impl subpackage преди 18 години
  peter_backlund c265df7fa1 Fixed setter call преди 18 години
  peter_backlund 59eff65404 Brought EventService closer to the domain by renaming it DomainEventNotifier and use ubiquitous language in the method signatures (fireHandlingEventRegistered is now cargoWasHandled) in order to make it naturally fit in among the domain services. преди 18 години
  peter_backlund 96a1283520 Slight refinement of packge structure under application - service is split into things like messagning and remoting. преди 18 години
  peter_backlund 3078fe812b Reorganized package structure in accordance with the mailing list proposal, with domain and application top level package split. преди 18 години
  peter_backlund ce9f0f97a8 Big slew of changes (too big) leading up to draft presentation: преди 18 години
  peter_backlund d02d1234a8 Implemented notification on cargo unload at final destination. преди 18 години
  peter_backlund d70a69a3b5 Persisted Itinerary and Leg, with sample data and mapping. преди 18 години
  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). преди 18 години
  peter_backlund 9dfbdf5ce6 Introduced a UnLocode class, consistent with CarrierMovementId and TrackingId for CarrierMovement and Cargo, respectively. преди 18 години
  jorgen_falk 02b9f2998c Added LocationRepository преди 18 години
  peter_backlund a5b9399b19 Added unit test for event registration web service. преди 18 години
  peter_backlund d1628e710a HandlingEventService now has a single, strongly typed method for registering events. преди 18 години
  peter_backlund 1113a6c978 - Persistent implementations of all repositories are in place, with tests and sample data generation. преди 18 години
  jorgen_falk c6fe368584 Added Location to HandlingEvent преди 18 години
  peter_backlund d9117c08c6 Introduced UUID, timeRegistered property and sameAs/equals for HandlingEvent. преди 18 години
  peter_backlund bdb9044e7e Use CarrierId instead of String as CarrierMovement identifier. преди 18 години
  peter_backlund cd7e3969e7 Made persistence configuration less intrusive by going with defaults everywhere, making it easier on the eyes. Empty default constructors are pushed to the bottom of the class. преди 18 години
  jorgen_falk 7ec3437e26 Changed persistence layer to point to the InMem repositories преди 18 години