com.github.microwww:mocker-redis-spring-boot-autoconfigure

This is a redis server mock for spring-boot

License

License

Categories

Categories

Spring Boot Container Microservices Redis Data Databases Auto Application Layer Libs Code Generators config Configuration
GroupId

GroupId

com.github.microwww
ArtifactId

ArtifactId

mocker-redis-spring-boot-autoconfigure
Last Version

Last Version

3.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

This is a redis server mock for spring-boot

Download mocker-redis-spring-boot-autoconfigure

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.microwww/mocker-redis-spring-boot-autoconfigure/ -->
<dependency>
    <groupId>com.github.microwww</groupId>
    <artifactId>mocker-redis-spring-boot-autoconfigure</artifactId>
    <version>3.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.microwww/mocker-redis-spring-boot-autoconfigure/
implementation 'com.github.microwww:mocker-redis-spring-boot-autoconfigure:3.0.0'
// https://jarcasting.com/artifacts/com.github.microwww/mocker-redis-spring-boot-autoconfigure/
implementation ("com.github.microwww:mocker-redis-spring-boot-autoconfigure:3.0.0")
'com.github.microwww:mocker-redis-spring-boot-autoconfigure:jar:3.0.0'
<dependency org="com.github.microwww" name="mocker-redis-spring-boot-autoconfigure" rev="3.0.0">
  <artifact name="mocker-redis-spring-boot-autoconfigure" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.microwww', module='mocker-redis-spring-boot-autoconfigure', version='3.0.0')
)
libraryDependencies += "com.github.microwww" % "mocker-redis-spring-boot-autoconfigure" % "3.0.0"
[com.github.microwww/mocker-redis-spring-boot-autoconfigure "3.0.0"]

Dependencies

compile (4)

Group / Artifact Type Version
org.springframework.boot : spring-boot jar
org.springframework.boot : spring-boot-autoconfigure jar
org.springframework.boot : spring-boot-starter-data-redis jar 1.5.0.RELEASE
com.github.microwww : redis-server jar 0.0.2-2.8

Project Modules

There are no modules declared in this project.

spring-boot-mocker-redis

This is a spring-boot-starter. if you dependency a redis-server, Use it, you can run test case, But do not need a real redis-server. Run it for your test, ONLY !

spring-boot-mocker-redis

Using it, you can add the maven dependency :

<dependency>
	<groupId>com.github.microwww</groupId>
	<artifactId>mocker-redis-spring-boot-starter</artifactId>
	<version>0.0.1</version>
</dependency>

You can set mocker.jedis.enable=false to disable it, like any spring-boot project config.

The embedded redis server will listener spring.redis.port port, and host is 0.0.0.0, so you must set spring.redis.host to match this host.

project dependency jedis-mocker

mocker redis code in github

<dependency>
	<groupId>com.github.fppt</groupId>
	<artifactId>jedis-mock</artifactId>
	<version>0.1.16</version>
</dependency>

2.0.0 + with java redis server: jedis-mock

<dependency>
	<groupId>com.github.microwww</groupId>
	<artifactId>redis-server</artifactId>
	<version>${jedis-mock.version}</version>
</dependency>

Versions

Version
3.0.0
2.0.2-2.8
0.0.1