summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sparkybe-onap-application/config/application-gizmo.properties1
-rw-r--r--sparkybe-onap-application/config/application-resources.properties1
-rw-r--r--sparkybe-onap-application/config/spring-beans/sparky-view-inspect-with-gizmo.xml2
-rw-r--r--sparkybe-onap-application/config/spring-beans/sparky-view-inspect-with-resources.xml2
4 files changed, 4 insertions, 2 deletions
diff --git a/sparkybe-onap-application/config/application-gizmo.properties b/sparkybe-onap-application/config/application-gizmo.properties
index e988873..69750c7 100644
--- a/sparkybe-onap-application/config/application-gizmo.properties
+++ b/sparkybe-onap-application/config/application-gizmo.properties
@@ -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
diff --git a/sparkybe-onap-application/config/application-resources.properties b/sparkybe-onap-application/config/application-resources.properties
index 2a7770f..5860c7a 100644
--- a/sparkybe-onap-application/config/application-resources.properties
+++ b/sparkybe-onap-application/config/application-resources.properties
@@ -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
diff --git a/sparkybe-onap-application/config/spring-beans/sparky-view-inspect-with-gizmo.xml b/sparkybe-onap-application/config/spring-beans/sparky-view-inspect-with-gizmo.xml
index d7b9ff1..9afd8a3 100644
--- a/sparkybe-onap-application/config/spring-beans/sparky-view-inspect-with-gizmo.xml
+++ b/sparkybe-onap-application/config/spring-beans/sparky-view-inspect-with-gizmo.xml
@@ -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" />
diff --git a/sparkybe-onap-application/config/spring-beans/sparky-view-inspect-with-resources.xml b/sparkybe-onap-application/config/spring-beans/sparky-view-inspect-with-resources.xml
index 97fa807..7c34697 100644
--- a/sparkybe-onap-application/config/spring-beans/sparky-view-inspect-with-resources.xml
+++ b/sparkybe-onap-application/config/spring-beans/sparky-view-inspect-with-resources.xml
@@ -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" />