Commit Graph
71 Commits
Author SHA1 Message Date
Peter Siegmund 266e3d51c5 add MongoDB .project file 2014-11-12 08:41:29 +01:00
Axel Uhl 15f0ea0489 renamed com.sap.sailing.mongodb to com.sap.sse.mongodb and removed unnecessary dependency to com.sap.sailing.domain.common; fixes bug 2435 2014-11-05 13:08:09 +01:00
Axel Uhl 7c12cfcc59 minor refactoring of code structure in MongoDBServiceImpl 2014-10-09 16:52:05 +02: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
Axel Uhl 53a0b36e8e consolidated all Util stuff in com.sap.sse.common.Util now 2014-06-03 00:01:14 +02:00
Axel Uhl cb9354b1a0 moved Util from com.sap.sailing.common to com.sap.sse.common 2014-06-02 23:57:16 +02:00
Axel Uhl 0c47e86304 moved Pair and Triple from com.sap.sailing.common.Util to com.sap.sse.common.Util and introduced all missing dependencies on com.sap.sse.common 2014-06-02 23:31:26 +02:00
Fredrik Teschke 939bec4307 tabs to spaces in trackfiles 2014-05-01 22:56:28 +02:00
Axel Uhl ed35db38b4 removed setConfiguration from MongoDBService and replaced by MongoDBConfiguration.getService() 2013-11-29 13:28:42 +01:00
Simon Pamies 94d57c0ffb Using already exported variables for mongo port and host - fix - it's getting late 2013-10-30 23:33:49 +01:00
Simon Pamies 10975214a8 Using already exported variables for mongo port and host - fix 2013-10-30 23:26:49 +01:00
Simon Pamies 221db7d129 Unix does not support dots in variable names 2013-10-30 23:12:38 +01:00
Simon Pamies 96fa5752f2 Add support for mongodb host and port set using environment variables 2013-10-30 23:04:59 +01:00
Armin Zamani b501d1ca6f Merge branch 'racecommittee_integrated' of
ssh://armin@sapsailing.com/home/trac/git into racecommittee_integrated

Conflicts:
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/leaderboard/impl/AbstractSimpleLeaderboardImpl.java
2013-04-11 00:28:12 +02:00
Fredrik Teschke 97b1ad82c7 Moved CollectionNameService into MongoDBService 2013-01-28 11:11:54 +01:00
D049941 c393031c41 Merge branch 'master' into 'gwt25'
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/leaderboard/SortedCellTableWithStylableHeaders.java
2012-11-22 15:43:03 +01:00
Axel Uhl 89a7f7b39f use ?broker.useJmx=false extension to vm://localhost... broker URL in tests; unregister replica in tearDown 2012-05-23 01:27:44 +02:00
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