diff options
author | MukeshKumar <mukeshsharma@est.tech> | 2021-03-11 16:19:38 +0000 |
---|---|---|
committer | Mukesh <mukeshsharma@est.tech> | 2021-03-12 10:38:53 +0000 |
commit | 3e6cf1344e035c946a56974b994b73c0bc89a40d (patch) | |
tree | 329b544abc74a1c1e4ff07b5a72845afc9a44cc1 /so-admin-cockpit-monitoring-workflow | |
parent | 5da225ea20923e867d61d5959affe693b06ccaf2 (diff) |
Fixing exception on search in Cockpit
Change-Id: Ia927f776b217a3064599dc61696275dbf534ecc9
Issue-ID: SO-3576
Signed-off-by: Mukesh <mukeshsharma@est.tech>
Diffstat (limited to 'so-admin-cockpit-monitoring-workflow')
3 files changed, 36 insertions, 13 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..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!"); } } |