Shawn
Shawn
if you are using go chassis and would like to share about it, we would appreciate that. **Let everyone know about you** you can choose to give your information like...
**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. set a key value with lable "app=default, env=" 2....
比如测试账号创建和角色创建,其实ut代码仅需要一份,通过控制环境变量值,再运行go test即可完成ut,但是现在是不同目录下维护各自的代码,维护成本较高
datasource=mongodb|etcd
消息推送跟踪
场景: 用户关心当前客户端拉取配置的状况。并且帮助定位为何配置没有生效。 需求: 对于所有客户端,需要追踪客户端(记录IP,User-Agent),以及他的拉取条件(比如key,label,revision,wait),返回值(response body,header) 不要记录历史信息,只需要把user agent和ip作为unique id存储,记录他最新的拉取信息即可 collection: polling_detail 列: id,polling date,IP,user agent,url path,response body,response header
kv记录应当能支持更新label内容 场景: 创建一个key为timeout。 label内容是集群为A,服务名为购物车。但事后希望给这个配置进行变更新增一个label version。 已有功能依然保留: - 创建kv时根据label内容生成唯一的label id并记录到label collection - 更新kv时支持不传入key id,根据key name和label内容查到唯一记录并更新 后台改造点: - 更新kv时,允许传入key id,根据key id,查出已存在key记录,并对label进行覆盖。还需要对这个新的label判断是否需要create一个新的label doc并生成新的label id并更新kv的label id