summaryrefslogtreecommitdiffstats
path: root/sparky/dynamic/conf/sparky-core-gizmo.xml
diff options
context:
space:
mode:
authorrenealr <reneal.rogers@amdocs.com>2018-03-08 13:40:39 -0500
committerrenealr <reneal.rogers@amdocs.com>2018-03-08 14:00:50 -0500
commit2aa8e1410e91c89fb010dc99918dd0caf44be20c (patch)
treee367b0c6a5289165fa62702bf86de88f9be6b774 /sparky/dynamic/conf/sparky-core-gizmo.xml
parent068c6e59e8b1e7592a65410b3eb4152314d64f09 (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/conf/sparky-core-gizmo.xml')
-rw-r--r--sparky/dynamic/conf/sparky-core-gizmo.xml28
1 files changed, 28 insertions, 0 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>