summaryrefslogtreecommitdiffstats
path: root/sparkybe-onap-application/config/spring-beans/sparky-attribute-update-service.xml
blob: 27db51a470e64b4853b7062a905e92f89da9b5e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<beans profile="resources" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context"
        xmlns:task="http://www.springframework.org/schema/task"
        xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
                http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.2.xsd
                http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task.xsd">

        <bean id="attributeUpdater" class="org.onap.aai.sparky.editattributes.AttributeUpdater">
                <constructor-arg ref="oxmModelLoader" />
                <constructor-arg ref="oxmEntityLookup" />
                <constructor-arg ref="activeInventoryAdapter" />
                <constructor-arg name="domain" value="${resources.domain:aai}" />
        </bean>

        <bean id="attributeEditProcessor"
                class="org.onap.aai.sparky.editattributes.AttributeEditProcessor">
                <constructor-arg ref="attributeUpdater" />
        </bean>

</beans>