diff options
author | renealr <reneal.rogers@amdocs.com> | 2018-03-08 13:40:39 -0500 |
---|---|---|
committer | renealr <reneal.rogers@amdocs.com> | 2018-03-08 14:00:50 -0500 |
commit | 2aa8e1410e91c89fb010dc99918dd0caf44be20c (patch) | |
tree | e367b0c6a5289165fa62702bf86de88f9be6b774 /sparky/dynamic | |
parent | 068c6e59e8b1e7592a65410b3eb4152314d64f09 (diff) |
add configs for sparky to gizmo interaction
Issue-ID: AAI-849
Change-Id: I9f1ce21b933c9c65913192316f05995fbc13e497
Signed-off-by: renealr <reneal.rogers@amdocs.com>
Diffstat (limited to 'sparky/dynamic')
-rw-r--r-- | sparky/dynamic/conf/sparky-core-gizmo.xml | 28 | ||||
-rw-r--r-- | sparky/dynamic/conf/sparky-core-viewInspect.xml | 7 |
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> |