You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://redis.com/[Redis] is a software project that implements data structure servers.
10
10
It is open-source, networked, in-memory, and stores keys with optional durability.
11
11
12
-
The project is configured to reach out a Redis instance with the following configuration:
13
-
14
-
[source, text]
15
-
----
16
-
host: localhost
17
-
port: 6379
18
-
----
19
-
20
-
This Eclipse JNoSQL configuration is defined on the file `src/main/resources/META-INF/microprofile-config.properties`. More info about it, check the following link: https://github.com/eclipse/jnosql-databases?tab=readme-ov-file#configuration-14
12
+
The project is configured to reach out the Redis Cluster with the following configuration defined on the file `src/main/resources/META-INF/microprofile-config.properties`. More info about it, check the following link: https://github.com/eclipse/jnosql-databases?tab=readme-ov-file#configuration-14
21
13
22
14
[source,properties]
23
15
----
@@ -35,21 +27,6 @@ You can run it by performing the following command:
35
27
docker-compose up -d
36
28
----
37
29
38
-
== Local installation
39
-
40
-
Follow the instructions in: https://redis.io/docs/latest/operate/oss_and_stack/install/install-redis/
41
-
42
-
== Using Docker
43
-
44
-
1. Install docker: https://www.docker.com/
45
-
2. https://hub.docker.com/_/redis
46
-
3. Run docker command
47
-
48
-
[source, bash]
49
-
----
50
-
docker run -d --name redis-instance -p 6379:6379 redis
51
-
----
52
-
53
30
== Run the code
54
31
55
32
The generation of the executable jar file can be performed by issuing the following command
https://redis.com/[Redis] is a software project that implements data structure servers.
10
10
It is open-source, networked, in-memory, and stores keys with optional durability.
11
11
12
-
The project is configured to reach out a Redis instance with the following configuration:
13
-
14
-
[source, text]
15
-
----
16
-
host: localhost
17
-
port: 6379
18
-
----
19
-
20
-
This Eclipse JNoSQL configuration is defined on the file `src/main/resources/META-INF/microprofile-config.properties`. More info about it, check the following link: https://github.com/eclipse/jnosql-databases?tab=readme-ov-file#configuration-14
12
+
This required configuration to connect to Redis Sentinel is on the file `src/main/resources/META-INF/microprofile-config.properties`. More info about it, check the following link: https://github.com/eclipse/jnosql-databases?tab=readme-ov-file#configuration-14
21
13
22
14
[source,properties]
23
15
----
@@ -35,21 +27,6 @@ You can run it by performing the following command:
35
27
docker-compose up -d
36
28
----
37
29
38
-
== Local installation
39
-
40
-
Follow the instructions in: https://redis.io/docs/latest/operate/oss_and_stack/install/install-redis/
41
-
42
-
== Using Docker
43
-
44
-
1. Install docker: https://www.docker.com/
45
-
2. https://hub.docker.com/_/redis
46
-
3. Run docker command
47
-
48
-
[source, bash]
49
-
----
50
-
docker run -d --name redis-instance -p 6379:6379 redis
51
-
----
52
-
53
30
== Run the code
54
31
55
32
The generation of the executable jar file can be performed by issuing the following command
@@ -76,9 +53,6 @@ unit and integration tests are run on pressing Enter in the command terminal; yo
76
53
mvn liberty:dev
77
54
----
78
55
79
-
80
-
81
-
82
56
To launch the test page, open your browser at the following URL
0 commit comments