Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 25b10b1

Browse files
authoredFeb 6, 2025··
FMWK-668 Update links between guides, demo and test pages (#145)
1 parent e9e8124 commit 25b10b1

File tree

20 files changed

+121
-55
lines changed

20 files changed

+121
-55
lines changed
 

‎asciidoc/basic-error-handling.adoc

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[quote, Werner Vogels]
55
Everything fails all the time.
66

7+
{nbsp} +
78
Add `spring-retry` dependency together with `spring-boot-starter-aop`:
89

910
.pom.xml
@@ -150,4 +151,6 @@ See link:optimistic-locking.adoc[Handling concurrent updates using optimistic lo
150151

151152
=== Demo application
152153

153-
To see demo application go to xref:demo-error-handling[Basic Error handling Demo].
154+
:demo_path: ../examples/src/main/java/com/demo
155+
156+
To see demo application go to link:{demo_path}/errorhandling[Basic Error Handling Demo].

‎asciidoc/composite-primary-key.adoc

+3-1
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,6 @@ public interface CommentsRepository extends AerospikeRepository<CommentsDocument
8787

8888
== Demo application
8989

90-
To see demo application go to xref:demo-composite-pk[Composite Primary Key Demo].
90+
:demo_path: ../examples/src/main/java/com/demo
91+
92+
To see demo application go to link:{demo_path}/compositeprimarykey[Composite Primary Key Demo].

‎asciidoc/creating-secondary-index.adoc

+4-2
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,10 @@ public class IndexTests extends SecondaryIndexAerospikeDemoApplicationTest {
126126
----
127127

128128
TIP: If you are not familiar with how to set up embedded Aerospike server for your tests please see
129-
xref:guide-getting-started-simple-crud-testing[Getting Started: Testing] section.
129+
link:getting-started.adoc#guide-getting-started-simple-crud-testing[Getting Started: Testing].
130130

131131
=== Demo application
132132

133-
To see demo application go to xref:demo-creating-sindex[Creating Secondary Index Demo].
133+
:demo_path: ../examples/src/main/java/com/demo
134+
135+
To see demo application go to link:{demo_path}/index[Creating Secondary Index Demo].

‎asciidoc/custom-converters.adoc

+3-1
Original file line numberDiff line numberDiff line change
@@ -193,4 +193,6 @@ public class AerospikeConfiguration extends AbstractAerospikeDataConfiguration {
193193

194194
=== Demo application
195195

196-
To see demo application go to xref:demo-custom-converters[Custom Converters Demo].
196+
:demo_path: ../examples/src/main/java/com/demo
197+
198+
To see demo application go to link:{demo_path}/customconverters[Custom Converters Demo].

‎asciidoc/getting-started.adoc

+3-1
Original file line numberDiff line numberDiff line change
@@ -292,4 +292,6 @@ link:https://docs.spring.io/spring-framework/reference/[Spring Framework Documen
292292

293293
=== Demo application
294294

295-
To see demo application go to xref:demo-simple-crud[Simple CRUD Demo].
295+
:demo_path: ../examples/src/main/java/com/demo
296+
297+
To see demo application go to link:{demo_path}/simplecrud[Simple CRUD Demo].

‎asciidoc/optimistic-locking.adoc

+3-1
Original file line numberDiff line numberDiff line change
@@ -226,4 +226,6 @@ public class WatchedMoviesConcurrentTest extends OptimisticLockingAerospikeDemoA
226226

227227
== Demo application
228228

229-
To see demo application go to xref:demo-optimistic-locking[Optimistic Locking Demo].
229+
:demo_path: ../examples/src/main/java/com/demo
230+
231+
To see demo application go to link:{demo_path}/optimisticlocking[Optimistic Locking Demo].
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[demo-composite-pk]]
2-
= Composite Primary Key
2+
= Composite Primary Key Demo
33

44
This directory contains a sample project for demonstration of creating and using a composite primary key with Spring Data Aerospike.
55

@@ -10,8 +10,12 @@ This directory contains a sample project for demonstration of creating and using
1010

1111
== Guides
1212

13-
xref:guide-composite-pk[Composite Primary Key].
13+
:base_path: ../../../../../../..
14+
15+
link:{base_path}/asciidoc/composite-primary-key.adoc[Composite Primary Key]
1416

1517
== Tests
1618

17-
To see demo application go to xref:tests-composite-pk[Composite Primary Key Tests].
19+
:tests_path: examples/src/test/java/com/demo
20+
21+
To see tests go to link:{base_path}/{tests_path}/compositeprimarykey[Composite Primary Key Tests].
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[demo-custom-converters]]
2-
= Custom Converters
2+
= Custom Converters Demo
33

44
This directory contains a sample project for demonstration of creating and registering custom converters with Spring Data Aerospike.
55

@@ -10,8 +10,12 @@ This directory contains a sample project for demonstration of creating and regis
1010

1111
== Guides
1212

13-
xref:guide-custom-converters[Custom Converters].
13+
:base_path: ../../../../../../..
14+
15+
link:{base_path}/asciidoc/custom-converters.adoc[Custom Converters]
1416

1517
== Tests
1618

17-
To see demo application go to xref:tests-custom-converters[Custom Converters Tests].
19+
:tests_path: examples/src/test/java/com/demo
20+
21+
To see tests go to link:{base_path}/{tests_path}/customconverters[Custom Converters Tests].
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[demo-error-handling]]
2-
= Basic Error Handling
2+
= Basic Error Handling Demo
33

44
This directory contains a sample project for demonstration of basic error handling when using Spring Data Aerospike.
55

@@ -10,8 +10,12 @@ This directory contains a sample project for demonstration of basic error handli
1010

1111
== Guides
1212

13-
xref:guide-error-handling[Error Handling].
13+
:base_path: ../../../../../../..
14+
15+
link:{base_path}/asciidoc/basic-error-handling.adoc[Basic Error Handling]
1416

1517
== Tests
1618

17-
To see demo application go to xref:tests-error-handling[Error Handling Tests].
19+
:tests_path: examples/src/test/java/com/demo
20+
21+
To see tests go to link:{base_path}/{tests_path}/errorhandling[Basic Error Handling Tests].
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[demo-creating-sindex]]
2-
= Creating Secondary Index
2+
= Creating Secondary Index Demo
33

