Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

hibernate/hibernate-ogm-redis

Repository files navigation

Hibernate OGM Redis

Version: 5.2.0.Alpha1 - 08-09-2017

Archived

Hibernate OGM has not been kept up to date with the latest Hibernate ORM versions and is not maintained anymore. If community members have interest in maintaining it, please contact us.

Description

This project integrates Hibernate OGM with Redis.

For running the tests in the redis module an installed Redis server is required. Specify its host name by setting the environment variable REDIS_HOSTNAME prior to running the test suite:

export REDIS_HOSTNAME=redis-machine

If this variable is not set, the redis module still will be compiled and packaged but the tests will be skipped. If needed, the port to connect to can be configured through the environment variable REDIS_PORT.

Tests with the redis module can be started using a Makefile. The Makefile takes care of downloading and compiling a recent Redis version, starts a single Redis Standalone and four Redis Cluster nodes and can start the tests.

 make test # Make me happy and run tests against Redis Standalone and Redis Cluster
 make test-standalone
 make test-cluster

Commands to spin up/shut down the Redis instances:

make start
make stop

License

This software and its documentation are distributed under the terms of the FSF Lesser Gnu Public License (see license.txt).