Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl 96792dede1 Merge remote-tracking branch 'server/master' 2015-07-31 13:36:26 +02:00
Axel Uhl b710ad3207 Merge branch 'bug3195' 2015-07-31 13:35:51 +02:00
Axel Uhl 6e38a1e06f Updated creating ec2 image from scratch (markdown) 2015-07-31 11:20:43 +00:00
Axel Uhl adfa182527 Created creating ec2 image from scratch (markdown) 2015-07-31 10:44:27 +00:00
Axel Uhl 2d6f54e8f4 Merge remote-tracking branch 'server/master' 2015-07-31 12:30:49 +02:00
Axel Uhl ff587a8949 fixed bug 3195 by ensuring timer is running inside synchronized block and peeking before polling; use approximate time if interval >1s 2015-07-31 11:46:33 +02:00
Axel Uhl 9d9c93a136 added failing test case for bug3195 2015-07-31 11:42:49 +02:00
Axel Uhl 2b12ef4c51 started work on bug3195 with a few FIXME comments 2015-07-31 10:42:47 +02:00
Axel Uhl d73157ca9d improved Javadoc for getWindSource() 2015-07-31 10:42:19 +02:00
Axel Uhl 7af1658470 declared explicit gwt-dev dependency with gwt.version in gwt.ui's pom.xml 2015-07-30 15:06:26 +02:00
Axel Uhl 10f4ad186a removed rome-1.0.0.jar ATOM/RSS feed stuff from target platfomr; set gwt.minVersion to 2.7.0 2015-07-30 14:32:26 +02:00
Axel Uhl 52269adc26 put gwt-user dependency to the beginning of the gwt.ui artifact's dependency list 2015-07-30 14:09:11 +02:00
Axel Uhl 969f54d117 declaring gwt-user as explicit dependency in gwt.ui to avoid version mismatch by transitive dependency from gwt-maps-api 2015-07-30 11:49:01 +02:00
Axel Uhl dc8eb07bc2 fixed typo in comment 2015-07-30 10:36:06 +02:00
Axel Uhl adc49b3c7b added toolchains.xml template for copying to a local Maven installation's ~/.m2 directory 2015-07-30 10:27:55 +02:00
Axel Uhl bf9fbc3480 Updated setting up jenkins on sap monsoon (markdown) 2015-07-29 19:39:48 +00:00
Axel Uhl ff8357909b omit source/target JDK specification and use "useJDK=BREE" instead which selects the Bundle-RequiredExecutionEnvironment instead 2015-07-29 21:00:16 +02:00
Axel Uhl fe71c6af6a removed toolchain plugin again from java/pom.xml; it currently breaks the master build; continuing experiments on branch toolchains 2015-07-29 17:56:40 +02:00
Axel Uhl 60e0610800 use only jdk1.8 in toolchains definition 2015-07-29 17:30:51 +02:00
Axel Uhl bfaa82efca toolchains Maven plugin requires toolschains configuration parameter 2015-07-29 17:22:12 +02:00
Axel Uhl 41c6b9c9fe toolchains Maven plugin requires a "toolchains" configuration parameter 2015-07-29 17:21:18 +02:00
Axel Uhl ae5d76b5ea added maven-toolchains-plugin 2015-07-29 17:17:07 +02:00
Axel Uhl ee769d2593 Merge remote-tracking branch 'server/master' 2015-07-29 17:03:50 +02:00
Axel Uhl 625d31ece2 use the useJDK directive for Tycho configuration with value BREE (Bundle-RequiredExecutionEnvironment) to avoid warning about non-matching JDK / JRE 2015-07-29 17:02:41 +02:00
Axel Uhl 9d173c8489 Updated setting up jenkins on sap monsoon (markdown) 2015-07-29 14:31:51 +00:00
Axel Uhl fcc79c82b4 Updated setting up jenkins on sap monsoon (markdown) 2015-07-29 14:20:45 +00:00
Axel Uhl e88dc3ec9b Updated home (markdown) 2015-07-29 13:08:50 +00:00
Axel Uhl 419f9b1747 Updated setting up jenkins on sap monsoon (markdown) 2015-07-29 12:48:14 +00:00
Axel Uhl 01dfbda39f Updated setting up jenkins on sap monsoon (markdown) 2015-07-29 12:07:56 +00:00
Axel Uhl 855974d95e Merge remote-tracking branch 'server/master' 2015-07-29 14:07:50 +02:00
Axel Uhl 21ff6851b7 Updated setting up jenkins on sap monsoon (markdown) 2015-07-29 12:07:26 +00:00
Axel Uhl 92d9334742 fixed proxy parameters to use for maven-based testing 2015-07-29 14:05:51 +02:00
Axel Uhl 590b55d761 Created jenkins on monsoon (markdown) 2015-07-29 11:40:12 +00:00
Axel Uhl d4fce82053 handle unsetting of polar service properly in RacingEventServiceImpl; shut down replication master properly upon bundle stop 2015-07-28 17:49:10 +02:00
Axel Uhl 5467ab061f Merge remote-tracking branch 'server/master' 2015-07-28 16:16:55 +02:00
Axel Uhl 5112d19c21 Merge branch 'master' into design2015
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/shared/dispatch/event/GetEventOverviewStageAction.java
2015-07-28 12:19:40 +02:00
Axel Uhl 4ef8bbc010 renamed target platfomr definition back to original name 2015-07-28 09:18:00 +02:00
Axel Uhl a7c0ed3b52 refreshed target platform 2015-07-28 08:56:21 +02:00
Axel Uhl 5f3fe7e017 Merge branch 'bug3185' into bug3186 2015-07-28 00:29:02 +02:00
Axel Uhl 80730ffb9a suspend maneuver cache invalidations; trigger for all competitors if triggered for at least one while suspended 2015-07-28 00:28:13 +02:00
Axel Uhl 1e4893a7b6 in suspended mode (state LOADING) don't spend CPU cycles on computing which areas of TrackBasedEstimationWindTrackImpl to invalidate;
invalidation while suspended happens once during the transition by clearing the cache
2015-07-28 00:18:50 +02:00
Axel Uhl 95863bbdc8 In CrossTrackErrorCache, remove as listener from TrackedRace when suspended, and invalidate entirely and add listener again upon resume() 2015-07-28 00:09:03 +02:00
Axel Uhl 087be7f366 moved approximateNow into a new class ApproximateTime in shared.android where we can use Timer and TimerTask which are not GWT-compatible 2015-07-28 00:02:30 +02:00
Axel Uhl b4ffe1ea5e Merge branch 'bug3185' into bug3186 2015-07-27 23:07:48 +02:00
Axel Uhl 709e041eeb reverted the keeping of the TimePoint reference in CompactGPSFixImpl and replaced again with compact implementation of 0ea7e2f106 2015-07-27 22:53:23 +02:00
Axel Uhl d595cf3435 fixed imports 2015-07-27 22:48:53 +02:00
Axel Uhl 78ff26a17e introduced MillisecondsTimePoint.approximateNow() and used where now() is too expensive; re-typed now() to TimePoint 2015-07-27 22:48:09 +02:00
Axel Uhl 82a03565b6 made RegattaImpl.races a ConcurrentHashMap mapping from race name to RaceDefinition, avoiding extra synchronization and speeding up lookup by name 2015-07-27 22:17:42 +02:00
Axel Uhl 27338ad216 Merge branch 'bug3185' into bug3186 2015-07-27 21:55:56 +02:00
Axel Uhl 646d4f5d0c use ConcurrentHashMap instead of synchornization in PolarDataMiner and for DomainFactoryImpl.raceCache;
This should increase concurrency and reduce wait times when loading massive amounts of races
2015-07-27 21:54:45 +02:00
Axel Uhl 836aa730d6 close the master channel's connection, not the channel, to ensure that all threads associated with the RabbitMQ connection are released 2015-07-27 21:12:19 +02:00
Axel Uhl 067f07a989 Merge branch 'master' into bug3186 2015-07-27 21:12:08 +02:00
Axel Uhl cd6fe7ef08 added LZ4 bundle to all launch configurations 2015-07-27 18:46:53 +02:00
Axel Uhl f146c4c01b returning older mark positions than requested if that's the only position known;
good for static marks as we see them coming from TracTrac every now and then
2015-07-27 18:46:18 +02:00
Axel Uhl fd1b25c3b0 adjusted feature.xml declarations to removed geronimo stuff and added lz4 stuff 2015-07-27 18:18:32 +02:00
Axel Uhl dcc51367bb adjusted message queue-based replication to LZ4 compression algorithm 2015-07-27 17:50:53 +02:00
Axel Uhl d1a459c0e9 updated target platform to contain LZ4 compression algorithm; use it in replication code 2015-07-27 17:40:33 +02:00
Axel Uhl ca4953db25 removing old ActiveMQ stuff from target-base; added LZ4 compression library under Apache 2.0 license 2015-07-27 17:13:06 +02:00
Axel Uhl 67bc73616c Merge remote-tracking branch 'server/ubilabs--tracking_app--master' 2015-07-27 16:26:57 +02:00
Axel Uhl 565de22766 obtain replicable only once per queue to work off 2015-07-27 16:22:55 +02:00
Axel Uhl 663f333c94 catch null result from polling the message queue instead of trying to grab operation from a null result 2015-07-27 15:47:15 +02:00
Axel Uhl 4277652bf9 added more logging to replication; don't apply queues when initial load failed 2015-07-27 11:39:34 +02:00
Axel Uhl c9e88fef2d Merge remote branch 'origin/bug3185' 2015-07-26 17:21:10 +02:00
Axel Uhl 13e74e102f fixed timestamp initialization in LockUtil 2015-07-26 03:27:28 +02:00
Axel Uhl dd92dbff2b improved time keeping in LockUtil, generating time stamps only every second in a timer, avoiding MillisecondTimePoint.now() 2015-07-26 03:17:03 +02:00
Axel Uhl 2ea9c1abc1 fixed resume again 2015-07-26 03:00:25 +02:00
Axel Uhl 4f756c992d fixed suspend/resume on GPSFixTrackImpl 2015-07-26 02:56:56 +02:00
Axel Uhl 5e2ae7bb4b suspend/resume validity caching on GPS tracks when race is LOADING/done loading 2015-07-26 02:48:35 +02:00
Axel Uhl 45b9c4aa9c preparing GPSFixTrack for validity caching suspension and resume 2015-07-26 02:46:49 +02:00
Axel Uhl a5ad6f44c9 Merge branch 'master' into bug3185 2015-07-26 02:36:47 +02:00
Axel Uhl f109076820 removed obsolete comments 2015-07-26 02:35:49 +02:00
Axel Uhl f2a4f4c15f adjusted the log statement for TrackedRaceImpl data structure adjustment after de-serialization to avoid exceptions due to inconsistencies 2015-07-26 00:55:42 +02:00
Axel Uhl 06310451a3 use LinkedBlockingQueue for queued Operations and relaxed synchronization in lieu; flipped resuming of receiver and working down the queue 2015-07-25 23:07:52 +02:00
Axel Uhl cb9bb714a6 fixed typo in logging statement; improved logging in case TrackedRaceImpl deserialization finds diff between course and internal structures;
fix internal TrackedRaceImpl structures before triggering maneuver analysis; resume replication queues only after having applied all its operations
so that new operations received while still applying queues have to wait
2015-07-25 20:34:26 +02:00
Axel Uhl 5a03c8392e cleanly delete initial load queue when replication is stopped while initial load is running; catch Exception instead of IOException to also catch RuntimeExceptions 2015-07-25 14:25:16 +02:00
Axel Uhl 2cdbf55a41 added hashCode/equals to ReplicationMasterDescriptorImpl; maintain initial load handles per master to stop them when shutting down 2015-07-25 13:29:44 +02:00
Axel Uhl 13d4223252 Merge branch 'bug3181' 2015-07-24 23:48:36 +02:00
Axel Uhl 15988ee84f bug 3181: improved stop script, using "shutdown" and wait for process to die; kill if it doesn't 2015-07-24 23:30:42 +02:00
Axel Uhl f64587a285 Merge remote-tracking branch 'origin/bug3179' 2015-07-24 20:32:48 +02:00
Axel Uhl ca2d9e8da0 stop script now issues "shutdown" instead of "exit" to cleanly shut down all bundles 2015-07-24 18:40:16 +02:00
Axel Uhl 2198462251 Merge branch 'master' into bug3181 2015-07-24 18:39:51 +02:00
Axel Uhl 918387f79a Merge remote-tracking branch 'server/master' 2015-07-24 18:36:59 +02:00
Axel Uhl d04c95bbaa properly close the Rabbit connection after initial load which frees up the channel and its resources, particularly threads keeping the VM from shutting down 2015-07-24 18:31:52 +02:00
Axel Uhl d90bc57e4c bug 3181: set "daemon" property on all our thread pool threads that are intended for background updates;
this lets the VM exit upon shutdown / close
2015-07-24 17:53:27 +02:00
Axel Uhl 38adeed899 Merge remote-tracking branch 'server/master' 2015-07-24 17:03:47 +02:00
Axel Uhl 1d27e1fdef fixed compile error in NoAddingRaceLogWrapper by adding new getFixesIterator overloading 2015-07-24 16:45:24 +02:00
Axel Uhl e6d8848777 fixing bug 3179 by using a wind fix iterator constrained by from and to time and ignoring the returned fixes' time point 2015-07-24 15:44:14 +02:00
Axel Uhl 87bcec0c75 use degree sign ° for message texts 2015-07-24 14:37:50 +02:00
Axel Uhl 0d687a879a fixing issue with usage of last() on an empty NavigableSet (it fails with an exception instead of returning null) 2015-07-24 12:44:15 +02:00
Axel Uhl 4122868574 fixing bug 3177 by letting getMarkPassingsInOrder(Waypoint) return the NavigableSet again 2015-07-24 11:11:53 +02:00
Axel Uhl a8ba654976 added a few notes in the release notes for the Sailing Analytics 2015-07-24 10:39:45 +02:00
Axel Uhl 4b7026fab8 slightly related to bug 3172, obtain course read lock while writing the TrackedLegImpl structures 2015-07-24 09:46:40 +02:00
Axel Uhl ca18ef3fcb Merge remote-tracking branch 'origin/bug3178' 2015-07-24 06:45:45 +02:00
Axel Uhl 8be3e4ec4d Merge remote-tracking branch 'origin/bug3174' 2015-07-24 06:44:53 +02:00
Axel Uhl 173d3ae9e9 added a warning in case of attempts to track a race a second time 2015-07-24 01:52:53 +02:00
Axel Uhl 82610be7c9 generate TracTracRaceTrackerImpl's ID by ignoring a "random" parameter in the query, fixing bug 3174 2015-07-24 01:46:53 +02:00
Axel Uhl adfe1fe8c8 fixing bug 3178 by applying the unwinding finally clause also when exception is thrown in computeCacheUpdate, not only in provideNewCacheValue 2015-07-24 00:31:26 +02:00
Axel Uhl ede8f5e9c0 added a failing test case for bug 3178 by throwing an exception in computeCacheUpdate and later triggering the cache again 2015-07-24 00:28:17 +02:00
Axel Uhl 817e5a0830 Merge branch 'master' into bug3173 2015-07-24 00:04:18 +02:00
Axel Uhl 4587a7a7ff avoiding endless recursion in TrackedRaceImpl.takesWindFix by passing a set of TrackedRace objects already visited 2015-07-23 23:51:59 +02:00