44
This directory contains a sample project for demonstration of creating secondary index with Spring Data Aerospike.
55

@@ -10,8 +10,12 @@ This directory contains a sample project for demonstration of creating secondary
1010

1111
== Guides
1212

13-
xref:guide-creating-sindex[Creating Secondary Index].
13+
:base_path: ../../../../../../..
14+
15+
link:{base_path}/asciidoc/creating-secondary-index.adoc[Creating Secondary Index]
1416

1517
== Tests
1618

17-
To see tests go to xref:tests-creating-sindex[Creating Secondary Index Tests].
19+
:tests_path: examples/src/test/java/com/demo
20+
21+
To see tests go to link:{base_path}/{tests_path}/index[Creating Secondary Index Tests].
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[demo-optimistic-locking]]
2-
= Handling Concurrent Updates Using Optimistic Locking
2+
= Optimistic Locking Demo
33

44
This directory contains a sample project for demonstration of handling concurrent updates using optimistic locking with Spring Data Aerospike.
55

@@ -10,8 +10,12 @@ This directory contains a sample project for demonstration of handling concurren
1010

1111
== Guides
1212

13-
xref:guide-optimistic-locking[Optimistic Locking].
13+
:base_path: ../../../../../../..
14+
15+
link:{base_path}/asciidoc/optimistic-locking.adoc[Optimistic Locking]
1416

1517
== Tests
1618

17-
To see tests go to xref:tests-optimistic-locking[Optimistic Locking Tests].
19+
:tests_path: examples/src/test/java/com/demo
20+
21+
To see tests go to link:{base_path}/{tests_path}/optimisticlocking[Optimistic Locking Tests].
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[demo-simple-crud]]
2-
= Getting Started: Setup and Simple CRUD Operations
2+
= Simple CRUD Operations Demo
33

