Giter Club home page Giter Club logo

Comments (18)

philchia avatar philchia commented on August 23, 2024 1

https://www.gitignore.io/

from agollo.

zplzpl avatar zplzpl commented on August 23, 2024

不过相对来说,这个package设计的比较干净

from agollo.

philchia avatar philchia commented on August 23, 2024

这个不是什么大的问题,考虑后续升级大版本号的时候修改下这里

from agollo.

zplzpl avatar zplzpl commented on August 23, 2024

@philchia 有个其它的问题想在这里也问一下,你们会有对象数组配置的场景吗?

类似下面这种情况:
是一个动态对象数组

[[person]]
id=1
name="a"
[[person]]
id=2
name="b"

这种在apollo中,支持吗?或者是你们遇到,你们是怎么解决这种场景?thanks

from agollo.

philchia avatar philchia commented on August 23, 2024

这个直接放在一个yaml的namesapce里面就行了吧?

from agollo.

zplzpl avatar zplzpl commented on August 23, 2024

@philchia http://106.12.25.204:8080/configs/spring-boot-dubbo-provider/default/test-yml
我在这个官方测试环境,测试了一下,发现通过HTTP接口拉取不到。报这个错误;

但配置内容很简单:

name: Tom Smith

from agollo.

zplzpl avatar zplzpl commented on August 23, 2024

我看到“properties”格式,有人这么做:

test:[{"a": 1, "b", 2}]

from agollo.

philchia avatar philchia commented on August 23, 2024

这样都是可以的

from agollo.

zplzpl avatar zplzpl commented on August 23, 2024

poller.go watchUpdates() 感觉还是需要有暴漏pumpUpdates错误的出口

from agollo.

zplzpl avatar zplzpl commented on August 23, 2024

感觉有返回error的地方,但是没处理error;not good,my friend.

from agollo.

philchia avatar philchia commented on August 23, 2024

嗯,后面考虑加上,也欢迎pr

from agollo.

zplzpl avatar zplzpl commented on August 23, 2024

CircleCI 这个好用?你们公司是用这个的?

from agollo.

philchia avatar philchia commented on August 23, 2024

这个属于个人项目,之前用travis,后面太慢了,换了

from agollo.

zplzpl avatar zplzpl commented on August 23, 2024

你的.gitignore很工整,是有什么生产工具帮助设置这些吗?

from agollo.

zplzpl avatar zplzpl commented on August 23, 2024

通过 app.properties 载入一些应用的配置,这个做法,后续你会改动吗?

from agollo.

philchia avatar philchia commented on August 23, 2024

这个并不是强制的

from agollo.

zplzpl avatar zplzpl commented on August 23, 2024

我划分了一下参数

app:
appId
clusterName
namespaceNames

apollo:
config_server_url

我觉得apollo这部分的变量应该提取出来,这样做持续交付的时候,配置改一份,直接推送给所有不同的appid,如果放在一份,可能需要逐个appid改,然后我觉得const.go里面有些也可以放出来到apollo这里。

我个人理解……

from agollo.

zplzpl avatar zplzpl commented on August 23, 2024

或者说,除了 app.properties 这个方式还有没有,其它更好的方式去传递这些参数,考虑上容器与微服务

from agollo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.