Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl daf872b3a2 get charsetname from system property test.charset 2011-06-19 08:12:33 +02:00
Axel Uhl 815d80b1e0 added more output to trace down encoding problem 2011-06-19 00:58:03 +02:00
Axel Uhl 896a1deb4c added a method printing the raw URL output stream to stdout 2011-06-18 23:59:50 +02:00
Axel Uhl 7ef34a6229 Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-18 23:53:22 +02:00
Axel Uhl f5553ff42f for now switch again to newest event as default for showrace timepoint; probably need another parameter 2011-06-18 23:52:40 +02:00
Axel Uhl f4639fa382 fix possible deadlock problem: when asking for the tracked race outside the synchronized block,
it may still be null; however, it may get filled before the synchronized block gets entered.
Therefore, the get needs to be inside the synchronized block.
2011-06-18 23:51:47 +02:00
Axel Uhl 1dcee7d2f2 Merge branch 'prod' 2011-06-18 22:40:08 +02:00
Axel Uhl 9d120cfdd7 added a comment that strangely only was in prod 2011-06-18 22:38:13 +02:00
Axel Uhl 689c5a146d Merge branch 'master' into prod 2011-06-18 22:35:33 +02:00
Axel Uhl db306d22de Merge commit '7f704e7af07af78f94ca47a6a755110f8552a2c6' into prod 2011-06-18 22:35:27 +02:00
Axel Uhl 69914b2533 the maven-repository for master isn't master but dev 2011-06-18 22:22:21 +02:00
Axel Uhl 7f704e7af0 Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-18 22:14:40 +02:00
Axel Uhl b9c5d5d73f ranking comparators again may rank competitors equal if they have equal distances / times and such.
But this time we're using Collections.sort with these comparators on a List that doesn't collapse
multiple entries into one.
2011-06-18 22:13:41 +02:00
Axel Uhl ddd77b818c a little script to execute the Unicode test quickly 2011-06-18 21:19:25 +02:00
Axel Uhl 69459ada7e fixed main in test 2011-06-18 19:55:45 +02:00
Axel Uhl 0fedf9269b added main to unicode test 2011-06-18 19:48:30 +02:00
Axel Uhl b1a4876a54 a small test that shows the competitor names of the 49er race in Kiel, some of which contain Unicode 2011-06-18 19:44:34 +02:00
Axel Uhl 1cf3bb13f3 compare otherwise equal but distinct competitors by their name for the race rank
This avoids collapsing the two into one, not having the one appear in the ranked
sorted set
2011-06-18 19:27:48 +02:00
Axel Uhl f63c67be1e compare otherwise equal but distinct competitors by their name 2011-06-18 19:27:32 +02:00
Axel Uhl fbab7d5e53 distinguish by competitor names if otherwise two competitor tracks rank exactly equal 2011-06-18 19:21:28 +02:00
Axel Uhl 6221ecd9b0 added logging in case a tracked leg doesn't have ranks for all competitors 2011-06-18 19:00:26 +02:00
Axel Uhl 948a06e054 infer race start time if non-sense and we have better evidence from GPS fixes 2011-06-18 18:23:03 +02:00
Axel Uhl c7164fe0e5 Merge branch 'master' into prod 2011-06-18 16:56:01 +02:00
Axel Uhl 910a128d95 removed synchronization from CourseImpl 2011-06-18 16:27:41 +02:00
Axel Uhl 2e4c25f470 Merge branch 'master' into prod 2011-06-18 16:07:21 +02:00
Axel Uhl a158834d03 encode responses as UTF-8 2011-06-18 15:42:43 +02:00
Axel Uhl 94de95e382 Merge branch 'master' into prod 2011-06-18 14:01:49 +02:00
Axel Uhl 481f07ab6d be more tolerant if there are mark passing notifications with multiple occurrences for the same Waypoint
We thought this couldn't happen, but it does...
2011-06-18 13:39:33 +02:00
Axel Uhl b7e86c9594 added synchronization on CourseImpl to avoid asking waypoints when there is a course update underway 2011-06-18 13:39:31 +02:00
Axel Uhl 89a988491a Merge branch 'master' of ssh://localhost:12347/home/trac/git into prod 2011-06-18 13:13:20 +02:00
Axel Uhl cf6bead0db avoid adding races to an event if we receive TracTrac notifications from the same TracTrac Event
with multiple boatClasses
2011-06-18 13:12:42 +02:00
Axel Uhl f085a4db91 fixed event naming uniqueness by adding boat class name 2011-06-18 12:31:43 +02:00
Axel Uhl 271cc69ace Merge branch 'master' into prod 2011-06-18 10:14:00 +02:00
Axel Uhl 504ed9b577 fixed changes from master that corrected erroneous merge from prod 2011-06-18 10:11:06 +02:00
Axel Uhl 2ac02d64fd Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-18 10:03:27 +02:00
Axel Uhl 203bb9de92 reverted accidental prod changes on master 2011-06-18 10:03:02 +02:00
Axel Uhl cabb5e878b Merge commit '793aa5306b801c461955c94ce06848a3c857f3ba' into new_master 2011-06-17 23:52:12 +02:00
Axel Uhl 23494c0793 Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-17 23:47:40 +02:00
Axel Uhl ca128d74ce fixed issue with multiple boat classes per event; added test case for that 2011-06-17 23:47:05 +02:00
Axel Uhl ce3f8fc54d added TODO regarding new events when race with different boat class is detected 2011-06-17 17:30:31 +02:00
Axel Uhl 7b0af7d8e8 compilable version with finished-time for race removed from REST APIs and from TrackedRace interface;
adjusted documentation in README accordingly; prepared getWindwardDistanceToOverallLeader
2011-06-17 17:27:00 +02:00
Axel Uhl c5e8c6e56b show wind/speed averaging interval in showrace output; offer setaveraging action in AdminApp 2011-06-17 10:16:40 +02:00
Axel Uhl d49429a5e9 added wind averaging change API 2011-06-17 10:01:14 +02:00
Axel Uhl fb653ab47d added capability to dynamically adjust the speed averaging interval 2011-06-17 08:28:06 +02:00
Axel Uhl 50e1ea5c63 refreshed TODO 2011-06-17 01:29:14 +02:00
Axel Uhl 5f370abb09 Merge branch 'prod' of ssh://localhost:12347/home/trac/git into prod 2011-06-17 01:02:13 +02:00
Axel Uhl 5f8743b25e Merge branch 'master' into prod 2011-06-17 01:01:19 +02:00
Axel Uhl 9430527d34 reverted the effects of merging the fixed master into prod again 2011-06-17 00:54:15 +02:00
Axel Uhl 733fcda9c9 added log output upon com.sap.sailing.server start telling Charset encoding 2011-06-17 00:45:50 +02:00
Axel Uhl b5f4d00bc1 added JSON output description for listracesinevent 2011-06-17 00:41:33 +02:00
Axel Uhl dd12c2045a Merge branch 'master' into prod
Conflicts:
	java/target/configuration/config.ini
