diff options
author | Leigh, Phillip (pl876u) <phillip.leigh@amdocs.com> | 2018-11-21 16:43:06 -0500 |
---|---|---|
committer | Leigh, Phillip (pl876u) <phillip.leigh@amdocs.com> | 2018-11-22 11:47:03 -0500 |
commit | a74c306af14723da1f8a24bea5e3a8016dc449e0 (patch) | |
tree | 068e19c69e97e3e36e8266c25b742a4a3ad86a63 /src/test/java/org | |
parent | 7de0e85a95552130aaa7cea07487543b2700e9bf (diff) |
[PIE-991]Create Audit Topics in CtxAggr
Issue-ID: LOG-811
Change-Id: I763cfb90b399514c5930539a1b71e762cb43bc6d
Signed-off-by: Leigh, Phillip (pl876u) <phillip.leigh@amdocs.com>
Diffstat (limited to 'src/test/java/org')
-rw-r--r-- | src/test/java/org/onap/pomba/contextaggregator/config/TransportConfigTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/java/org/onap/pomba/contextaggregator/config/TransportConfigTest.java b/src/test/java/org/onap/pomba/contextaggregator/config/TransportConfigTest.java index af47ff6..fdb2709 100644 --- a/src/test/java/org/onap/pomba/contextaggregator/config/TransportConfigTest.java +++ b/src/test/java/org/onap/pomba/contextaggregator/config/TransportConfigTest.java @@ -25,11 +25,17 @@ import org.junit.runner.RunWith; import org.onap.pomba.contextaggregator.publisher.EventPublisherFactory; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; +import org.springframework.test.context.TestPropertySource; +import org.springframework.boot.autoconfigure.EnableAutoConfiguration; +import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; +import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration; import java.util.Properties; @RunWith(SpringJUnit4ClassRunner.class) +@EnableAutoConfiguration(exclude = { DataSourceAutoConfiguration.class, HibernateJpaAutoConfiguration.class }) @SpringBootTest +@TestPropertySource(properties = { "transport.consume.host=http://localhost", "transport.consume.port=8080" }) public class TransportConfigTest { TransportConfig transportConfig = new TransportConfig(); |