diff options
author | William Reehil <william.reehil@att.com> | 2022-10-14 13:14:20 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-10-14 13:14:20 +0000 |
commit | 1101affcc1e3e0d99e66d6ff84f5573b3bc77b26 (patch) | |
tree | 4a9d9f968236b5734b197b8ff6835120ac9f4757 /aai-rest | |
parent | 67acb223c78e804bdd3a4f0b1d51ed4c87e070a1 (diff) | |
parent | d629b626036a1ef1bc37e2b9aa5b5d2fcad1be66 (diff) |
Merge "Remove the apache commons-lang dependency in aai-common"
Diffstat (limited to 'aai-rest')
-rw-r--r-- | aai-rest/pom.xml | 4 | ||||
-rw-r--r-- | aai-rest/src/main/java/org/onap/aai/restclient/PropertyPasswordConfiguration.java | 20 |
2 files changed, 14 insertions, 10 deletions
diff --git a/aai-rest/pom.xml b/aai-rest/pom.xml index 952bd720..26aef6c9 100644 --- a/aai-rest/pom.xml +++ b/aai-rest/pom.xml @@ -44,6 +44,10 @@ <dependencies> <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-lang3</artifactId> + </dependency> + <dependency> <groupId>com.att.eelf</groupId> <artifactId>eelf-core</artifactId> </dependency> diff --git a/aai-rest/src/main/java/org/onap/aai/restclient/PropertyPasswordConfiguration.java b/aai-rest/src/main/java/org/onap/aai/restclient/PropertyPasswordConfiguration.java index 29d9506f..47dd2f2d 100644 --- a/aai-rest/src/main/java/org/onap/aai/restclient/PropertyPasswordConfiguration.java +++ b/aai-rest/src/main/java/org/onap/aai/restclient/PropertyPasswordConfiguration.java @@ -19,16 +19,6 @@ */ package org.onap.aai.restclient; -import org.apache.commons.io.IOUtils; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.context.ApplicationContextInitializer; -import org.springframework.context.ConfigurableApplicationContext; -import org.springframework.core.env.ConfigurableEnvironment; -import org.springframework.core.env.EnumerablePropertySource; -import org.springframework.core.env.MapPropertySource; -import org.springframework.core.env.PropertySource; - import java.io.File; import java.io.FileInputStream; import java.io.IOException; @@ -39,6 +29,16 @@ import java.util.Properties; import java.util.regex.Matcher; import java.util.regex.Pattern; +import org.apache.commons.io.IOUtils; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.context.ApplicationContextInitializer; +import org.springframework.context.ConfigurableApplicationContext; +import org.springframework.core.env.ConfigurableEnvironment; +import org.springframework.core.env.EnumerablePropertySource; +import org.springframework.core.env.MapPropertySource; +import org.springframework.core.env.PropertySource; + public class PropertyPasswordConfiguration implements ApplicationContextInitializer<ConfigurableApplicationContext> { private static final Pattern decodePasswordPattern = Pattern.compile("password\\((.*?)\\)"); |