Integrate Software AG Products Using Digital Event Services : API Gateway Configuration Guide : API Gateway Configuration : Secure Event Data Store for API Gateway : Preparing the Clients
Preparing the Clients
1. Preparing the API Gateway TCP client.
a. Open SAG_Root/IntegrationServer/instances/Instance_Name/packages/WmAPIGateway/config/resources/beans/gateway-datastore.xml and remove the comment tag for the entries in <bean class="com.softwareag.apigateway.core.datastore.ElasticsearchClientImpl" id="elasticSearchClient">. The configuration is as shown. The relative paths are resolved relative to SAG_Root/EventDataStore.
<bean class="com.softwareag.apigateway.core.datastore.ElasticsearchClientImpl"
id="elasticSearchClient">
<constructor-arg index="0">
<list>
<value>mcbbalakri02:9350</value>
</list>
</constructor-arg>
<constructor-arg index="1">
<props>
<prop key="cluster.name">SAG_EventDataStore</prop>
<prop key="client.transport.sniff">true</prop>
<prop key="searchguard.ssl.transport.enabled">true</prop>
<prop key="searchguard.ssl.transport.keystore_filepath">
sagconfig/demouser-keystore.jks</prop>
<prop key="searchguard.ssl.transport.keystore_password">
6572b9b06156a0ff778c</prop>
<prop key="searchguard.ssl.transport.truststore_filepath">
sagconfig/truststore.jks</prop>
<prop key="searchguard.ssl.transport.truststore_password">
2c0820e69e7dd5356576</prop>
<prop key="searchguard.ssl.transport.enforce_hostname_verification"
>false</prop>
<prop key="searchguard.ssl.transport.resolve_hostname">
false</prop>
<prop key="searchguard.ssl.transport.keystore_alias">cn=
demouser</prop>
<prop key="searchguard.ssl.transport.truststore_alias">
root-ca-chain</prop>
</props>
</constructor-arg>
</bean>
2. Preparing Kibana.
a. Open SAG_Root/profiles/IS_Instance_Name/apigateway/dashboard/config/kibana.yml and remove the comment tag for elasticsearch.username,elasticsearch.password and elasticsearch.ssl.verify
3. Preparing JVM.
a. Import the SAG_Root/ into the truststore configured or default store (SAG_Root/jvm/jvm/jre/lib/security/cacerts) of JVM.
This is required only for self-signed certificates.
4. Preparing Browsers.
a. Import the SAG_Root/ in the browser or accept the exception for self-signed certificates that is displayed when you access the browser for the first time.
Copyright © 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback