summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-02-05 18:18:26 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-05 18:18:26 +0000
commit54807d8f0cc7d90119ad181d98cd3645de1f2e26 (patch)
tree0c7af8f149eb5b20fb8d416ed7245d3806df5b6b
parenta989e7526c652ff6469a68444336092ed1ffd77a (diff)
parent484f1b32f1ef9cfcf74189b701ebb9078ddb0ab8 (diff)
Merge "Add dummy input"
-rwxr-xr-xdblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/DBResourceManager.java1
-rwxr-xr-xsliapi/model/src/main/yang/sliapi.yang13
2 files changed, 14 insertions, 0 deletions
diff --git a/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/DBResourceManager.java b/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/DBResourceManager.java
index 0b8c565f..236bce6e 100755
--- a/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/DBResourceManager.java
+++ b/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/DBResourceManager.java
@@ -97,6 +97,7 @@ public class DBResourceManager implements DataSource, DataAccessor, DBResourceOb
// TODO : hack to force classloader to cache mariadb driver. This shouldnt be necessary,
// but for some reason it is (without this, dblib throws ClassNotFound on mariadb driver
// and fails to load).
+ LOGGER.info("Creating dummy instance of org.mariadb.jdbc.Driver");
Driver dvr = new org.mariadb.jdbc.Driver();
dvr = null;
diff --git a/sliapi/model/src/main/yang/sliapi.yang b/sliapi/model/src/main/yang/sliapi.yang
index 98cbb2aa..b3272be8 100755
--- a/sliapi/model/src/main/yang/sliapi.yang
+++ b/sliapi/model/src/main/yang/sliapi.yang
@@ -103,12 +103,25 @@ module SLI-API {
}
rpc healthcheck {
+ // OpenDaylight Fluorine version of restconf cannot handle RPCs with no input
+ input {
+ leaf dummy {
+ type string;
+ }
+ }
output {
uses response-fields;
}
}
rpc vlbcheck {
+ // OpenDaylight Fluorine version of restconf cannot handle RPCs with no input
+ input {
+ leaf dummy
+ {
+ type string;
+ }
+ }
output {
uses response-fields;
}