Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl 20d17158c9 Merge remote-tracking branch 'server/master' 2014-12-12 09:01:04 +01:00
Axel Uhl 7181b2ecf9 fixing grave bug with replication: replicator was being resumed after receiving *first* initial load, but we need to wait until after the *last* initial load 2014-12-12 07:41:20 +01:00
Axel Uhl 163e7ca0f6 making the ThreadLocal objectcs instance variables in the Replicables helps the tests that failed due to a lack of isolation between the many Replicable objects in the same VM 2014-12-11 10:06:36 +01:00
Axel Uhl 64451c2702 fixing bug 2493; introduced a ThreadLocal telling whether replica is receiving initial load or running a master operation; not firing back to master if this flag is set 2014-12-11 09:57:18 +01:00
Axel Uhl af1b4d24ba this seems to be a fix for bug 2494, avoiding NPEs during polar data gathering 2014-12-11 09:13:33 +01:00
Axel Uhl caba006186 when compiling only one GWT permutation, apply this to all .gwt.xml files in com.sap.*.gwt.ui, including the newhome ones 2014-12-09 10:44:30 +01:00
Axel Uhl 77f511c8ab Fixing bug 2487 by tolerating null course area names in EventListComposite 2014-12-09 00:41:19 +01:00
Axel Uhl e0956a4c73 removed extra comment 2014-12-06 12:18:01 +01:00
Axel Uhl 1c91d9c5de made StageTeaser.event final 2014-12-06 12:10:42 +01:00
Axel Uhl 55971be640 Merge branch 'master' into pgtaboada-carousel2 2014-12-06 11:57:40 +01:00
Axel Uhl eced6af375 upgraded gwt-maven plugin for security.ui from 2.6.0 to 2.6.1 2014-12-04 14:33:57 +01:00
Axel Uhl 5cdc0011eb removed another specific version from a manifest where it's not desired 2014-12-03 13:45:46 +01:00
Axel Uhl e84d0dba0e Merge branch 'master' into polar-api 2014-12-03 13:43:21 +01:00
Axel Uhl 928cf87ea2 Merge remote-tracking branch 'server/polar-api' into polar-api 2014-12-03 13:42:37 +01:00
Axel Uhl be55f0f324 removed version specificity where not required; upgraded mockito version to 1.10.14 where needed 2014-12-03 13:34:11 +01:00
Axel Uhl d3cd465cb0 added missing StringMessages to Russion translation (in English for now, to satisfy GWT compiler) 2014-12-03 13:15:15 +01:00
Axel Uhl ec5188c264 use JavaSE-1.8 execution environment JRE System Library for com.sap.sailing.polars.* projects, solving compile errors in Luna 2014-12-03 13:12:12 +01:00
Axel Uhl 4550f975dc Merge branch 'master' into polar-api
Conflicts:
	java/com.sap.sailing.gwt.ui/SailingGWT.launch
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java
	java/com.sap.sailing.server.replication.test/META-INF/MANIFEST.MF
	java/com.sap.sailing.server/META-INF/MANIFEST.MF
	java/com.sap.sailing.server/SailingServer (No Proxy).launch
	java/com.sap.sailing.server/SailingServer (No Proxy, Cached MTB).launch
	java/com.sap.sailing.server/SailingServer (No Proxy, Jetty on 8889).launch
	java/com.sap.sailing.server/SailingServer (No Proxy, Jetty on 8889, Cached MTB).launch
	java/com.sap.sailing.server/SailingServer (No Proxy, Remote Debug SAP VM).launch
	java/com.sap.sailing.server/SailingServer (No Proxy, winddbTest).launch
	java/com.sap.sailing.server/SailingServer (Proxy).launch
	java/com.sap.sailing.server/SailingServer (Proxy, Jetty on 8889).launch
	java/com.sap.sailing.server/SailingServer (Proxy, Remote Debug SAP VM).launch
	java/com.sap.sailing.server/SailingServer (Proxy, SwissTiming Live Simulation).launch
	java/com.sap.sailing.server/SailingServer (Proxy, winddbTest).launch
	java/com.sap.sailing.server/src/com/sap/sailing/server/RacingEventService.java
	java/com.sap.sailing.targetplatform/definitions/race-analysis-p2-remote.target
	java/pom.xml
