WillemJiang closed pull request #30: SCB-263 remind user to release namespace
when a project was first cre?
URL: https://github.com/apache/incubator-servicecomb-website/pull/30
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
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`
- 
+ 
Apollo????????????apollo/admin?????????????????????
* ##### ????
- 
+ 
?????????????SampleApp????????????????????????????????Id??????????????????????????
-
+
+
+? ?????????????????????????????????????????????????????
+
+
* ##### ??TOKEN
????`http://192.168.199.1:8070/open/manage.html`??????????????????????????????????????????TOKEN?????TOKEN?????????????
-
+
### ????????
@@ -83,7 +87,7 @@ redirect_from:
### ??????
-? ??????????`timeout`??????????`100`????????

+? ??????????`timeout`??????????`100`????????

?
???????`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`
- 
+ 
The default account to login to Apollo configuration center is apollo and
admin for username and password respectively.
* ##### Create a project
- 
+ 
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.
-
+
+
+? 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.
+
+
* ##### 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.
-
+
### 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:

+? Creating a configuration item named `timeout` and set its value to
`100` then release the configuration with some comments. Example as below:

? 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
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services