Commit Graph
51 Commits
Author SHA1 Message Date
Axel Uhl 2e603bc6e3 first successful tiny and trivial Operational Transformation test, replicating the addition of a leaderboard 2012-03-28 14:51:13 +02:00
Axel Uhl e60589f92a set test DB name back to winddbTest 2012-01-25 14:03:07 +01:00
Axel Uhl 22b24c0450 switched all projects to Java7 except for those used by as GWT source 2012-01-19 10:01:36 +01:00
Lennart Hensler 02a293360e Moved QuadTree to *.common + Added Cache to Geocoder 2012-01-12 18:23:54 +01:00
Lennart Hensler fa7083b966 Merge branch 'gwt' into spectator
Conflicts:
	java/com.sap.sailing.gwt.ui/SailingGWT.launch
2012-01-05 11:26:36 +01:00
Lennart Hensler bc87606e87 Improvements of spectator vision
Conflicts:

	java/com.sap.sailing.gwt.ui/war/.gitignore
2012-01-04 16:35:27 +01:00
fmittag 531aa0166f clean up of all version in all pom.xml files
- changed 0.0.1-SNAPSHOT to 1.0.0-SNAPSHOT
- changed product version from 1.1.0 to 1.0.0
- removed unnecessary <version> tags in plugins
2012-01-04 16:04:23 +01:00
Axel Uhl 9e388831e3 moved Util class to domain.common and use its Pair/Triple utility classes also in gwt.ui 2011-12-30 09:49:02 +01:00
Axel Uhl 5f2ecd9584 cache DB connections 2011-11-25 15:23:11 +01:00
fmittag e1c2918e27 refactoring of the MongoDBService to be configurable (TEST, PROD, etc.)
apply the new service to all tests
2011-11-25 13:59:41 +01:00
Axel Uhl 0b7ac5268f added more logging to MongoDB setup 2011-11-21 10:32:23 +01:00
fmittag e4ec273724 remove m2e nature from all .project files 2011-11-09 22:06:14 +01:00
Axel Uhl e62231feaa introduced separate persistence bundles for domain, tractrac and swisstiming bundles 2011-11-08 18:06:44 +01:00
Axel Uhl 2a12d45fc0 refactored Mongo DB connector: new Activator which encapsulates DB connection 2011-11-08 17:10:10 +01:00
Axel Uhl c12a0d74fc listing races offered by SwissTiming SailMaster server seems to work 2011-11-07 15:45:46 +01:00
Axel Uhl d59a2f0294 more swiss timing connectivity stuff; relaxed test with reverse distance a bit because distances
are taken at slightly different times (one after the other)
2011-11-07 13:50:14 +01:00
Axel Uhl 97b95ea660 compilable (yet entirely untested) version of SwissTiming configuration stuff 2011-11-07 13:17:03 +01:00
Axel Uhl 9e6d3f946c made competitor names editable per leaderboard; editings are maintained in MongoDB 2011-10-26 20:36:04 +02:00
Axel Uhl 2cd4fb082e added preferences files; removed generated files from git; added missing RaceAverageSpeedColumn.java 2011-10-05 23:51:26 +02:00
Axel Uhl 7db6a82c05 fixed NPE when disconnecting race from column 2011-10-02 04:34:18 +02:00
Axel Uhl 09f122c88a fixed issue with RaceInLeaderboard identity by subclassing instead of using delegation;
The problems bit all over the place with the delegation pattern based on lack of identity / equality
with the delegates. Now I've changed the design such that LeaderboardImplWithDelayed... creates
subclassed RaceInLeaderboard instances consistently, avoiding any issues with wrappers not being
identical to their delegates.
2011-10-02 03:20:58 +02:00
Axel Uhl 77079015d4 fixed serious bugs regarding storage of score corrections/max points reasons
One problem was the proper escaping of + characters which during URLDecoder.decode were
replaced by space. Another issue was that when directly calling setTrackedRace on a
RaceInLeaderboard column, the left-overs were not properly assigned. I fixed this using
a delegate pattern with a wrapper around the RaceInLeaderboard objects returned from
the leaderboard with delayed score correction / max points data. This, however, led to
a follow-up problem when constructing the keys used for the score correction / max points
maps: the wrappers were neither identical nor equal to the delegate. I now delegate the
key construction to the RaceInLeaderboard instance which gives the wrapper a chance to
use its delegate in the key constructed.
2011-10-02 02:40:15 +02:00
Axel Uhl 36eed1f770 also store score corrections in DB for non-tracked races 2011-10-02 01:32:15 +02:00
Axel Uhl 27f8ad0657 fixed wind to/from confusion in expedition receiver; allow for omission of event/race in setwind service call 2011-09-28 10:51:54 +02:00
Axel Uhl 421a1dc961 catch NPE when trying to ensure that an index for the leaderboard collection exists 2011-09-16 09:56:50 +02:00
Axel Uhl 6f274aa51b encode/decode keys used in Mongo coming from arbitrary strings to avoid leading $ and . in between 2011-09-13 20:58:26 +02:00
Axel Uhl 7146c1e2ef fixed mongo hostname property to make it mongo.host consistently throughout 2011-09-13 14:15:02 +02:00
Axel Uhl 28f1b2feea attached leaderboard persistence 2011-08-31 18:18:12 +02:00
Axel Uhl b2f16afabf added test for max-points-reason storage 2011-08-24 15:04:34 +02:00
Axel Uhl 92c371a38e successful leaderboard score correction persistence test; fixed again discarded result sorting in leaderboard 2011-08-24 14:54:59 +02:00
Axel Uhl 89bfe4b99b first untested pieces of code to load a leaderboard from MongoDB 2011-08-24 09:49:31 +02:00
Axel Uhl fdc84b8bd0 empty skeleton for leaderboard loading 2011-08-19 18:16:58 +02:00
Axel Uhl d71add5bc3 first half-way complete but entirely untested storing routine for Leaderboard 2011-08-19 17:44:03 +02:00
Axel Uhl 885f6379b2 re-compiled GWT app 2011-08-19 17:12:42 +02:00
Axel Uhl 8bd2f9d669 continued work on leaderboard persistence; removed alert window showing host name for race panel 2011-08-19 17:08:20 +02:00
Axel Uhl 71fee7a59c continued development of leaderboard persistence; fixed flag URL toLowerCase issue 2011-08-18 18:00:34 +02:00
Axel Uhl 86c4eaa1b0 removed more Mongo specifics from the factory interfaces 2011-07-29 17:22:34 +02:00
Axel Uhl b0c2cdfa41 remove DB parameter from Mongo factory interfaces 2011-07-29 17:16:21 +02:00
Axel Uhl 0282c6a8c8 added Leaderboard interface with first little test cases
Also, streamlined pom.xml files
2011-07-29 15:36:49 +02:00
Axel Uhl 3f36e0293f share Mongo instance if port/host are equal 2011-07-06 16:13:08 +02:00
Axel Uhl 630ee66292 load/store previous configurations to/from Mongo 2011-07-05 18:03:30 +02:00
Axel Uhl d49429a5e9 added wind averaging change API 2011-06-17 10:01:14 +02:00
Axel Uhl b745acb11f changed time point used for average speed over ground; use time of competitor's last fix if leg not completed;
return null if no fix found at all for competitor
2011-06-14 13:17:07 +02:00
Axel Uhl e7d6006bfb fixed time point check for average velocity made good; fixed localhost default for MongoDB wind store 2011-06-13 21:30:10 +02:00
Axel Uhl d77d6ced2c initialize Mongo properties from system properties in default constructor, helps if no OSGi is launched
added first logic in TrackedRaceImpl for course updates
2011-06-12 13:36:22 +02:00
Axel Uhl fb276dd261 added TODOs to TrackedRaceImpl regarding course updates; expose mongo.port property 2011-06-12 13:25:51 +02:00
Axel Uhl def8296c1d use mongo.port property also in mongodb.test bundle 2011-06-12 13:19:21 +02:00
Simon Pamies 0bae880ae6 Merge branch 'master' of ssh://195.227.10.246/home/trac/git 2011-06-10 21:49:50 +02:00
Axel Uhl d9aaab2027 implemented removewind REST API in admin app 2011-06-10 21:17:34 +02:00
Simon Pamies 76363154a8 Removed class files - seems that they were accidently committed 2011-06-10 21:15:53 +02:00