diff options
author | 2018-03-21 17:34:27 -0400 | |
---|---|---|
committer | 2018-03-21 17:34:27 -0400 | |
commit | ef9d1e2475a2184ff1b245648e1f0f93ae341c6b (patch) | |
tree | d529e602bf9ea8f3e1cd5b25d80d2583553944c6 /sql-resource | |
parent | d5dd60030741c5e93f24c13d700bc01cc37367db (diff) |
Add default SqlResource constructor
Add default constructor for SqlResource class.
Change-Id: Id23dc1c391fac66fae7c2bb2b6170f049efe5940
Issue-ID: CCSDK-220
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Diffstat (limited to 'sql-resource')
-rwxr-xr-x | sql-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/resource/sql/SqlResource.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sql-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/resource/sql/SqlResource.java b/sql-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/resource/sql/SqlResource.java index 869b8980a..dc6f76639 100755 --- a/sql-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/resource/sql/SqlResource.java +++ b/sql-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/resource/sql/SqlResource.java @@ -55,10 +55,14 @@ public class SqlResource implements SvcLogicResource, SvcLogicJavaPlugin { private static final String DBLIB_SERVICE = "org.onap.ccsdk.sli.core.dblib.DbLibService"; - private static String CRYPT_KEY = ""; + private static String CRYPT_KEY = "QtfJMKggVk"; DbLibService dblibSvc = null; + public SqlResource() { + this(new SqlResourcePropertiesProviderImpl(), null); + } + public SqlResource(SqlResourcePropertiesProvider propProvider) { this(propProvider, null); } |