Upgrade APPC to use common mariadb galera charts
[oom.git] / kubernetes / aai / charts / aai-sparky-be / resources / config / spring-beans / sparky-core-viewInspectSearchProvider.xml
1 <!--
2 # Copyright © 2018 Amdocs, Bell Canada, AT&T
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 -->
16
17 <beans xmlns="http://www.springframework.org/schema/beans"
18         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19         xsi:schemaLocation="
20                http://www.springframework.org/schema/beans
21                http://www.springframework.org/schema/beans/spring-beans.xsd">
22
23                                  <bean id="viewInspectSearchProvider"
24                                 class="org.onap.aai.sparky.viewandinspect.search.ViewInspectSearchProvider">
25                                 <constructor-arg ref="searchServiceAdapter" />
26                                 <constructor-arg ref="suggestiveSearchConfigs" />
27                                 <constructor-arg name="viewInspectIndexName" value="entitysearchindex" />
28                                 <constructor-arg name="viewInspectSuggestionRoute" value="schema" />
29                                 <constructor-arg ref="oxmEntityLookup" />
30
31                                 <property name="additionalSearchSuggestionText">
32                                         <value>Schema</value>
33                                 </property>
34
35                         </bean>
36
37                         <bean id="registerViewInspectSearchProvider"
38                                 class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
39                                 <property name="targetObject" ref="searchProviderRegistry" />
40                                 <property name="targetMethod">
41                                         <value>addSearchProviders</value>
42                                 </property>
43                                 <property name="arguments">
44                                         <list value-type="org.onap.aai.sparky.search.api.SearchProvider">
45                                                 <ref bean="viewInspectSearchProvider" />
46                                         </list>
47                                 </property>
48                         </bean>
49
50 </beans>