Search in sources :

Example 1 with PollDataDAO

use of com.netflix.conductor.dao.PollDataDAO in project conductor by Netflix.

the class ExecutionDAOFacadeTest method setUp.

@Before
public void setUp() {
    executionDAO = mock(ExecutionDAO.class);
    queueDAO = mock(QueueDAO.class);
    indexDAO = mock(IndexDAO.class);
    rateLimitingDao = mock(RateLimitingDAO.class);
    pollDataDAO = mock(PollDataDAO.class);
    objectMapper = new JsonMapperProvider().get();
    Configuration configuration = new TestConfiguration();
    executionDAOFacade = new ExecutionDAOFacade(executionDAO, queueDAO, indexDAO, rateLimitingDao, pollDataDAO, objectMapper, configuration);
}
Also used : QueueDAO(com.netflix.conductor.dao.QueueDAO) PollDataDAO(com.netflix.conductor.dao.PollDataDAO) ExecutionDAO(com.netflix.conductor.dao.ExecutionDAO) TestConfiguration(com.netflix.conductor.core.execution.TestConfiguration) Configuration(com.netflix.conductor.core.config.Configuration) TestConfiguration(com.netflix.conductor.core.execution.TestConfiguration) RateLimitingDAO(com.netflix.conductor.dao.RateLimitingDAO) IndexDAO(com.netflix.conductor.dao.IndexDAO) JsonMapperProvider(com.netflix.conductor.common.utils.JsonMapperProvider) Before(org.junit.Before)

Aggregations

JsonMapperProvider (com.netflix.conductor.common.utils.JsonMapperProvider)1 Configuration (com.netflix.conductor.core.config.Configuration)1 TestConfiguration (com.netflix.conductor.core.execution.TestConfiguration)1 ExecutionDAO (com.netflix.conductor.dao.ExecutionDAO)1 IndexDAO (com.netflix.conductor.dao.IndexDAO)1 PollDataDAO (com.netflix.conductor.dao.PollDataDAO)1 QueueDAO (com.netflix.conductor.dao.QueueDAO)1 RateLimitingDAO (com.netflix.conductor.dao.RateLimitingDAO)1 Before (org.junit.Before)1