From ac0ecd6ea1ddef6eb83b8924dc3a72333dd51ca4 Mon Sep 17 00:00:00 2001 From: "waqas.ikram" Date: Mon, 15 Mar 2021 13:00:48 +0000 Subject: Maven dependency cleanup Change-Id: Ia3fd0b7175f4a39f97054a44bbb2240c294f06b4 Issue-ID: SO-3576 Signed-off-by: waqas.ikram --- .../pom.xml | 10 ---------- .../pom.xml | 23 +++++++++++----------- .../rest/api/SoMonitoringApplication.java | 5 ++++- 3 files changed, 15 insertions(+), 23 deletions(-) diff --git a/so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-handler/pom.xml b/so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-handler/pom.xml index 57cd9e9..a082975 100644 --- a/so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-handler/pom.xml +++ b/so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-handler/pom.xml @@ -14,16 +14,6 @@ com.google.guava guava - - org.springframework.boot - spring-boot-starter-data-jpa - - - org.apache.tomcat - tomcat-jdbc - - - org.slf4j slf4j-ext diff --git a/so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-service/pom.xml b/so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-service/pom.xml index d667a48..a43d0c9 100644 --- a/so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-service/pom.xml +++ b/so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-service/pom.xml @@ -1,5 +1,5 @@ + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 org.onap.so.so-admin-cockpit.monitoring.workflow @@ -14,12 +14,6 @@ org.onap.so.so-admin-cockpit.monitoring.workflow so-admin-cockpit-monitoring-workflow-handler ${project.version} - - - org.springframework.boot - spring-boot-starter-data-jpa - - org.springframework.boot @@ -33,6 +27,16 @@ org.springframework.boot spring-boot-starter-jersey + + + org.glassfish.jersey.ext + jersey-bean-validation + + + + + org.springframework.boot + spring-boot-starter-validation org.springframework.boot @@ -46,7 +50,6 @@ org.springframework.boot spring-boot-maven-plugin - ${springboot.version} org.onap.so.monitoring.rest.api.SoMonitoringApplication @@ -58,10 +61,6 @@ - - org.springframework.boot - spring-boot-maven-plugin - maven-resources-plugin 3.0.2 diff --git a/so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-service/src/main/java/org/onap/so/monitoring/rest/api/SoMonitoringApplication.java b/so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-service/src/main/java/org/onap/so/monitoring/rest/api/SoMonitoringApplication.java index aff4fec..59938b6 100644 --- a/so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-service/src/main/java/org/onap/so/monitoring/rest/api/SoMonitoringApplication.java +++ b/so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-service/src/main/java/org/onap/so/monitoring/rest/api/SoMonitoringApplication.java @@ -20,6 +20,8 @@ package org.onap.so.monitoring.rest.api; +import static org.slf4j.LoggerFactory.getLogger; +import org.slf4j.Logger; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration; @@ -29,10 +31,11 @@ import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfi */ @SpringBootApplication(scanBasePackages = {"org.onap"}, exclude = SecurityAutoConfiguration.class) public class SoMonitoringApplication { + private static final Logger logger = getLogger(SoMonitoringApplication.class); public static void main(String[] args) { SpringApplication.run(SoMonitoringApplication.class, args); - + logger.info("SO Admin Cockpit Application started successfully!!"); } } -- cgit 1.2.3-korg