summaryrefslogtreecommitdiffstats
path: root/resource-assignment/provider/src/main/resources
diff options
context:
space:
mode:
authorStan Bonev <sb5356@att.com>2018-09-14 15:25:55 -0400
committerStan Bonev <sb5356@att.com>2018-09-14 15:25:55 -0400
commitb46892cf1f0374dc18bec49b6a209b0e6a13ba1a (patch)
tree89611268841267cd648aa8afdc522b120fd3a14a /resource-assignment/provider/src/main/resources
parent85dcab85f636c8ed7a2f9215ec0c47273b36c60a (diff)
RA: Expose resource locking as DG node
Change-Id: Ic12c8c7c59baf29630dab442de64a66dc40bc02e Issue-ID: CCSDK-573 Signed-off-by: Stan Bonev <sb5356@att.com>
Diffstat (limited to 'resource-assignment/provider/src/main/resources')
-rwxr-xr-xresource-assignment/provider/src/main/resources/org/opendaylight/blueprint/resource-assignment-blueprint.xml2
-rwxr-xr-xresource-assignment/provider/src/main/resources/org/opendaylight/blueprint/resource-assignment.xml4
2 files changed, 6 insertions, 0 deletions
diff --git a/resource-assignment/provider/src/main/resources/org/opendaylight/blueprint/resource-assignment-blueprint.xml b/resource-assignment/provider/src/main/resources/org/opendaylight/blueprint/resource-assignment-blueprint.xml
index 11c284d64..77c316d2a 100755
--- a/resource-assignment/provider/src/main/resources/org/opendaylight/blueprint/resource-assignment-blueprint.xml
+++ b/resource-assignment/provider/src/main/resources/org/opendaylight/blueprint/resource-assignment-blueprint.xml
@@ -28,4 +28,6 @@
<service ref="resourceAllocator" interface="org.onap.ccsdk.sli.adaptors.ra.ResourceAllocator"/>
+ <service ref="resourceLockNode" interface="org.onap.ccsdk.sli.adaptors.ra.ResourceLockNode"/>
+
</blueprint>
diff --git a/resource-assignment/provider/src/main/resources/org/opendaylight/blueprint/resource-assignment.xml b/resource-assignment/provider/src/main/resources/org/opendaylight/blueprint/resource-assignment.xml
index 3fba3c781..7fcc70c54 100755
--- a/resource-assignment/provider/src/main/resources/org/opendaylight/blueprint/resource-assignment.xml
+++ b/resource-assignment/provider/src/main/resources/org/opendaylight/blueprint/resource-assignment.xml
@@ -98,6 +98,10 @@
<property name="speedUtil" ref="speedUtil" />
</bean>
+ <bean id="resourceLockNode" class="org.onap.ccsdk.sli.adaptors.ra.ResourceLockNode">
+ <property name="lockHelper" ref="lockHelper" />
+ </bean>
+
<bean id="speedUtil" class="org.onap.ccsdk.sli.adaptors.util.speed.SpeedUtil" />
<!-- EndPointAllocator Configuration -->