1 <beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context"
3 xmlns:task="http://www.springframework.org/schema/task"
4 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
5 http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.2.xsd
6 http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task.xsd">
8 <context:property-placeholder
9 location="file:${CONFIG_HOME}/schemaIngest.properties"
10 ignore-unresolvable="true" />
12 <bean id="crossEntityReferenceLookup"
13 class="org.onap.aai.sparky.config.oxm.CrossEntityReferenceLookup" />
15 <bean id="geoEntityLookup" class="org.onap.aai.sparky.config.oxm.GeoEntityLookup" />
17 <bean id="oxmEntityLookup" class="org.onap.aai.sparky.config.oxm.OxmEntityLookup" />
19 <bean id="searchableEntityLookup" class="org.onap.aai.sparky.config.oxm.SearchableEntityLookup" />
21 <bean id="suggestionEntityLookup" class="org.onap.aai.sparky.config.oxm.SuggestionEntityLookup">
22 <constructor-arg ref="filtersConfig" />
25 <bean id="oxmModelProcessorSet" class="org.springframework.beans.factory.config.SetFactoryBean">
26 <property name="targetSetClass" value="java.util.HashSet" />
27 <property name="sourceSet">
29 <ref bean="crossEntityReferenceLookup" />
30 <ref bean="geoEntityLookup" />
31 <ref bean="oxmEntityLookup" />
32 <ref bean="searchableEntityLookup" />
33 <ref bean="suggestionEntityLookup" />
38 <bean id="schemaLocationsBean" class="org.onap.aai.setup.SchemaLocationsBean">
39 <!-- When running with AJSC these properties must be injected directly.
40 The reason for this is unknown. -->
41 <property name="nodeDirectory" value="${nodeDir}" />
42 <property name="edgeDirectory" value="${edgeDir}" />
45 <bean id="oxmConfigTranslator" class="org.onap.aai.sparky.config.oxm.OxmConfigTranslator">
46 <constructor-arg ref="schemaLocationsBean" />
48 <bean id="nodeIngestor" class="org.onap.aai.nodes.NodeIngestor">
49 <constructor-arg ref="oxmConfigTranslator" />
52 <bean id="searchProviderRegistry"
53 class="org.onap.aai.sparky.search.registry.SearchProviderRegistry" />
55 <bean id="sparkyResourceLoader" class="org.onap.aai.sparky.config.SparkyResourceLoader">
56 <property name="configHomeEnvVar" value="CONFIG_HOME" />
59 <bean id="unifiedSearchProcessor" class="org.onap.aai.sparky.search.UnifiedSearchProcessor">
60 <property name="searchProviderRegistry" ref="searchProviderRegistry" />
63 <bean id="entityCountHistoryProcessor" class="org.onap.aai.sparky.search.EntityCountHistoryProcessor">
64 <constructor-arg ref="elasticSearchAdapter" />
65 <constructor-arg name="entityTypesToSummarizeDelimitedList"
66 value="customer,service-instance,complex,pserver,vserver,vnf" />
67 <constructor-arg name="vnfEntityTypesDelimitedList"
68 value="vnf,newvce,vce,vpe" />
69 <constructor-arg name="entityCountHistoryIndexName"
70 value="entitycounthistoryindex" />
73 <bean id="geoVisualizationProcessor" class="org.onap.aai.sparky.inventory.GeoVisualizationProcessor">
74 <constructor-arg ref="elasticSearchAdapter" />
75 <constructor-arg name="topographicalSearchIndexName"
76 value="topographicalsearchindex" />
79 <bean id="pairingHashMap" class="org.springframework.beans.factory.config.MapFactoryBean">
80 <property name="targetMapClass">
81 <value>java.util.HashMap</value>
83 <property name="sourceMap">
84 <map key-type="java.lang.String" value-type="java.lang.String">
85 <entry key="volume-group-id" value="called" />
86 <entry key="volume-group-name" value="called" />
87 <entry key="physical-location-id" value="called" />
88 <entry key="data-center-code" value="called" />
89 <entry key="complex-name" value="called" />
90 <entry key="tenant-id" value="called" />
91 <entry key="tenant-name" value="called" />
92 <entry key="vserver-id" value="called" />
93 <entry key="vserver-name" value="called" />
94 <entry key="vserver-name2" value="called" />
95 <entry key="hostname" value="called" />
96 <entry key="pserver-name2" value="called" />
97 <entry key="pserver-id" value="called" />
98 <entry key="global-customer-id" value="called" />
99 <entry key="subscriber-name" value="called" />
100 <entry key="service-instance-id" value="called" />
101 <entry key="service-instance-name" value="called" />
102 <entry key="link-name" value="called" />
103 <entry key="vpn-id" value="called" />
104 <entry key="vpn-name" value="called" />
105 <entry key="vpe-id" value="called" />
106 <entry key="vnf-id" value="called" />
107 <entry key="vnf-name" value="called" />
108 <entry key="vnf-name2" value="called" />
109 <entry key="vnfc-name" value="called" />
110 <entry key="network-id" value="called" />
111 <entry key="network-name" value="called" />
112 <entry key="network-policy-id" value="called" />
113 <entry key="vf-module-id" value="called" />
114 <entry key="vf-module-name" value="called" />
115 <entry key="vnf-id2" value="called" />
116 <entry key="pnf-name" value="called" />
117 <entry key="circuit-id" value="called" />
118 <entry key="id" value="called" />
119 <entry key="group-id" value="called" />
120 <entry key="group-name" value="called" />
121 <entry key="street1" value="at" />
122 <entry key="street2" value="at" />
123 <entry key="code" value="at" />
124 <entry key="ipv4-oam-address" value="at" />
125 <entry key="network-policy-fqdn" value="at" />
130 <bean id="suggestiveSearchConfigs" class="org.onap.aai.sparky.search.config.SuggestionConfig">
131 <property name="defaultPairingValue" value="with" />
132 <property name="pairingList" ref="pairingHashMap"></property>
133 <property name="stopWords">
134 <list value-type="java.lang.String">
144 <value>called</value>