Comments (18)
from agollo.
不过相对来说,这个package设计的比较干净
from agollo.
这个不是什么大的问题,考虑后续升级大版本号的时候修改下这里
from agollo.
@philchia 有个其它的问题想在这里也问一下,你们会有对象数组配置的场景吗?
类似下面这种情况:
是一个动态对象数组
[[person]]
id=1
name="a"
[[person]]
id=2
name="b"
这种在apollo中,支持吗?或者是你们遇到,你们是怎么解决这种场景?thanks
from agollo.
这个直接放在一个yaml的namesapce里面就行了吧?
from agollo.
@philchia http://106.12.25.204:8080/configs/spring-boot-dubbo-provider/default/test-yml
我在这个官方测试环境,测试了一下,发现通过HTTP接口拉取不到。报这个错误;
但配置内容很简单:
name: Tom Smith
from agollo.
我看到“properties”格式,有人这么做:
test:[{"a": 1, "b", 2}]
from agollo.
这样都是可以的
from agollo.
poller.go watchUpdates() 感觉还是需要有暴漏pumpUpdates错误的出口
from agollo.
感觉有返回error的地方,但是没处理error;not good,my friend.
from agollo.
嗯,后面考虑加上,也欢迎pr
from agollo.
CircleCI 这个好用?你们公司是用这个的?
from agollo.
这个属于个人项目,之前用travis,后面太慢了,换了
from agollo.
你的.gitignore很工整,是有什么生产工具帮助设置这些吗?
from agollo.
通过 app.properties 载入一些应用的配置,这个做法,后续你会改动吗?
from agollo.
这个并不是强制的
from agollo.
我划分了一下参数
app:
appId
clusterName
namespaceNames
apollo:
config_server_url
我觉得apollo这部分的变量应该提取出来,这样做持续交付的时候,配置改一份,直接推送给所有不同的appid,如果放在一份,可能需要逐个appid改,然后我觉得const.go里面有些也可以放出来到apollo这里。
我个人理解……
from agollo.
或者说,除了 app.properties 这个方式还有没有,其它更好的方式去传递这些参数,考虑上容器与微服务
from agollo.
Related Issues (20)
- 能否支持多个 MetaAddr 地址?
- .global_default: no such file or directory HOT 2
- 能否支持自定义存储接口
- client.GetContent() will escape multiline value as wrong format. HOT 1
- client.go中的GetPropertiesContent,GetString等方法for循环处理namespace最终只会处理数组的最后一个 HOT 1
- 如何使用sdk创建一个新的namespace HOT 1
- 更新 cache dump lock 粒度
- 客户端和服务端都多实例部署的情况下,有概率出现部分客户端实例获取不到最新配置 HOT 2
- 签名需要支持sha256加密,以及https需要指定加密套件
- 提供内置的 MockClient
- 日志一直连续打印 HOT 3
- GetContent获取不到内容,帮忙看下呢,不知怎么回事 HOT 4
- 建议本地缓存文件可配置是否需要生成 HOT 6
- 为什么代码非得监听application这个命名空间呢 HOT 1
- 没有考虑到默认集群更新的情况 HOT 5
- apollo启动失败,请求的登陆页面,secret配置了 HOT 4
- 缓存配置文件权限可不可以设置成600呀。
- v4 和 v3 有啥区别? HOT 1
- [QUESTION] the system cannot find the path specified HOT 1
- apollo初始化问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agollo.