You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2018/01/10 06:29:20 UTC

[incubator-servicecomb-java-chassis] 06/07: SCB-36 remove control flag: dynamic.config.enable, use original cse.config.client.serverUri to indicate whether to use config center.

This is an automated email from the ASF dual-hosted git repository.

liubao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-java-chassis.git

commit 4b3e39987a1a7fde22a59e8f3df7a8541f466984
Author: lijasonvip <li...@huawei.com>
AuthorDate: Tue Jan 9 14:37:16 2018 +0800

    SCB-36 remove control flag: dynamic.config.enable, use original cse.config.client.serverUri to indicate whether to use config center.
    
    Signed-off-by: lijasonvip <li...@huawei.com>
---
 dynamic-config/config-apollo/src/test/resources/microservice.yaml | 4 ++++
 dynamic-config/pom.xml                                            | 1 -
 samples/config-apollo-sample/src/main/resources/microservice.yaml | 3 +++
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/dynamic-config/config-apollo/src/test/resources/microservice.yaml b/dynamic-config/config-apollo/src/test/resources/microservice.yaml
index 431e4d9..f050218 100644
--- a/dynamic-config/config-apollo/src/test/resources/microservice.yaml
+++ b/dynamic-config/config-apollo/src/test/resources/microservice.yaml
@@ -31,7 +31,11 @@ apollo:
     token: xxx
     refreshInterval: 30
     firstRefreshInterval: 0
+
 cse:
+  config:
+    client:
+      serverUri: http://127.0.0.1:8070
   service:
     registry:
       address: http://127.0.0.1:30100
diff --git a/dynamic-config/pom.xml b/dynamic-config/pom.xml
index d627783..a6ed804 100644
--- a/dynamic-config/pom.xml
+++ b/dynamic-config/pom.xml
@@ -34,5 +34,4 @@
     <module>config-apollo</module>
   </modules>
 
-
 </project>
\ No newline at end of file
diff --git a/samples/config-apollo-sample/src/main/resources/microservice.yaml b/samples/config-apollo-sample/src/main/resources/microservice.yaml
index 5dbf37c..fe4b1f1 100644
--- a/samples/config-apollo-sample/src/main/resources/microservice.yaml
+++ b/samples/config-apollo-sample/src/main/resources/microservice.yaml
@@ -30,6 +30,9 @@ apollo:
     namespace: application
     token: #get token from Apollo web pages
 cse:
+  config:
+    client:
+      serverUri: http://127.0.0.1:8070
   service:
     registry:
       address: http://127.0.0.1:30100

-- 
To stop receiving notification emails like this one, please contact
"commits@servicecomb.apache.org" <co...@servicecomb.apache.org>.