Commit Graph
2474 Commits
Author SHA1 Message Date
Axel Uhl d038307363 made competitorCreated method null-safe 2017-09-15 23:14:02 +02:00
Axel Uhl 3b5b8bfd9f bug 4262: introduced new status REMOVED which then won't trigger cache updates;
not yet all done, particularly RaceLog tracking needs a closer look
because race/tracker removal there is a bit more complicated

Change-Id: I5fb6decf282f5465c2b5af4a9aac7e1fce15331d
2017-09-15 17:02:43 +02:00
Axel Uhl 380cd27572 introduced a CreateCompetitor operation, adjusted test; should fix bug4291
Change-Id: I4c2e040e36884eb2e31f7dbb803dde67a52c9701
2017-09-15 15:23:07 +02:00
Kai Boernert 58343220f6 changed from countdown to currentRaceCount 2017-09-15 11:42:21 +02:00
Axel Uhl 76142a145d added /events/{event-id}/update method to EventsResource
Change-Id: I961907fefeeec210f0ac4daabb9c55e89d6b1360
2017-09-15 10:00:48 +02:00
Steffen Schaefer e333b12542 Bug 4227: Added some JavaDocs regarding anniversary races 2017-09-14 10:05:03 +02:00
Kai Boernert e3f4c733b2 made racecount int, eliminating a potential nullpointer multithreading
problem in update() call
2017-09-14 10:02:59 +02:00
Benjamin Barth 91b4bf31c5 bug4227 Code cleanup and formatting 2017-09-13 16:59:49 +02:00
Benjamin Barth 4c926eb38d bug4227 Renamed class to AnniversaryRaceDeterminator 2017-09-13 16:36:57 +02:00
Benjamin Barth 1252c4c51b bug4227 Avoided retrieving remote races on replicas 2017-09-13 16:26:37 +02:00
Benjamin Barth cc9005b1b0 bug4227 Avoided reading of details for already known anniversaries 2017-09-13 16:04:02 +02:00
Axel Uhl c5a6ae0368 fixed whitespacing in _es translation
Change-Id: I4e788ed0a4fae6f689d9bc5f1ce126632336cd17
2017-09-13 15:25:28 +02:00
Axel Uhl 2e64c589ce Merge branch 'master' into translation 2017-09-13 15:20:29 +02:00
Steffen Schaefer 56f507a0fd Bug 4227: Implemented initial replication for next anniversary and race
count
2017-09-13 11:42:08 +02:00
Steffen Schaefer fba4c4d7b8 Bug 4227: Fixed possible NPE with autoboxing 2017-09-13 11:40:43 +02:00
Steffen Schaefer 28572ed8c3 Bug 4227: Reduced the amount of code that needs to be executed with
synchronization
2017-09-13 11:00:36 +02:00
Steffen Schaefer ee5f81d88c Bug 4227: race count and next anniversary are now also replicated 2017-09-13 10:49:35 +02:00
Steffen Schaefer cbc2234bf3 Bug 4227: consistent field naming 2017-09-13 10:30:38 +02:00
Steffen Schaefer 71f0921779 Bug 4227: changed fields to be volatile for improved consistency 2017-09-13 09:44:08 +02:00
Steffen Schaefer 9a3633c269 Bug 4227: Reduced the amount of code that needs to be executed with
synchronization
2017-09-13 09:42:58 +02:00
Benjamin Barth a7ed5d86d8 bug4227 Minor code refactorings 2017-09-12 18:12:47 +02:00
Benjamin Barth e03834dbf6 bug4227 Improved replication of anniversary races 2017-09-12 17:37:58 +02:00
Steffen Schaefer ae4a7c9b02 Bug 4227: Added synchronization and a check for replica while
calculating anniversary races
2017-09-12 16:59:29 +02:00
Steffen Schaefer a7621e50b9 Bug 4227: Clearing more information on replicas regarding anniversary
races
2017-09-12 16:50:45 +02:00
Steffen Schaefer 55c8e3640e Bug 4227: reverted an unintended change 2017-09-12 16:33:45 +02:00
Steffen Schaefer 6c6cba5163 Bug 4227: Calculation of anniversary races is turned off on replicas and
known anniversary races are cleared when replicating or clearState is
called
2017-09-12 16:31:47 +02:00
Benjamin Barth fd90467e8a bug4227 Refactored remoteRaceResultReceivedCallbacks collection 2017-09-12 16:28:33 +02:00
Steffen Schaefer f9c9731ae0 Bug 4227: Prerequisites to turn off calculation of anniversary races on
replicas
2017-09-12 16:22:01 +02:00
Steffen Schaefer b7c2a54b1e Bug 4227: Implemented replication of newly identified anniversary races 2017-09-12 16:05:05 +02:00
Steffen Schaefer 877932a6a6 Bug 4227: Implemented initial replication of anniversary races 2017-09-12 16:05:01 +02:00
Steffen Schaefer 4abaf16f2e Bug 4227: Added the possibility to set the list of known anniversary
races (to be used by the replication)
2017-09-12 16:04:57 +02:00
Benjamin Barth 56455b5309 bug4227 Moved RemoteRaceResult callback registration into
PeriodicRaceListAnniversaryDeterminator
2017-09-12 16:04:18 +02:00
Steffen Schaefer 28092a2106 Bug 4227: Implemented calculation of EventType for anniversary races 2017-09-12 11:49:16 +02:00
Steffen Schaefer 96fca7e849 Bug 4227: Refactored calculation of EventType to EventUtil to make it
possible to reuse this functionality in RacingEventService for the
calculation of race details used by anniversary race calculation
2017-09-12 11:47:49 +02:00
Steffen Schaefer a49360a933 Bug 4227: moved isFakeSeries method from HomeServiceUtil to EventUtil to
make it possible to reuse this functionality in RacingEventService for
the calculation of race details used by anniversary race calculation
2017-09-12 11:46:11 +02:00
Kai Boernert 7f03a972b0 added anniversary type enum 2017-09-11 17:12:13 +02:00
Kai Boernert 02b93657cb added eventName and leaderboardDisplayName 2017-09-11 14:24:04 +02:00
Benjamin Barth 45c2013c08 Merge branch 'master' into bug4227 2017-09-06 13:10:07 +02:00
service.tip.git 1ceba21baa [INTERNAL] Translation delivery: commit by SLS
Change-Id: I27a15c92d45f46cdf0cb9f95c4ed10bde2d8ca8e
2017-09-04 15:26:09 +00:00
service.tip.git 8e339ec7ac [INTERNAL] Translation delivery: commit by SLS
Change-Id: Ie53b7208fdb466bd5d2aebab327d8d7fd19e0adc
2017-08-31 12:24:56 +00:00
Benjamin Barth f2611b50ef bug4227 Simplified TrackedRacesCache update logic 2017-08-29 18:22:38 +02:00
Benjamin Barth eefcfd868b bug4227 Adjusted JavaDocs and code formattings 2017-08-29 13:59:15 +02:00
Kai Boernert b266b20db2 formatting changes 2017-08-28 15:32:40 +02:00
Kai Boernert 10fd7d14b6 smaller corner cases bugfixes for anniversary checkers 2017-08-28 11:53:21 +02:00
Kai Boernert 53d3aa6486 only update, if the amount of remote races did change 2017-08-28 11:53:01 +02:00
Axel Uhl dfd1c65465 less verbose exception logging for missing Shiro config during tests
Change-Id: Ie13dfa8f88c9ef66e59369c99d90815a239f6c05
2017-08-24 21:59:19 +02:00
Axel Uhl 5cceee7c14 properly catch exception for test scenarios in RacingEventServiceImpl.getServerAuthor
Change-Id: I46b42e0e5bf8d19d9de826b9964a63e1cd333a00
2017-08-24 21:55:52 +02:00
Axel Uhl 1d13d2cbb1 preparing for a starttracking method on the leaderboards end point
Change-Id: I98815cbd5b274d8ed0381c25c97f7767b1e8c688
2017-08-24 10:41:17 +02:00
Kai Boernert 00f5068483 raceingEventService is not responsible for the AnniversaryDeterminator
(lifecycle wise). The anniversaries piggyback on the
RemoteSailingServerSet scheduling, instead of using a seperate own
Scheduler
2017-08-22 17:12:51 +02:00
Kai Boernert 259d5577a8 added dispatch call to get anniversary information, cleaned up mongodb
access
2017-08-22 15:04:13 +02:00