自动化通过rcp client调用远端服务接口时,都需要将远端测试服务ip.端口记录在配置文件. 但由于,服务发布或重启会导致ip.端口变动. 以下将通过python-consul 自动去读取consul配置,获取相应服务的ip.port import consul #connect consul c = consul.Consul(host='10.1.x.x',port=8500,scheme='http') data = c.catalog.service('xxxxme.srv.acco
主要配置 Property Name Req'd Type Default Value org.quartz.scheduler.instanceName no string 'QuartzScheduler' org.quartz.scheduler.instanceId no string 'NON_CLUSTERED' org.quartz.scheduler.instanceIdGenerator.class no string (class name) org.quartz.simpl