[DCAE/PM-Mapper] Utilize DMaaP-Client in PM-Mapper

 - Bump mockserver libraries
 - Use dmaap-client for sending events to dmapp-mr
 - Extract Retry/Timeout configs to separate class
 - Extract logging utils to separate class

Issue-ID: DCAEGEN2-2732
Change-Id: I5d406e99fe1def078f102ff704df5312f5ae996b
Signed-off-by: tkogut <tomasz.kogut@nokia.com>
diff --git a/pom.xml b/pom.xml
index e978515..3b82491 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,19 +48,22 @@
         <logback.version>1.2.3</logback.version>
         <reactor.version>3.4.0</reactor.version>
         <undertow.version>2.2.3.Final</undertow.version>
-        <gson.version>2.8.5</gson.version>
+        <gson.version>2.8.6</gson.version>
         <freemarker.version>2.3.28</freemarker.version>
         <commons.io.version>2.8.0</commons.io.version>
         <xml.version>2.3.1</xml.version>
         <jaxb.version>2.3.0.1</jaxb.version>
+        <dmaap-clinet.version>1.8.2</dmaap-clinet.version>
         <!-- Testing Test Dependencies -->
         <junit.version>5.3.2</junit.version>
         <mockito.version>2.23.4</mockito.version>
         <mockito-ju5-ext.version>2.23.4</mockito-ju5-ext.version>
         <powermock.version>2.0.7</powermock.version>
-        <mockserver.version>3.10.8</mockserver.version>
+        <mockserver.version>5.11.2</mockserver.version>
         <junit4.version>4.12</junit4.version>
-        <jsonschema.version>1.3.0</jsonschema.version>
+        <jsonschema.version>1.5.1</jsonschema.version>
+        <json.version>20210307</json.version>
+        <jackson.version>2.12.2</jackson.version>
         <xerces.version>2.11.0</xerces.version>
         <reactor.test>3.4.0</reactor.test>
         <!-- Plugin Versions -->
@@ -120,6 +123,11 @@
             <version>${jaxb.version}</version>
         </dependency>
         <dependency>
+            <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
+            <artifactId>dmaap-client</artifactId>
+            <version>${dmaap-clinet.version}</version>
+        </dependency>
+        <dependency>
             <groupId>com.sun.xml.bind</groupId>
             <artifactId>jaxb-impl</artifactId>
             <version>${xml.version}</version>
@@ -210,6 +218,18 @@
             <scope>test</scope>
         </dependency>
         <dependency>
+            <groupId>org.json</groupId>
+            <artifactId>json</artifactId>
+            <version>${json.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>com.fasterxml.jackson.core</groupId>
+            <artifactId>jackson-core</artifactId>
+            <version>${jackson.version}</version>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
             <groupId>org.junit.jupiter</groupId>
             <artifactId>junit-jupiter-params</artifactId>
             <version>${junit.version}</version>