Skip to content

Commit 475e06c

Browse files
committed
Broken links in reference documentation.
Closes #2499
1 parent e2a1d76 commit 475e06c

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/main/asciidoc/preface.adoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ To leverage all the features of Spring Data Redis, such as the repository suppor
2929

3030
To learn more about Spring, you can refer to the comprehensive documentation that explains the Spring Framework in detail.
3131
There are a lot of articles, blog entries, and books on the subject.
32-
See the Spring framework https://spring.io/docs[home page] for more information.
32+
See the Spring framework https://spring.io/projects/spring-framework/[home page] for more information.
3333

3434
In general, this should be the starting point for developers wanting to try Spring Data Redis.
3535

@@ -44,8 +44,7 @@ It usually does not take more then five to ten minutes to go through them and, i
4444
[[get-started:first-steps:samples]]
4545
=== Trying out the Samples
4646

47-
One can find various samples for key-value stores in the dedicated Spring Data example repo, at https://github.com/spring-projects/spring-data-keyvalue-examples[https://github.com/spring-projects/spring-data-keyvalue-examples].
48-
For Spring Data Redis, you should pay particular attention to the `retwisj` sample, a Twitter-clone built on top of Redis that can be run locally or be deployed into the cloud.
47+
One can find various samples for key-value stores in the dedicated Spring Data example repo, at https://github.com/spring-projects/spring-data-examples/tree/main/redis[https://github.com/spring-projects/spring-data-examples/].
4948
See its https://docs.spring.io/spring-data/data-keyvalue/examples/retwisj/current/[documentation], the following blog https://spring.io/blog/2011/04/27/getting-started-redis-spring-cloud-foundry/[entry] for more information.
5049

5150
[[requirements]]
@@ -73,7 +72,7 @@ Professional Support :: Professional, from-the-source support, with guaranteed r
7372
[[get-started:up-to-date]]
7473
== Following Development
7574

76-
For information on the Spring Data source code repository, nightly builds, and snapshot artifacts, see the Spring Data home https://spring.io/spring-data[page].
75+
For information on the Spring Data source code repository, nightly builds, and snapshot artifacts, see the Spring Data home https://spring.io/projects/spring-data/[page].
7776

7877
You can help make Spring Data best serve the needs of the Spring community by interacting with developers on Stack Overflow at either
7978
https://stackoverflow.com/questions/tagged/spring-data[spring-data] or https://stackoverflow.com/questions/tagged/spring-data-redis[spring-data-redis].

src/main/asciidoc/reference/redis.adoc

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ The repository is also https://repo.spring.io/milestone/org/springframework/data
5959
[[redis:requirements]]
6060
== Redis Requirements
6161

62-
Spring Redis requires Redis 2.6 or above and Spring Data Redis integrates with https://github.com/lettuce-io/lettuce-core[Lettuce] and https://github.com/xetorthio/jedis[Jedis], two popular open-source Java libraries for Redis.
62+
Spring Redis requires Redis 2.6 or above and Spring Data Redis integrates with https://github.com/lettuce-io/lettuce-core[Lettuce] and https://github.com/redis/jedis[Jedis], two popular open-source Java libraries for Redis.
6363

6464
[[redis:architecture]]
6565
== Redis Support High-level View
@@ -549,11 +549,11 @@ Do note that the storage format is not limited only to values. It can be used fo
549549
====
550550
By default, `RedisCache` and `RedisTemplate` are configured to use Java native serialization. Java native serialization is known for allowing the running of remote code caused by payloads that exploit vulnerable libraries and classes injecting unverified bytecode. Manipulated input could lead to unwanted code being run in the application during the deserialization step. As a consequence, do not use serialization in untrusted environments. In general, we strongly recommend any other message format (such as JSON) instead.
551551
552-
If you are concerned about security vulnerabilities due to Java serialization, consider the general-purpose serialization filter mechanism at the core JVM level, originally developed for JDK 9 but backported to JDK 8, 7, and 6:
552+
If you are concerned about security vulnerabilities due to Java serialization, consider the general-purpose serialization filter mechanism at the core JVM level:
553553
554-
* https://blogs.oracle.com/java-platform-group/entry/incoming_filter_serialization_data_a[Filter Incoming Serialization Data].
555-
* https://openjdk.java.net/jeps/290[JEP 290].
556-
* https://www.owasp.org/index.php/Deserialization_of_untrusted_data[OWASP: Deserialization of untrusted data].
554+
* https://docs.oracle.com/en/java/javase/17/core/serialization-filtering1.html[Filter Incoming Serialization Data].
555+
* https://openjdk.org/jeps/290[JEP 290].
556+
* https://owasp.org/www-community/vulnerabilities/Deserialization_of_untrusted_data[OWASP: Deserialization of untrusted data].
557557
====
558558

559559
[[redis.hashmappers.root]]
@@ -565,6 +565,7 @@ Data can be stored by using various data structures within Redis. `Jackson2JsonR
565565
* Using <<redis.repositories>>
566566
* Using `HashMapper` and `HashOperations`
567567

568+
[[redis.hashmappers.mappers]]
568569
=== Hash Mappers
569570

570571
Hash mappers are converters of map objects to a `Map<K, V>` and back. `HashMapper` is intended for using with Redis Hashes.
@@ -706,7 +707,7 @@ include::{referenceDir}/redis-cache.adoc[]
706707
[[redis:support]]
707708
== Support Classes
708709

709-
Package `org.springframework.data.redis.support` offers various reusable components that rely on Redis as a backing store. Currently, the package contains various JDK-based interface implementations on top of Redis, such as https://download.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/package-summary.html[atomic] counters and JDK https://download.oracle.com/javase/8/docs/api/java/util/Collection.html[Collections].
710+
Package `org.springframework.data.redis.support` offers various reusable components that rely on Redis as a backing store. Currently, the package contains various JDK-based interface implementations on top of Redis, such as https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/atomic/package-summary.html[atomic] counters and JDK https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html[Collections].
710711

711712
The atomic counters make it easy to wrap Redis key incrementation while the collections allow easy management of Redis keys with minimal storage exposure or API leakage. In particular, the `RedisSet` and `RedisZSet` interfaces offer easy access to the set operations supported by Redis, such as `intersection` and `union`. `RedisList` implements the `List`, `Queue`, and `Deque` contracts (and their equivalent blocking siblings) on top of Redis, exposing the storage as a FIFO (First-In-First-Out), LIFO (Last-In-First-Out) or capped collection with minimal configuration. The following example shows the configuration for a bean that uses a `RedisList`:
712713

0 commit comments

Comments
 (0)