Fix resource-assignment blueprint 27/19327/1
authorDan Timoney <dtimoney@att.com>
Tue, 17 Oct 2017 16:00:56 +0000 (12:00 -0400)
committerDan Timoney <dtimoney@att.com>
Tue, 17 Oct 2017 16:01:00 +0000 (12:01 -0400)
Some entries in resource-assignment blueprint that had been
copied from spring blueprint needed to be changed slightly
due to differences between Spring and Aries.

Change-Id: I196f88f2036f30673bee0f3d23773616f6c1ba1b
Issue-ID: CCSDK-120
Signed-off-by: Dan Timoney <dtimoney@att.com>
resource-assignment/provider/src/main/resources/org/opendaylight/blueprint/resource-assignment.xml

index 9d3f3e9..6e11c66 100755 (executable)
 
        <bean id="endPointAllocator" class="org.onap.ccsdk.sli.adaptors.ra.comp.EndPointAllocatorImpl">
                <property name="resourceManager" ref="resourceManager" />
-               <property name="allocationRuleMap">
+               <property name="endPointAllocationDefinitionMap">
                        <map>
                                <entry key="DEFAULT">
                                        <list>
-                                               <ref component-id="dbAllocationRule" />
+                        <bean class="org.onap.ccsdk.sli.adaptors.ra.comp.EndPointAllocationDefinition">
+                            <property name="serviceModel" value="DEFAULT" />
+                            <property name="endPointPosition" value="DEFAULT" />
+                            <property name="equipmentReader" ref="vnfReader" />
+                            <property name="allocationRuleList">
+                                <list>
+                                    <ref component-id="dbAllocationRule" />
+                                </list>
+                            </property>
+                        </bean>
                                        </list>
                                </entry>
                        </map>
                </property>
        </bean>
 
+    <bean id="vnfReader" class="org.onap.ccsdk.sli.adaptors.ra.reader.VnfReader">
+    </bean>
+
        <!-- Resource Allocation Rule Configuration -->
 
        <bean id="dbAllocationRule" class="org.onap.ccsdk.sli.adaptors.ra.alloc.DbAllocationRule">