2011-06-17 00:29:40 +02:00
Axel Uhl 57efd2d79e reverted accidental changes that happened when the prod branch was erroneously merged into master 2011-06-17 00:26:48 +02:00
Axel Uhl 2ebaf4d901 Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-17 00:23:49 +02:00
Axel Uhl 8516abe3f5 added a few first lines on listracesinevent 2011-06-17 00:14:43 +02:00
Axel Uhl b7da5d18b1 accidentally, the prod pom.xml slipped in; fixed 2011-06-17 00:11:13 +02:00
Axel Uhl 5ac43a2742 script to "garbage-collect" all JAR files that are built by maven
Afterward you'll at least have to run the update script. But beware:
update will again copy all files from the maven repository.
You may consider cleaning the maven repository for the respective
instance, then do a "mvn deploy" and only then call update again.
2011-06-17 00:07:08 +02:00
Axel Uhl 9811e466b9 Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-16 23:47:32 +02:00
Axel Uhl f91011b480 emit nationalityISO2 and nationalityISO3 from listevents 2011-06-16 23:46:50 +02:00
Axel Uhl 09505280e9 Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-16 23:22:49 +02:00
Axel Uhl bb6605ba66 added tests for country code conversion and lookup 2011-06-16 23:22:14 +02:00
Axel Uhl 5e3adf70ba generated CountroCodeFactoryImpl using CountryCodeTest 2011-06-16 23:22:08 +02:00
Axel Uhl aa047f53a3 fixed HTML characters and converted them to Unicode 2011-06-16 23:22:02 +02:00
Axel Uhl 9ea71dfea7 proceeded with conversion routine for country codes 2011-06-16 23:21:56 +02:00
Axel Uhl 732cdf54cc country codes with IOC three-letter codes, as HTML source 2011-06-16 23:21:49 +02:00
Axel Uhl 6bfcca6ded interfaces for CountryCode conversion 2011-06-16 23:21:40 +02:00
Axel Uhl 7197ddbd38 Merge branch 'master' into prod 2011-06-16 16:44:01 +02:00
Axel Uhl 195e67423e Merge branch 'master' into prod 2011-06-16 16:41:14 +02:00
Axel Uhl e26c0b60df Merge branch 'master' into prod 2011-06-16 15:09:06 +02:00
Axel Uhl cf4d78bd68 fix NPE in case a boat class is not defined for a competitor 2011-06-16 15:08:03 +02:00
Axel Uhl 6071e54d73 Merge branch 'master' of ssh://localhost:12347/home/trac/git into prod 2011-06-16 14:32:39 +02:00
Axel Uhl 68f31b3f65 Merge branch 'master' of ssh://localhost:12347/home/trac/git into prod 2011-06-16 14:28:06 +02:00
Axel Uhl ef3f51e84e Merge branch 'master' into prod
Conflicts:
	java/target/configuration/config.ini
