diff --git a/core/pom.xml b/core/pom.xml index 8f0d66fb4..3aa0f7158 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -50,7 +50,6 @@ 4.12 - 2.6.2 @@ -103,10 +102,6 @@ ch.qos.logback logback-classic - - ch.qos.logback - logback-core - org.jboss.resteasy @@ -127,6 +122,7 @@ org.jukito jukito + test com.google.inject @@ -152,10 +148,6 @@ com.fasterxml.jackson.core jackson-databind - - com.fasterxml.jackson.datatype - jackson-datatype-jdk8 - junit junit @@ -164,7 +156,10 @@ org.apache.httpcomponents httpclient - ${httpclient.version} + + + org.apache.httpcomponents + httpmime org.jsmart diff --git a/core/src/main/java/org/jsmart/zerocode/core/domain/builders/ExtentReportsFactory.java b/core/src/main/java/org/jsmart/zerocode/core/domain/builders/ExtentReportsFactory.java index 929e85092..434cf5590 100644 --- a/core/src/main/java/org/jsmart/zerocode/core/domain/builders/ExtentReportsFactory.java +++ b/core/src/main/java/org/jsmart/zerocode/core/domain/builders/ExtentReportsFactory.java @@ -1,7 +1,8 @@ package org.jsmart.zerocode.core.domain.builders; import com.aventstack.extentreports.ExtentReports; -import com.aventstack.extentreports.reporter.ExtentHtmlReporter; +import com.aventstack.extentreports.reporter.ExtentSparkReporter; + import java.util.HashMap; import java.util.Map; import java.util.Properties; @@ -14,14 +15,14 @@ public class ExtentReportsFactory { private static final org.slf4j.Logger LOGGER = getLogger(ExtentReportsFactory.class); - private static ExtentHtmlReporter extentHtmlReporter; + private static ExtentSparkReporter extentSparkReporter; private static ExtentReports extentReports; private static Map systemProperties = new HashMap<>(); public static ExtentReports createReportTheme(String reportFileName) { - ExtentHtmlReporter extentHtmlReporter = createExtentHtmlReporter(reportFileName); + ExtentSparkReporter extentHtmlReporter = createExtentHtmlReporter(reportFileName); extentReports = new ExtentReports(); @@ -52,14 +53,14 @@ public static void attachSystemInfo() { extentReports.setSystemInfo("Java Vendor : ", javaVendor); } - public static ExtentHtmlReporter createExtentHtmlReporter(String reportFileName) { - extentHtmlReporter = new ExtentHtmlReporter(reportFileName); + public static ExtentSparkReporter createExtentHtmlReporter(String reportFileName) { + extentSparkReporter = new ExtentSparkReporter(reportFileName); - extentHtmlReporter.config().setDocumentTitle(REPORT_TITLE_DEFAULT); - extentHtmlReporter.config().setReportName(REPORT_DISPLAY_NAME_DEFAULT); + extentSparkReporter.config().setDocumentTitle(REPORT_TITLE_DEFAULT); + extentSparkReporter.config().setReportName(REPORT_DISPLAY_NAME_DEFAULT); - return extentHtmlReporter; + return extentSparkReporter; } @@ -88,11 +89,11 @@ public static Map getSystemProperties() { } public static void reportName(String reportName) { - extentHtmlReporter.config().setReportName(reportName); + extentSparkReporter.config().setReportName(reportName); } public static String getReportName() { - return extentHtmlReporter.config().getReportName(); + return extentSparkReporter.config().getReportName(); } } diff --git a/kafka-testing/pom.xml b/kafka-testing/pom.xml index 3d34893d1..db278f9fe 100644 --- a/kafka-testing/pom.xml +++ b/kafka-testing/pom.xml @@ -31,10 +31,6 @@ com.google.protobuf protobuf-java - - com.google.protobuf - protobuf-java-util - org.apache.kafka kafka-clients @@ -44,11 +40,6 @@ kafka-avro-serializer 5.1.0 - - com.github.os72 - protoc-jar - 3.11.4 - diff --git a/pom.xml b/pom.xml index ad246b382..ec48bdc66 100644 --- a/pom.xml +++ b/pom.xml @@ -68,7 +68,7 @@ 23.0 1.5.0 1.0 - 1.4.1 + 1.5 4.0 2.6 2.2.0 @@ -77,13 +77,14 @@ 2.19.0 1.7 2.9.8 - 2.4 + 2.15.0 1.1.10 4.5 + 4.5.12 1.4.191 - 4.0.9 + 5.0.9 3.3.1 - 2.6.2 + 2.10.1 2.8.2 @@ -100,7 +101,7 @@ false - 3.13.0 + 3.24.4 1.1.8.4 @@ -176,11 +177,6 @@ logback-classic ${logback.version} - - ch.qos.logback - logback-core - ${logback.version} - org.jboss.resteasy @@ -253,6 +249,11 @@ httpclient ${httpclient.version} + + org.apache.httpcomponents + httpmime + ${httpmime.version} + org.jsmart micro-simulator