Spring Cloud Config Server - 如何下载二进制文件

时间:2016-07-15 11:26:22

标签: spring git spring-cloud spring-cloud-config

我有一个Spring Cloud Config Server,其中包含git repo中的常用属性文件:

|--application.yml
|--app1.yml

我还添加了一个二进制文件

|--mybinaryfile

通常访问我要求的属性

http://myconfigserver/app1/dev

是否可以通过配置服务器下载二进制文件?我试过

http://myconfigserver/mybinaryfile

http://myconfigserver/mybinaryfile/dev

但他们没有工作。

1 个答案:

答案 0 :(得分:1)

我找到了它:

http://myconfigserver/*/dev/master/mybinaryfile