44
This directory contains a sample project for demonstration of setting up Spring Data Aerospike and using simple CRUD operations with it.
55

@@ -10,8 +10,12 @@ This directory contains a sample project for demonstration of setting up Spring
1010

1111
== Guides
1212

13-
xref:guide-getting-started-simple-crud[Getting Started].
13+
:base_path: ../../../../../../..
14+
15+
link:{base_path}/asciidoc/getting-started.adoc[Getting Started]
1416

1517
== Tests
1618

17-
To see tests go to xref:tests-simple-crud[Simple CRUD Tests].
19+
:tests_path: examples/src/test/java/com/demo
20+
21+
To see tests go to link:{base_path}/{tests_path}/simplecrud[Simple CRUD Tests].

‎examples/src/main/java/com/demo/simplecrudrest/README.adoc

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[demo-simple-crud-rest]]
2-
= Getting Started: Simple CRUD Operations with REST API
2+
= Simple CRUD Operations with REST API Demo
33

44
This directory contains a sample project for demonstration of using simple CRUD operations via REST API with Spring Data Aerospike.
55

@@ -10,4 +10,6 @@ This directory contains a sample project for demonstration of using simple CRUD
1010

1111
== Tests
1212

13-
To see tests go to xref:tests-simple-crud-rest[Simple CRUD with REST API Tests].
13+
:tests_path: examples/src/test/java/com/demo
14+
15+
To see tests go to link:{base_path}/{tests_path}/simplecrudrest[Simple CRUD with REST API Tests].
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[tests-composite-pk]]
2-
= Composite Primary Key
2+
= Composite Primary Key Tests
33

44
This directory contains tests for a sample project for demonstration of creating and using a composite primary key with Spring Data Aerospike.
55

@@ -9,8 +9,12 @@ This directory contains tests for a sample project for demonstration of creating
99

1010
== Guides
1111

12-
xref:guide-composite-pk[Composite Primary Key].
12+
:base_path: ../../../../../../..
1313

14-
== Demo application
14+
link:{base_path}/asciidoc/composite-primary-key.adoc[Composite Primary Key]
1515

16-
To see demo application go to xref:demo-composite-pk[Composite Primary Key Demo].
16+
== Demo Application
17+
18+
:demo_path: examples/src/main/java/com/demo
19+
20+
To see demo application go to link:{base_path}/{demo_path}/compositeprimarykey[Composite Primary Key Demo].
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[tests-custom-converters]]
2-
= Custom Converters
2+
= Custom Converters Tests
33

44
This directory contains tests for a sample project for demonstration of creating and registering custom converters with Spring Data Aerospike.
55

@@ -9,8 +9,12 @@ This directory contains tests for a sample project for demonstration of creating
99

1010
== Guides
1111

12-
xref:guide-custom-converters[Composite Primary Key].
12+
:base_path: ../../../../../../..
1313

14-
== Demo application
14+
link:{base_path}/asciidoc/custom-converters.adoc[Custom Converters]
1515

16-
To see demo application go to xref:demo-custom-converters[Custom Converters Demo].
16+
== Demo Application
17+
18+
:demo_path: examples/src/main/java/com/demo
19+
20+
To see demo application go to link:{base_path}/{demo_path}/customconverters[Custom Converters Demo].
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[tests-error-handling]]
2-
= Basic Error Handling
2+
= Basic Error Handling Tests
33

44
This directory contains tests for a sample project for demonstration of basic error handling when using Spring Data Aerospike.
55

@@ -9,8 +9,12 @@ This directory contains tests for a sample project for demonstration of basic er
99

1010
== Guides
1111

12-
xref:guide-error-handling[Error Handling].
12+
:base_path: ../../../../../../..
1313

14-
== Demo application
14+
link:{base_path}/asciidoc/basic-error-handling.adoc[Basic Error Handling]
1515