2011-06-16 14:26:49 +02:00
Axel Uhl d3b613d7a1 Merge branch 'master' into test
Conflicts:
	java/target/configuration/config.ini
2011-06-16 14:26:26 +02:00
Axel Uhl edabec9665 set mongo.port to 10202 for prod 2011-06-16 12:55:32 +02:00
Axel Uhl dbfba3a685 set mongo.port to 10201 for test instance 2011-06-16 12:55:11 +02:00
Axel Uhl 1af018f16c set mongo.port to 10200 for dev instance 2011-06-16 12:54:14 +02:00
Axel Uhl 94d7fbf673 avoid lock-up when trying to stop trackers of non-started races 2011-06-16 12:47:07 +02:00
Axel Uhl 703d20a8a3 added MongoDB ports for test/prod 2011-06-16 12:44:38 +02:00
Axel Uhl 1442b28c64 added listracesinevent to admin app 2011-06-16 10:14:03 +02:00
Axel Uhl 856999939f Merge branch 'master' into prod
Conflicts:
	java/pom.xml
2011-06-16 09:32:03 +02:00
Axel Uhl 45e8f43a90 maintained TODO, extended README 2011-06-16 09:28:58 +02:00
Axel Uhl d71ffcb9f6 increased interval for speed averaging/smoothening to 40s
which results in 20s for a half-sided interval
2011-06-15 21:51:52 +02:00
Axel Uhl 34eedcb7e0 added a few words on Maven 2011-06-15 19:48:38 +02:00
Axel Uhl 71494f2ad1 added REST service documentation 2011-06-15 19:24:46 +02:00
Axel Uhl d61bfb4bb2 added missing files from TracResultAPI ZIP 2011-06-15 13:58:37 +02:00
Axel Uhl 6cbd9c253a use the new TracTrac Result API's getVMGAverage30s to obtain VMG estimate;
attached Javadoc to TracResultAPI
2011-06-15 13:50:14 +02:00
Axel Uhl a41d2594d7 included the new revision of the TracTrac Result API 2011-06-15 13:37:19 +02:00
Axel Uhl 6d9292d1cd continued describing the REST APIs 2011-06-15 13:30:15 +02:00
Axel Uhl cdcbb82f0b renamed lngdev (typo!) to lngdeg 2011-06-15 13:26:17 +02:00
Axel Uhl af26d551ca cleaned up how race start time is put to listevents output 2011-06-15 11:18:19 +02:00
Axel Uhl 55f9b43d29 Merge branch 'master' into test 2011-06-15 09:58:13 +02:00
Axel Uhl b93f496d07 ensure that getCreatedAt() and getTimePoint() return an identical time point when no GPS time received
and no previous latency was determined
2011-06-15 09:38:50 +02:00
Axel Uhl 82ad14fe48 a little progress on README 2011-06-15 09:38:40 +02:00
Axel Uhl 6d12befe96 use new TrackedLeg.getRanks(TimePoint) in ModeratorApp for consistent rank read-out 2011-06-15 08:11:08 +02:00
Axel Uhl d0380cd0f3 added getRanks(TimePoint) on TrackedLeg 2011-06-15 08:00:43 +02:00
Axel Uhl 7c6f25a117 Merge branch 'master' into prod 2011-06-14 19:34:36 +02:00
Axel Uhl abe8a71d15 Merge branch 'master' into test 2011-06-14 19:27:11 +02:00
Axel Uhl 2100945078 interpolate timestamps for expedition messages by keeping track of latencies 2011-06-14 19:21:10 +02:00
Axel Uhl 3009148864 removed unnecessary synchronization on WindTrackImpl.add
It's using a concurrent collection meanwhile anyway.
This avoids a deadlock when a wind track listener is notified
about the change and tries to clear the rank cache. The rank
cache re-calculation, however, draws the wind track's monitor
when calling getEstimatedWind(...).
2011-06-14 18:59:05 +02:00
Axel Uhl 55d94a7fc5 return null in getLastFix() and getFirstFix() if track is empty 2011-06-14 18:38:04 +02:00