Commit Graph
1300 Commits
Author SHA1 Message Date
Simon Pamies 1857e77ee6 Added com.sap.sailing.autoload package that activates the feature of automatically loading races into a server 2014-09-05 10:54:12 +02:00
Jens Rommel b981493ff5 Fixed several issues with migrated date types:
- making db-read more robust in case duration is stored as intger
- adding a default constructor to MillisecondsTimePoint for marshalling
- removed redundant DbMediaTrack class
2014-09-02 19:37:58 +02:00
Jens Rommel f89ac62795 - Migrated MediaTrack.durationInMillis from int to Duration including database API but excluding database storage
- Renamed durationInMillis to duration
- Added equals/hashCode to MillisecondsDurationImpl, added tests
- Fixed MillisecondsTimePointImpl.equals, added tests
2014-09-01 15:02:39 +02:00
Jens Rommel 53e9472558 - Changed type of MediaTrack.startTime from java.util.Date to TimePoint.
- Added very basic query for live MediaTracks (--> those with duration = 0).
2014-09-01 12:49:34 +02:00
Axel Uhl 00ba9172b3 set description when creating an event 2014-08-27 15:23:11 +02:00
Axel Uhl 257c0a4e07 working on bug 2229: create event dialog now passes on sponsor image URLs, logo image URL and official website URL 2014-08-25 21:26:39 +02:00
fmittag 49298962d6 made InputStreamReader using UTF-8 encoding when reading events from a remote server 2014-08-08 14:37:54 +02:00
fmittag ad13d66228 added cp1252 encoding to no proxy launch config 2014-08-08 14:37:04 +02:00
Frederik Petersen d27f0affab Fixed issue where wind was not correctly imported during...
... master data import
2014-08-07 15:42:46 +02:00
Frederik Petersen d1b12cd269 Added failing test case for wrong usage of race id when storing wind
tracks per dummy tracked race
2014-08-07 15:40:07 +02:00
Axel Uhl 33c194e16d working on bug 2079, adding displayName to leaderboard group and various related services and UIs 2014-08-04 23:49:31 +02:00
Jens Rommel 78eac0ef94 Merge remote-tracking branch 'external/master' into dev
Added MimeType.byName() to avoid handling of valueOf's IllegalArgumentException. Returning null instead for unsupported MimeType names.
2014-07-24 09:36:02 +02:00
Frederik Petersen 2b526f07b1 FlexibleLeaderboards now do not allow multiple fleets for race creation
The default fleet is a singleton and the interface of the
FlexibleLeaderboard was cleaned up. Before the cleanup, the user was
allowed to add mutiple fleets when creating a race or a race column. This
is not allowed in the persistence model
2014-07-21 10:06:47 +02:00
Axel Uhl e1567308c3 fixing issue with null competitor in MasterDataImportTest by attaching dummy race to regatta, ensuring competitor is serialized 2014-07-17 21:30:11 +02:00
Axel Uhl 8f1c888f06 write buffered operations into stream directly, avoiding copying the potentially huge message buffer; more replication logging still 2014-07-16 23:00:09 +02:00
Axel Uhl 9e5549fb67 replicate RecordMarkGPSFix more cleverly, only serializing the full Mark object when needed, upon first occurrence 2014-07-16 18:17:57 +02:00
Axel Uhl dd5da5fa96 use mark ID in RecordMarkGPSFix operation to reduce replication volume 2014-07-16 17:22:11 +02:00
Axel Uhl 86d4bdea46 let RecordCompetitorGPSFix only transmit competitor ID instead of full competitor, reducing message size for mass data 2014-07-16 17:18:14 +02:00
Axel Uhl a34e36848c updated link to interval tree 2014-07-15 00:26:47 +02:00
Axel Uhl 426f9cf982 use NamedReentrantReadWriteLock in MediaLibrary 2014-07-15 00:10:44 +02:00
Frederik Petersen 60f3c4811d ImportMasterDataOperation now initializes RaceLogInformation in readObject
fixes bug2023
2014-07-11 13:34:58 +02:00
Axel Uhl 52773fefda fixed construction of default regatta name, including related tests 2014-07-10 17:13:13 +02:00
Axel Uhl 4a0fba7eb5 removed Regatta.getBaseName() and modified RegattaImpl constructors to accept the full regatta name instead of the base name 2014-07-10 15:22:50 +02:00
Axel Uhl 13341d67b6 use start time inference parameter in RacingEventServiceImpl.getOrCreateRegattaWithoutReplication to support creating a regatta with useStartTimeInference=false 2014-07-08 16:01:22 +02:00
Axel Uhl b6daf39e91 fixed NPE for non-existing tracked regatta during regatta editing 2014-07-08 15:58:54 +02:00
Axel Uhl ef0842f4b9 fixed invalidation of leaderboard caches when start time is invalidated and changes 2014-07-08 15:13:10 +02:00
Axel Uhl eb1383da8d specialized DynamicTrackedRegatta.getTrackedRaces() so it returns Iterable<DynamicTrackedRace>, avoiding casts in clients 2014-07-08 11:05:21 +02:00
Axel Uhl e752d4e9f6 invalidate start times of TrackedRaces when useStartTimeInference flag changes on regatta 2014-07-08 11:01:33 +02:00
Axel Uhl a05c16b9f5 Merge branch 'master' into bug1994 2014-07-07 18:12:37 +02:00
Axel Uhl 128acc64c5 avoid instantiation of TrackedRegattaImpl and use DynamicTrackedRegattaImpl instead to also comply in tests with assumptions of DynamicTrackedRace 2014-07-07 18:11:51 +02:00
Axel Uhl bf9a07a2b9 introduced change listener pattern for aborting a race and use this to send an update to TracTrac 2014-07-07 16:58:35 +02:00
Axel Uhl 4f15a562b3 introduced a manageable flag "useStartTimeInference" on Regatta that is evaluated by TrackedRaceImpl.getStartOfRace(), solving bug 1994 2014-07-07 11:27:25 +02:00
Axel Uhl 51a44143e7 added a first JMX MXBean for the RacingEventService, rather intended as an example for future extensions 2014-07-04 13:31:23 +02:00
Axel Uhl ae59ed3de3 filter mark positions by start-of-tracking and end-of-tracking times; started a test case for this 2014-06-30 17:00:54 +02:00
Axel Uhl 212ca8f153 Merge branch 'bug2026' into spatial-wind
Conflicts:
	java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/mock/MockedTrackedRace.java
	java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/mock/MockedTrackedRaceWithStartTimeAndRanks.java
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/leaderboard/impl/AbstractSimpleLeaderboardImpl.java
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/impl/TrackedLegImpl.java
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/impl/TrackedLegOfCompetitorImpl.java
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/impl/TrackedRaceImpl.java
	java/com.sap.sailing.gwt.ui.test/src/com/sap/sailing/gwt/ui/test/MockedTrackedRace.java
	java/com.sap.sailing.gwt.ui/.settings/com.google.gwt.eclipse.core.prefs
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages.properties
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_de.properties
	java/com.sap.sailing.server/src/com/sap/sailing/server/masterdata/DummyTrackedRace.java
