Commit Graph
127 Commits
Author SHA1 Message Date
Axel Uhl 4fb8b56da6 using improved redirect strategy for TracTrac and Igtimi requests;
this can now also redirect POST requests from http to https

Change-Id: Ia380f7e87672ec28255eccc4688741540f9347e1
2017-09-27 16:36:53 +02:00
Axel Uhl 35fb694e07 code formatting
Change-Id: I34530f874193d029f2ce57ab9c5c8cee36c57699
2017-09-26 11:43:14 +02:00
Axel Uhl 8772f63b2f improved Javadoc
Change-Id: Ifaa959bee1d1df4b83626e328eb895e9129bc7d1
2017-09-26 07:22:23 +02:00
Axel Uhl e96d1e34a7 significant performance improvements (thanks to Jonas Dann) for topoligical sorter
Change-Id: I25416aa8bc5a524e3f56bf7f39c6c04f3cddf2d6
2017-09-25 19:23:00 +02:00
Axel Uhl 235475cbf6 added test case and applied necessary fixes for ranking by direct comparison
Change-Id: Ie70e35341bb22904be8ef143958eab53793eab0f
2017-09-25 11:03:09 +02:00
Axel Uhl 967210d2da for now disabled comparison by last race for match racing scoring scheme
Change-Id: Ia54565cf2e010d8c2f851cef35a1658d403042bc
2017-09-25 00:15:27 +02:00
Axel Uhl 4abfb90c5c use List instead of Set, ensuring that changing hash code of contained set does not break things
Change-Id: I9ed138f8a3cd1f9790f575e9834fec3913aba430
2017-09-24 21:56:42 +02:00
Axel Uhl 2d77709317 do not modify cluster in isDisjoint; use new HashSet
Change-Id: I0ab003b9760019d8553c1895a2dc1fb1f0fc6d88
2017-09-24 21:56:13 +02:00
Axel Uhl 7e066e5511 fixed test case, adding missing edge
Change-Id: I2d0afed88310e80d498f9e3853c57f71c6cd348c
2017-09-24 18:22:04 +02:00
Axel Uhl d308f3d942 use fixed seed for "random" test; added assertion 2017-09-24 02:00:29 +02:00
Axel Uhl 240cfdf6d3 Merge remote-tracking branch 'origin/bug4300' into bug4300 2017-09-24 00:16:01 +02:00
Axel Uhl 9af964e1ff trying to detect overlapping cycle clusters 2017-09-24 00:14:29 +02:00
Axel Uhl d4ebc6b155 some progress towards making topological sorting work
Change-Id: I8add3e44c8d3df51a3a87cad0857850e0f5fa49a
2017-09-24 00:12:01 +02:00
Axel Uhl 63b074986f fixed cycle detection for standalone cycles
Change-Id: I7edd5cfd35be75dd656bad3d1c7f33df5568b9dc
2017-09-22 13:26:38 +02:00
Axel Uhl 204d745466 use iteration instead of recursion for cycle checks
Change-Id: Id0e25510a45c56f440723635eb6efaa935b25234
2017-09-22 12:12:05 +02:00
Axel Uhl 41803fa236 fixed comparator by checking whether nodes are on same cycle *cluster*, not only on same cycle
Change-Id: I656597e25787cbc3986bc73421c05daa49be6291
2017-09-22 11:49:14 +02:00
Axel Uhl 774be2326e made a first non-trivial cycle-based test case green
Change-Id: I207621826c04f987d078015c3b3205af2f520a25
2017-09-22 02:05:32 +02:00
Axel Uhl 2410c4036f fixed reflexive compare in topological comparator
Change-Id: I3658fd17cc66ee2378f312a36d777c7ff69dc49e
2017-09-22 01:03:20 +02:00
Axel Uhl c46cbf382e first compilable, entirely untested version of a topological graph comprator
Change-Id: Ib040551e905d67f98aa011570e46723a775ac518
2017-09-22 00:38:19 +02:00
Axel Uhl 05e4c0cf5c use a single background thread to process polar sheet to avoid queuing
Change-Id: I3c88c7e9ca5f734327a0a75e35b19cc38f4b3ef2
2017-08-18 17:00:11 +02:00
Axel Uhl 576b22915a using WeakValueCache for TracTrac DomainFactory;
let go of objects no longer strongly referenced by dedicated weak value caches

Change-Id: I0b6ac5d198b689d5fc1ce8aa5eeeee3c39bce1cd
2017-08-03 18:11:31 +02:00
Axel Uhl dc66ad0e33 successful mail replication, from replica to master, for invitation
Change-Id: Ic97945a1d6a1f04b94b743099b30285a189a51b1
2017-06-26 18:30:45 +02:00
Axel Uhl cc92218656 pass on thread pool executor name to thread factory and from there to threads
Change-Id: I0748fc2da7965ee33bebb73e4f2aaecd463963f0
2017-05-30 23:20:39 +02:00
Steffen Schaefer 9123771f34 normalized line endings 2017-05-16 09:42:02 +02:00
Axel Uhl 83d0bb2520 implementation that fixes all formerly failing tests regarding quoting and parameter substitution
Change-Id: I44b9094afe393e7368a1ab21d247d901b5014d5c
2017-03-27 18:41:13 +02:00
Kai Boernert dec2a80ecd cleaner error handling 2017-03-14 14:11:37 +01:00
Kai Boernert 2c55a8fac0 created a new BundleLocator implementation from scratch 2017-03-08 11:08:46 +01:00
Kai Boernert f2351e481b Allows to specify a non default encoding for RessourceBundles, and sets this for all UTF8 Messagebundles to UTF-8 2017-03-07 14:38:50 +01:00
Axel Uhl bfe1b5468b after using ConcurrentHashMap, make service finder null-safe for the "type" attribute again
Change-Id: Ia3ae2703e23dff5c75af66f7d6bcd3b2fc0710a3
2017-03-05 01:40:36 +01:00
Axel Uhl d215e048bf re-added synchronization where necessary to CachedOsgiTypeBasedServiceFinder
Change-Id: I311676d36849c2a913caac3ae915abc767b4d6c7
2017-03-04 20:40:21 +01:00
Axel Uhl cf7e6c2154 use ConcurrentHashMap for services map in CachedOsgiTypeBasedServiceFinder;
this should avoid excessive wait times on synchronized(services)

