diff options
author | xg353y <xg353y@intl.att.com> | 2017-11-03 10:30:12 +0100 |
---|---|---|
committer | xg353y <xg353y@intl.att.com> | 2017-11-03 11:12:10 +0100 |
commit | be0c6335f150d36bf50518e42dc2a03eae69dfb3 (patch) | |
tree | 848732274bdb9a2f9f5282e7f15c6369a52bfdfb /src/main | |
parent | 46e7f8e7eebaeeab27b5024b13ea28a9fbf88543 (diff) |
Rework the Spring starting order
Change-Id: I30c930b0abc724a8da57657dfede940efa69aae0
Issue-ID: CLAMP-62
Signed-off-by: xg353y <xg353y@intl.att.com>
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/onap/clamp/clds/config/EncodedPasswordBasicDataSource.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/onap/clamp/clds/config/EncodedPasswordBasicDataSource.java b/src/main/java/org/onap/clamp/clds/config/EncodedPasswordBasicDataSource.java index e2a47254..3862a5ac 100644 --- a/src/main/java/org/onap/clamp/clds/config/EncodedPasswordBasicDataSource.java +++ b/src/main/java/org/onap/clamp/clds/config/EncodedPasswordBasicDataSource.java @@ -31,6 +31,7 @@ import java.security.GeneralSecurityException; import org.apache.commons.dbcp.BasicDataSource; import org.onap.clamp.clds.util.CryptoUtils; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.annotation.DependsOn; import org.springframework.stereotype.Component; /** @@ -39,6 +40,7 @@ import org.springframework.stereotype.Component; * */ @Component("EncodedPasswordBasicDataSource") +@DependsOn(value = { "CryptoUtils" }) public class EncodedPasswordBasicDataSource extends BasicDataSource { protected static final EELFLogger logger = EELFManager.getInstance() .getLogger(EncodedPasswordBasicDataSource.class); |