1
0
mirror of https://github.com/jetty/jetty.project.git synced 2025-03-04 21:09:13 +00:00

140 Commits

Author SHA1 Message Date
Jan Bartel
b4e400f236 Jetty 9.4.x 2231 refactor session tests ()
* Issue  WIP

* Issue  Add tests for FileSessionDataStore and MongoSessionDataStore.

* Issue  create unit tests for every SessionDataStore

Signed-off-by: Jan Bartel <janb@webtide.com>

* Issue  Refactor session tests

Signed-off-by: Jan Bartel <janb@webtide.com>

* Issue  Refactor and cleanup session tests.

Signed-off-by: Jan Bartel <janb@webtide.com>

* hazelcast tests faster

Signed-off-by: olivier lamy <olamy@webtide.com>

* make hazelcasts tests even faster

Signed-off-by: olivier lamy <olamy@webtide.com>

* cleanup comments

Signed-off-by: olivier lamy <olamy@webtide.com>

* run mongodb test in embdedded mode

Signed-off-by: olivier lamy <olamy@webtide.com>

* mongodb embedded test enabled per default

Signed-off-by: olivier lamy <olamy@webtide.com>

* Issue  more session tests

Signed-off-by: Jan Bartel <janb@webtide.com>

* fix mongodb embedded tests

Signed-off-by: olivier lamy <olamy@webtide.com>

* cleanup code

Signed-off-by: olivier lamy <olamy@webtide.com>

* use Logger rather than System.err.println

Signed-off-by: olivier lamy <olamy@webtide.com>

* Issue  Add test for DefaultSessionCache

Signed-off-by: Jan Bartel <janb@webtide.com>

* Issue  Redisable mongo tests by default.

Signed-off-by: Jan Bartel <janb@webtide.com>

* fix issue with empty local repo build

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* jenkins should run mongodb tests

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* build this plugin last so we should not hit the maven invoker plugin

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* build test first for this one

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* use invoker plugin 3.0.2-SNAPSHOT as there is a fix for https://issues.apache.org/jira/browse/MINVOKER-191

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>

