mysql-connector-java to mariadb-java-client change

plus changes in services and controllers

Issue-ID: PORTAL-710
Change-Id: I8f2a44e889ea39971693f8845efbb9cdff05e932
Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
diff --git a/portal-BE/pom.xml b/portal-BE/pom.xml
index 8251dbf..13477b6 100644
--- a/portal-BE/pom.xml
+++ b/portal-BE/pom.xml
@@ -62,11 +62,11 @@
                   <artifactId>h2</artifactId>
                   <scope>runtime</scope>
             </dependency>
-            <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
+            <!-- https://mvnrepository.com/artifact/org.mariadb.jdbc/mariadb-java-client -->
             <dependency>
-                  <groupId>mysql</groupId>
-                  <artifactId>mysql-connector-java</artifactId>
-                  <version>8.0.17</version>
+                  <groupId>org.mariadb.jdbc</groupId>
+                  <artifactId>mariadb-java-client</artifactId>
+                  <version>2.5.0</version>
             </dependency>
             <!-- https://mvnrepository.com/artifact/org.glassfish/javax.el -->
             <dependency>
@@ -185,6 +185,12 @@
                   <artifactId>swagger-annotations</artifactId>
                   <version>1.5.20</version>
             </dependency>
+            <dependency>
+                  <groupId>org.apache.cxf</groupId>
+                  <artifactId>cxf-rt-rs-client</artifactId>
+                  <version>3.3.2</version>
+                  <scope>compile</scope>
+            </dependency>
       </dependencies>
       <properties>
             <docker.image.prefix>portal</docker.image.prefix>