Commit Graph
109 Commits
Author SHA1 Message Date
Simon Pamies b36f652a44 Moved away from custom average speed computation and now being in line with calculation used by LeaderboardPanel 2017-10-20 10:15:04 +02:00
Simon Pamies eccbcb5626 Using leaderboard based average speed calculation 2017-08-28 18:28:04 +02:00
Axel Uhl ec4f8791ea bug4110: introducing superclass of AbstractSimpleLeaderboardImpl for cache handling and DTO calculation;
The superclass doesn't, however, know about suppressing competitors; it
knows how to calculate a LeaderboardDTO and how to maintain a live and
non-live cache for those. It relies on specified but at this level
un-implemented functionality such as getCompetitorsFromBestToWorst to
compute the leaderboard contents. The plan now is to subclass this
with a leaderboard implementation delegating to an existing
RegattaLeaderboard but eliminating competitors not to be shown.

Change-Id: Iadffaa49e0c13e15bfe541c7f7a035d5bfa5a155
2017-05-17 15:18:32 +02:00
Steffen Schaefer 9123771f34 normalized line endings 2017-05-16 09:42:02 +02:00
Axel Uhl 540becdb35 only CR/LF changes
Change-Id: I77ca9b927b7bb875e831d0b3203791650f0edb8c
2017-05-12 16:57:29 +02:00
Papick Garcia Taboada f01e341402 Reorganized bravo-fix metadata and removed computed values cache from bravo fix instances 2017-03-30 10:44:23 +02:00
Simon Pamies 84a4769099 Made fields from Bravo available to exporter 2017-03-03 09:44:48 +01:00
Simon Pamies 9a2e1f28db Merged master 2017-03-03 09:40:28 +01:00
Simon Pamies b3c4f6d4dd Checking for NPE 2017-03-03 09:31:42 +01:00
Axel Uhl f39afd34ed added /maneuver method to regattas end point; refactored to let getManeuvers() return Iterable instead of List
Change-Id: Ida708e2a5e062cca0593a4e5f10517e5237cfe5e
2017-02-01 20:40:04 +01:00
Simon Pamies f2db4d6669 Restructured properties for readability 2016-12-06 15:11:58 +01:00
Simon Pamies cd98c1e5db Exporting working - manual test with one race and one competitor successful 2016-11-30 12:17:21 +01:00
Simon Pamies 2fa47e85b4 Added functionality to servlet 2016-11-29 14:56:46 +01:00
Simon Pamies 4febdfef64 First very basic implementation of a foiling data CSV export 2016-11-29 14:46:06 +01:00
Axel Uhl 341086ff54 fixing NPE issues for XML exporter in case a race has no valid end of race; sampling five wind fixes then
Change-Id: Ieeb8148f04ae2e9bc767a4c34d032ed2f6d3d76b
2016-06-03 10:45:48 +02:00
Axel Uhl 8afe0b2ad9 fixing XML export for rank gains, using previous leg's finishing rank instead of current leg's rank at leg start
Change-Id: I2686f70aa8f3fb6a711c6491529ae179f3d2c7e7
2016-05-30 12:17:57 +02:00
Axel Uhl a26b7f25cd renamed all totalPoints occurrences into netPoints
Change-Id: Iddf5e02a643b69e4f3f549b1757410cf61281185
2016-05-02 15:47:31 +02:00
Axel Uhl 9df54727b1 removed jdom from xmlexport bundle's lib/ folder and acquire it from target platform instead 2015-10-19 15:23:06 +02:00
Axel Uhl 8a58e3ccae use number of raw fixes rather than cleaned fixes for average sampling interval calculation; should speed up leaderboard calculation for long tracks 2015-08-18 16:23:21 +02:00
Simon Pamies 15dce614f1 Added number of wind and gps fixes per race to XML export 2015-08-13 15:03:02 +02:00
Simon Pamies e4ad4816a8 XML exporter Now also taking into account competitors with max point reasons in normal races 2015-07-17 07:36:58 +02:00
Simon Pamies 8b4c5b178d Evil XML exporter fix for RDGs being applied to columns with no tracked race 2015-07-16 19:38:23 +02:00
Simon Pamies 10d3ad53ee XML exporter now extracting wind information 2015-07-16 11:01:30 +02:00
Simon Pamies 4f9d08ac43 XML exporter now makes sure to first take the time of the latest leaderboard change for rank calculation 2015-07-16 10:17:47 +02:00
Simon Pamies a9be120ca6 XML exporter now getting the startline length at the time of the start of the race 2015-07-16 10:05:36 +02:00
Simon Pamies 9be3c6e511 XML exporter now exporting empty race columns with RDG'ed competitors 2015-07-16 10:00:53 +02:00
Simon Pamies 5d499ed8d0 2958 fixed 2015-06-17 14:15:32 +01:00
Axel Uhl 9c5bf2c3b1 switched from "windward distance to leader" to "windward distance to competitor farthest ahead" 2015-05-28 17:10:04 +02:00
Axel Uhl f522527d65 accelerated chart calculations by pre-calculating RankingInfo beforehand, then sharing 2015-05-28 16:12:09 +02:00
Axel Uhl 82757a685c pass RankingInfo through to getLegGapToLegLeaderInOwnTime as a preparation for a performance fix 2015-05-28 10:54:39 +02:00
Axel Uhl 73b3bcef85 introduced new "*Corrected*" methods on TrackedRace and TrackedLegOfCompetitor; use Duration instead of Double / seconds for gap calculation results 2015-04-17 17:18:55 +02:00
Axel Uhl 58bd451481 moved other Position implementations to common packages to share them with GWT and make then GWT-serializable 2015-04-02 16:42:10 +02:00
Simon Pamies 832e26ea16 Added very simple test for xml export - needs to be extended but at least there is one test for it now 2015-01-28 13:13:25 +01:00
Axel Uhl a9a3997752 trying to get the Operation interface under control... 2014-11-08 22:06:58 +01:00
Axel Uhl cd28a65394 major refactoring, using only Operation<T> instead of OperationWithTransformationSupport which is currently not applicable the way we use the operation return type 2014-11-07 23:45:05 +01:00
Axel Uhl bbc2796d59 renamed com.sap.sailing.server.replication bundle to com.sap.sse.replication 2014-11-07 21:47:57 +01:00
EC2 Server ac983a80fc fixing performance issue for maneuver queries in TrackedLegOfCompetitor;
The problem was that the calls required the latest results from the manuever cache.
With lots of load on the server, this can cause significant wait times for each
competitor, summing up for the hundreds of competitors that a big race can have.
This commit introduced a waitForLatest:boolean parameter to the corresponding
methods on TrackedLegOfCompetitor which is set to false by the currently existing
using client methods.
2014-10-27 15:02:03 +00:00
Axel Uhl 69de0f2d76 upgraded project settings to Java8, fixed gwt.ui to JavaSE-1.7 explicitly 2014-10-01 15:00:44 +02:00
Axel Uhl 161d823dee updated project compliance settings to JavaSE-1.8 2014-10-01 14:44:22 +02:00
Axel Uhl e9130d38f3 upgraded classpaths to JavaSE-1.8 2014-10-01 14:16:18 +02:00
Axel Uhl 7ece44052d upgraded manifests from JavaSE-1.7 to JavaSE-1.8 as runtime environment 2014-10-01 14:08:19 +02:00
Simon Pamies 4862f709b8 Fixed more places that failed when the start is not a line 2014-09-14 19:19:55 +03:00
Simon Pamies 1c6e580710 We can not assume that the start line always is a line 2014-09-14 19:19:54 +03:00
Simon Pamies bd862d213f Fixed 505 export 2014-08-04 11:18:11 +02:00
Axel Uhl 4707d527ab disable directory listing for further web bundles 2014-07-21 23:58:37 +02:00
Simon Pamies c40fc9aee4 Fixed timepoint of latest modification that is used for calculations: Now trying to take the end of last tracked race 2014-06-30 11:22:40 +04:00
Axel Uhl b6de77bb6f Merge branch 'master' into kiwo2014 2014-06-22 13:10:37 +02:00
Simon Pamies ac57279566 Fixed export for data where there is no maximum speed for a competitor 2014-06-22 12:23:28 +02:00
Simon Pamies 19ab314390 Fixed NPE occurring when there is no advantage on start line 2014-06-22 12:16:31 +02:00
Axel Uhl acab83a7e2 added WindPositionMode to tests and UI code; fixed a test verdict which was affected by now lower confidence of a course layout-based wind estimation 2014-06-19 17:18:47 +02:00