2 # Copyright © 2018 Amdocs, Bell Canada, AT&T
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 <beans xmlns="http://www.springframework.org/schema/beans"
18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 http://www.springframework.org/schema/beans
21 http://www.springframework.org/schema/beans/spring-beans.xsd">
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" />
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>
43 <value>availability-zone</value>
45 <value>network-profile</value>
46 <value>l-interface</value>
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" />
66 <bean id="schemaVisualizationProcessor"
67 class="org.onap.aai.sparky.viewandinspect.SchemaVisualizationProcessor">
68 <property name="visualizationService" ref="baseVisualizationService" />