peter_backlund
9b34be231f
Moved test classes to proper location
17 år sedan
peter_backlund
6d37b5944f
Added DSL-like static factory methods for instance creation
17 år sedan
peter_backlund
cf9cbd0bc8
Rewrote to use composition instead of inheritance with regards to Specification.
17 år sedan
peter_backlund
330ff1664c
Using == for enums, sameAs for entities.
17 år sedan
peter_backlund
813a0c1b36
Variable name change, removed explicit rollback in annotation (made exception unchecked).
17 år sedan
peter_backlund
dbadf52709
Added test for CargoUpdater
17 år sedan
peter_backlund
effe40ef27
Added test for CargoUpdater
17 år sedan
peter_backlund
7bf813ac1d
Moved registration timestamp creation to factory.
17 år sedan
peter_backlund
282478ad33
Removed useless comment
17 år sedan
peter_backlund
3c0e3aed43
Removed unused methods on inmem cargo repository
17 år sedan
peter_backlund
84f1d8ad41
Added method to create a seq number from a long
17 år sedan
peter_backlund
4932dca2bc
Missed done file in previous commit.
17 år sedan
peter_backlund
0b915a947c
Changed a few methods to package-level visibility.
Improved readability by adding a few private named methods in Delivery.
Using == for enum comparisons.
17 år sedan
peter_backlund
20ae393bdf
Inlined Projections class. Added ETA method to Itinerary.
17 år sedan
peter_backlund
bab0b27603
Removed tests for previously removed classes.
17 år sedan
peter_backlund
a2c4ce9af8
Added commented-out method that will eventually notify of schedule changes.
17 år sedan
peter_backlund
b92de8e048
Changed "cargo handled" queue into topic, preparing for push of data to reporting context via topic subscribers.
17 år sedan
peter_backlund
280bd0f5c6
Removed all persistent fields from Projections, making all calculations "live". This made it possible to make all class methods static, but I'm not really sure that's a good idea. Revisit.
17 år sedan
peter_backlund
e3863858c3
Added comment about the stubbed out nature of this service.
17 år sedan
peter_backlund
1bab26b46c
Handling case when handling events are not found, removed some notes
17 år sedan
peter_backlund
fd5869baf2
Removed old tracking web UI
17 år sedan
peter_backlund
0b5b4472e7
First stab at PDF reports.
17 år sedan
peter_backlund
f1f63f59f6
Improved testing of reports.
17 år sedan
peter_backlund
7290519096
Reporting application with a bounded context partialy implemented (server side REST API on top of separate data store)
17 år sedan
peter_backlund
4cd2075a65
Moved context files to subdirectory to improve organization, removed a few redundant files.
17 år sedan
peter_backlund
e4a7fe2fbe
Encapsulated fields in pattern support classes to avoid name clashes (using "_primaryKey" instead of "id"). Fixed hbm files to reflect change.
Removed unused DomanObjectUtils class.
17 år sedan
peter_backlund
636971d77b
Rearranged building block pattern classes.
17 år sedan
peter_backlund
48e28b2a00
Removed old redundant pattern interfaces
17 år sedan
peter_backlund
88c529e142
Exclude two names fields in value object comparison, improved javadoc for support base classes.
17 år sedan
peter_backlund
786fe79cc9
Removed redundant abstract method.
17 år sedan
peter_backlund
6cdbca4e47
Made all domain model classes inherit common pattern base classes, removing lots of boilerplate code.
Made all immutable fields final, setting to null in package local no-args ctor (Hibernate will stil be able to set fields in runtime).
Added javadoc on Cargo.
Removed "empty itinerary" null pattern object, since a cargo is not always supposed to have an itinerary. More work left here though.
17 år sedan
peter_backlund
13843bcb9b
Completed transition to annotation-based wiring. Booking UI now runs in external jvm against RMI interface.
17 år sedan
peter_backlund
4cea781c14
Added lost class to scm.
17 år sedan
peter_backlund
0c23e9d416
More works towards annotation-based constructor injection
17 år sedan
peter_backlund
7689e49896
Hrm. appears one class did not make it in the previous commit.
17 år sedan
peter_backlund
a68345516b
Moved tracking id generator to domain service package.
Moved EventSequenceNumber to handling aggregate.
17 år sedan
peter_backlund
ee0c6941ea
Minor cleanups, moving towards ctor-DI everywhere in core.
17 år sedan
peter_backlund
6657060d72
Moved booking api back to proper location
17 år sedan
peter_backlund
d68a3c224a
Compacted DTO assembly a little. Removed mutability from a DTO.
17 år sedan
peter_backlund
9e09bbb94c
More Cleanup
17 år sedan
peter_backlund
af8d76faad
Cleanup
17 år sedan
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.
17 år sedan
peter_backlund
370634a03f
Entity interface now has sameAs instead of sameIdentityAs, which expresses the intent more clearly.
17 år sedan
peter_backlund
5a8fcee732
Entity interface now has sameAs instead of sameIdentityAs, which expresses the intent more clearly.
17 år sedan
peter_backlund
6ec87aba70
Put pessimistic locking on hold for now.
17 år sedan
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.
17 år sedan
peter_backlund
e6ddcab7eb
17 år sedan
peter_backlund
0c6aa5e6d4
Reorganized the application layer, using use-case naming of packages.
17 år sedan
peter_backlund
69f474ea61
Renamed ApplicationEvents to SystemEvents, a term used in DDD litterature.
17 år sedan
peter_backlund
f64ba77f42
Using "notifyOf..." naming convention in ApplicationEvents.
HandlingEvents now have a unique sequence number, and CargoUpdater looks events based on that to update the cargo in question.
First version of pessimistic locking of cargo during rerouting.
Cargo is now a facade for aggregate-internal classes Delivery and Projections.
Delivery calculates current voyage, last known location and transport status on the fly.
Introduced a tracking id generator domain service for getting next tracking id, instead of doing it in the cargo repository.
17 år sedan