You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2018/03/13 08:44:07 UTC

[incubator-servicecomb-website] branch master updated (4739943 -> 1902d05)

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

ningjiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-website.git.


    from 4739943  Update the group id of spring boot
     new b9d80c9  SCB-210 update document for apollo configuration items
     new 8ec8692  Update dynamic-config.md
     new 09f8eec  Update dynamic-config.md
     new 5b3610b  Update dynamic-config.md
     new 2df4f54  notice that start apollo service could take serval minutes
     new 1902d05  notice that start apollo could take serval minutes

The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 _users/cn/dynamic-config.md | 15 ++++-----------
 _users/dynamic-config.md    | 15 ++++-----------
 2 files changed, 8 insertions(+), 22 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
ningjiang@apache.org.

[incubator-servicecomb-website] 04/06: Update dynamic-config.md

Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 5b3610b61a1668bd950805ec7836f1879bc0e40c
Author: lijasonvip <li...@huawei.com>
AuthorDate: Mon Mar 12 18:08:49 2018 +0800

    Update dynamic-config.md
---
 _users/dynamic-config.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/_users/dynamic-config.md b/_users/dynamic-config.md
index d64cc63..a584ae2 100644
--- a/_users/dynamic-config.md
+++ b/_users/dynamic-config.md
@@ -75,7 +75,8 @@ Visit `http://192.168.199.1:8070/open/manage.html` and fill in application ID an
        token: testtoken
        refreshInterval: 10
    ```
-​	Configurations under `apollo.config` are parameters of the project that users created above, including serviceName, env, clusters, namespace, token and refreshInterval. Pay attention to `refreshInterval: 10`, it means service will fetch latest configuration items every each 10 seconds, default refresh cycle is 30 second if no value is configured here.
+​	Configurations under `apollo.config` are parameters of the project that users created above, including serviceName, env, clusters, namespace, token and refreshInterval. Pay attention to `refreshInterval: 10`, it means service will fetch latest configuration items every each 10 seconds, default refresh cycle is 30 second if no value is configured here. 
+  `serviceName` need to be `AppId` in apollo, please pay attention to that.
 
 ### Get configurations
 

-- 
To stop receiving notification emails like this one, please contact
ningjiang@apache.org.

[incubator-servicecomb-website] 01/06: SCB-210 update document for apollo configuration items

Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit b9d80c92e8c8ccbcee79ff56bf1eeb0719da707c
Author: lijasonvip <li...@huawei.com>
AuthorDate: Thu Mar 8 17:01:43 2018 +0800

    SCB-210 update document for apollo configuration items
    
    Signed-off-by: lijasonvip <li...@huawei.com>
---
 _users/cn/dynamic-config.md | 12 ++----------
 _users/dynamic-config.md    | 12 ++----------
 2 files changed, 4 insertions(+), 20 deletions(-)

diff --git a/_users/cn/dynamic-config.md b/_users/cn/dynamic-config.md
index 719854e..0cc7b1e 100644
--- a/_users/cn/dynamic-config.md
+++ b/_users/cn/dynamic-config.md
@@ -58,21 +58,13 @@ redirect_from:
 
 ```xml
     <dependency>
-          <groupId>com.netflix.archaius</groupId>
-          <artifactId>archaius-core</artifactId>
-    </dependency>   
-    <dependency>
-          <groupId>io.servicecomb</groupId>
+          <groupId>org.apache.servicecomb</groupId>
           <artifactId>config-apollo</artifactId>
     </dependency>
 ```
 ### 添加配置项
 
    ```yaml
-   cse:
-     config:
-       client:
-       serverUri: http://127.0.0.1:8070
    apollo:
      config:
        serverUri: http://127.0.0.1:8070
