diff options
author | Benjamin, Max <max.benjamin@att.com> | 2020-01-06 11:53:58 -0500 |
---|---|---|
committer | Benjamin, Max (mb388a) <mb388a@att.com> | 2020-01-07 20:28:47 -0500 |
commit | 175318ab0194dfe1f75979d1d56d8e8c750a32c5 (patch) | |
tree | 1fcac9540784e0559b20dc1087b4d26e6afdc967 /so-monitoring/so-monitoring-service | |
parent | 8e308b27a0e2e5d728599aee289ed8098f8923fa (diff) |
consolidated security configuration
consolidated security configuration into common package
Issue-ID: SO-2584
Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com>
Change-Id: I1e78259ffbf88e792f1f7a5a10cd1fdad8eaea36
Diffstat (limited to 'so-monitoring/so-monitoring-service')
-rw-r--r-- | so-monitoring/so-monitoring-service/pom.xml | 5 | ||||
-rw-r--r-- | so-monitoring/so-monitoring-service/src/main/java/org/onap/so/monitoring/rest/api/SoMonitoringApplication.java | 3 |
2 files changed, 2 insertions, 6 deletions
diff --git a/so-monitoring/so-monitoring-service/pom.xml b/so-monitoring/so-monitoring-service/pom.xml index ff70a77239..762e3a5ee6 100644 --- a/so-monitoring/so-monitoring-service/pom.xml +++ b/so-monitoring/so-monitoring-service/pom.xml @@ -37,15 +37,10 @@ <exclusions> <exclusion> <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-security</artifactId> - </exclusion> - <exclusion> - <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </exclusion> </exclusions> </dependency> - <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> diff --git a/so-monitoring/so-monitoring-service/src/main/java/org/onap/so/monitoring/rest/api/SoMonitoringApplication.java b/so-monitoring/so-monitoring-service/src/main/java/org/onap/so/monitoring/rest/api/SoMonitoringApplication.java index 7c5a8965b7..aff4fecfdc 100644 --- a/so-monitoring/so-monitoring-service/src/main/java/org/onap/so/monitoring/rest/api/SoMonitoringApplication.java +++ b/so-monitoring/so-monitoring-service/src/main/java/org/onap/so/monitoring/rest/api/SoMonitoringApplication.java @@ -22,11 +22,12 @@ package org.onap.so.monitoring.rest.api; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration; /** * @author waqas.ikram@ericsson.com */ -@SpringBootApplication(scanBasePackages = {"org.onap"}) +@SpringBootApplication(scanBasePackages = {"org.onap"}, exclude = SecurityAutoConfiguration.class) public class SoMonitoringApplication { public static void main(String[] args) { |