summaryrefslogtreecommitdiffstats
path: root/data-router/dynamic/conf/data-router-oxm.xml
diff options
context:
space:
mode:
authorfpaquett <francis.paquette@amdocs.com>2018-10-10 11:57:55 -0400
committerfpaquett <francis.paquette@amdocs.com>2018-10-10 11:58:06 -0400
commitf907e92cd4c30cfa6626bea5bfdca7e6ffdeb964 (patch)
treef7f9591065aa755df05f5ba1649d541a6ba1a0af /data-router/dynamic/conf/data-router-oxm.xml
parent8ae608b6c3e58b545f19d552915943abd8bade59 (diff)
ensure data-router starts
Issue-ID: AAI-1699 Change-Id: I31d033a2b4f4b93c01115fe507ddf072504b2885 Signed-off-by: fpaquett <francis.paquette@amdocs.com>
Diffstat (limited to 'data-router/dynamic/conf/data-router-oxm.xml')
-rw-r--r--data-router/dynamic/conf/data-router-oxm.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/data-router/dynamic/conf/data-router-oxm.xml b/data-router/dynamic/conf/data-router-oxm.xml
new file mode 100644
index 0000000..c945c39
--- /dev/null
+++ b/data-router/dynamic/conf/data-router-oxm.xml
@@ -0,0 +1,22 @@
+<beans 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">
+
+ <context:property-placeholder
+ location="file:${CONFIG_HOME}/schemaIngest.properties"
+ ignore-unresolvable="true" />
+
+ <bean id="schemaLocationsBean" class="org.onap.aai.setup.SchemaLocationsBean">
+ <!-- When running with AJSC these properties must be injected directly.
+ The reason for this is unknown. -->
+ <property name="nodeDirectory" value="${nodeDir}" />
+ <property name="edgeDirectory" value="${edgeDir}" />
+ </bean>
+
+ <bean id="schemaVersions" class="org.onap.aai.setup.SchemaVersions"/>
+
+</beans>
+