Add repository for vertica db.
This commit is contained in:
parent
6221eb5e18
commit
64f10ce202
8
pom.xml
8
pom.xml
|
@ -8,6 +8,12 @@
|
|||
<artifactId>mon-persister</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>nexus 3rd party</id>
|
||||
<url>http://nexus.paas.hpcloud.net:8081/nexus/content/repositories/thirdparty</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
@ -45,7 +51,7 @@
|
|||
<version>3.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-all</artifactId>
|
||||
<version>1.9.5</version>
|
||||
</dependency>
|
||||
|
|
|
@ -2,6 +2,7 @@ package com.hpcloud;
|
|||
|
||||
import com.hpcloud.consumer.KafkaConsumer;
|
||||
import com.hpcloud.consumer.MonConsumer;
|
||||
import com.lmax.disruptor.dsl.Disruptor;
|
||||
import org.junit.After;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
@ -14,6 +15,9 @@ public class MonConsumerTest {
|
|||
@Mock
|
||||
private KafkaConsumer kafkaConsumer;
|
||||
|
||||
@Mock
|
||||
private Disruptor disruptor;
|
||||
|
||||
@InjectMocks
|
||||
private MonConsumer monConsumer;
|
||||
|
||||
|
|
Loading…
Reference in New Issue