aboutsummaryrefslogtreecommitdiffstats
path: root/dblib/provider/src/main
diff options
context:
space:
mode:
authorRich Tabedzki <richard.tabedzki@att.com>2017-09-28 03:00:10 +0000
committerRich Tabedzki <richard.tabedzki@att.com>2017-09-28 03:00:50 +0000
commit38f77425e9515b061f7eca1683fc85c42997619a (patch)
tree371e34b25b696a8d95abe5239e34d4e34bee9f6a /dblib/provider/src/main
parentd17fb0101e9901337bb69dec225a9b0ecc005eb5 (diff)
Refined DBLIB blueprint configuration
Changes made: 1. updated DBLibService definition by registering service on two interfaces: a) javax.sql.DataSource b) org.onap.ccsdk.sli.core.dblib.DbLibService Change-Id: If187b07db83ebca5428c809a83f546d9178a2b7f Issue-ID: CCSDK-102 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com>
Diffstat (limited to 'dblib/provider/src/main')
-rwxr-xr-x[-rw-r--r--]dblib/provider/src/main/resources/org/opendaylight/blueprint/dblib-blueprint.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/dblib/provider/src/main/resources/org/opendaylight/blueprint/dblib-blueprint.xml b/dblib/provider/src/main/resources/org/opendaylight/blueprint/dblib-blueprint.xml
index ee3e0f03..f1d5166d 100644..100755
--- a/dblib/provider/src/main/resources/org/opendaylight/blueprint/dblib-blueprint.xml
+++ b/dblib/provider/src/main/resources/org/opendaylight/blueprint/dblib-blueprint.xml
@@ -8,6 +8,11 @@
<bean id="dbResourceManager" class="org.onap.ccsdk.sli.core.dblib.DBResourceManager">
<argument ref="provider" />
</bean>
- <service ref="dbResourceManager" interface="org.onap.ccsdk.sli.core.dblib.DbLibService" />
+ <service ref="dbResourceManager">
+ <interfaces>
+ <value>javax.sql.DataSource</value>
+ <value>org.onap.ccsdk.sli.core.dblib.DbLibService</value>
+ </interfaces>
+ </service>
</blueprint> \ No newline at end of file