auto-config.xml
1.4 KB
<?xml version="1.0" encoding="UTF-8"?>
<config>
<group>
<property name="yohomars.search.service.env.namespace" defaultValue="yohomars-search" description="namespace"/>
<property name="yohomars.search.service.env.serverport" defaultValue="7" description="port"/>
<property name="yohomars.search.service.env.webapphome" defaultValue="/home/test/yohomars-search-service/deploy" description="install path"/>
<property name="yohomarssearch.es.cluster.name" defaultValue="yohosearch" description="" />
<property name="yohomarssearch.es.servers" defaultValue="192.168.102.12:9300 192.168.102.13:9300" description="" />
<property name="yohomarssearch.index.number_of_replicas" defaultValue="0" description="" />
<property name="yohomarssearch.index.refresh_interval" defaultValue="10s" description="" />
<property name="yohomarssearch.index.translog.flush_threshold_ops" defaultValue="5000" description="" />
</group>
<script>
<generate template="META-INF/autoconf/databases.yml" destfile="WEB-INF/classes/databases.yml"/>
<generate template="META-INF/autoconf/logback.xml" destfile="WEB-INF/classes/logback.xml"/>
<generate template="META-INF/autoconf/config.properties" destfile="WEB-INF/classes/config.properties"/>
<generate template="META-INF/autoconf/index.xml" destfile="WEB-INF/classes/index.xml"/>
</script>
</config>