expose max traversal depth in sparky app props 85/58285/1
authorda490c <dave.adams@amdocs.com>
Tue, 31 Jul 2018 21:24:57 +0000 (17:24 -0400)
committerda490c <dave.adams@amdocs.com>
Tue, 31 Jul 2018 21:25:23 +0000 (17:25 -0400)
Issue-ID: AAI-1436
Change-Id: I7daf76f86059f01b7a44295f884d92215aa12815
Signed-off-by: da490c <dave.adams@amdocs.com>
sparkybe-onap-application/config/application-gizmo.properties
sparkybe-onap-application/config/application-resources.properties
sparkybe-onap-application/config/spring-beans/sparky-view-inspect-with-gizmo.xml
sparkybe-onap-application/config/spring-beans/sparky-view-inspect-with-resources.xml

index e988873..69750c7 100644 (file)
@@ -5,3 +5,4 @@ gizmo.client-cert=client-cert-onap.p12
 gizmo.client-cert-password=1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
 gizmo.trust-store=tomcat_keystore
 gizmo.apiVersion=v12
+gizmo.maxSelfLinkTraversalDepth=2
index 2a7770f..5860c7a 100644 (file)
@@ -6,3 +6,4 @@ resources.basicAuthPassword=AAI
 resources.client-cert=client-cert-onap.p12
 resources.client-cert-password=1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
 resources.trust-store=tomcat_keystore
+resources.maxSelfLinkTraversalDepth=2
index d7b9ff1..9afd8a3 100644 (file)
@@ -6,7 +6,7 @@
 
        <bean id="visualizationConfigurations"
                class="org.onap.aai.sparky.viewandinspect.config.VisualizationConfigs">
-               <property name="maxSelfLinkTraversalDepth" value="2" />
+               <property name="maxSelfLinkTraversalDepth" value="${gizmo.maxSelfLinkTraversalDepth:2}" />
                <property name="visualizationDebugEnabled" value="false" />
                <property name="aaiEntityNodeDescriptors" value="/descriptors/aaiEntityNodeDescriptors.json" />
                <property name="generalNodeClassName" value="generalNodeClass" />
index 97fa807..7c34697 100644 (file)
@@ -6,7 +6,7 @@
 
        <bean id="visualizationConfigurations"
                class="org.onap.aai.sparky.viewandinspect.config.VisualizationConfigs">
-               <property name="maxSelfLinkTraversalDepth" value="2" />
+               <property name="maxSelfLinkTraversalDepth" value="${resources.maxSelfLinkTraversalDepth:2}" />
                <property name="visualizationDebugEnabled" value="false" />
                <property name="aaiEntityNodeDescriptors" value="/descriptors/aaiEntityNodeDescriptors.json" />
                <property name="generalNodeClassName" value="generalNodeClass" />