Software AG Products 10.7 | Configuring API Gateway | API Gateway Data Store | Administering API Gateway Data Store | Configuring Elasticsearch Properties using Template
 
Configuring Elasticsearch Properties using Template
You can configure the Elasticsearch properties using the following Command Central template:
sagcc exec templates composite import -i properties.yaml (properties.yaml)
sagcc exec templates composite apply sag-apigw-datastore-properties nodes=local
Sample template:
alias: sag-apigw-datastore-properties
description: API Gateway Data Store Properties

layers:
runtime:
templates:
- apigw-datastore-properties

templates:
apigw-datastore-properties:
products:
CEL:
default:
configuration:
CEL:
CUSTOM-PROPERTIES:
CUSTOM-PROPERTIES-default: |
---
path.logs: "C:\\sag\\cc\\InternalDataStore/newlogs"
path.repo:
- "C:\\sag\\cc\\InternalDataStore/archives"
cluster.initial_master_nodes:
- "nodename"

provision:
default:
runtime: ${nodes}