peter_backlund
c376b77be7
Improved testing of persisting Cargo, in preparation for switching mapping metadata type from annotations to XML.
18 år sedan
peter_backlund
8122211be7
Implemented sameValueAs, equals and hashCode for DeliveryHistory as a value object.
18 år sedan
peter_backlund
1bc5502de9
Removed reference to logfile apender
18 år sedan
Jesper Hammarbäck
990f506572
Added unit test for ItineraryCandidateDTOAssembler.
Changed the addEvent mentod of CargoTrackingDTO to take strings instead of a DTO.
Optimized imports.
18 år sedan
Jesper Hammarbäck
e91589ab4e
Added unit test for CargoRoutingDTOAssembler.
18 år sedan
Jesper Hammarbäck
be4f41598e
Extracted DTO assembling code to separate classes.
18 år sedan
Jesper Hammarbäck
07e2bd6139
Added Checkstyle configuration file that checks the sun coding conventions.
Misc CheckStyle fixes.
Removed magic numbers from HashCodeBuilder.
Created a separate sub package for DTO assemblers.
Minor refactorings to increase readability.
18 år sedan
Jesper Hammarbäck
bdd8e56e44
Reset to default Tomcat port, 8080.
18 år sedan
Jesper Hammarbäck
06dc6f1f8c
Moved 'app.properties' into resources, i.e. classpath root.
18 år sedan
Jesper Hammarbäck
1bd610bb42
Added CheckStyle report generation.
18 år sedan
peter_backlund
b70480b07a
Leg now related to CarrierMovement.
Started work on external DTO assembler.
Package-level javadoc effort begun.
Better timestamps in sample cargo data.
18 år sedan
peter_backlund
5e27b4d272
Use UnLocode in CargoService.shippingLocations signature
18 år sedan
peter_backlund
ce9f0f97a8
Big slew of changes (too big) leading up to draft presentation:
Removed unneeded constructors in Cargo and UnLocode.
Fixed spelling error in StatusCode - "e before i except after c", or whatever that was :-)
Cascade Itinerary/Leg on Cargo persist.
Cargo registration and routing web administration interface.
Better randomization in RoutingServiceImpl.
Replaced more test locations with the SampleLocations instances.
18 år sedan
jorgen_falk
e7de933664
Added app.properties outside the jar package to be able to set wsdl url after mvn assembly:assembly
18 år sedan
peter_backlund
da0b6a059c
Added CargoService.registerNew, which assigns a tracking id to a cargo and stores it.
Reorganized JSP views slightly.
18 år sedan
peter_backlund
c0a5de29c5
Implemented a very efficient, randomized, routing service.
18 år sedan
peter_backlund
d02d1234a8
Implemented notification on cargo unload at final destination.
18 år sedan
peter_backlund
d70a69a3b5
Persisted Itinerary and Leg, with sample data and mapping.
Introduced Itinerary.EMPTY_ITINERARY to represent an emtpy itinerary (null object pattern)
Added capability to display expected/misdirected status of cargo and events to web tracking interface (jsp, DTOs, etc)
Location constructor now only has package-level visibility, and test code uses static location instances.
Rewrote UN Locode import to use straight JDBC access.
18 år sedan
peter_backlund
7e27792616
Added a style for notification box
18 år sedan
peter_backlund
41b463fa66
Added a few icons
18 år sedan
peter_backlund
0757785b7c
Added Cobertura test coverage report
18 år sedan
Patrik Fredriksson
b4eea230e8
Fixed failing test.
18 år sedan
peter_backlund
b796385d36
Compilation fix.
18 år sedan
peter_backlund
073216ef18
Updated status code enum to fix compilation error.
18 år sedan
peter_backlund
0879b5b076
Removed out-of-date comment
18 år sedan
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.
18 år sedan
Patrik Fredriksson
497da164a5
Fixed bug, cargo without any handling events is not misdirected (thi scase previously caused NPE).
18 år sedan
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).
Two different implementations a available: JMS and a simple thread-based one.
Also, the cargo service track method now uses TrackingId in the signature, for consistency.
18 år sedan
peter_backlund
9d0e0c1e28
Cargo is never misdirected if there's no itinerary (null check)
18 år sedan
Patrik Fredriksson
44288c0b30
Refactored identities.
Entities have the method sameValueAs(otherEntity)
Value Objects have the method sameIdentiyAs(otherValueObject)
Events have the method sameEventAs(otherEvent)
18 år sedan
Patrik Fredriksson
4bb12bf2a4
Minor clean-up.
18 år sedan
Patrik Fredriksson
ba5922bff2
Implemented Cargo.isMisdirected()
18 år sedan
Patrik Fredriksson
0f6b3ee342
Fixed trimming.
18 år sedan
Patrik Fredriksson
b4d32bde50
Implemented initial misdirected logic. Carg.isMisdirected() still needs more work.
18 år sedan
peter_backlund
835276ab6b
Improved comment on rationale behind the removed relation between DeliveryHistory and HandlingEvent.
18 år sedan
peter_backlund
6e66db1fd3
Removed the OR-mapped relation between DeliveryHistory and HandlingEvent, making DH a transient object. DH is populated by a repository call.
18 år sedan
peter_backlund
34968c4798
Removed empty test
18 år sedan
peter_backlund
2972ae0f44
Moved enum and logic into the domain model.
18 år sedan
peter_backlund
c39ac98777
Improved CargoWithHistoryDTO, added message resource bundling
18 år sedan
jorgen_falk
60829c7c82
Added mandatory text field validator to location
18 år sedan
peter_backlund
1b09a4066f
Fixed a few broken JAX-WS-related dependencies in the POM.
18 år sedan
peter_backlund
7613908c1e
Failing scenario test for a routing service, with a few added skeleton interfaces, domain classes and methods.
18 år sedan
peter_backlund
e1f739c4f9
Use a proper Hibernate configuration file.
18 år sedan
peter_backlund
130d3bfd0c
Use Location.UNKNOWN to signal unknown location instead of null
18 år sedan
peter_backlund
d3f27ad4d9
Added missing commons-io dependency
18 år sedan
peter_backlund
8bebb4a8c8
Added an ability to import the actual UN Locode database from CSV, as a servlet context hook (not activated yet though).
18 år sedan
peter_backlund
9dfbdf5ce6
Introduced a UnLocode class, consistent with CarrierMovementId and TrackingId for CarrierMovement and Cargo, respectively.
Brought Spring version back up to 2.5.1
18 år sedan
jorgen_falk
ac9066c324
Added first shot with gui validation. Note: need improvement...
18 år sedan
jorgen_falk
463ff157b9
Added start shell script
18 år sedan
jorgen_falk
822327d7b1
Modified GUI to use DefaultFormBuilder.
18 år sedan