2014-12-03 13:10:20 +01:00
Axel Uhl ed34a4c37c increased number of GWT worker threads from 3 to 7 to max out the Hudson server currently running on eight cores 2014-12-02 22:11:06 +01:00
Axel Uhl a8ddb0bfbf Merge remote-tracking branch 'server/master' 2014-12-02 18:25:42 +01:00
Axel Uhl 1754fe0768 Merge branch 'bug2427' 2014-12-02 18:14:28 +01:00
Axel Uhl ce9da84cf5 Merge branch 'bug2465' 2014-12-02 18:13:49 +01:00
Axel Uhl 7770487580 Merge branch 'master' into bug2427 2014-12-02 11:32:05 +01:00
Axel Uhl b5a697b388 fixed issue with StringListEditorCompositr regarding row count after clearing the structure 2014-12-02 11:31:53 +01:00
Axel Uhl 5f339c654a fixed issue with StringListEditorCompositr regarding row count after clearing the structure 2014-12-02 11:30:37 +01:00
Axel Uhl 1e5a91735d fixed objenesis version in feature.xml (2.1 --> 2.1.0) 2014-12-01 21:47:07 +01:00
Axel Uhl b604ff0d37 solving bug 2428 by pulling up the doGetAuthorizationInfo method from UsernamePasswordRealm to AbstractUserStoreBasedReal, thus sharing it with OAuthRealm 2014-12-01 17:54:09 +01:00
Axel Uhl 6a8f4d4c89 added UI support for managing user permissions 2014-12-01 16:56:10 +01:00
Axel Uhl ebfb80479b SecurityService is now properly cleared (clearState()) at the beginning of Selenium test case executions 2014-12-01 16:18:58 +01:00
Axel Uhl e203ed9b05 Merge branch 'master' into bug2427 2014-12-01 16:03:59 +01:00
Axel Uhl 30cb8e7082 registering SecurityService as ClearStateTestSupport implementation 2014-12-01 16:01:51 +01:00
Axel Uhl 6fecb642a4 moved interface containing the clearState method to SSE; will add it to SecurityService as well; clearing servlet already finds all implementing services 2014-12-01 15:53:59 +01:00
Axel Uhl 619a801f3e solution for bug 2427: permissions are now supported on User and related objects, including persistence and test case 2014-12-01 15:25:47 +01:00
Axel Uhl 70647f1afc added better Javadoc for operation ID decoration during transitive replication 2014-12-01 09:59:20 +01:00
Axel Uhl 431df4750f trying to switch to mockito 1.10.14 again 2014-12-01 01:47:22 +01:00
Axel Uhl 5b014eb944 downgraded to mockito-core-1.9.5.jar for now; still fighting target platform issues with any mockito-core-1.10.x version... 2014-12-01 01:28:48 +01:00
Axel Uhl cbd6c04833 formatting in pom.xml only 2014-12-01 00:58:16 +01:00
Axel Uhl 3ac4bca7d4 removed mockito old version 1.9.5 2014-11-30 12:36:59 +01:00
Axel Uhl 3cc17078e2 Merge branch 'ftes-maven-p2-local' into bug2465 2014-11-30 12:10:45 +01:00
Axel Uhl bf7d841974 rename local target definition so it is easier to recognize in Eclipse target definition selection 2014-11-30 12:10:15 +01:00
Axel Uhl 1a4390a52c added project preferences for operationaltransformation project 2014-11-30 11:58:16 +01:00
Axel Uhl 3f40724c8c ignore generated p2 repository from git 2014-11-30 11:57:40 +01:00
Axel Uhl 4c231f3844 Merge branch 'ftes-maven-p2-local' into bug2465 2014-11-30 11:54:15 +01:00
Axel Uhl dae1ae8a50 trying to upgrade Mockito to 1.10.13 so we get Java8 default interface method implementation support, as required by mediaservice tests 2014-11-30 11:53:45 +01:00
Axel Uhl 3e456170bf fixed issue described by comment #5 in bug 2408; the ID of operations sent from replica to master is stored in thread local and attached to operations sent out on behalf of this 2014-11-30 01:47:22 +01:00
Axel Uhl 8e7ab908e7 replicate operations initiated on replica to master and ignore them when they come back to that replica; see bug 2408 2014-11-29 23:50:06 +01:00
Axel Uhl 10d2e48a78 Merge branch 'master' into bug2465 2014-11-29 20:34:47 +01:00
Axel Uhl cdb23e8f4f removed unused imports and an unused private method in LeaderboardGroupSelectorComposite 2014-11-29 20:33:04 +01:00
Axel Uhl 75fb41bdd1 Merge branch 'master' into bug2465 2014-11-28 18:13:11 +01:00
Axel Uhl 22d9ecdd3b working on bug 2408, adding an implementation that has the replica side of serializing an operation to the master through an HTTP request 2014-11-28 18:12:09 +01:00
Axel Uhl 47abca3054 solving bug 2480 also for SecurityOperation implementations 2014-11-28 17:34:47 +01:00
Axel Uhl 28d708b6c7 fixing bug 2480 for RacingEventService replication by implementing isRequiresExplicitTransitiveReplication correctly on all RacingEventServiceOperations 2014-11-28 17:27:20 +01:00
Axel Uhl 3b499d8492 working towards a solution for bug 2480 by adding OperationWithResult.isRequiresExplicitTransitiveReplication and respecting it in replicate(...) 2014-11-28 16:39:08 +01:00
Axel Uhl 672ca1b5c8 moved TimerWithRunnable to com.sap.sse and let com.sap.sse.security depend on it, allowing TimerWithRunnable to use Java8 features 2014-11-28 15:03:48 +01:00
Axel Uhl 1059e1292e Merge branch 'master' into bug2465
Conflicts:
	java/com.sap.sailing.gwt.ui/SailingGWT Remote Profiling (Run-Mode only).launch
	java/com.sap.sailing.gwt.ui/SailingGWT.launch
	java/com.sap.sailing.server.replication.test/src/com/sap/sailing/server/replication/test/RaceLogReplicationTest.java
