blob: 74a291c78fd31e4483b5dcfa24e60f9725e9e297 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
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
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
<context:property-placeholder location="file:${schemaIngestPropLoc}" ignore-unresolvable="true" />
<bean id="filtersConfig" class="org.onap.aai.sparky.search.filters.config.FiltersConfig">
</bean>
<bean id="sparkyResourceLoader" class="org.onap.aai.sparky.config.SparkyResourceLoader">
<property name="configHomeEnvVar" value="${CONFIG_HOME}" />
</bean>
<bean id="crossEntityReferenceLookup"
class="org.onap.aai.sparky.config.oxm.CrossEntityReferenceLookup" />
<bean id="oxmEntityLookup" class="org.onap.aai.sparky.config.oxm.OxmEntityLookup" />
<bean id="suggestionEntityLookup" class="org.onap.aai.sparky.config.oxm.SuggestionEntityLookup">
<constructor-arg ref="filtersConfig" />
</bean>
<bean id="oxmModelProcessorSet" class="org.springframework.beans.factory.config.SetFactoryBean">
<property name="targetSetClass" value="java.util.HashSet" />
<property name="sourceSet">
<set>
<ref bean="oxmEntityLookup" />
</set>
</property>
</bean>
<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" />
<bean id="oxmConfigTranslator" class="org.onap.aai.setup.AAIConfigTranslator">
<constructor-arg ref="schemaLocationsBean" />
<constructor-arg ref="schemaVersions" />
</bean>
<bean id="nodeIngestor" class="org.onap.aai.nodes.NodeIngestor">
<constructor-arg ref="oxmConfigTranslator" />
</bean>
<bean id="oxmModelLoader" class="org.onap.aai.sparky.config.oxm.OxmModelLoader"
init-method="loadModel">
<!-- <constructor-arg name="apiVersionOverride" value="V11" /> -->
<constructor-arg ref="oxmModelProcessorSet" />
<constructor-arg ref="schemaVersions" />
</bean>
</beans>
|