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

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


The following commit(s) were added to refs/heads/master by this push:
     new 14a5e63  [INLONG-3062][Manager] Merge the data_proxy_cluster table and 
the third_party_cluster table (#298)
14a5e63 is described below

commit 14a5e639d5214d15503b6a114b7592c8e4cf520e
Author: healchow <[email protected]>
AuthorDate: Fri Mar 11 15:02:26 2022 +0800

    [INLONG-3062][Manager] Merge the data_proxy_cluster table and the 
third_party_cluster table (#298)
---
 docs/modules/dataproxy/quick_start.md              | 26 ++++++++++++++--------
 .../current/modules/dataproxy/quick_start.md       | 26 ++++++++++++++--------
 2 files changed, 34 insertions(+), 18 deletions(-)

diff --git a/docs/modules/dataproxy/quick_start.md 
b/docs/modules/dataproxy/quick_start.md
index bac1f10..a707fb3 100644
--- a/docs/modules/dataproxy/quick_start.md
+++ b/docs/modules/dataproxy/quick_start.md
@@ -29,12 +29,20 @@ telnet 127.0.0.1 46801
 
 ## Add DataProxy configuration to InLong-Manager
 
-After installing the DataProxy, you need to insert the IP address of the 
DataProxy service is located into the backend database of InLong-Manager.
-
-The SQL statement is:
-
-```sql
--- address is the IP of the DataProxy service is located
-UPDATE apache_inlong_manager.data_proxy_cluster SET 
address="replace_by_dataproxy_ip", mq_set_name="default_set_name" WHERE 
name="default_dataproxy";
-```
-
+After installing the DataProxy, you need to add the IP of the DataProxy 
service into the InLong-Manager.
+
+- Modify the following information:
+  ```html
+  curl --header "Content-Type: application/json" --request POST 
http://your_manager_host:8083/api/inlong/manager/openapi/cluster/save --data '
+  {
+     "name": "default_dataproxy",
+     "type": "DATA_PROXY",
+     "ip": "your_data_proxy_host",
+     "port": 46801,
+     "mqSetName": "default_set_name",
+     "inCharges": "admin",
+     "creator": "admin"
+  }
+  '
+  ```
+- Open your command line tool, copy the above info, and click the Enter key, 
the above info will be saved to InLong-Manager.
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/dataproxy/quick_start.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/dataproxy/quick_start.md
index 029a28c..3facaf8 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/dataproxy/quick_start.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/dataproxy/quick_start.md
@@ -30,12 +30,20 @@ telnet 127.0.0.1 46801
 
 ## 将 DataProxy 配置添加到 InLong-Manager
 
-安装完 DataProxy 后,需要将 DataProxy 所在主机的 IP 插入到 InLong-Manager 的后台数据库中。
-
-SQL 语句为:
-
-```sql
--- address 为 DataProxy 服务所在主机的 IP
-UPDATE apache_inlong_manager.data_proxy_cluster SET 
address="replace_by_dataproxy_ip", mq_set_name="default_set_name" WHERE 
name="default_dataproxy";
-```
-
+安装完 DataProxy 后,需要将 DataProxy 服务的 IP 添加到 InLong-Manager 中。
+
+- 修改下面的配置信息:
+  ```html
+  curl --header "Content-Type: application/json" --request POST 
http://your_manager_host:8083/api/inlong/manager/openapi/cluster/save --data '
+  {
+     "name": "default_dataproxy",
+     "type": "DATA_PROXY",
+     "ip": "your_data_proxy_host",
+     "port": 46801,
+     "mqSetName": "default_set_name",
+     "inCharges": "admin",
+     "creator": "admin"
+  }
+  '
+  ```
+- 打开你的命令行工具,复制上面修改后的信息,然后敲击 [回车] 发起请求,上面的信息就会保存到 InLong-Manager 中。

Reply via email to