Vedran Pavic
f4704293a1
Update integration tests
2018-06-08 16:48:31 +02:00
Vedran Pavic
b6348736ac
Polish contribution
...
Closes gh-1070
2018-05-14 10:38:27 +02:00
Craig Andrews
60581c6427
Fix delta handling in JdbcOperationsSessionRepository
...
See gh-1070
2018-05-13 21:05:34 +02:00
Vedran Pavic
b2711600e2
Polish contribution
...
Closes gh-1014
2018-05-08 17:35:49 +02:00
Ivan Sopov
06eb768721
Remove redundant index in JDBC schema scripts
...
See gh-1014
2018-05-08 17:33:16 +02:00
Vedran Pavic
1e93fe87db
Upgrade test dependencies
2018-05-08 17:14:07 +02:00
Vedran Pavic
538712d162
Fix compilation warnings
2018-05-04 18:05:39 +02:00
Vedran Pavic
bb1c099094
Optimize batch operations in JdbcOperationsSessionRepository
...
This commit optimizes session attribute saving by ensuring batch updates are used whenever possible. To make this possible, delta now tracks operations for each attribute change in order to be able to deduce SQL operation.
Additionally, if there is only a single attribute change, regular update is executed rather than batch operation.
Closes gh-1051
2018-05-04 16:33:47 +02:00
Vedran Pavic
6c2f6c26cc
Update integration tests
...
- upgrade TestContainers to 1.7.1
- update Docker images
- improve MariaDB/MySQL tests to use UTF-8
Closes gh-1034
2018-04-20 14:10:52 +02:00
Vedran Pavic
2395582fe6
Optimize session retrieval in JdbcOperationsSessionRepository
...
Previously, SessionResultSetExtractor used JdbcSession.setAttribute which had a side effect of freshly loaded session potentially having a non-empty delta and/or changed flag set. This commit optimizes session retrieval to invoke setAttribute directly on the delegate, therefore preventing unnecessary modifications of delta and change flags.
Closes gh-1042
2018-04-16 08:58:16 +02:00
Vedran Pavic
a780ee0264
Replace use of ExpectedException rule with AssertJ
...
Closes gh-1032
2018-03-31 08:32:16 +02:00
Vedran Pavic
4f0f3806a2
Update integration tests
...
This commit updates TestContainers dependency and versions of Docker images used in integration tests.
2018-02-19 09:14:56 +01:00
Vedran Pavic
d0b472e8e2
Ignore SQL Server integration tests
2018-02-12 20:22:39 +01:00
Vedran Pavic
17ee9d51f2
Update integration tests
...
This commit updates TestContainers dependency and versions of Docker images used in integration tests.
2018-02-12 19:07:59 +01:00
Vedran Pavic
175e05dcda
Update integration tests
...
This commit updates TestContainers dependency and versions of Docker images used in integration tests.
2018-01-25 16:02:01 +01:00
Vedran Pavic
43fcba65c4
Ignore SQL Server integration tests
2018-01-25 15:10:59 +01:00
Vedran Pavic
1cc2c83f36
Polish
2018-01-25 15:10:53 +01:00
Vedran Pavic
22e3b5ce38
Update integration tests
...
This commit updates TestContainers dependency and versions of Docker images used in integration tests.
2018-01-22 08:17:52 +01:00
Vedran Pavic
2f49a8ac25
Ignore SQL Server integration tests
...
This commit temporarily disables SQL Server integration tests due to frequent container startup failures on Jenkins.
See gh-959
2018-01-09 14:21:48 +01:00
Vedran Pavic
3252b38c87
Add Microsoft SQL Server integration tests
...
Closes gh-959
2018-01-02 22:37:09 +01:00
Vedran Pavic
c4daeff3d8
Update integration tests
...
This commit updates TestContainers dependency and versions of Docker images used in integration tests.
2018-01-02 21:42:22 +01:00
Vedran Pavic
280d5c5a77
Refactor JDBC configuration
...
Closes gh-942
2017-11-27 22:21:40 +01:00
Vedran Pavic
17e56dda18
Polish configuration classes
2017-11-26 12:21:32 +01:00
Vedran Pavic
a3803e9e1f
Update integration tests
...
This commit updates TestContainers dependency and versions of Docker images used in integration tests.
2017-11-23 13:41:48 +01:00
Vedran Pavic
f28ab07b9a
Migrate SpringJUnit4ClassRunner -> SpringRunner
2017-11-20 08:08:00 +01:00
Vedran Pavic
03f6611e04
Update integration tests
...
This commit updates TestContainers dependency and versions of Docker images used in integration tests.
2017-10-30 09:05:36 +01:00
Vedran Pavic
2c664d1d9e
Move JDBC qualifier annotations to shared package
...
Closes gh-909
2017-10-27 18:29:49 +02:00
Vedran Pavic
97698fd590
Add support for configuring JDBC session cleanup cron
2017-10-27 14:55:28 +02:00
Vedran Pavic
f8583bb02f
Add missing @Override
2017-10-27 09:59:55 +02:00
Vedran Pavic
5df555cd53
Polish
2017-10-27 09:59:51 +02:00
Vedran Pavic
3f670050ef
Update integration tests
...
This commit updates versions of RDBMS and Redis Docker images used in
integration tests.
Closes gh-894
2017-10-09 08:09:52 +02:00
Vedran Pavic
e3b61d25bb
Improve JDBC configuration
...
This commit improves JDBC configuration by introducing `@SpringSessionDataSource` qualifier for explicitly declaring a `DataSource` to be used by Spring Session. This is in particular useful in scenarios with multiple `DataSource` beans present in the application context.
As a consequence, JDBC configuration is simplified and no longer registers a Spring Session specific `JdbcTemplate` bean.
Closes gh-863
2017-10-06 19:12:55 +02:00
Vedran Pavic
c69a8b8762
Improve JDBC data store schema scripts
...
Closes gh-884
2017-09-27 12:18:25 +02:00
Vedran Pavic
188e5ba4e0
Optimize JDBC session cleanup SQL statement
...
This commit improves session cleanup handling in `JdbcOperationsSessionRepository#cleanUpExpiredSessions` by optimizing the used SQL statement. This is done by calculating the session expiry time when persisting the session, which in turn allows the cleanup SQL statement to be more index-friendly.
Closes gh-847
2017-09-12 15:41:10 -05:00
Vedran Pavic
04ec086014
Use TestContainers for integration tests
2017-08-24 14:17:10 -05:00
Rob Winch
be2604ca69
Add Session.changeSessionId
2017-07-20 16:31:38 -05:00
Vedran Pavic
c00d6a7bf2
Apply correct convention plugin for modules
2017-07-10 09:10:33 +02:00
Vedran Pavic
1b8c9838a4
Fix unchecked operations build warning
2017-07-10 07:27:27 +02:00
Vedran Pavic
5845a9c46a
Improve dependency management
...
This commit improves dependency management with the following changes:
- `spring-session-core`: move `javax.servlet-api` from `provided` to `optional` configuration due to introduction of reactive support
- `spring-session-data-redis`: remove Redis driver from `compile` configuration
- Boot samples: delegate Redis driver choice to `spring-boot-starter-data-redis`
- polish `test` configuration dependencies
2017-07-06 17:05:01 -05:00
Vedran Pavic
04b4fe3e3b
Fix Checkstyle violations
2017-07-01 00:04:46 +02:00
Rob Winch
8ef36e4f3e
Session Optional<T> getAttribute -> T getAttribute
...
Issue gh-819
2017-06-30 10:24:59 -05:00
Vedran Pavic
031541bc05
Fix Checkstyle violations
2017-06-26 08:45:20 +02:00
Vedran Pavic
b321ff02f0
Revert "SessionRepository.save returns S"
...
See gh-809
2017-06-23 18:48:30 +02:00
Rob Winch
c6c6beb40c
Session.delete -> deleteById
...
Fixes gh-809
2017-06-22 21:30:14 -05:00
Rob Winch
0127ef9f9b
SessionRepository.getSession(String) -> findById(String)
...
Issue gh-809
2017-06-22 21:29:34 -05:00
Rob Winch
cd8686ae9c
SessionRepository.save returns S
...
Issue gh-809
2017-06-22 21:27:25 -05:00
Rob Winch
043cb42149
Extract spring-session-jdbc
...
Issue gh-806
2017-06-22 09:04:09 -05:00
Rob Winch
f1319483ee
Move spring-session to spring-session-core
...
Issue gh-806
2017-06-22 09:02:44 -05:00
Rob Winch
d590ca58e4
Standardize Build
...
Fixes gh-769
2017-04-26 22:11:41 -05:00
Vedran Pavic
43fda301e2
Fix Sonar build
2016-11-15 23:07:00 +01:00