summaryrefslogtreecommitdiffstats
path: root/sparkybe-onap-application/config/spring-beans/sparky-attribute-update-service.xml
blob: 6ae1edb865b52bc175bb9c7a487f9b3f7b59b2bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<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" />
        </bean>

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

</beans>