summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMukeshKumar <mukeshsharma@est.tech>2021-03-11 16:19:38 +0000
committerMukesh <mukeshsharma@est.tech>2021-03-12 10:38:53 +0000
commit3e6cf1344e035c946a56974b994b73c0bc89a40d (patch)
tree329b544abc74a1c1e4ff07b5a72845afc9a44cc1
parent5da225ea20923e867d61d5959affe693b06ccaf2 (diff)
Fixing exception on search in Cockpit
Change-Id: Ia927f776b217a3064599dc61696275dbf534ecc9 Issue-ID: SO-3576 Signed-off-by: Mukesh <mukeshsharma@est.tech>
-rw-r--r--pom.xml3
-rw-r--r--so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-handler/pom.xml12
-rw-r--r--so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-service/pom.xml32
-rw-r--r--so-admin-cockpit-monitoring-workflow/so-admin-cockpit-monitoring-workflow-service/src/main/java/org/onap/so/monitoring/rest/api/SoMonitoringApplication.java5
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 @@
<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!");
}
}