summaryrefslogtreecommitdiffstats
path: root/sparkybe-onap-application/config
diff options
context:
space:
mode:
authorda490c <dave.adams@amdocs.com>2018-07-31 17:24:57 -0400
committerda490c <dave.adams@amdocs.com>2018-07-31 17:25:23 -0400
commitbb8c907d2c99c8009d7702337288fc949f29e7db (patch)
tree3dc822832bf383ffcff3bad794f8a4de3ddbad3b /sparkybe-onap-application/config
parentadb1e19bc2103f0a444e6dd82795a7b79225a802 (diff)
expose max traversal depth in sparky app props
Issue-ID: AAI-1436 Change-Id: I7daf76f86059f01b7a44295f884d92215aa12815 Signed-off-by: da490c <dave.adams@amdocs.com>
Diffstat (limited to 'sparkybe-onap-application/config')
-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" />