Skip to content

Commit

Permalink
删除 DisconfMgrJustHostFileBean
Browse files Browse the repository at this point in the history
  • Loading branch information
knightliao committed Sep 11, 2016
1 parent 289e322 commit a5a05ea
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 87 deletions.

This file was deleted.

1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ Distributed Configuration Management Platform(分布式配置管理平台)
question/index
others/src/contribute
others/src/sponsor
design/src/update
design/index
4 changes: 2 additions & 2 deletions docs/source/install/src/02.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ How to deploy

::

home/work/dsp/disconf-rd/online-resources
/home/work/dsp/disconf-rd/online-resources

**如果不确定如何配置,可以拷贝/disconf-web/profile/rd/目录下的文件,拷贝过去后修改即可。**

Expand Down Expand Up @@ -243,7 +243,7 @@ Nginx(处理静态请求) + Tomcat(处理动态请求)

- **后端**

- SpringMvc(3.1.2+)
- SpringMvc(Spring 4.1.7.RELEASE)
- Jdbc-Template
- Mysql
- RestFul API
Expand Down
11 changes: 11 additions & 0 deletions docs/source/others/update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

## 2.6.36

待发布

- disconf-web:
- 配置和配置项可支持自定义app https://github.com/knightliao/disconf/issues/147
- disconf-client:
- 支持https的web端 https://github.com/knightliao/disconf/issues/158
- path支持windows: https://github.com/knightliao/disconf/issues/166
- 删除类 DisconfMgrJustHostFileBean
3 changes: 1 addition & 2 deletions docs/source/tutorial-client/Tutorial5.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
Tutorial 5 基于XML的分布式配置文件管理,不会自动reload
=======

[Tutorial 1](Tutorial1.html) 里,
我们实现了一个简单的Redis服务程序,它使用分布式配置进行管理,此Redis的配置文件存储在分布式服务器 disconf-web 上。它使用的是注解式的配置管理。
[Tutorial 1](Tutorial1.html) 里, 我们实现了一个简单的Redis服务程序,它使用分布式配置进行管理,此Redis的配置文件存储在分布式服务器 disconf-web 上。它使用的是注解式的配置管理。

Disconf亦支持非注解式的分布式配置管理,下面定义一下概念:

Expand Down
6 changes: 3 additions & 3 deletions docs/source/tutorial-client/src/Tutorial5.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Tutorial 5 基于XML的分布式配置文件管理,不会自动reload
=====================================================

| 在 `Tutorial 1 <Tutorial1.html>`__ 里,
| 我们实现了一个简单的Redis服务程序,它使用分布式配置进行管理,此Redis的配置文件存储在分布式服务器
disconf-web 上。它使用的是注解式的配置管理。
在 `Tutorial 1 <Tutorial1.html>`__ 里,
我们实现了一个简单的Redis服务程序,它使用分布式配置进行管理,此Redis的配置文件存储在分布式服务器
disconf-web 上。它使用的是注解式的配置管理。

Disconf亦支持非注解式的分布式配置管理,下面定义一下概念:

Expand Down
3 changes: 2 additions & 1 deletion docs/source/tutorial-client/src/jar-start-up.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
主要升级点
~~~~~~~~~~

当使用以-jar方式启动的程序(非tomcat,web方式)时,例如springboot时,可以无缝对接(不会出现配置文件找不到的情况)
当使用以 -jar 方式启动的程序(非tomcat,web方式)时,例如 springboot
时,可以无缝对接(不会出现配置文件找不到的情况)

正确的使用方式
~~~~~~~~~~~~~~
Expand Down
12 changes: 6 additions & 6 deletions docs/source/tutorial-web/12-open-api-for-web-client.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
Tutorial 12 disconf-web 为客户端 开放的 Http API
=======

# 前言
## 前言

- 目标:让开发者具有自定义开发客户端的能力
- 目前已经支持 java

# 准备
## 准备

- 1. 获取配置时是从disconf-web获取
- 2. 得到配置更新时是从ZK上获取,得到通知后,再从disconf-web上获取配置值

## 获取配置接口
### 获取配置接口

以下接口均不需要权限控制,Http-Rest 风格

### /api/config/item
#### /api/config/item

- 描述:获取配置项
- url示例: /api/config/item?app=disconf_demo&env=rd&version=1_0_0_0&key=discountRate
Expand All @@ -39,7 +39,7 @@ Tutorial 12 disconf-web 为客户端 开放的 Http API
{"status":1,"message":"","value":"0.5"}


### /api/config/file
#### /api/config/file

- 描述:获取配置文件
- url示例: /api/config/file?app=disconf_demo&env=rd&version=1_0_0_0&key=autoconfig.properties
Expand All @@ -61,7 +61,7 @@ Tutorial 12 disconf-web 为客户端 开放的 Http API
xx%


## 得到更新通知的接口
### 得到更新通知的接口

客户端程序需要进行订阅ZK结点

Expand Down
12 changes: 6 additions & 6 deletions docs/source/tutorial-web/src/12-open-api-for-web-client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ Tutorial 12 disconf-web 为客户端 开放的 Http API
================================================

前言
====
----

- 目标:让开发者具有自定义开发客户端的能力
- 目前已经支持 java

准备
====
----

-

Expand All @@ -19,12 +19,12 @@ Tutorial 12 disconf-web 为客户端 开放的 Http API
#. 得到配置更新时是从ZK上获取,得到通知后,再从disconf-web上获取配置值

获取配置接口
------------
~~~~~~~~~~~~

以下接口均不需要权限控制,Http-Rest 风格

/api/config/item
~~~~~~~~~~~~~~~~
^^^^^^^^^^^^^^^^

- 描述:获取配置项
- url示例:
Expand Down Expand Up @@ -56,7 +56,7 @@ Tutorial 12 disconf-web 为客户端 开放的 Http API
{"status":1,"message":"","value":"0.5"}

/api/config/file
~~~~~~~~~~~~~~~~
^^^^^^^^^^^^^^^^

- 描述:获取配置文件
- url示例:
Expand Down Expand Up @@ -86,7 +86,7 @@ Tutorial 12 disconf-web 为客户端 开放的 Http API
xx%

得到更新通知的接口
------------------
~~~~~~~~~~~~~~~~~~

客户端程序需要进行订阅ZK结点

Expand Down

0 comments on commit a5a05ea

Please sign in to comment.