2014-11-27 10:55:58 +01:00
Axel Uhl ec382dea4e extended patching of local p2 target path for Cygwin users 2014-11-26 23:20:39 +01:00
Axel Uhl 178ed846a1 Merge branch 'master' into bug2465 2014-11-26 07:31:34 +01:00
Axel Uhl e1425d7e5e fixed duration test after changing toString representation 2014-11-26 07:30:53 +01:00
Axel Uhl 940ea72677 Merge branch 'master' into bug2465 2014-11-26 00:43:27 +01:00
Axel Uhl 249b276f19 fixed toString on MillisecondsDusationImpl regarding unit display 2014-11-26 00:42:51 +01:00
Axel Uhl 565c9d9225 made the map storing the sessions scheduled for onChange notifications in a static instead of an instance map 2014-11-26 00:34:01 +01:00
Axel Uhl b3a0ba280f delay the sending of change notifications for a Session.touch() event 2014-11-25 21:43:42 +01:00
Axel Uhl 64f64f661d removed the no longer needed clear... methods from the security MongoObjectFactory again 2014-11-25 14:02:21 +01:00
Axel Uhl eb63284306 updated "REPLICATE_ON_START=com.sap.sailing.server.impl.RacingEventServiceImpl,com.sap.sse.security.impl.SecurityServiceImpl" in wiki description for replica start-up 2014-11-25 09:38:24 +01:00
Axel Uhl 30caf7d0ea Merge branch 'master' into bug2465 2014-11-25 09:20:36 +01:00
Axel Uhl c5cc680a31 added PDF describing TracTrac's external REST APIs to com.tractrac.clientmodule/doc 2014-11-25 09:20:06 +01:00
Axel Uhl b5b0c61b1c fixing Shiro session replication by not replacing the caches but replacing the cache contents;
Shiro seems to hold long-term references to the caches handed out by the CacheManager. Replacing those
caches during initial load doesn't help. They need to have their *contents* replaced instead.
2014-11-24 23:21:47 +01:00
Axel Uhl 7f345c0880 fixing serialization of ReplicatingCache, making securityService transient 2014-11-24 18:26:02 +01:00
Axel Uhl b3942707c6 fixed issue with ReplicatingCache in the context of ReplicatingCacheManager 2014-11-24 18:22:39 +01:00
Axel Uhl add7d499e1 Merge branch 'master' into bug2465 2014-11-24 18:21:52 +01:00
Axel Uhl 8ebab4ca50 basic authentication and session replication is in place; no longer use EhCache as it seems very tricky to replicate; still issues with details of session authentication replication 2014-11-24 17:56:43 +01:00
Axel Uhl 9f65c690ef first working steps towards user session replication 2014-11-24 14:46:36 +01:00
Axel Uhl 051f867a29 moved setting of context class loader for initial load deserialization into abstract implementation 2014-11-24 14:30:37 +01:00
Axel Uhl c375310c76 added replication to the session cache manager, introducing a session cache decorator that uses labmdas for replication 2014-11-24 14:19:10 +01:00
Axel Uhl 5b1e725849 enabled more SecurityService operations for replication; added serialization test for fields declared of non-serializable type 2014-11-24 12:05:42 +01:00
Axel Uhl ea6ce41f2a added replication for password reset; test case added 2014-11-21 21:24:22 +01:00
Axel Uhl f4a56842bb replicate only the storeUser operation from SecurityServiceImpl for now; it covers all changes to any User object; added tests 2014-11-21 21:15:53 +01:00
Axel Uhl a306239c3b implemented e-mail and password change as lambda operations on SecurityServiceImpl 2014-11-21 20:25:36 +01:00
Axel Uhl d842579e48 Refactored SecurityServiceImpl such that operations can be implemented as lambdas, seeing the ReplicableSecurityService extension with the internal methods 2014-11-21 20:15:55 +01:00
Axel Uhl 0b2fd9bdbc moved the serialization test for lambdas to OfflineSerializationTest 2014-11-21 19:59:20 +01:00
Axel Uhl 2248de0f72 added a test case that asserts that a lambda's enclosing object is serialized if and only if the lambda accesses it 2014-11-21 19:47:51 +01:00
Axel Uhl fcfde37fad adjusted launch configurations and more pom.xml files for new security.common bundle 2014-11-21 18:21:17 +01:00
Axel Uhl 772d5477bc added com.sap.sse.security.common which bundles security-related stuff that is shared by Java7 GWT projects as well as Java8 backend projects 2014-11-21 17:59:00 +01:00
Axel Uhl fd9a31cb56 moved UserManagementService[Async] from shared to client package 2014-11-21 17:05:08 +01:00
Axel Uhl 3363864804 added password validation to replication test 2014-11-21 12:34:08 +01:00
Axel Uhl b36b2e146f added missing pom.xml stuff for replication.testsupport 2014-11-21 12:28:03 +01:00
Axel Uhl 799fe16ed6 Shiro's SimpleByteSource isn't serializable. Changed to byte[] instead. Test frame for security replication seems to work now. 2014-11-21 11:21:44 +01:00
Axel Uhl 6fc64beb42 introduced replication test support bundle, factoring commonalities for abstract replication tests; started simple security replication test frame 2014-11-21 11:02:54 +01:00
Axel Uhl 801946302f a first compileable version where SecurityService is a replicable 2014-11-20 21:20:08 +01:00
Axel Uhl 355239c8b1 first steps towards making SecurityService a Replicable; introduced operation base interface; register SecurityService as a Replicable; introduced ObjectInputStream / Cache 2014-11-20 17:39:58 +01:00
Axel Uhl b1ee3f0091 after the upgrade to TracAPI 3.0.7, IControlPoint.getPosition() is deprecated; it turns out that our four usages were not used anyhow; removed them, avoiding the warnings 2014-11-20 11:42:06 +01:00
Axel Uhl 5c8237b4ce upgraded to TracAPI 3.0.7 which fixes bug 2474 2014-11-20 11:39:01 +01:00
Axel Uhl 5439757b13 fixed replication operation queueing in Replicator; adjusted PrematureOperationReceiptTest to fail with unfixed queueing 2014-11-20 11:25:06 +01:00
Axel Uhl 26ef1fc4c3 made the new RaceChangeListener implementations serializable where needed 2014-11-20 10:43:17 +01:00
Axel Uhl 908118bd3b cleanup after commit 30dc945117, removing unused code 2014-11-20 10:37:51 +01:00
Axel Uhl 53aaa0af6b Merge remote-tracking branch 'server/master' 2014-11-20 10:28:32 +01:00
Axel Uhl af4d3c2b36 refactored replication and notification pattern for startOfTracking/endOfTracking/startTimeReceived, solving bug 2473 2014-11-20 10:28:04 +01:00
Axel Uhl 6956567574 refactored AbstractRaceChangeListener so that subclasses can provide a defaultAction() implementation; in preparation of solving bug 2473. 2014-11-20 09:58:11 +01:00
EC2 Server 8099bbe380 in the sailing boot script, append a default MEMORY value to env.sh 2014-11-19 12:28:22 +00:00
Axel Uhl e468111a36 Updated amazon ec2 (markdown) 2014-11-19 10:24:37 +00:00