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


The following commit(s) were added to refs/heads/master by this push:
     new ddec6e4  SCB-263 remind user to release namespace when a project was 
first created, and fix some error of picture path (#30)
ddec6e4 is described below

commit ddec6e436459339bd0eafcbf2eea0f30ed9564a6
Author: lijasonvip <lib...@huawei.com>
AuthorDate: Mon Jan 22 15:00:08 2018 +0800

    SCB-263 remind user to release namespace when a project was first created, 
and fix some error of picture path (#30)
---
 _data/navigation.yml                       |   8 ++++----
 _users/cn/dynamic-config.md                |  14 +++++++++-----
 _users/dynamic-config.md                   |  14 +++++++++-----
 assets/images/config/release_namespace.png | Bin 0 -> 44073 bytes
 4 files changed, 22 insertions(+), 14 deletions(-)

diff --git a/_data/navigation.yml b/_data/navigation.yml
index 25d50eb..cabe53b 100755
--- a/_data/navigation.yml
+++ b/_data/navigation.yml
@@ -84,8 +84,8 @@ t:
             url: /users/distributed-tracing/
           - title: Customized Tracing
             url: /users/customized-tracing/
-         - title: Dynamic Configurations
-           url: /users/dynamic-config/
+          - title: Dynamic Configurations
+            url: /users/dynamic-config/
 
       - title: Edging Service
         children:
@@ -211,8 +211,8 @@ t:
             url: /cn/users/distributed-tracing/
           - title: 自定义调用链打点
             url: /cn/users/customized-tracing/
-         - title: 动态配置
-           url: /cn/users/dynamic-config/
+          - title: 动态配置
+            url: /cn/users/dynamic-config/
 
       - title: 服务能力开放
         children:
diff --git a/_users/cn/dynamic-config.md b/_users/cn/dynamic-config.md
index d11f698..719854e 100644
--- a/_users/cn/dynamic-config.md
+++ b/_users/cn/dynamic-config.md
@@ -32,23 +32,27 @@ redirect_from:
 
   在浏览器中输入登录地址,地址是容器所在主机的`IP:PORT`端口默认8070,如`http://192.168.199.1:8070`
 
-  ![登录配置中心](E:\opensource\dynamic 
config\incubator-servicecomb-website\assets\images\config/login.png)
+  ![登录配置中心](/assets/images/config/login.png)
 
   Apollo配置中心的默认登录账号是apollo/admin,点击登录后会跳转到下图中的配置中心首页。
 
 * ##### 创建项目
 
-  ![创建项目](E:\opensource\dynamic 
config\incubator-servicecomb-website\assets\images\config\create_project.png)
+  ![创建项目](/assets/images/config/create_project.png)
 
   
首页中默认展示一个示例项目SampleApp,用户可以点击创建项目自行创建一个,下图是创建项目页面,填入应用Id和应用名称,选择所在部门和应用负责人后点击提交即可。
 
-![项目信息](E:\opensource\dynamic 
config\incubator-servicecomb-website\assets\images\config\create_project2.png)
+![项目信息](/assets/images/config/create_project2.png)
+
+​      需要注意的是,首次创建好一个项目后要发布之后客户端才能查询到该项目信息。如下图红框中的提示,点击发布即可。
+
+![release_namespace](/assets/images/config/release_namespace.png)
 
 * ##### 生成TOKEN
 
 
打开地址`http://192.168.199.1:8070/open/manage.html`进入下图页面,填入刚才创建项目使的应用名选择相应的部门和项目负责人即可生成应用对应的TOKEN,保存这个TOKEN稍后配置到项目代码中即可。
 
-![生成TOKEN](E:\opensource\dynamic 
config\incubator-servicecomb-website\assets\images\config\token.png)
+![生成TOKEN](/assets/images/config/token.png)
 
 ### 在应用中添加依赖
 
@@ -83,7 +87,7 @@ redirect_from:
 
 ### 获取动态属性
 
-​      在配置中心中创建一个`timeout`的配置项,其值设置为`100`,并发布如下图:      
![动态属性timeout](E:\opensource\dynamic 
config\incubator-servicecomb-website\assets\images\config\release_config.png)
+​      在配置中心中创建一个`timeout`的配置项,其值设置为`100`,并发布如下图:      
![动态属性timeout](/assets/images/config/release_config.png)
 
 ​      
代码中可以使用`DynamicPropertyFactory.getInstance().getProperty()`方法来获取具体的配置项值,`getProperty`方法可以根据配置项具体的类型来灵活使用,比如`getIntProperty()`,`getStringProperty()`等。
 
diff --git a/_users/dynamic-config.md b/_users/dynamic-config.md
index 22a678a..2d61f7e 100644
--- a/_users/dynamic-config.md
+++ b/_users/dynamic-config.md
@@ -32,23 +32,27 @@ When your console shows `Portal started. You can visit 
http://localhost:8070 now
 
   Visit the address of Apollo configuration portal service , for example: 
`http://192.168.199.1:8070`
 
-  ![登录配置中心](E:\opensource\dynamic 
config\incubator-servicecomb-website\assets\images\config/login.png)
+  ![登录配置中心](/assets/images/config/login.png)
 
   The default account to login to Apollo configuration center is apollo and 
admin for username and password respectively.
 
 * ##### Create a project
 
-  ![创建项目](E:\opensource\dynamic 
config\incubator-servicecomb-website\assets\images\config\create_project.png)
+  ![创建项目](/assets/images/config/create_project.png)
 
   There is a demo project named SampleApp, you can create a project for your 
service by click the green icon `+`. The picture below is a example to create a 
project, fill in your application ID and service name and choose the department 
and owner of the project and then submit them.
 
-![项目信息](E:\opensource\dynamic 
config\incubator-servicecomb-website\assets\images\config\create_project2.png)
+![项目信息](/assets/images/config/create_project2.png)
+
+​      Pay attention that you should release the project when it's created or 
client will get nothing of the project. Click the release button as below.
+
+![release_namespace](/assets/images/config/release_namespace.png)
 
 * ##### Generate a Token
 
 Visit `http://192.168.199.1:8070/open/manage.html` and fill in application ID 
and service name you just created at last step, then choose department and 
owner of the project and click the create button to generate a token. The token 
will be used later in project code.
 
-![生成TOKEN](E:\opensource\dynamic 
config\incubator-servicecomb-website\assets\images\config\token.png)
+![生成TOKEN](/assets/images/config/token.png)
 
 ### Add dependency in pom.xml
 
@@ -83,7 +87,7 @@ Visit `http://192.168.199.1:8070/open/manage.html` and fill 
in application ID an
 
 ### Get configurations
 
-​      Creating a configuration item named `timeout` and set its value to 
`100` then release the configuration with some comments. Example as below:   
![动态属性timeout](E:\opensource\dynamic 
config\incubator-servicecomb-website\assets\images\config\release_config.png)
+​      Creating a configuration item named `timeout` and set its value to 
`100` then release the configuration with some comments. Example as below:   
![动态属性timeout](/assets/images/config/release_config.png)
 
 ​      You can use`DynamicPropertyFactory.getInstance().getProperty()` to get 
the value of configuration items. 
 
diff --git a/assets/images/config/release_namespace.png 
b/assets/images/config/release_namespace.png
new file mode 100644
index 0000000..da11cb7
Binary files /dev/null and b/assets/images/config/release_namespace.png differ

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

Reply via email to