summaryrefslogtreecommitdiffstats
path: root/sparky/dynamic
diff options
context:
space:
mode:
Diffstat (limited to 'sparky/dynamic')
-rw-r--r--sparky/dynamic/conf/sparky-core-gizmo.xml28
-rw-r--r--sparky/dynamic/conf/sparky-core-viewInspect.xml7
2 files changed, 33 insertions, 2 deletions
diff --git a/sparky/dynamic/conf/sparky-core-gizmo.xml b/sparky/dynamic/conf/sparky-core-gizmo.xml
new file mode 100644
index 0000000..52fd436
--- /dev/null
+++ b/sparky/dynamic/conf/sparky-core-gizmo.xml
@@ -0,0 +1,28 @@
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans
+ http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <bean id="gizmoRestEndpointConfig" class="org.onap.aai.sparky.dal.rest.config.RestEndpointConfig">
+ <property name="endpointIpAddress" value="aai.gizmo.simpledemo.openecomp.org" />
+ <property name="endpointServerPort" value="9520" />
+ <property name="numRequestRetries" value="5" />
+ <property name="restAuthenticationMode" value="SSL_CERT" />
+ <property name="connectTimeoutInMs" value="60000" />
+ <property name="readTimeoutInMs" value="30000" />
+ <property name="certFileName" value="client-cert-onap.p12" />
+ <property name="certPassword" value="OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10" />
+ <property name="truststoreFileName" value="tomcat_keystore" />
+ <property name="validateServerCertChain" value="false" />
+ <property name="validateServerHostname" value="false" />
+ </bean>
+
+ <bean id="gizmoAdapter" class="org.onap.aai.sparky.dal.GizmoAdapter">
+ <constructor-arg ref="oxmModelLoader" />
+ <constructor-arg ref="gizmoRestEndpointConfig" />
+ <property name="relationshipsBasePath" value="/services/inventory/relationships/v12/" />
+ <property name="inventoryBasePath" value="/services/inventory/v12/" />
+ </bean>
+
+</beans>
diff --git a/sparky/dynamic/conf/sparky-core-viewInspect.xml b/sparky/dynamic/conf/sparky-core-viewInspect.xml
index c6ddd10..569b418 100644
--- a/sparky/dynamic/conf/sparky-core-viewInspect.xml
+++ b/sparky/dynamic/conf/sparky-core-viewInspect.xml
@@ -14,6 +14,8 @@
<property name="selectedSearchedNodeClassName" value="selectedSearchedNodeClass" />
<property name="numOfThreadsToFetchNodeIntegrity" value="20" />
<property name="makeAllNeighborsBidirectional" value="false" />
+ <property name="gizmoEnabled" value="false" />
+
<property name="shallowEntities">
<list value-type="java.lang.String">
@@ -34,8 +36,9 @@
<bean id="baseVisualizationService"
class="org.onap.aai.sparky.viewandinspect.services.BaseVisualizationService">
<constructor-arg ref="oxmModelLoader"/>
- <constructor-arg ref="visualizationConfigurations"/>
+ <constructor-arg ref="visualizationConfigurations"/>
<constructor-arg ref="activeInventoryAdapter" />
+ <constructor-arg ref="gizmoAdapter" />
<constructor-arg ref="elasticSearchAdapter" />
<constructor-arg ref="elasticSearchEndpointConfig" />
<constructor-arg ref="viewInspectySchemaConfig" />
@@ -49,4 +52,4 @@
<property name="visualizationService" ref="baseVisualizationService" />
</bean>
-</beans>
+</beans>