From ef9d1e2475a2184ff1b245648e1f0f93ae341c6b Mon Sep 17 00:00:00 2001 From: "Timoney, Dan (dt5972)" Date: Wed, 21 Mar 2018 17:34:27 -0400 Subject: Add default SqlResource constructor Add default constructor for SqlResource class. Change-Id: Id23dc1c391fac66fae7c2bb2b6170f049efe5940 Issue-ID: CCSDK-220 Signed-off-by: Timoney, Dan (dt5972) --- .../java/org/onap/ccsdk/sli/adaptors/resource/sql/SqlResource.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sql-resource') 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 869b8980..dc6f7663 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); } -- cgit 1.2.3-korg