Vedran Pavic
da8e5fbbac
Ensure configuration classes can be used with @Import
...
This commit adds tests that verify that all Spring Session configuration classes can be used with @Import, and fixes JDBC and Hazelcast HttpSession configurations and Redis WebSession configuration.
2022-09-26 09:01:09 -05:00
Vedran Pavic
4b34f35b82
Replace JSR-250 annotations with standard Spring lifecycle callbacks
2022-09-26 08:59:06 -05:00
Vedran Pavic
fb66cf3150
Remove @Configuration meta-annotation from @Enable*Session annotations
...
Closes gh-1361
2022-09-22 16:13:16 -05:00
Vedran Pavic
8e8de48614
Fix deprecation warnings
2022-09-06 15:27:53 -05:00
Vedran Pavic
9524730ab1
Update integration tests
...
This commit updates Docker images used in all the integration tests. Additionally, it updates JDBC session repository Oracle integration tests to run unconditionally.
2022-08-30 21:48:39 -05:00
Vedran Pavic
38a87e093a
Disable Hazelcast network join auto-detection in tests
...
At present, Hazelcast configurations used in tests disable multicast join but leave network join auto-detection enabled. This can cause issues with parallel test execution on machines that have bigger number of CPU cores/threads.
This commit updates Hazelcast configurations used in tests to disable network join auto-detection and thus ensure no network join method ends up being enabled.
2022-08-19 13:33:21 -05:00
Vedran Pavic
9041ffb29e
Remove deprecated code in spring-session-hazelcast
2022-08-19 13:31:44 -05:00
Marcus Da Coregio
00d248b0b5
Fix failing tests
...
Issue gh-2107
2022-07-08 11:07:02 -03:00
Eleftheria Stein
499cb75b1b
Upgrade Hazelcast to 5.0.2
...
Closes gh-2011
2022-01-17 14:06:55 +01:00
Eleftheria Stein
979598e3c3
Re-enable Hazelcast support
...
Closes gh-1958
2021-11-12 16:43:30 +01:00
Eleftheria Stein
2113c32ed0
Upgrade to Hazelcast 5
...
Closes gh-1957
2021-11-12 16:43:02 +01:00
Eleftheria Stein
f697850d23
Remove Hazelcast 3 support
...
Closes gh-1947
2021-11-12 10:34:11 +01:00
Eleftheria Stein
182d24219c
Migrate to Jakarta EE 9
...
Closes gh-1949
2021-11-11 18:21:26 +01:00
Eleftheria Stein
5fdbfce4c2
Update Gradle to 7.2
...
Closes gh-1944
2021-11-02 14:28:31 +01:00
Eleftheria Stein
a5033f721c
Use local propdeps plugin
...
Issue gh-1944
2021-11-02 14:12:19 +01:00
Eleftheria Stein
84fab2e2a9
Add buildSrc including build conventions plugins
...
Closes gh-1942
2021-10-29 13:30:29 +02:00
Eleftheria Stein
63f706dbf9
Fix Hazelcast session with flush mode immediate
...
Closes gh-1921
2021-10-05 10:59:06 +02:00
Eleftheria Stein
a64a11ba03
Tests for Hazelcast flush mode immediate
...
Closes gh-1801
2021-10-01 17:02:33 +02:00
slondono
661ecaf371
Store Principal Name Index in the Hazelcast Session delta
...
Issue gh-1801
2021-10-01 17:02:33 +02:00
Eleftheria Stein
e7d58f6b03
Increase session timeout in Hazelcast tests
...
It's possible that the session is expiring before the assertions can be made in the tests, causing them to fail.
Issue gh-1912
2021-09-08 12:04:26 +02:00
Vedran Pavic
79fbca24eb
Make Hazelcast session repository bean factory return type more specific
...
The declared return type of Hazelcast session repository bean factory method (i.e. HazelcastHttpSessionConfiguration#sessionRepository) was changed to SessionRepository<?> when support for Hazelcast 4 was added. This breaks Spring Boot's ability to auto-configure sessions endpoint, which is @ConditionalOnBean(FindByIndexNameSessionRepository.class), as the current return type is not specific enough to satisfy this condition.
This commit changes the return type of Hazelcast session repository bean factory method to FindByIndexNameSessionRepository<?>.
Closes: gh-1905
2021-08-27 01:51:55 +02:00
Andreas Kasparek
c5bffde790
Always set time-to-live within entry processor
...
Closes gh-1899
2021-08-25 13:16:08 +02:00
Eleftheria Stein
d862836d41
Upgrade Hazelcast 4 to 4.2.2
...
Closes gh-1887
2021-08-17 13:45:48 +02:00
Eleftheria Stein
b42b01af9b
Upgrade Hazelcast 4 to 4.2
...
Closes gh-1821
2021-04-13 11:31:58 +02:00
Eleftheria Stein
6744fee3cb
Upgrade Hazelcast to 3.12.12
...
Closes gh-1820
2021-04-13 11:22:00 +02:00
Eleftheria Stein
27044c8766
Make Hazelcast tests independent of ordering
...
Closes gh-1787
2021-02-02 13:24:24 +01:00
Eleftheria Stein
62ad3e1bab
Replace deprecated verifyZeroInteractions in tests
2021-01-29 17:00:03 +01:00
Eleftheria Stein
0a0766e4a8
Upgrade Hazelcast 4 to 4.1.1
...
Closes gh-1761
2021-01-18 12:43:34 +01:00
Eleftheria Stein
4108c77797
Upgrade Hazelcast to 3.12.11
...
Closes gh-1760
2021-01-18 12:41:02 +01:00
Eleftheria Stein
235801487e
Hazelcast4SessionUpdateEntryProcessor does not implement Offloadable
...
Closes gh-1707
2020-09-25 10:31:54 +02:00
Eleftheria Stein
e6e02de210
Upgrade Hazelcast 4 to 4.0.3
...
Closes gh-1706
2020-09-22 11:12:58 +02:00
Eleftheria Stein
0ab781e537
Consolidate Hazelcast configurations
...
Issue gh-1584
2020-09-16 16:35:03 +02:00
Eleftheria Stein
068ed8d355
Ensure Hazelcast 4 compatibility with Java 9+
2020-09-14 18:25:36 +02:00
Eleftheria Stein
2b6489c2bd
Add support for Hazelcast 4
...
Closes gh-1584
2020-09-14 17:59:35 +02:00
Enes Ozcan
cc85e927cd
Add optional Hazelcast session serializer
...
Issue gh-1131
2020-09-08 07:31:32 -04:00
Vedran Pavic
2d06e1159c
Improve Hazelcast integration tests
...
Resolves : #1534
2019-10-08 12:04:42 +02:00
Vedran Pavic
30588dc3c8
Improve Hazelcast client-server topology integration tests
...
Resolves : #1527
2019-10-06 15:54:02 +02:00
Vedran Pavic
2f79da00dc
Upgrade Hazelcast to 3.12.3
...
Resolves : #1525
2019-10-06 11:41:03 +02:00
Vedran Pavic
f5abd55394
Ensure proxyBeanMethods is set to false everywhere
...
This commit sets proxyBeanMethods to false on all @Enable*Session annotations since they are meta-annotated with @Configuration.
See: #1516
2019-09-30 16:08:55 +02:00
Vedran Pavic
bd36e115a8
Align with spring-javaformat 0.0.15
2019-09-29 16:16:36 +02:00
Vedran Pavic
feaf8780a8
Add support for configuring custom IndexResolver
...
See: #1467
2019-09-26 22:18:37 +02:00
Vedran Pavic
8cc8fbb7fd
Harmonize naming of session repositories
...
Resolves : #1455
2019-09-22 21:47:53 +02:00
Vedran Pavic
df3e4c5bc1
Add support for customizing session repository before initialization
...
This commit adds support for customizing session repository implementations (both SessionRepository and ReactiveSessionRepository) before initialization by introducing SessionRepositoryCustomizer and ReactiveSessionRepositoryCustomizer strategies.
Resolves : #1499
2019-09-03 22:17:36 +02:00
Vedran Pavic
63f1013a07
Upgrade Hazelcast to 3.12.2
...
Resolves : #1483
2019-08-02 22:39:28 +02:00
Vedran Pavic
903fa10861
Polish
2019-07-30 23:08:13 +02:00
Vedran Pavic
033d6eecae
Add support for session save mode
...
This commit introduces SaveMode enum that individual SessionRepository implementations use to allow customization of the way they handle save operation in terms of tracking delta of changes.
Resolves : #1466
2019-07-14 10:35:05 +02:00
Vedran Pavic
1ca9daccb4
Remove unnecessary throws declaration
2019-07-02 19:23:35 +02:00
Vedran Pavic
8d0d757e46
Polish
2019-06-25 22:11:29 +02:00
Vedran Pavic
e2f1fe5446
Add missing deprecation
...
See: #1465
2019-06-25 21:50:03 +02:00
Vedran Pavic
07b9433540
Add common flush mode support
...
Resolves : #1465
2019-06-24 19:11:12 +02:00