16-
To see demo application go to xref:demo-error-handling[Errors Handling Demo].
16+
== Demo Application
17+
18+
:demo_path: examples/src/main/java/com/demo
19+
20+
To see demo application go to link:{base_path}/{demo_path}/errorhandling[Basic Error Handling Demo].
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
[[tests-creating-sindex]]
2-
= Creating Secondary Index
2+
= Creating Secondary Index Tests
33

4-
This directory contains a sample project for demonstration of creating secondary index with Spring Data Aerospike.
4+
This directory contains tests for a sample project for demonstration of creating secondary index with Spring Data Aerospike.
55

66
== Prerequisites
77

88
- JDK 17
99

1010
== Guides
1111

12-
xref:guide-creating-sindex[Creating Secondary Index].
12+
:base_path: ../../../../../../..
1313

14-
== Demo application
14+
link:{base_path}/asciidoc/creating-secondary-index.adoc[Creating Secondary Index]
1515

16-
To see demo application go to xref:demo-creating-sindex[Creating Secondary Index Demo].
16+
== Demo Application
17+
18+
:demo_path: examples/src/main/java/com/demo
19+
20+
To see demo application go to link:{base_path}/{demo_path}/index[Creating Secondary Index Demo].
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[tests-optimistic-locking]]
2-
= Handling Concurrent Updates Using Optimistic Locking
2+
= Optimistic Locking Tests
33

44
This directory contains tests for a sample project for demonstration of handling concurrent updates using optimistic locking with Spring Data Aerospike.
55

@@ -9,8 +9,12 @@ This directory contains tests for a sample project for demonstration of handling
99

1010
== Guides
1111

12-
xref:guide-optimistic-locking[Optimistic Locking].
12+
:base_path: ../../../../../../..
1313

14-
== Demo application
14+
link:{base_path}/asciidoc/optimistic-locking.adoc[Optimistic Locking]
1515

16-
To see demo application go to xref:demo-optimistic-locking[Optimistic Locking Demo].
16+
== Demo Application
17+
18+
:demo_path: examples/src/main/java/com/demo
19+
20+
To see demo application go to link:{base_path}/{demo_path}/optimisticlocking[Optimistic Locking Demo].
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[tests-simple-crud]]
2-
= Getting Started: Setup and Simple CRUD Operations
2+
= Simple CRUD Operations Tests
33

44
This directory contains tests for a sample project for demonstration of setting up Spring Data Aerospike and using simple CRUD operations with it.
55

@@ -9,8 +9,12 @@ This directory contains tests for a sample project for demonstration of setting
99

1010
== Guides
1111

12-
xref:guide-getting-started-simple-crud[Getting Started].
12+
:base_path: ../../../../../../..
1313

14-
== Demo application
14+
link:{base_path}/asciidoc/optimistic-locking.adoc[Getting Started for Basic CRUD Operations]
1515

16-
To see demo application go to xref:demo-simple-crud[Simple CRUD Demo].
16+
== Demo Application
17+
18+
:demo_path: examples/src/main/java/com/demo
19+
20+
To see demo application go to link:{base_path}/{demo_path}/simplecrud[Simple CRUD Demo].
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[tests-simple-crud-rest]]
2-
= Getting Started: Simple CRUD Operations with REST API
2+
= Simple CRUD Operations with REST API Tests
33

44
This directory contains tests for a sample project for demonstration of using simple CRUD operations via REST API with Spring Data Aerospike.
55

@@ -8,6 +8,9 @@ This directory contains tests for a sample project for demonstration of using si
88
- JDK 17
99
- Docker installed and running (optional)
1010

11-
== Demo application
11+
== Demo Application
1212

13-
To see demo application go to xref:demo-simple-crud-rest[Simple CRUD with REST API Demo].
13+
:base_path: ../../../../../../..
14+
:demo_path: examples/src/main/java/com/demo
15+
16+
To see demo application go to link:{base_path}/{demo_path}/simplecrudrest[Simple CRUD with REST API Demo].

0 commit comments

Comments
 (0)
Please sign in to comment.