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/inlong.git
The following commit(s) were added to refs/heads/master by this push:
new f3a160320 [INLONG-4797][Manager] Remove the register dataproxy for
standalone (#4798)
f3a160320 is described below
commit f3a1603203a5fe64a5413cfd7bf105910fccdb97
Author: Charles Zhang <[email protected]>
AuthorDate: Tue Jun 28 15:55:04 2022 +0800
[INLONG-4797][Manager] Remove the register dataproxy for standalone (#4798)
---
bin/inlong-daemon | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/bin/inlong-daemon b/bin/inlong-daemon
index 95388c3d7..6410a00da 100644
--- a/bin/inlong-daemon
+++ b/bin/inlong-daemon
@@ -134,21 +134,6 @@ start_inlong_agent() {
wait_port_to_listen agent ${agent_port}
}
-# register dataproxy for standalone
-register_service() {
- curl --header "Content-Type: application/json" --request POST
http://${manager_server_hostname}:${manager_server_port}/api/inlong/manager/openapi/cluster/save
--data '
- {
- "name": "default_dataproxy",
- "type": "DATA_PROXY",
- "ip": "127.0.0.7",
- "port": 46801,
- "mqSetName": "default_set_name",
- "inCharges": "admin",
- "creator": "admin"
- }
- '
-}
-
# start inlong
start_inlong_all() {
echo "init configuration"
@@ -162,7 +147,6 @@ start_inlong_all() {
start_inlong_dashboard
# start inlong dataproxy
start_inlong_dataproxy
- register_service
# start inlong agent
start_inlong_agent
}