@@ -83,7 +75,7 @@ redirect_from:
        token: testtoken
        refreshInterval: 10
    ```
-​	`cse.config.client.serverUri`配置项填写Apollo配置中心portal服务地址,只是表示对接配置中心,`apollo.config`下的配置项是用户创建的应用参数,包括服务地址,用户名,集群,namespace,token等参数。这些参数可以在配置中心页面项目信息栏中查到。需要注意的是`refreshInterval: 10`表示应用会每隔10秒去配置中心查询一次最新的配置信息,不配置此项默认刷新周期为30秒。
+​	`apollo.config`下的配置项是用户创建的应用参数,包括服务地址,用户名,集群,namespace,token等参数。这些参数可以在配置中心页面项目信息栏中查到。需要注意的是`refreshInterval: 10`表示应用会每隔10秒去配置中心查询一次最新的配置信息,不配置此项默认刷新周期为30秒。
 
 ### 获取动态属性
 
diff --git a/_users/dynamic-config.md b/_users/dynamic-config.md
index 2d61f7e..d64cc63 100644
--- a/_users/dynamic-config.md
+++ b/_users/dynamic-config.md
@@ -58,21 +58,13 @@ Visit `http://192.168.199.1:8070/open/manage.html` and fill in application ID an
 
 ```xml
     <dependency>
-          <groupId>com.netflix.archaius</groupId>
-          <artifactId>archaius-core</artifactId>
-    </dependency>   
-    <dependency>
-          <groupId>io.servicecomb</groupId>
+          <groupId>org.apache.servicecomb</groupId>
           <artifactId>config-apollo</artifactId>
     </dependency>
 ```
 ### Add configurations in microservice.yaml
 
    ```yaml
-   cse:
-     config:
-       client:
-       serverUri: http://127.0.0.1:8070
    apollo:
      config:
        serverUri: http://127.0.0.1:8070
@@ -83,7 +75,7 @@ Visit `http://192.168.199.1:8070/open/manage.html` and fill in application ID an
        token: testtoken
        refreshInterval: 10
    ```
-​	Configuration `cse.config.client.serverUri` is the portal address of Apollo configuration center just the same as `apollo.config.serverUri`. Configurations under `apollo.config` are parameters of the project that users created above, including serviceName, env, clusters, namespace, token and refreshInterval. Pay attention to `refreshInterval: 10`, it means service will fetch latest configuration items every each 10 seconds, default refresh cycle is 30 second if no value is configured here.
+​	Configurations under `apollo.config` are parameters of the project that users created above, including serviceName, env, clusters, namespace, token and refreshInterval. Pay attention to `refreshInterval: 10`, it means service will fetch latest configuration items every each 10 seconds, default refresh cycle is 30 second if no value is configured here.
 
 ### Get configurations
 

-- 
To stop receiving notification emails like this one, please contact
ningjiang@apache.org.

[incubator-servicecomb-website] 03/06: Update dynamic-config.md

Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 09f8eeccd09b755b01448c44d62597490dca3bee
Author: lijasonvip <li...@huawei.com>
AuthorDate: Mon Mar 12 18:07:28 2018 +0800

    Update dynamic-config.md
---
 _users/cn/dynamic-config.md | 1 -
 1 file changed, 1 deletion(-)

diff --git a/_users/cn/dynamic-config.md b/_users/cn/dynamic-config.md
index 29c86a3..579adc0 100644
--- a/_users/cn/dynamic-config.md
+++ b/_users/cn/dynamic-config.md
@@ -76,7 +76,6 @@ redirect_from:
        refreshInterval: 10
    ```
 ​	`apollo.config`下的配置项是用户创建的应用参数,包括服务地址,用户名,集群,namespace,token等参数。这些参数可以在配置中心页面项目信息栏中查到。需要注意的是`refreshInterval: 10`表示应用会每隔10秒去配置中心查询一次最新的配置信息,不配置此项默认刷新周期为30秒。
-  
   `serviceName`对应Apollo中的第三发应用ID: `AppId`.
 
 ### 获取动态属性

-- 
To stop receiving notification emails like this one, please contact
ningjiang@apache.org.

[incubator-servicecomb-website] 02/06: Update dynamic-config.md

Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 8ec8692b73ece7da9a9edc823602b3ca511ebbfa
Author: lijasonvip <li...@huawei.com>
AuthorDate: Mon Mar 12 18:06:50 2018 +0800

    Update dynamic-config.md
