summaryrefslogtreecommitdiffstats
path: root/sparkybe-onap-application/config/spring-beans/sparky-oxm-override.xml
diff options
context:
space:
mode:
Diffstat (limited to 'sparkybe-onap-application/config/spring-beans/sparky-oxm-override.xml')
-rw-r--r--sparkybe-onap-application/config/spring-beans/sparky-oxm-override.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/sparkybe-onap-application/config/spring-beans/sparky-oxm-override.xml b/sparkybe-onap-application/config/spring-beans/sparky-oxm-override.xml
new file mode 100644
index 0000000..5c6839b
--- /dev/null
+++ b/sparkybe-onap-application/config/spring-beans/sparky-oxm-override.xml
@@ -0,0 +1,14 @@
+<beans profile="oxm-override" xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans
+ http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <bean id="oxmModelLoader" class="org.onap.aai.sparky.config.oxm.OxmModelLoader"
+ init-method="loadModel">
+ <constructor-arg name="apiVersionOverride" value="${oxm.apiVersionOverride}" />
+ <constructor-arg ref="oxmModelProcessorSet" />
+ <constructor-arg ref="nodeIngestor" />
+ </bean>
+
+</beans> \ No newline at end of file