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
Axel Uhl
3b8b942865
fixed top-level pom.xml in java/ directory (moving the gwt.version property duplicated the properties tag)
2014-11-19 11:17:26 +01:00
Axel Uhl
c41e6ebeac
Merge remote-tracking branch 'server/master'
2014-11-19 11:05:19 +01:00
Axel Uhl
cffee9e046
Merge branch 'master' into bug2409
2014-11-19 10:17:25 +01:00
Axel Uhl
068f397f3f
fixing bug 2472 by moving gwt.version specification from com.sap.sailing.gwt.ui/pom.xml to parent pom.xml in java/
2014-11-19 10:03:51 +01:00
Axel Uhl
f7bb6a14a8
Merge branch 'master' into bug2409
2014-11-18 16:55:43 +01:00
Axel Uhl
3d11c2ea11
removed InterruptedException again from signature of authorize session in AbstractSeleniumTest
2014-11-18 16:55:18 +01:00
Axel Uhl
0e7a0a6d46
Merge branch 'master' into bug2409
2014-11-18 16:54:55 +01:00
Axel Uhl
4d31181c8b
fixed merge conflicts
2014-11-18 16:54:40 +01:00
Axel Uhl
80105644ce
Merge branch 'master' into bug2409
...
Conflicts:
java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/test/AbstractSeleniumTest.java
2014-11-18 16:53:35 +01:00
Axel Uhl
11a4133e76
Merge remote-tracking branch 'server/master'
2014-11-18 16:49:53 +01:00
Axel Uhl
aaf49f9302
solving the issue with UI tests sporadically failing due to authorization issues; the problem was that a request for Login.html also creates a session asynchronously, causing a race condition
2014-11-18 16:48:59 +01:00
Axel Uhl
904feb7504
removed UserManagement.html entry point file from gwt.ui project, also from build.properties
2014-11-18 13:44:11 +01:00
Axel Uhl
eadf6e2ffe
Merge branch 'master' into bug2409; removed gwt.ui.UserManagement entry point
...
Conflicts:
java/com.sap.sailing.feature/feature.xml
java/com.sap.sailing.gwt.ui/SailingGWT.launch
2014-11-18 13:41:31 +01:00
Axel Uhl
5e715a6bfd
described the replication / ELB case including Route53 DNS configuration in wiki
2014-11-17 18:08:52 +01:00
Axel Uhl
d7117e1a23
Merge remote-tracking branch 'server/bug2409' into bug2409
2014-11-17 15:01:34 +01:00
Axel Uhl
ffea760069
avoid premature replication listener registration when no replica is currently registered
2014-11-17 14:58:17 +01:00
EC2 Server
310090916d
adjusted sailing script to changed semantics of the REPLICATE_ON_START environment variable
2014-11-17 09:57:01 +00:00
Axel Uhl
28e572a94c
fixed synchronization with waiting for Replicable instances
2014-11-17 00:12:36 +01:00