-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
792559e
commit 2aaf272
Showing
19 changed files
with
85 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
|
||
|
||
# \u4ED3\u5E93 URL | ||
conf_server_store_action=/api/config | ||
disconf.conf_server_store_action=/api/config | ||
|
||
# zoo URL | ||
conf_server_zoo_action=/api/zoo | ||
disconf.conf_server_zoo_action=/api/zoo | ||
|
||
# \u83B7\u53D6\u8FDC\u7A0B\u4E3B\u673A\u4E2A\u6570\u7684URL | ||
conf_server_master_num_action=/api/getmasterinfo | ||
disconf.conf_server_master_num_action=/api/getmasterinfo | ||
|
||
# \u4E0B\u8F7D\u7684\u6587\u4EF6\u4F1A\u88AB\u8FC1\u79FB\u5230classpath\u6839\u8DEF\u5F84\u4E0B\uFF0C\u5F3A\u70C8\u5EFA\u8BAE\u5C06\u6B64\u9009\u9879\u7F6E\u4E3A true(\u9ED8\u8BA4\u662Ftrue) | ||
enable_local_download_dir_in_class_path=true | ||
disconf.enable_local_download_dir_in_class_path=true | ||
|
||
# \u4E0B\u8F7D\u6587\u4EF6\u5939, \u8FDC\u7A0B\u6587\u4EF6\u4E0B\u8F7D\u540E\u4F1A\u653E\u5728\u8FD9\u91CC | ||
local_download_dir=./disconf/download | ||
disconf.local_download_dir=./disconf/download |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
|
||
# \u662F\u5426\u542F\u52A8disconf | ||
# true(\u9ED8\u8BA4)\u4F1A\u4ECE\u8FDC\u7A0B\u83B7\u53D6\u914D\u7F6E false\u5219\u76F4\u63A5\u83B7\u53D6\u672C\u5730\u914D\u7F6E | ||
enable.remote.conf=true | ||
disconf.enable.remote.conf=true | ||
|
||
# | ||
# \u914D\u7F6E\u670D\u52A1\u5668\u7684 HOST,\u7528\u9017\u53F7\u5206\u9694 127.0.0.1:9289,127.0.0.1:9289 | ||
# | ||
conf_server_host=127.0.0.1:9289,127.0.0.1:9289 | ||
disconf.conf_server_host=127.0.0.1:9289,127.0.0.1:9289 | ||
|
||
# \u7248\u672C, \u8BF7\u91C7\u7528 X_X_X_X \u683C\u5F0F | ||
version=1_0_0_0 | ||
disconf.version=1_0_0_0 | ||
|
||
# APP \u8BF7\u91C7\u7528 \u4EA7\u54C1\u7EBF_\u670D\u52A1\u540D \u683C\u5F0F | ||
app=disconf_testcase | ||
disconf.app=disconf_testcase | ||
|
||
# \u73AF\u5883 | ||
env=rd | ||
disconf.env=rd | ||
|
||
# \u8C03\u8BD5\u65F6true, \u7EBF\u4E0A\u73AF\u5883false | ||
debug=true | ||
disconf.debug=true | ||
|
||
# \u5FFD\u7565\u54EA\u4E9B\u5206\u5E03\u5F0F\u914D\u7F6E\uFF0C\u7528\u9017\u53F7\u5206\u9694 | ||
ignore=ignoreB.properties,ignoreB.properties | ||
disconf.ignore=ignoreB.properties,ignoreB.properties | ||
|
||
# \u83B7\u53D6\u8FDC\u7A0B\u914D\u7F6E \u91CD\u8BD5\u6B21\u6570\uFF0C\u9ED8\u8BA4\u662F3\u6B21 | ||
conf_server_url_retry_times=3 | ||
disconf.conf_server_url_retry_times=3 | ||
# \u83B7\u53D6\u8FDC\u7A0B\u914D\u7F6E \u91CD\u8BD5\u65F6\u4F11\u7720\u65F6\u95F4\uFF0C\u9ED8\u8BA4\u662F5\u79D2 | ||
conf_server_url_retry_sleep_seconds=5 | ||
disconf.conf_server_url_retry_sleep_seconds=5 | ||
|
||
# \u7528\u6237\u6307\u5B9A\u7684\u4E0B\u8F7D\u6587\u4EF6\u5939, \u8FDC\u7A0B\u6587\u4EF6\u4E0B\u8F7D\u540E\u4F1A\u653E\u5728\u8FD9\u91CC | ||
user_define_download_dir=./disconf/download | ||
disconf.user_define_download_dir=./disconf/download |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
...os/disconf-spring-boot-demo/disconf-spring-boot-web/src/main/resources/disconf.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
# \u662F\u5426\u4F7F\u7528\u8FDC\u7A0B\u914D\u7F6E\u6587\u4EF6 | ||
# true(\u9ED8\u8BA4)\u4F1A\u4ECE\u8FDC\u7A0B\u83B7\u53D6\u914D\u7F6E false\u5219\u76F4\u63A5\u83B7\u53D6\u672C\u5730\u914D\u7F6E | ||
enable.remote.conf=true | ||
disconf.enable.remote.conf=true | ||
|
||
# | ||
# \u914D\u7F6E\u670D\u52A1\u5668\u7684 HOST,\u7528\u9017\u53F7\u5206\u9694 127.0.0.1:8000,127.0.0.1:8000 | ||
# | ||
conf_server_host=127.0.0.1:8080 | ||
disconf.conf_server_host=127.0.0.1:8080 | ||
|
||
# \u7248\u672C, \u8BF7\u91C7\u7528 X_X_X_X \u683C\u5F0F | ||
version=1_0_0_0 | ||
disconf.version=1_0_0_0 | ||
|
||
# APP \u8BF7\u91C7\u7528 \u4EA7\u54C1\u7EBF_\u670D\u52A1\u540D \u683C\u5F0F | ||
app=spring-boot-disconf | ||
disconf.app=spring-boot-disconf | ||
|
||
# \u73AF\u5883 | ||
env=rd | ||
disconf.env=rd | ||
|
||
# \u5FFD\u7565\u54EA\u4E9B\u5206\u5E03\u5F0F\u914D\u7F6E\uFF0C\u7528\u9017\u53F7\u5206\u9694 | ||
ignore= | ||
disconf.ignore= | ||
|
||
# \u83B7\u53D6\u8FDC\u7A0B\u914D\u7F6E \u91CD\u8BD5\u6B21\u6570\uFF0C\u9ED8\u8BA4\u662F3\u6B21 | ||
conf_server_url_retry_times=1 | ||
disconf.conf_server_url_retry_times=1 | ||
# \u83B7\u53D6\u8FDC\u7A0B\u914D\u7F6E \u91CD\u8BD5\u65F6\u4F11\u7720\u65F6\u95F4\uFF0C\u9ED8\u8BA4\u662F5\u79D2 | ||
conf_server_url_retry_sleep_seconds=1 | ||
disconf.conf_server_url_retry_sleep_seconds=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.