META-INF.autoconf.auto-config.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <config description="自动配置:common-micro" xmlns:j="jelly:core"> <group> <property name="common.spring.conf.addPre" defaultValue="null" description="需要加入配置项的前缀"/> <property name="common.spring.conf.addSingle" defaultValue="null" description="需要加入的单个配置项"/> <property name="common.spring.conf.convert.consul" defaultValue="null" description="consul转换器"/> <property name="common.spring.conf.convert.apollo" defaultValue="null" description="apollo转换器"/> <property name="common.spring.conf.convert.configserver" defaultValue="null" description="configserver转换器"/> <property name="common.spring.conf.convert.bootstrap" defaultValue="null" description="bootstrap转换器"/> <property name="common.spring.conf.convert.application" defaultValue="null" description="application转换器"/> </group> <group> <property name="common.spring.mybatis.mapperLocations" defaultValue="classpath:mybatis/primary/sqlmap/*.xml" description="mapping地址"/> <property name="common.spring.mybatis.configLocation" defaultValue="classpath:mybatis/primary/sqlmap-config.xml" description="全局配置地址"/> </group> <group> <property name="common.spring.quartz.enable" defaultValue="false" description="是否启用quartz"/> </group> <group> <property name="common.spring.metrics.jmx.enable" defaultValue="true" description="是否在jmx上注册"/> <property name="common.spring.metrics.serviceName" defaultValue="tams" description="metrics的组名"/> <property name="common.spring.metrics.env_file_name" defaultValue="tams_metrics" description="metrics的文件名"/> <property name="common.spring.metrics.env_file_root" defaultValue="/alidata1/admin" description="metrics的根路径"/> </group> <script> <generate template="common-spring.properties.vm" destfile="common-spring.properties" charset="utf-8" /> </script> </config>