Spring Operator
e296702da1
URL Cleanup ( #1392 )
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.
* [ ] http://www.ultraq.net.nz/thymeleaf/layout (302) with 12 occurrences migrated to:
https://github.com/ultraq/thymeleaf-layout-dialect ([https](https://www.ultraq.net.nz/thymeleaf/layout ) result ConnectTimeoutException).
* [ ] http://192.168.1.100:8080/ (AnnotatedConnectException) with 1 occurrences migrated to:
https://192.168.1.100:8080/ ([https](https://192.168.1.100:8080/ ) result ConnectTimeoutException).
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://docs.hazelcast.org/docs/ with 8 occurrences migrated to:
https://docs.hazelcast.org/docs/ ([https](https://docs.hazelcast.org/docs/ ) result 200).
* [ ] http://docs.spring.io/spring-data/data-redis/docs/current/reference/html/ with 1 occurrences migrated to:
https://docs.spring.io/spring-data/data-redis/docs/current/reference/html/ ([https](https://docs.spring.io/spring-data/data-redis/docs/current/reference/html/ ) result 200).
* [ ] http://docs.spring.io/spring-session/docs/current/reference/html5/ with 1 occurrences migrated to:
https://docs.spring.io/spring-session/docs/current/reference/html5/ ([https](https://docs.spring.io/spring-session/docs/current/reference/html5/ ) result 200).
* [ ] http://infinispan.org/docs/dev/user_guide/user_guide.html with 1 occurrences migrated to:
https://infinispan.org/docs/dev/user_guide/user_guide.html ([https](https://infinispan.org/docs/dev/user_guide/user_guide.html ) result 200).
* [ ] http://logback.qos.ch/manual/groovy.html with 1 occurrences migrated to:
https://logback.qos.ch/manual/groovy.html ([https](https://logback.qos.ch/manual/groovy.html ) result 200).
* [ ] http://projects.spring.io/spring-session/ with 1 occurrences migrated to:
https://projects.spring.io/spring-session/ ([https](https://projects.spring.io/spring-session/ ) result 200).
* [ ] http://redis.io/commands/expire with 1 occurrences migrated to:
https://redis.io/commands/expire ([https](https://redis.io/commands/expire ) result 200).
* [ ] http://redis.io/commands/hmset with 1 occurrences migrated to:
https://redis.io/commands/hmset ([https](https://redis.io/commands/hmset ) result 200).
* [ ] http://redis.io/topics/data-types with 1 occurrences migrated to:
https://redis.io/topics/data-types ([https](https://redis.io/topics/data-types ) result 200).
* [ ] http://redis.io/topics/notifications with 2 occurrences migrated to:
https://redis.io/topics/notifications ([https](https://redis.io/topics/notifications ) result 200).
* [ ] http://stackoverflow.com with 1 occurrences migrated to:
https://stackoverflow.com ([https](https://stackoverflow.com ) result 200).
* [ ] http://stackoverflow.com/tags/spring-session with 1 occurrences migrated to:
https://stackoverflow.com/tags/spring-session ([https](https://stackoverflow.com/tags/spring-session ) result 200).
* [ ] http://www.thymeleaf.org with 12 occurrences migrated to:
https://www.thymeleaf.org ([https](https://www.thymeleaf.org ) result 200).
* [ ] http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-3.dtd with 5 occurrences migrated to:
https://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-3.dtd ([https](https://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-3.dtd ) result 200).
* [ ] http://contributor-covenant.org with 1 occurrences migrated to:
https://contributor-covenant.org ([https](https://contributor-covenant.org ) result 301).
* [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/ ) result 301).
* [ ] http://docs.spring.io/spring/docs/current/spring-framework-reference/html/spring-data-tier.html with 2 occurrences migrated to:
https://docs.spring.io/spring/docs/current/spring-framework-reference/html/spring-data-tier.html ([https](https://docs.spring.io/spring/docs/current/spring-framework-reference/html/spring-data-tier.html ) result 301).
* [ ] http://www.maxmind.com with 2 occurrences migrated to:
https://www.maxmind.com ([https](https://www.maxmind.com ) result 302).
# Ignored
These URLs were intentionally ignored.
* http://java.sun.com/jsp/jstl/core with 8 occurrences
* http://localhost with 15 occurrences
* http://localhost:8080/ with 31 occurrences
* http://localhost:8080/h2-console/ with 3 occurrences
* http://localhost:8080/logout with 1 occurrences
* http://localhost:8080/test/index with 2 occurrences
* http://localhost:xxxxx/hazelcast/rest/maps/spring:session:sessions/7e8383a4-082c-4ffe-a4bc-c40fd3363c5e with 1 occurrences
* http://www.w3.org/1999/xhtml with 5 occurrences
* http://www.webjars.org/tags with 8 occurrences
2019-04-01 10:22:01 -05:00
Spring Operator
61bea92e83
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* http://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 with 264 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
* http://www.apache.org/licenses/LICENSE-2.0.html with 1 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0.html ([https](https://www.apache.org/licenses/LICENSE-2.0.html ) result 200).
2019-03-14 20:38:58 -05:00
Vedran Pavic
d6dc0f5cdd
Update integration tests
2019-01-10 16:37:30 +01:00
Vedran Pavic
ad90867590
Polish
2018-11-26 19:10:13 +01:00
Vedran Pavic
c5b43f096c
Update integration tests
2018-11-26 19:07:20 +01:00
Vedran Pavic
55b4f6f017
Update integration tests
2018-11-02 23:15:25 +01:00
Vedran Pavic
c9d6ef7f01
Upgrade integration tests
2018-10-15 19:59:54 +02:00
Vedran Pavic
4c5f22900d
Polish
2018-09-26 14:47:53 +02:00
Vedran Pavic
dc4a0ce61b
Configure default LobHandler to use temporary LOBs on Oracle
...
JdbcOperationsSessionRepository recently introduced validation when inserting new session attributes in order to prevent data integrity violations in highly concurrent environments. This is done by using INSERT INTO ... SELECT statement to verify existence of session record in parent table. Such arrangement causes problems with Oracle if inserted attribute is of size 4 kb or more.
This commit enhances JdbcHttpSessionConfiguration to detect Oracle database is used, and set createTemporaryLob option on default LobHandler to true.
Resolves : #1208
2018-09-25 19:30:09 +02:00
Vedran Pavic
af44e71af0
Update integration tests
2018-09-06 18:05:32 +02:00
Vedran Pavic
c8f78e510e
Upgrade spring-build-conventions to 0.0.18.RELEASE
2018-08-24 23:59:12 +02:00
Vedran Pavic
dc1c7cdf02
Polish
2018-08-13 08:36:23 +02:00
Vedran Pavic
3a972bef76
Insert new attributes conditionally in JDBC repo
...
At present, the insert of new attributes in JdbcOperationsSessionRepository is done unconditionally. This can cause data integrity violation errors with concurrent requests, where one request attempts to add new session attribute while the other, concurrent request, deletes the session.
This commit addresses the described scenario by executing insert of new attributes conditionally on presence of parent record.
Closes gh-1151
2018-08-13 08:36:08 +02:00
Vedran Pavic
3d2a742328
Use Spring Java Format Checkstyle
...
Closes gh-1113
2018-07-23 15:16:35 +02:00
Vedran Pavic
7ac6e458e0
Update integration tests
2018-07-23 12:15:14 +02:00
Vedran Pavic
936fc853df
Ensure Session#getAttributeNames implementations return a copy
...
Currently, Session#getAttributeNames implementations, by delegating to MapSession, all return a session attribute map's key set. This causes ConcurrentModificationException when an attempt to modify session attributes is made while iterating over the returned attribute names.
Closes gh-1120
2018-07-17 15:05:03 +02:00
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