Upgrade VNFSDK to use common Postgres charts
[oom.git] / kubernetes / aai / charts / aai-sparky-be / resources / config / spring-beans / sparky-core-viewInspect.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="visualizationConfigurations"
24                 class="org.onap.aai.sparky.viewandinspect.config.VisualizationConfigs">
25                 <property name="maxSelfLinkTraversalDepth" value="2" />
26                 <property name="visualizationDebugEnabled" value="false" />
27                 <property name="aaiEntityNodeDescriptors" value="/descriptors/aaiEntityNodeDescriptors.json" />
28                 <property name="generalNodeClassName" value="generalNodeClass" />
29                 <property name="searchNodeClassName" value="searchedNodeClass" />
30                 <property name="selectedSearchedNodeClassName" value="selectedSearchedNodeClass" />
31                 <property name="numOfThreadsToFetchNodeIntegrity" value="20" />
32                 <property name="makeAllNeighborsBidirectional" value="false" />
33                 <property name="gizmoEnabled" value="false" />
34                 <property name="resourceLoader" ref="sparkyResourceLoader" />
35
36                 <property name="shallowEntities">
37                         <list value-type="java.lang.String">
38                                 <value>cloud-region</value>
39                                 <value>complex</value>
40                                 <value>vnf-image</value>
41                                 <value>image</value>
42                                 <value>flavor</value>
43                                 <value>availability-zone</value>
44                                 <value>tenant</value>
45                                 <value>network-profile</value>
46                                 <value>l-interface</value>
47                         </list>
48                 </property>
49
50         </bean>
51
52         <bean id="baseVisualizationService"
53                 class="org.onap.aai.sparky.viewandinspect.services.BaseVisualizationService">
54                 <constructor-arg ref="oxmModelLoader"/>
55                 <constructor-arg ref="visualizationConfigurations"/> 
56                 <constructor-arg ref="activeInventoryAdapter" />
57                 <constructor-arg ref="gizmoAdapter" />
58                 <constructor-arg ref="elasticSearchAdapter" />
59                 <constructor-arg ref="elasticSearchEndpointConfig" />
60                 <constructor-arg ref="viewInspectySchemaConfig" />
61                 <constructor-arg name="numActiveInventoryWorkers" value="50" />
62                 <constructor-arg ref="oxmEntityLookup" />
63         <constructor-arg ref="subscriptionConfig" />
64         </bean>
65
66         <bean id="schemaVisualizationProcessor"
67                 class="org.onap.aai.sparky.viewandinspect.SchemaVisualizationProcessor">
68                 <property name="visualizationService" ref="baseVisualizationService" />
69         </bean>
70
71 </beans>