Change-Id: Ibe8dc785e91760913d6e410227e2dc22ca836685
2017-03-04 15:39:26 +01:00
Axel Uhl 07edd7ffb1 preparing for multi-file upload for both Expedition and GRIB; introduced MappingIterable and MappingIterator
moved wind import servlet package structure a little

Change-Id: I9b573d4c91191933383c87397ac8584d9463b4bb
2017-02-08 09:52:25 +01:00
Axel Uhl 02c7cd6b5f log stack traces for timed out Future.get calls only when log level is FINE
Change-Id: I70ed61790198c96983e82d1eebf6a72eae6b836b
2017-01-27 00:24:47 +01:00
Axel Uhl 19d112115b first working version of tracked race restoring with -Drestore.tracked.races=true;
Change-Id: I2c3968d772c7382589ada66c60874015f46f8996
2016-12-29 17:18:42 +01:00
Axel Uhl 186808b31b Merge branch 'master' into bug2 2016-12-28 15:57:23 +01:00
Axel Uhl 931adfc757 started a service provider pattern-based implementation for storing / loading connectivity params in MongoDB
Change-Id: I6a2c0e2ff93ff8b003ec27f072e5b3331ca00d75
2016-12-27 17:35:15 +01:00
Axel Uhl 11d66f2fb5 use lambdas instead of if (isLoggable...) for efficient logging; use per-replicable listener de-registration
Change-Id: I516fdfab4daa10d4a162f08f66952275c43ad655
2016-12-22 15:34:44 +01:00
Axel Uhl da6b639c0c added thread toString() output to the tracing message for a long-waiting Future.get() call
Change-Id: I1ec555dc79cd2d2f7fc29b9e365c742bc8b0ee5d
2016-09-30 11:28:10 +02:00
Axel Uhl ed7385a487 when log level is FINE for the com.sap.sse.util.impl package or the thread pool utility classes, log information about long-running tasks
Change-Id: I5c9c75b4225c396c234a1a9720368ef4dc8e0b95
2016-09-28 17:55:59 +02:00
Axel Uhl 65790122d3 better toString support for improved log messages
Change-Id: I00fd950667bb7597ab7972cc76480234b15d00d1
2016-09-28 17:55:32 +02:00
Axel Uhl cf0b1ac729 fixed reloadAndGetPreviousRacesByRace again, returning an entry for all TrackedRaces
Change-Id: Ic9f61ada782acb53f579832d84eddf90f4c52963
2016-09-28 12:38:38 +02:00
Axel Uhl 31cccdcdb6 trace the right Future object
Change-Id: Ie1e99e2139a37580d4e0b07d3a0c0592bfec4aaf
2016-09-28 09:42:59 +02:00
Axel Uhl 7c6ce2960b improved Future.get() timeout tracing; use a default foreground thread pool size twice the regular size
Change-Id: I8e8281c459354542006c253410b826a2b11e8b05
2016-09-28 00:54:57 +02:00
Axel Uhl e9d92d3593 improved Future.get() trace message, indicating that a re-try will happen
Change-Id: Id81c4f40a18e1f8290af3bccbb1b399b6e35bd01
2016-09-27 18:32:17 +02:00
Axel Uhl ca14fe33f6 tracing for Future.get
Change-Id: I5c0bf627c86eef180889fa769e7952de2a27afdd
2016-09-27 17:17:33 +02:00
Axel Uhl 9ef64c96ab for background thread pool use CPU/2; for foreground use CPU-1 with 6 min
Change-Id: I9f50a7f2506fa8c2d06578ec8b1800d995907190
2016-09-16 15:01:03 +02:00
Axel Uhl 311f4b4f0e use a foreground instead of a background executor in LeaderboardDTOCache
Change-Id: Ia223d8c0367e6b87e0918ae37c8cbbd717d6ae10
2016-09-16 12:23:16 +02:00
EC2 Server 541ac164f0 increased the thread pool sizes again after it turned out that we only get ~50% CPU utilization 2016-08-18 15:06:41 +00:00
Axel Uhl 7034c1beeb implemented ScheduledExecutorService thread pools in ThreadPoolUtilImpl 2016-08-16 23:21:36 +02:00
Axel Uhl 25c27e5a8b using ScheduledExecutorService in ThreadPoolUtils to allow delayed / fixed-rate scheduling as well 2016-08-16 23:20:17 +02:00