* temporary use of apache snapshots repository because of maven-invoker-plugin 3.0.2-SNAPSHOT

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-03-28 20:14:15 +10:00
WalkerWatch
534b8ea38b Add edit warning for .mod files. Resolves 2018-03-15 13:23:42 -04:00
Lachlan Roberts
a639ee9275 Resolved errorprone MissingOverride warnings
`@Override` was added to methods which were missing the annotation 

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-03-01 13:59:25 +11:00
Joakim Erdfelt
21365234f8 Issue - Updating license headers for year 2018 2018-01-09 09:44:41 -06:00
Joakim Erdfelt
41ed9f29f4 Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2018-01-09 09:37:25 -06:00
Joakim Erdfelt
fa4c7b0ca9 Issue - Updating license headers for year 2018 2018-01-09 08:39:37 -06:00
Joakim Erdfelt
067fc5d2d8 Issue - Upgrade licenses for 2018 2018-01-09 07:42:06 -06:00
olivier lamy
5a323a01dd more javadoc fixes
Signed-off-by: olivier lamy <olamy@webtide.com>
2018-01-09 13:35:58 +11:00
Jan Bartel
e6857a6f46 Issue 2017-05-03 14:40:40 +02:00
Jan Bartel
7e2f08a7ad Issue 2017-04-06 15:01:17 +10:00
Jan Bartel
f4504ffded Issue 2017-03-22 17:36:29 +11:00
Jan Bartel
5bc7882190 Issue 2017-03-16 14:28:41 +11:00
Jan Bartel
0b37e8d8ec Issue
Modularize choice of auth connection string or server/port connection.
2017-03-09 16:51:21 +11:00
Jan Bartel
351a55f494 Merge pull request from jin-z/jetty-9.4.x
Issue  Add server/port and auth configuration for mongo sessions
2017-03-09 16:43:50 +11:00
Jin Zhang
7f916762f5 Issue Add server/port and auth configuration for mongo sessions
Signed-off-by: Jin Zhang <jin.zhang@epicgames.com>
2017-03-08 18:21:01 -08:00
Tilo Zemke
80a4aeb2bc mongodb sessions: fix for expiry of local immortal sessions; condition does not get overwritten by anymore
Signed-off-by: Tilo Zemke <telomir@gmail.com>
2017-03-06 15:45:26 +01:00
Jin Zhang
3e5b472c37 Issue Add server/port and auth configuration for mongo sessions
Signed-off-by: Jin Zhang <jin.zhang@epicgames.com>
2017-03-03 13:10:15 -08:00
Simone Bordet
0c8273f2ca Happy New Year 2017. 2017-01-19 19:26:41 +01:00
Simone Bordet
07838b057f Happy New Year 2017. 2017-01-19 18:54:03 +01:00
Simone Bordet
347c48d657 Revert "resolve merge and update license headers"
This reverts commit 53b31b03ddda3776f3db71e28e55312b1c982092, reversing
changes made to 4565c186d7491a97d72217a96e86b15ced506de6.
2017-01-19 18:26:43 +01:00
Jesse McConnell
53b31b03dd resolve merge and update license headers 2017-01-19 09:33:16 -06:00
Jesse McConnell
ce3e6dafec update license headers to 2017 2017-01-19 09:30:00 -06:00
Tilo Zemke
23f11017d3 Fix for MongoSessionIdManager's scavenging of immortal sessions
Signed-off-by: Tilo Zemke <telomir@gmail.com>
2016-11-07 17:54:04 +01:00
Jan Bartel
6ff5a3a7e9 Issue 2016-10-20 12:38:05 +11:00
Greg Wilkins
9d475a624b Normalize tags 2016-10-13 10:06:17 +11:00
Greg Wilkins
91e9e7b76a Issue Improve module listing 2016-10-06 17:01:08 +11:00
Jan Bartel
969f1daeb5 Issue 2016-09-22 17:49:45 +10:00
Jan Bartel
db30a315fe Issue
Add host and port to mongo config
2016-09-09 16:38:53 +10:00
Jan Bartel
79cd9add9f Fix naming in session-store-mongo xml file. 2016-06-17 14:02:32 +10:00
Jan Bartel
1ce0592d6c Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x 2016-06-15 16:31:54 +10:00
Jan Bartel
f1c56d7f8c Issue
Also use mongo createIndex for index on validity and access time fields
2016-06-15 13:46:39 +10:00
Jan Bartel
7f58701b53 Merge remote-tracking branch 'origin/jetty-9.2.x' into jetty-9.3.x 2016-06-15 13:14:39 +10:00
Jan Bartel
297918f719 Issue
Use Mongo createIndex instead of deprecated ensureIndex.
2016-06-15 13:12:37 +10:00
Jan Bartel
d52a1701ad Add module for session data cache 2016-06-08 15:00:32 +10:00
Jan Bartel
f86d72696a Issue 2016-06-08 10:23:36 +10:00
Jan Bartel
387f433711 Refactor names of session impl classes; fix bugs; add some tests 2016-05-18 17:05:01 +10:00
Greg Wilkins
42dac144ee Improved session configuration naming 2016-04-30 11:26:28 +10:00
Greg Wilkins
66f242191c Issue Alternate start modules
Used alternate modules for new session architecture
2016-04-30 09:19:38 +10:00
Jan Bartel
480aa4d874 Issue
Remove synchronization around session iteration when checking for idle sessions.
2016-04-29 14:38:34 +10:00
Jan Bartel
9212a62d74 Correct session store xml config files 2016-04-15 11:08:46 +10:00
Jan Bartel
d28dffb16e Remove SessionManager; refactor names of session classes; add start modules for new session arch 2016-04-15 11:08:46 +10:00
Joakim Erdfelt
5c896d88ec Fixing javadoc build errors 2016-03-25 11:18:00 -07:00
Jan Bartel
bfeae1afa3 Remove periodic iteration over sessions 2016-03-23 16:59:36 +11:00
Jan Bartel
add04e8fba Remove necessity for SessionIdManager specializations. 2016-03-17 12:29:42 +11:00
Jan Bartel
6261150167 Add info to IllegalStateException on check for invalid session 2016-03-16 11:45:19 +11:00
Jan Bartel
8a24798fa4 Issue ensure MongoSessionManager saves maxInactiveInterval and expiry correctly
Issue  ensure setting > MAX_INT session-timeout is detected
2016-03-11 10:47:34 +11:00
Jan Bartel
ead37b1b57 Issue MongoSessionManager does not save maxInactiveInterval and expiry correctly
Issue  Setting big session-timeout can overflow MAXINT
2016-03-10 18:52:34 +11:00
Joakim Erdfelt
da6be3ed7a Fixing javadoc 2016-03-07 10:24:57 -07:00
Jan Bartel
303aea96a3 Implement uniform expiry testing for all datastores, FileDataStore still todo. 2016-03-05 16:01:18 +01:00
Jan Bartel
3c2f5bbcb6 Implement different intervals for scavenge and idlepassivation checks; update all tests 2016-03-04 18:06:55 +01:00