All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.autoconf.auto-config.xml Maven / Gradle / Ivy

There is a newer version: 3.6.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<config description="自动配置:common-grpc" xmlns:j="jelly:core">  
	<group>
		<property name="common.grpc.server.port"  defaultValue="50051" description="启动端口"/>
		<property name="common.grpc.server.service"  defaultValue="none" description="要加入的rpc服务,中间用逗号分隔"/>
		<property name="common.grpc.plugin.path"  defaultValue="none" description="插件路径"/>	
		<property name="common.grpc.admin.token"  defaultValue="888888" description="操作权限"/>	
		<property name="common.grpc.plugin.packagebase"  defaultValue="net.wicp.tams.common.grpc.connector.busi," description="基础包,中间用逗号分隔"/>		
	</group>
	<group>
	   <property name="common.grpc.eureka.enabled"  defaultValue="false" description="是否支持eureka,如果为false,本组所有参数失效"/>
	   <property name="common.grpc.ribbon.default.eureka.registration.enabled"  defaultValue="false" description="是否要注册本实例"/>
	   <property name="common.grpc.ribbon.default.eureka.preferSameZone"  defaultValue="true" description="在同一zone"/>
	   <property name="common.grpc.ribbon.default.eureka.shouldUseDns"  defaultValue="false" description="是否使用Dns"/>
	   <property name="common.grpc.ribbon.default.eureka.serviceUrl.default"  defaultValue="http://localhost:8090/eureka/v2" description="eureka地址"/>
	   <property name="common.grpc.ribbon.default.eureka.decoderName"  defaultValue="50051" description="编码"/>
	</group>
	<script>
		<generate template="common-grpc.properties.vm" destfile="common-grpc.properties" charset="utf-8" />
	</script>
</config>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy