auto-config.xml
791 Bytes
<?xml version="1.0" encoding="UTF-8"?>
<config>
<group>
<property name="yoho.search.service.env.namespace" defaultValue="yohosearch" description="namespace"/>
<property name="yoho.search.service.env.serverport" defaultValue="0" description="port"/>
<property name="yoho.search.service.env.webapphome" defaultValue="/home/dev/yoho-search-service/deploy" description="install path"/>
</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"/>
</script>
</config>