diff options
author | wasala <przemyslaw.wasala@nokia.com> | 2018-04-17 12:25:54 +0200 |
---|---|---|
committer | wasala <przemyslaw.wasala@nokia.com> | 2018-04-17 12:25:54 +0200 |
commit | b196f93758edabf10174da160e8b74e7eec8ef72 (patch) | |
tree | f1b7dba8b49d4ea15f07eeb577545ace76a4e7fb /prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/MainApp.java | |
parent | 58a67d37441b8af808b792418e07448e30556bbd (diff) |
Fixed the rest of the Security Issues
*Introduce Gson Against Jackson library
*Delete posix library with strong copyleft licenses
Change-Id: I37ec6a359912481d1546293a8a8aeeedd6c907e2
Issue-ID: DCAEGEN2-426
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
Diffstat (limited to 'prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/MainApp.java')
-rw-r--r-- | prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/MainApp.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/MainApp.java b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/MainApp.java index 2671669a..fd864483 100644 --- a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/MainApp.java +++ b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/MainApp.java @@ -20,7 +20,9 @@ package org.onap.dcaegen2.services.prh; import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; @@ -35,6 +37,7 @@ import org.springframework.scheduling.concurrent.ConcurrentTaskScheduler; @Configuration @ComponentScan @EnableScheduling +@EnableAutoConfiguration(exclude = {JacksonAutoConfiguration.class}) public class MainApp { public static void main(String[] args) { |