diff options
author | ramu.n <ramu.n@huawei.com> | 2017-09-07 23:33:17 +0530 |
---|---|---|
committer | ramu.n <ramu.n@huawei.com> | 2017-09-07 23:33:17 +0530 |
commit | 9dcdfb51240411c7623f3851073dbbae9ed0ded6 (patch) | |
tree | 60c76f1a429799bfd378d450f38da93236053c88 | |
parent | 4e85d4dd2ac2cc0ab65363527b9a0cebf079eb95 (diff) |
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 <ramu.n@huawei.com>
-rw-r--r-- | sql-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/resource/sql/SqlResource.java | 6 |
1 files changed, 3 insertions, 3 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 14e303471..78d92d09b 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); } |