summaryrefslogtreecommitdiffstats
path: root/sparkybe-onap-application/config/spring-beans/sparky-filters.xml
blob: 6cd9b06be73515e62284c2e1549ac46216ad8c80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<beans 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="filtersConfig" class="org.onap.aai.sparky.search.filters.config.FiltersConfig">
		<constructor-arg name="filtersFileName" value="/filters/aaiui_filters.json" />
		<constructor-arg name="viewsFileName" value="/filters/aaiui_views.json" />
		<constructor-arg name="resourceLoader" ref="sparkyResourceLoader" />
	</bean>

	<bean id="filteredSearchHelper" class="org.onap.aai.sparky.search.filters.FilteredSearchHelper">
		<constructor-arg ref="filtersConfig" />
		<constructor-arg ref="searchServiceAdapter" />
	</bean>

	<bean id="filterProcessor" class="org.onap.aai.sparky.search.filters.FilterProcessor">
		<property name="filteredSearchHelper" ref="filteredSearchHelper" />
	</bean>

</beans>