diff options
author | Byung-Woo Jun <byung-woo.jun@est.tech> | 2021-03-13 02:25:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-03-13 02:25:45 +0000 |
commit | 0d33c85ed8ed1cbe5c5e92cd2165f6a16bd9d97e (patch) | |
tree | 599f380bfc84ba84ebf9ac7cf0e2a925fc12fa6f | |
parent | 60bf60f4444317ab3061a8fed128a7e712d51435 (diff) | |
parent | 3e6cf1344e035c946a56974b994b73c0bc89a40d (diff) |
Merge "Fixing exception on search in Cockpit"1.8.2
4 files changed, 38 insertions, 14 deletions
@@ -19,6 +19,7 @@ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <equals.verifier.version>3.4.1</equals.verifier.version> <so-core-version>1.8.0-SNAPSHOT</so-core-version> + <jersey-hk2-version>2.26</jersey-hk2-version> </properties> <build> @@ -93,4 +94,4 @@ <module>so-admin-cockpit-monitoring-workflow</module> <module>packages</module> </modules> -</project>
\ No newline at end of file +</project> 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 @@ -15,16 +15,6 @@ <artifactId>guava</artifactId> </dependency> <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-data-jpa</artifactId> - <exclusions> - <exclusion> - <groupId>org.apache.tomcat</groupId> - <artifactId>tomcat-jdbc</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-ext</artifactId> </dependency> @@ -62,4 +52,4 @@ <version>${so-core-version}</version> </dependency> </dependencies> -</project>
\ No newline at end of file +</project> 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 @@ -36,6 +36,36 @@ </dependency> <dependency> <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-validation</artifactId> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>javax.servlet-api</artifactId> + </dependency> + <dependency> + <groupId>org.glassfish.jersey.core</groupId> + <artifactId>jersey-common</artifactId> + </dependency> + <dependency> + <groupId>org.glassfish.jersey.core</groupId> + <artifactId>jersey-client</artifactId> + </dependency> + <dependency> + <groupId>org.glassfish.jersey.inject</groupId> + <artifactId>jersey-hk2</artifactId> + <version>${jersey-hk2-version}</version> + </dependency> + <dependency> + <groupId>org.glassfish.jersey.media</groupId> + <artifactId>jersey-media-json-jackson</artifactId> + </dependency> + <dependency> + <groupId>org.onap.so</groupId> + <artifactId>common</artifactId> + <version>${so-core-version}</version> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-configuration-processor</artifactId> <scope>compile</scope> </dependency> @@ -103,4 +133,4 @@ </resource> </resources> </build> -</project>
\ No newline at end of file +</project> 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!"); } } |