Add a topic protocol configuration setting 19/78319/2
authormark.j.leonard <mark.j.leonard@gmail.com>
Tue, 12 Feb 2019 16:49:30 +0000 (16:49 +0000)
committermark.j.leonard <mark.j.leonard@gmail.com>
Wed, 13 Feb 2019 15:47:22 +0000 (15:47 +0000)
commit563772ec9a100e9eb46fff1b5087985dbe07d04a
tree0368036088a9c46f54f3f2ed566f1c665edee084
parente4fab0c8c5928a876c46a6ae91d36ee2a0d41278
Add a topic protocol configuration setting

Use the latest version of the event-client for DMaaP.

Read an (optional) protocol value from each topic configuration
properties file, and pass this to the Consumer and/or Publisher.
Use the default protocol if the configuration is not supplied.

Change-Id: I3d6264e1f32c1fbba097eafbe7fe7fbd744f1373
Issue-ID: AAI-2150
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
pom.xml
src/main/java/org/onap/aai/validation/config/TopicConfig.java
src/main/java/org/onap/aai/validation/factory/DMaaPEventConsumerFactory.java [new file with mode: 0644]
src/main/java/org/onap/aai/validation/factory/DMaaPEventPublisherFactory.java
src/main/java/org/onap/aai/validation/publisher/ValidationEventPublisher.java
src/main/java/org/onap/aai/validation/services/EventPollingService.java
src/test/java/org/onap/aai/validation/publisher/TestValidationEventPublisher.java