---
 _users/cn/dynamic-config.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/_users/cn/dynamic-config.md b/_users/cn/dynamic-config.md
index 0cc7b1e..29c86a3 100644
--- a/_users/cn/dynamic-config.md
+++ b/_users/cn/dynamic-config.md
@@ -76,6 +76,8 @@ redirect_from:
        refreshInterval: 10
    ```
 ​	`apollo.config`下的配置项是用户创建的应用参数,包括服务地址,用户名,集群,namespace,token等参数。这些参数可以在配置中心页面项目信息栏中查到。需要注意的是`refreshInterval: 10`表示应用会每隔10秒去配置中心查询一次最新的配置信息,不配置此项默认刷新周期为30秒。
+  
+  `serviceName`对应Apollo中的第三发应用ID: `AppId`.
 
 ### 获取动态属性
 

-- 
To stop receiving notification emails like this one, please contact
ningjiang@apache.org.

[incubator-servicecomb-website] 05/06: notice that start apollo service could take serval minutes

Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 2df4f544060525b2b16118618a266e8139e4dff8
Author: lijasonvip <li...@huawei.com>
AuthorDate: Tue Mar 13 15:53:02 2018 +0800

    notice that start apollo service could take serval minutes
---
 _users/cn/dynamic-config.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/_users/cn/dynamic-config.md b/_users/cn/dynamic-config.md
index 579adc0..8a32b34 100644
--- a/_users/cn/dynamic-config.md
+++ b/_users/cn/dynamic-config.md
@@ -24,7 +24,7 @@ redirect_from:
    git clone https://github.com/lijasonvip/apollo-image-for-servicecomb.git
    cd apollo-image-for-servicecomb && docker-compose up
    ```
-等待出现 `Portal started. You can visit http://localhost:8070 now!` 后表示系统启动完成,可以在浏览器中访问`http://localhost:8070`进入配置中心页面。 `docker-compose`安装请参考[文档](https://docs.docker.com/compose/install/)。
+等待出现 `Portal started. You can visit http://localhost:8070 now!` 后表示系统启动完成(启动时间基于机器性能可能需要1-3分钟),可以在浏览器中访问`http://localhost:8070`进入配置中心页面。 `docker-compose`安装请参考[文档](https://docs.docker.com/compose/install/)。
 
 ### 通过Apollo界面配置应用获取TOKEN
 

-- 
To stop receiving notification emails like this one, please contact
ningjiang@apache.org.

[incubator-servicecomb-website] 06/06: notice that start apollo could take serval minutes

Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 1902d0561de60374fe36a727daf10fec4ba0a797
Author: lijasonvip <li...@huawei.com>
AuthorDate: Tue Mar 13 15:54:49 2018 +0800

    notice that start apollo could take serval minutes
---
 _users/dynamic-config.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/_users/dynamic-config.md b/_users/dynamic-config.md
index a584ae2..d5a0b84 100644
--- a/_users/dynamic-config.md
+++ b/_users/dynamic-config.md
@@ -24,7 +24,7 @@ Apollo services can be easily deployed and started step by step following its [o
    git clone https://github.com/lijasonvip/apollo-image-for-servicecomb.git
    cd apollo-image-for-servicecomb && docker-compose up
    ```
-When your console shows `Portal started. You can visit http://localhost:8070 now!` , it means the service is started and ready for use. Visit Apollo configuration pages at `http://localhost:8070` in a browser. Please refer to [Docker document](https://docs.docker.com/compose/install/) about `docker-compose`.
+When your console shows `Portal started. You can visit http://localhost:8070 now!` , it means the service is started and ready for use(It could take serval minutes which depends on machines). Visit Apollo configuration pages at `http://localhost:8070` in a browser. Please refer to [Docker document](https://docs.docker.com/compose/install/) about `docker-compose`.
 
 ### Configure services and get a token
 

-- 
To stop receiving notification emails like this one, please contact
ningjiang@apache.org.