Add default SqlResource constructor 87/37587/1
authorTimoney, Dan (dt5972) <dt5972@att.com>
Wed, 21 Mar 2018 21:34:27 +0000 (17:34 -0400)
committerTimoney, Dan (dt5972) <dt5972@att.com>
Wed, 21 Mar 2018 21:34:27 +0000 (17:34 -0400)
Add default constructor for SqlResource class.

Change-Id: Id23dc1c391fac66fae7c2bb2b6170f049efe5940
Issue-ID: CCSDK-220
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
sql-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/resource/sql/SqlResource.java

index 869b898..dc6f766 100755 (executable)
@@ -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);
     }