From 9dcdfb51240411c7623f3851073dbbae9ed0ded6 Mon Sep 17 00:00:00 2001 From: "ramu.n" Date: Thu, 7 Sep 2017 23:33:17 +0530 Subject: Fix sql-resource-provider compilation failure Fixed unresolved method DBResourceManager.create() in SqlResource.java Change-Id: Idb1c151e9929e5e9be5848b52c464e09c5ba835f Issue-Id: CCSDK-82 Signed-off-by: Ramu N --- .../java/org/onap/ccsdk/sli/adaptors/resource/sql/SqlResource.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sql-resource/provider') 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 14e30347..78d92d09 100644 --- 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 @@ -8,9 +8,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -350,7 +350,7 @@ public class SqlResource implements SvcLogicResource, SvcLogicJavaPlugin { // as a // a POJO then. try { - dblibSvc = DBResourceManager.create(System.getProperties()); + dblibSvc = new DBResourceManager(System.getProperties()); } catch (Exception e) { LOG.error("Caught exception trying to create dblib service", e); } -- cgit 1.2.3-korg