summaryrefslogtreecommitdiffstats
path: root/sparkybe-onap-application/config/spring-beans/sparky-attribute-update-service.xml
diff options
context:
space:
mode:
Diffstat (limited to 'sparkybe-onap-application/config/spring-beans/sparky-attribute-update-service.xml')
-rw-r--r--sparkybe-onap-application/config/spring-beans/sparky-attribute-update-service.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/sparkybe-onap-application/config/spring-beans/sparky-attribute-update-service.xml b/sparkybe-onap-application/config/spring-beans/sparky-attribute-update-service.xml
new file mode 100644
index 0000000..6ae1edb
--- /dev/null
+++ b/sparkybe-onap-application/config/spring-beans/sparky-attribute-update-service.xml
@@ -0,0 +1,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> \ No newline at end of file