From 3e6cf1344e035c946a56974b994b73c0bc89a40d Mon Sep 17 00:00:00 2001 From: MukeshKumar Date: Thu, 11 Mar 2021 16:19:38 +0000 Subject: Fixing exception on search in Cockpit Change-Id: Ia927f776b217a3064599dc61696275dbf534ecc9 Issue-ID: SO-3576 Signed-off-by: Mukesh --- pom.xml | 3 +- .../pom.xml | 12 +------- .../pom.xml | 32 +++++++++++++++++++++- .../rest/api/SoMonitoringApplication.java | 5 +++- 4 files changed, 38 insertions(+), 14 deletions(-) diff --git a/pom.xml b/pom.xml index 49e50fa..37d316e 100644 --- a/pom.xml +++ b/pom.xml @@ -19,6 +19,7 @@ UTF-8 3.4.1 1.8.0-SNAPSHOT + 2.26 @@ -93,4 +94,4 @@ so-admin-cockpit-monitoring-workflow packages - \ No newline at end of file + 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..67f6ac1 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 @@ -62,4 +52,4 @@ ${so-core-version} - \ No newline at end of file + 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..27ef8a9 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 @@ -34,6 +34,36 @@ org.springframework.boot spring-boot-starter-jersey + + org.springframework.boot + spring-boot-starter-validation + + + javax.servlet + javax.servlet-api + + + org.glassfish.jersey.core + jersey-common + + + org.glassfish.jersey.core + jersey-client + + + org.glassfish.jersey.inject + jersey-hk2 + ${jersey-hk2-version} + + + org.glassfish.jersey.media + jersey-media-json-jackson + + + org.onap.so + common + ${so-core-version} + org.springframework.boot spring-boot-configuration-processor @@ -103,4 +133,4 @@ - \ No newline at end of file + 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..369c21a 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