From 6549fcba2fbf78f328393722492b9ed08025f26f Mon Sep 17 00:00:00 2001 From: Viet Nguyen Duc Date: Thu, 26 Sep 2024 08:10:16 +0000 Subject: [PATCH] Update endpoint URLs point to Router in distributed mode Signed-off-by: Viet Nguyen Duc --- .../grid/advanced_features/endpoints.en.md | 22 +++++++++---------- .../grid/advanced_features/endpoints.ja.md | 14 ++++++------ .../grid/advanced_features/endpoints.pt-br.md | 18 +++++++-------- .../grid/advanced_features/endpoints.zh-cn.md | 14 ++++++------ 4 files changed, 34 insertions(+), 34 deletions(-) diff --git a/website_and_docs/content/documentation/grid/advanced_features/endpoints.en.md b/website_and_docs/content/documentation/grid/advanced_features/endpoints.en.md index 3bfb6d33ec28..7e902bc0e996 100644 --- a/website_and_docs/content/documentation/grid/advanced_features/endpoints.en.md +++ b/website_and_docs/content/documentation/grid/advanced_features/endpoints.en.md @@ -54,13 +54,13 @@ In the Hub-Node mode, the Distributor URL is the Hub server address. ```shell cURL --request DELETE 'http://localhost:4444/se/grid/distributor/node/' --header 'X-REGISTRATION-SECRET: ' ``` -In the fully distributed mode, the URL is the Distributor server address. +In the fully distributed mode, the URL is the Router server address. ```shell -cURL --request DELETE 'http://localhost:5553/se/grid/distributor/node/' --header 'X-REGISTRATION-SECRET: ' +cURL --request DELETE 'http://localhost:4444/se/grid/distributor/node/' --header 'X-REGISTRATION-SECRET: ' ``` If no registration secret has been configured while setting up the Grid, then use ```shell -cURL --request DELETE 'http:///se/grid/distributor/node/' --header 'X-REGISTRATION-SECRET;' +cURL --request DELETE 'http:///se/grid/distributor/node/' --header 'X-REGISTRATION-SECRET;' ``` ### Drain Node @@ -75,13 +75,13 @@ In the Hub-Node mode, the Distributor URL is the Hub server address. ```shell cURL --request POST 'http://localhost:4444/se/grid/distributor/node//drain' --header 'X-REGISTRATION-SECRET: ' ``` -In the fully distributed mode, the URL is the Distributor server address. +In the fully distributed mode, the URL is the Router server address. ```shell -cURL --request POST 'http://localhost:5553/se/grid/distributor/node//drain' --header 'X-REGISTRATION-SECRET: ' +cURL --request POST 'http://localhost:4444/se/grid/distributor/node//drain' --header 'X-REGISTRATION-SECRET: ' ``` If no registration secret has been configured while setting up the Grid, then use ```shell -cURL --request POST 'http:///se/grid/distributor/node//drain' --header 'X-REGISTRATION-SECRET;' +cURL --request POST 'http:///se/grid/distributor/node//drain' --header 'X-REGISTRATION-SECRET;' ``` ## Node @@ -159,14 +159,14 @@ In the Hub-Node mode, the Queue URL is the Hub server address. cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET: ' ``` -In the fully distributed mode, the Queue URL is New Session Queue server address. +In the fully distributed mode, the Queue URL is Router server address. ```shell -cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET: ' +cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET: ' ``` If no registration secret has been configured while setting up the Grid, then use ```shell -cURL --request DELETE 'http:///se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET;' +cURL --request DELETE 'http:///se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET;' ``` ### Get New Session Queue Requests @@ -183,6 +183,6 @@ In the Hub-Node mode, the Queue URL is the Hub server address. cURL --request GET 'http://localhost:4444/se/grid/newsessionqueue/queue' ``` -In the fully distributed mode, the Queue URL is New Session Queue server address. +In the fully distributed mode, the Queue URL is Router server address. ```shell -cURL --request GET 'http://localhost:5559/se/grid/newsessionqueue/queue' +cURL --request GET 'http://localhost:4444/se/grid/newsessionqueue/queue' diff --git a/website_and_docs/content/documentation/grid/advanced_features/endpoints.ja.md b/website_and_docs/content/documentation/grid/advanced_features/endpoints.ja.md index 6df4502a097e..cfc12e26ed1e 100644 --- a/website_and_docs/content/documentation/grid/advanced_features/endpoints.ja.md +++ b/website_and_docs/content/documentation/grid/advanced_features/endpoints.ja.md @@ -58,13 +58,13 @@ cURL --request DELETE 'http://localhost:4444/se/grid/distributor/node/' 完全分散モードでは、ディストリビューター URL は ディストリビューターのアドレスになります。 ```shell -cURL --request DELETE 'http://localhost:5553/se/grid/distributor/node/' --header 'X-REGISTRATION-SECRET: ' +cURL --request DELETE 'http://localhost:4444/se/grid/distributor/node/' --header 'X-REGISTRATION-SECRET: ' ``` Grid の設定時に登録用の secret を設定していない場合は次のようにします: ```shell -cURL --request DELETE 'http:///se/grid/distributor/node/' --header 'X-REGISTRATION-SECRET;' +cURL --request DELETE 'http:///se/grid/distributor/node/' --header 'X-REGISTRATION-SECRET;' ``` ### ノードのドレイン @@ -84,13 +84,13 @@ cURL --request POST 'http://localhost:4444/se/grid/distributor/node//dr 完全分散モードでは、ディストリビューター URL は ディストリビューターのアドレスになります。 ```shell -cURL --request POST 'http://localhost:5553/se/grid/distributor/node//drain' --header 'X-REGISTRATION-SECRET: ' +cURL --request POST 'http://localhost:4444/se/grid/distributor/node//drain' --header 'X-REGISTRATION-SECRET: ' ``` Grid の設定時に登録用の secret を設定していない場合は次のようにします: ```shell -cURL --request POST 'http:///se/grid/distributor/node//drain' --header 'X-REGISTRATION-SECRET;' +cURL --request POST 'http:///se/grid/distributor/node//drain' --header 'X-REGISTRATION-SECRET;' ``` ## ノード @@ -178,13 +178,13 @@ cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueue/queue' --he 完全分散モードでは、キューの URL は 新規セッションキューのアドレスになります。 ```shell -cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET: ' +cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET: ' ``` Grid の設定時に登録用の secret を設定していない場合は次のようにします: ```shell -cURL --request DELETE 'http:///se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET;' +cURL --request DELETE 'http:///se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET;' ``` ### 新規セッションリクエストの取得 @@ -204,5 +204,5 @@ cURL --request GET 'http://localhost:4444/se/grid/newsessionqueue/queue' 完全分散モードでは、キューの URL は 新規セッションキューのアドレスになります。 ```shell -cURL --request GET 'http://localhost:5559/se/grid/newsessionqueue/queue' +cURL --request GET 'http://localhost:4444/se/grid/newsessionqueue/queue' ``` diff --git a/website_and_docs/content/documentation/grid/advanced_features/endpoints.pt-br.md b/website_and_docs/content/documentation/grid/advanced_features/endpoints.pt-br.md index 40dff27ae1e9..f1221a1af8dd 100644 --- a/website_and_docs/content/documentation/grid/advanced_features/endpoints.pt-br.md +++ b/website_and_docs/content/documentation/grid/advanced_features/endpoints.pt-br.md @@ -54,13 +54,13 @@ No modo Hub-Node, a URL do Distribuidor é o endereço do servidor Hub. ```shell cURL --request DELETE 'http://localhost:4444/se/grid/distributor/node/' --header 'X-REGISTRATION-SECRET: ' ``` -No modo totalmente distribuído, a URL é o endereço do servidor Distribuidor. +No modo totalmente distribuído, a URL é o endereço do servidor Router. ```shell -cURL --request DELETE 'http://localhost:5553/se/grid/distributor/node/' --header 'X-REGISTRATION-SECRET: ' +cURL --request DELETE 'http://localhost:4444/se/grid/distributor/node/' --header 'X-REGISTRATION-SECRET: ' ``` Se nenhum segredo de registro foi configurado durante a configuração da Grid, use ```shell -cURL --request DELETE 'http:///se/grid/distributor/node/' --header 'X-REGISTRATION-SECRET;' +cURL --request DELETE 'http:///se/grid/distributor/node/' --header 'X-REGISTRATION-SECRET;' ``` ### Drenar Nó @@ -75,13 +75,13 @@ No modo Hub-Node, a URL do Distribuidor é o endereço do servidor Hub. ```shell cURL --request POST 'http://localhost:4444/se/grid/distributor/node//drain' --header 'X-REGISTRATION-SECRET: ' ``` -No modo totalmente distribuído, a URL é o endereço do servidor Distribuidor. +No modo totalmente distribuído, a URL é o endereço do servidor Router. ```shell -cURL --request POST 'http://localhost:5553/se/grid/distributor/node//drain' --header 'X-REGISTRATION-SECRET: ' +cURL --request POST 'http://localhost:4444/se/grid/distributor/node//drain' --header 'X-REGISTRATION-SECRET: ' ``` Se nenhum segredo de registro foi configurado durante a configuração da Grid, use ```shell -cURL --request POST 'http:///se/grid/distributor/node//drain' --header 'X-REGISTRATION-SECRET;' +cURL --request POST 'http:///se/grid/distributor/node//drain' --header 'X-REGISTRATION-SECRET;' ``` ## Nó @@ -160,12 +160,12 @@ cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueue/queue' --he No modo totalmente distribuído, a URL do enfileirador é o endereço do servidor do Enfileirador de Sessões. ```shell -cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET: ' +cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET: ' ``` If no registration secret has been configured while setting up the Grid, then use ```shell -cURL --request DELETE 'http:///se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET;' +cURL --request DELETE 'http:///se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET;' ``` ### Obter novos pedidos da Fila de Sessão @@ -182,4 +182,4 @@ cURL --request GET 'http://localhost:4444/se/grid/newsessionqueue/queue' No modo totalmente distribuido, a URL da Fila é a porta do servidor de Fila. ```shell -cURL --request GET 'http://localhost:5559/se/grid/newsessionqueue/queue' +cURL --request GET 'http://localhost:4444/se/grid/newsessionqueue/queue' diff --git a/website_and_docs/content/documentation/grid/advanced_features/endpoints.zh-cn.md b/website_and_docs/content/documentation/grid/advanced_features/endpoints.zh-cn.md index cb6fcaeed981..226edffd2e4b 100644 --- a/website_and_docs/content/documentation/grid/advanced_features/endpoints.zh-cn.md +++ b/website_and_docs/content/documentation/grid/advanced_features/endpoints.zh-cn.md @@ -61,12 +61,12 @@ cURL --request DELETE 'http://localhost:4444/se/grid/distributor/node/' 在完全分布式模式下, URL是分发器的地址. ```shell -cURL --request DELETE 'http://localhost:5553/se/grid/distributor/node/' --header 'X-REGISTRATION-SECRET: ' +cURL --request DELETE 'http://localhost:4444/se/grid/distributor/node/' --header 'X-REGISTRATION-SECRET: ' ``` 如果在设置Grid时未配置注册密码, 则使用 ```shell -cURL --request DELETE 'http:///se/grid/distributor/node/' --header 'X-REGISTRATION-SECRET;' +cURL --request DELETE 'http:///se/grid/distributor/node/' --header 'X-REGISTRATION-SECRET;' ``` ### 放空节点 @@ -83,12 +83,12 @@ cURL --request POST 'http://localhost:4444/se/grid/distributor/node//dr ``` 在完全分布式模式下, URL是分发服务器的地址. ```shell -cURL --request POST 'http://localhost:5553/se/grid/distributor/node//drain' --header 'X-REGISTRATION-SECRET: ' +cURL --request POST 'http://localhost:4444/se/grid/distributor/node//drain' --header 'X-REGISTRATION-SECRET: ' ``` 如果在设置Grid时未配置注册密码, 则使用 ```shell -cURL --request POST 'http:///se/grid/distributor/node//drain' --header 'X-REGISTRATION-SECRET;' +cURL --request POST 'http:///se/grid/distributor/node//drain' --header 'X-REGISTRATION-SECRET;' ``` ## 节点 @@ -189,13 +189,13 @@ cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueue/queue' --he 在完全分布式模式下, 队列URL是新会话队列服务器的地址. ```shell -cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET: ' +cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET: ' ``` 如果在设置Grid时未配置注册密码, 则使用 ```shell -cURL --request DELETE 'http:///se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET;' +cURL --request DELETE 'http:///se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET;' ``` ### 获取新会话队列请求 @@ -218,4 +218,4 @@ cURL --request GET 'http://localhost:4444/se/grid/newsessionqueue/queue' 在完全分布式模式下, 队列URL是新会话队列服务器的地址. ```shell -cURL --request GET 'http://localhost:5559/se/grid/newsessionqueue/queue' +cURL --request GET 'http://localhost:4444/se/grid/newsessionqueue/queue'