Search in sources :

Example 1 with DynoProxy

use of com.netflix.conductor.dyno.DynoProxy in project conductor by Netflix.

the class RedisMetadataDAOTest method init.

@Before
public void init() {
    Configuration config = new TestConfiguration();
    JedisCommands jedisMock = new JedisMock();
    DynoProxy dynoClient = new DynoProxy(jedisMock);
    redisMetadataDAO = new RedisMetadataDAO(dynoClient, objectMapper, config);
}
Also used : JedisCommands(redis.clients.jedis.commands.JedisCommands) Configuration(com.netflix.conductor.core.config.Configuration) TestConfiguration(com.netflix.conductor.config.TestConfiguration) DynoProxy(com.netflix.conductor.dyno.DynoProxy) TestConfiguration(com.netflix.conductor.config.TestConfiguration) JedisMock(com.netflix.conductor.dao.redis.JedisMock) Before(org.junit.Before)

Example 2 with DynoProxy

use of com.netflix.conductor.dyno.DynoProxy in project conductor by Netflix.

the class RedisPollDataDAOTest method init.

@Before
public void init() {
    Configuration config = new TestConfiguration();
    JedisCommands jedisMock = new JedisMock();
    DynoProxy dynoClient = new DynoProxy(jedisMock);
    pollDataDAO = new RedisPollDataDAO(dynoClient, objectMapper, config);
}
Also used : JedisCommands(redis.clients.jedis.commands.JedisCommands) Configuration(com.netflix.conductor.core.config.Configuration) TestConfiguration(com.netflix.conductor.config.TestConfiguration) DynoProxy(com.netflix.conductor.dyno.DynoProxy) TestConfiguration(com.netflix.conductor.config.TestConfiguration) JedisMock(com.netflix.conductor.dao.redis.JedisMock) Before(org.junit.Before)

Example 3 with DynoProxy

use of com.netflix.conductor.dyno.DynoProxy in project conductor by Netflix.

the class RedisRateLimitDaoTest method init.

@Before
public void init() {
    Configuration config = new TestConfiguration();
    JedisCommands jedisMock = new JedisMock();
    DynoProxy dynoClient = new DynoProxy(jedisMock);
    rateLimitingDao = new RedisRateLimitingDAO(dynoClient, objectMapper, config);
}
Also used : JedisCommands(redis.clients.jedis.commands.JedisCommands) Configuration(com.netflix.conductor.core.config.Configuration) TestConfiguration(com.netflix.conductor.config.TestConfiguration) DynoProxy(com.netflix.conductor.dyno.DynoProxy) TestConfiguration(com.netflix.conductor.config.TestConfiguration) JedisMock(com.netflix.conductor.dao.redis.JedisMock) Before(org.junit.Before)

Example 4 with DynoProxy

use of com.netflix.conductor.dyno.DynoProxy in project conductor by Netflix.

the class RedisEventHandlerDAOTest method init.

@Before
public void init() {
    Configuration config = new TestConfiguration();
    JedisCommands jedisMock = new JedisMock();
    DynoProxy dynoClient = new DynoProxy(jedisMock);
    redisEventHandlerDAO = new RedisEventHandlerDAO(dynoClient, objectMapper, config);
}
Also used : JedisCommands(redis.clients.jedis.commands.JedisCommands) Configuration(com.netflix.conductor.core.config.Configuration) TestConfiguration(com.netflix.conductor.config.TestConfiguration) DynoProxy(com.netflix.conductor.dyno.DynoProxy) TestConfiguration(com.netflix.conductor.config.TestConfiguration) JedisMock(com.netflix.conductor.dao.redis.JedisMock) Before(org.junit.Before)

Example 5 with DynoProxy

use of com.netflix.conductor.dyno.DynoProxy in project conductor by Netflix.

the class RedisExecutionDAOTest method init.

@Before
public void init() {
    Configuration config = new TestConfiguration();
    JedisCommands jedisMock = new JedisMock();
    DynoProxy dynoClient = new DynoProxy(jedisMock);
    executionDAO = new RedisExecutionDAO(dynoClient, objectMapper, config);
}
Also used : JedisCommands(redis.clients.jedis.commands.JedisCommands) Configuration(com.netflix.conductor.core.config.Configuration) TestConfiguration(com.netflix.conductor.config.TestConfiguration) DynoProxy(com.netflix.conductor.dyno.DynoProxy) TestConfiguration(com.netflix.conductor.config.TestConfiguration) JedisMock(com.netflix.conductor.dao.redis.JedisMock) Before(org.junit.Before)

Aggregations

TestConfiguration (com.netflix.conductor.config.TestConfiguration)5 Configuration (com.netflix.conductor.core.config.Configuration)5 JedisMock (com.netflix.conductor.dao.redis.JedisMock)5 DynoProxy (com.netflix.conductor.dyno.DynoProxy)5 Before (org.junit.Before)5 JedisCommands (redis.clients.jedis.commands.JedisCommands)5