2014-06-28 14:46:52 +02:00
Axel Uhl 0e5f4c953c passing the cache through to a few more places where leg type and leg bearing are needed 2014-06-28 14:03:17 +02:00
Axel Uhl 8a9e9d2149 implemented a cache that can be passed around with a computeDTO call 2014-06-27 22:42:23 +02:00
Axel Uhl 7c73aef917 reverted launch config (removed sapjvm7 and replaced again by regular execution environment) 2014-06-26 01:47:11 +02:00
Axel Uhl 1f9d3f7306 re-use getEstimatedSpeed calculation in SailingServiceImpl.getBoatPositions 2014-06-26 01:33:03 +02:00
Axel Uhl 8c7333713f Merge branch 'master' into getRaceMapData-Optimization 2014-06-26 01:00:49 +02:00
Axel Uhl 216c2e5cdd support concurrent replication operation execution for wind fixes and competitor and mark fixes; fixing bug 2020 2014-06-25 23:28:37 +02:00
Lennart Hensler a0186dbfdc Created an optimized version of getTack, if the wind is known 2014-06-25 18:20:26 +02:00
Axel Uhl 9bd8241f25 let wind estimator also use a position-based confidencer for now, even though the estimated fix's position is still null (to be changed soon) 2014-06-22 20:48:38 +02:00
Axel Uhl 46111440c1 Merge branch 'master' into kiwo2014 2014-06-22 01:09:44 +02:00
Axel Uhl 62d9632980 made compilable by adding all necessary implementations of waypointAdded/waypointRemoved in all RaceChangeListeners 2014-06-21 22:38:12 +02:00
Axel Uhl ee299fdf3e introduced WindPositionMode enum and use throughout 2014-06-19 16:39:15 +02:00
Axel Uhl 2fcd084f74 fixing bug 2003: after master data import of a leaderboard group, the overall leaderboard must be added to the RacingEventService 2014-06-16 22:30:02 +02:00
Simon Pamies cfdff73f18 Make sure to include all modules in launch config 2014-06-16 13:05:47 +02:00
Simon Pamies 03f4439621 Introduced call to initialization of listeners into RacingEventService#initiallyFillFrom as it turns out that listeners could not be active during initial load. 2014-06-16 11:41:12 +02:00
Simon Pamies f0b74f66bc Merge branch 'bug1999' 2014-06-16 00:45:00 +02:00