Jesper Hammarbäck
e91589ab4e
Added unit test for CargoRoutingDTOAssembler.
18 лет назад
Jesper Hammarbäck
be4f41598e
Extracted DTO assembling code to separate classes.
18 лет назад
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 лет назад
Jesper Hammarbäck
bdd8e56e44
Reset to default Tomcat port, 8080.
18 лет назад
Jesper Hammarbäck
06dc6f1f8c
Moved 'app.properties' into resources, i.e. classpath root.
18 лет назад
Jesper Hammarbäck
1bd610bb42
Added CheckStyle report generation.
18 лет назад
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 лет назад
peter_backlund
5e27b4d272
Use UnLocode in CargoService.shippingLocations signature
18 лет назад
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 лет назад
jorgen_falk
e7de933664
Added app.properties outside the jar package to be able to set wsdl url after mvn assembly:assembly
18 лет назад
peter_backlund
da0b6a059c
Added CargoService.registerNew, which assigns a tracking id to a cargo and stores it.
Reorganized JSP views slightly.
18 лет назад
peter_backlund
c0a5de29c5
Implemented a very efficient, randomized, routing service.
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.
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 лет назад
peter_backlund
7e27792616
Added a style for notification box
18 лет назад
peter_backlund
41b463fa66
Added a few icons
18 лет назад
peter_backlund
0757785b7c
Added Cobertura test coverage report
18 лет назад
Patrik Fredriksson
b4eea230e8
Fixed failing test.
18 лет назад
peter_backlund
b796385d36
Compilation fix.
18 лет назад
peter_backlund
073216ef18
Updated status code enum to fix compilation error.
18 лет назад
peter_backlund
0879b5b076
Removed out-of-date comment
18 лет назад
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 лет назад
Patrik Fredriksson
497da164a5
Fixed bug, cargo without any handling events is not misdirected (thi scase previously caused NPE).
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).
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 лет назад
peter_backlund
9d0e0c1e28
Cargo is never misdirected if there's no itinerary (null check)
18 лет назад
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 лет назад
Patrik Fredriksson
4bb12bf2a4
Minor clean-up.
18 лет назад
Patrik Fredriksson
ba5922bff2
Implemented Cargo.isMisdirected()
18 лет назад
Patrik Fredriksson
0f6b3ee342
Fixed trimming.
18 лет назад
Patrik Fredriksson
b4d32bde50
Implemented initial misdirected logic. Carg.isMisdirected() still needs more work.
18 лет назад
peter_backlund
835276ab6b
Improved comment on rationale behind the removed relation between DeliveryHistory and HandlingEvent.
18 лет назад
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 лет назад
peter_backlund
34968c4798
Removed empty test
18 лет назад
peter_backlund
2972ae0f44
Moved enum and logic into the domain model.
18 лет назад
peter_backlund
c39ac98777
Improved CargoWithHistoryDTO, added message resource bundling
18 лет назад
jorgen_falk
60829c7c82
Added mandatory text field validator to location
18 лет назад
peter_backlund
1b09a4066f
Fixed a few broken JAX-WS-related dependencies in the POM.
18 лет назад
peter_backlund
7613908c1e
Failing scenario test for a routing service, with a few added skeleton interfaces, domain classes and methods.
18 лет назад
peter_backlund
e1f739c4f9
Use a proper Hibernate configuration file.
18 лет назад
peter_backlund
130d3bfd0c
Use Location.UNKNOWN to signal unknown location instead of null
18 лет назад
peter_backlund
d3f27ad4d9
Added missing commons-io dependency
18 лет назад
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 лет назад
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 лет назад
jorgen_falk
ac9066c324
Added first shot with gui validation. Note: need improvement...
18 лет назад
jorgen_falk
463ff157b9
Added start shell script
18 лет назад
jorgen_falk
822327d7b1
Modified GUI to use DefaultFormBuilder.
18 лет назад
jorgen_falk
31912b0410
Deleted Eclipse files
Deleted hard coded dependency
Modified pom to assemble jar with dependencies
18 лет назад
jorgen_falk
dc4caf5ccb
Modified inclusion pattern in jar plugin to inlcude all flies and all folders under .../ws/
18 лет назад
jorgen_falk
96cebe0132
Removed accidentay added target folder
18 лет назад
jorgen_falk
17a7baa2c2
Initial import of HandlingEvent registration application
18 лет назад