auto-config.xml
1.96 KB
<?xml version="1.0" encoding="UTF-8"?>
<config>
<group>
<!-- ************************** web namespace ******************************* -->
<property name="yoho.unions.env.namespace" defaultValue="union" description="应用命名空间" />
<property name="jdbc.mysql.readonlyinslave" defaultValue="true" description="读操作是否只在从库" />
<!-- memcached -->
<property name="cache.servers.union.address" defaultValue="memcache.union.yohoops.org:11211" description="" />
<!-- MQ -->
<property name="rabbit.mq.host" defaultValue="192.168.102.162" description="" />
<property name="rabbit.mq.port" defaultValue="32810" description="" />
<property name="rabbit.mq.username" defaultValue="yoho" description="" />
<property name="rabbit.mq.password" defaultValue="yoho" description="" />
<property name="rabbit.mq.virtualHost" defaultValue="/yoho" description="" />
<property name="activeTime" defaultValue="86400" description="点击到激活的回溯期(秒)" />
<property name="draw.writeFile.delay" defaultValue="60" description="元宵节抽签活动,定时写文件的周期(分)" />
<!-- 大数据的数据库信息 -->
<property name="bigdate.db.url" defaultValue="172.31.11.29:3306" description="大数据的数据库地址" />
<property name="bigdate.db.username" defaultValue="yh_test_bigdata" description="大数据的数据库用户名" />
<property name="bigdate.db.password" defaultValue="lRnPI2bQsZRNn/qC/29ZGqMwEu/zaKV31I9S8xDJIUA=" description="大数据的数据库密码(加密串)" />
</group>
<script>
<generate template="META-INF/autoconf/config.properties" destfile="WEB-INF/classes/config.properties" />
<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/services.yml" destfile="WEB-INF/classes/services.yml" />
</script>
</config>