Skip to content

Commit 6a0b5a9

Browse files
authored
Update endpoint URLs point to Router in distributed mode (#1974)
Signed-off-by: Viet Nguyen Duc <[email protected]> [deploy site]
1 parent 2db9a37 commit 6a0b5a9

File tree

4 files changed

+34
-34
lines changed

4 files changed

+34
-34
lines changed

website_and_docs/content/documentation/grid/advanced_features/endpoints.en.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ In the Hub-Node mode, the Distributor URL is the Hub server address.
5454
```shell
5555
cURL --request DELETE 'http://localhost:4444/se/grid/distributor/node/<node-id>' --header 'X-REGISTRATION-SECRET: <secret> '
5656
```
57-
In the fully distributed mode, the URL is the Distributor server address.
57+
In the fully distributed mode, the URL is the Router server address.
5858
```shell
59-
cURL --request DELETE 'http://localhost:5553/se/grid/distributor/node/<node-id>' --header 'X-REGISTRATION-SECRET: <secret>'
59+
cURL --request DELETE 'http://localhost:4444/se/grid/distributor/node/<node-id>' --header 'X-REGISTRATION-SECRET: <secret>'
6060
```
6161
If no registration secret has been configured while setting up the Grid, then use
6262
```shell
63-
cURL --request DELETE 'http://<Distributor-URL>/se/grid/distributor/node/<node-id>' --header 'X-REGISTRATION-SECRET;'
63+
cURL --request DELETE 'http://<Router-URL>/se/grid/distributor/node/<node-id>' --header 'X-REGISTRATION-SECRET;'
6464
```
6565

6666
### Drain Node
@@ -75,13 +75,13 @@ In the Hub-Node mode, the Distributor URL is the Hub server address.
7575
```shell
7676
cURL --request POST 'http://localhost:4444/se/grid/distributor/node/<node-id>/drain' --header 'X-REGISTRATION-SECRET: <secret> '
7777
```
78-
In the fully distributed mode, the URL is the Distributor server address.
78+
In the fully distributed mode, the URL is the Router server address.
7979
```shell
80-
cURL --request POST 'http://localhost:5553/se/grid/distributor/node/<node-id>/drain' --header 'X-REGISTRATION-SECRET: <secret>'
80+
cURL --request POST 'http://localhost:4444/se/grid/distributor/node/<node-id>/drain' --header 'X-REGISTRATION-SECRET: <secret>'
8181
```
8282
If no registration secret has been configured while setting up the Grid, then use
8383
```shell
84-
cURL --request POST 'http://<Distributor-URL>/se/grid/distributor/node/<node-id>/drain' --header 'X-REGISTRATION-SECRET;'
84+
cURL --request POST 'http://<Router-URL>/se/grid/distributor/node/<node-id>/drain' --header 'X-REGISTRATION-SECRET;'
8585
```
8686

8787
## Node
@@ -159,14 +159,14 @@ In the Hub-Node mode, the Queue URL is the Hub server address.
159159
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET: <secret>'
160160
```
161161

162-
In the fully distributed mode, the Queue URL is New Session Queue server address.
162+
In the fully distributed mode, the Queue URL is Router server address.
163163
```shell
164-
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET: <secret>'
164+
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET: <secret>'
165165
```
166166

167167
If no registration secret has been configured while setting up the Grid, then use
168168
```shell
169-
cURL --request DELETE 'http://<URL>/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET;'
169+
cURL --request DELETE 'http://<Router-URL>/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET;'
170170
```
171171

172172
### Get New Session Queue Requests
@@ -183,6 +183,6 @@ In the Hub-Node mode, the Queue URL is the Hub server address.
183183
cURL --request GET 'http://localhost:4444/se/grid/newsessionqueue/queue'
184184
```
185185

186-
In the fully distributed mode, the Queue URL is New Session Queue server address.
186+
In the fully distributed mode, the Queue URL is Router server address.
187187
```shell
188-
cURL --request GET 'http://localhost:5559/se/grid/newsessionqueue/queue'
188+
cURL --request GET 'http://localhost:4444/se/grid/newsessionqueue/queue'

website_and_docs/content/documentation/grid/advanced_features/endpoints.ja.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ cURL --request DELETE 'http://localhost:4444/se/grid/distributor/node/<node-id>'
5858
完全分散モードでは、ディストリビューター URL は ディストリビューターのアドレスになります。
5959

6060
```shell
61-
cURL --request DELETE 'http://localhost:5553/se/grid/distributor/node/<node-id>' --header 'X-REGISTRATION-SECRET: <secret>'
61+
cURL --request DELETE 'http://localhost:4444/se/grid/distributor/node/<node-id>' --header 'X-REGISTRATION-SECRET: <secret>'
6262
```
6363

6464
Grid の設定時に登録用の secret を設定していない場合は次のようにします:
6565

6666
```shell
67-
cURL --request DELETE 'http://<Distributor-URL>/se/grid/distributor/node/<node-id>' --header 'X-REGISTRATION-SECRET;'
67+
cURL --request DELETE 'http://<Router-URL>/se/grid/distributor/node/<node-id>' --header 'X-REGISTRATION-SECRET;'
6868
```
6969

7070
### ノードのドレイン
@@ -84,13 +84,13 @@ cURL --request POST 'http://localhost:4444/se/grid/distributor/node/<node-id>/dr
8484
完全分散モードでは、ディストリビューター URL は ディストリビューターのアドレスになります。
8585

8686
```shell
87-
cURL --request POST 'http://localhost:5553/se/grid/distributor/node/<node-id>/drain' --header 'X-REGISTRATION-SECRET: <secret>'
87+
cURL --request POST 'http://localhost:4444/se/grid/distributor/node/<node-id>/drain' --header 'X-REGISTRATION-SECRET: <secret>'
8888
```
8989

9090
Grid の設定時に登録用の secret を設定していない場合は次のようにします:
9191

9292
```shell
93-
cURL --request POST 'http://<Distributor-URL>/se/grid/distributor/node/<node-id>/drain' --header 'X-REGISTRATION-SECRET;'
93+
cURL --request POST 'http://<Router-URL>/se/grid/distributor/node/<node-id>/drain' --header 'X-REGISTRATION-SECRET;'
9494
```
9595

9696
## ノード
@@ -178,13 +178,13 @@ cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueue/queue' --he
178178
完全分散モードでは、キューの URL は 新規セッションキューのアドレスになります。
179179

180180
```shell
181-
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET: <secret>'
181+
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET: <secret>'
182182
```
183183

184184
Grid の設定時に登録用の secret を設定していない場合は次のようにします:
185185

186186
```shell
187-
cURL --request DELETE 'http://<URL>/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET;'
187+
cURL --request DELETE 'http://<Router-URL>/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET;'
188188
```
189189

190190
### 新規セッションリクエストの取得
@@ -204,5 +204,5 @@ cURL --request GET 'http://localhost:4444/se/grid/newsessionqueue/queue'
204204
完全分散モードでは、キューの URL は 新規セッションキューのアドレスになります。
205205

206206
```shell
207-
cURL --request GET 'http://localhost:5559/se/grid/newsessionqueue/queue'
207+
cURL --request GET 'http://localhost:4444/se/grid/newsessionqueue/queue'
208208
```

website_and_docs/content/documentation/grid/advanced_features/endpoints.pt-br.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ No modo Hub-Node, a URL do Distribuidor é o endereço do servidor Hub.
5454
```shell
5555
cURL --request DELETE 'http://localhost:4444/se/grid/distributor/node/<node-id>' --header 'X-REGISTRATION-SECRET: <secret> '
5656
```
57-
No modo totalmente distribuído, a URL é o endereço do servidor Distribuidor.
57+
No modo totalmente distribuído, a URL é o endereço do servidor Router.
5858
```shell
59-
cURL --request DELETE 'http://localhost:5553/se/grid/distributor/node/<node-id>' --header 'X-REGISTRATION-SECRET: <secret>'
59+
cURL --request DELETE 'http://localhost:4444/se/grid/distributor/node/<node-id>' --header 'X-REGISTRATION-SECRET: <secret>'
6060
```
6161
Se nenhum segredo de registro foi configurado durante a configuração da Grid, use
6262
```shell
63-
cURL --request DELETE 'http://<Distributor-URL>/se/grid/distributor/node/<node-id>' --header 'X-REGISTRATION-SECRET;'
63+
cURL --request DELETE 'http://<Router-URL>/se/grid/distributor/node/<node-id>' --header 'X-REGISTRATION-SECRET;'
6464
```
6565

6666
### Drenar Nó
@@ -75,13 +75,13 @@ No modo Hub-Node, a URL do Distribuidor é o endereço do servidor Hub.
7575
```shell
7676
cURL --request POST 'http://localhost:4444/se/grid/distributor/node/<node-id>/drain' --header 'X-REGISTRATION-SECRET: <secret> '
7777
```
78-
No modo totalmente distribuído, a URL é o endereço do servidor Distribuidor.
78+
No modo totalmente distribuído, a URL é o endereço do servidor Router.
7979
```shell
80-
cURL --request POST 'http://localhost:5553/se/grid/distributor/node/<node-id>/drain' --header 'X-REGISTRATION-SECRET: <secret>'
80+
cURL --request POST 'http://localhost:4444/se/grid/distributor/node/<node-id>/drain' --header 'X-REGISTRATION-SECRET: <secret>'
8181
```
8282
Se nenhum segredo de registro foi configurado durante a configuração da Grid, use
8383
```shell
84-
cURL --request POST 'http://<Distributor-URL>/se/grid/distributor/node/<node-id>/drain' --header 'X-REGISTRATION-SECRET;'
84+
cURL --request POST 'http://<Router-URL>/se/grid/distributor/node/<node-id>/drain' --header 'X-REGISTRATION-SECRET;'
8585
```
8686

8787
##
@@ -160,12 +160,12 @@ cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueue/queue' --he
160160

161161
No modo totalmente distribuído, a URL do enfileirador é o endereço do servidor do Enfileirador de Sessões.
162162
```shell
163-
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET: <secret>'
163+
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET: <secret>'
164164
```
165165

166166
If no registration secret has been configured while setting up the Grid, then use
167167
```shell
168-
cURL --request DELETE 'http://<URL>/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET;'
168+
cURL --request DELETE 'http://<Router-URL>/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET;'
169169
```
170170

171171
### Obter novos pedidos da Fila de Sessão
@@ -182,4 +182,4 @@ cURL --request GET 'http://localhost:4444/se/grid/newsessionqueue/queue'
182182

183183
No modo totalmente distribuido, a URL da Fila é a porta do servidor de Fila.
184184
```shell
185-
cURL --request GET 'http://localhost:5559/se/grid/newsessionqueue/queue'
185+
cURL --request GET 'http://localhost:4444/se/grid/newsessionqueue/queue'

website_and_docs/content/documentation/grid/advanced_features/endpoints.zh-cn.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ cURL --request DELETE 'http://localhost:4444/se/grid/distributor/node/<node-id>'
6161
在完全分布式模式下, URL是分发器的地址.
6262

6363
```shell
64-
cURL --request DELETE 'http://localhost:5553/se/grid/distributor/node/<node-id>' --header 'X-REGISTRATION-SECRET: <secret>'
64+
cURL --request DELETE 'http://localhost:4444/se/grid/distributor/node/<node-id>' --header 'X-REGISTRATION-SECRET: <secret>'
6565
```
6666
如果在设置Grid时未配置注册密码,
6767
则使用
6868
```shell
69-
cURL --request DELETE 'http://<Distributor-URL>/se/grid/distributor/node/<node-id>' --header 'X-REGISTRATION-SECRET;'
69+
cURL --request DELETE 'http://<Router-URL>/se/grid/distributor/node/<node-id>' --header 'X-REGISTRATION-SECRET;'
7070
```
7171

7272
### 放空节点
@@ -83,12 +83,12 @@ cURL --request POST 'http://localhost:4444/se/grid/distributor/node/<node-id>/dr
8383
```
8484
在完全分布式模式下, URL是分发服务器的地址.
8585
```shell
86-
cURL --request POST 'http://localhost:5553/se/grid/distributor/node/<node-id>/drain' --header 'X-REGISTRATION-SECRET: <secret>'
86+
cURL --request POST 'http://localhost:4444/se/grid/distributor/node/<node-id>/drain' --header 'X-REGISTRATION-SECRET: <secret>'
8787
```
8888
如果在设置Grid时未配置注册密码,
8989
则使用
9090
```shell
91-
cURL --request POST 'http://<Distributor-URL>/se/grid/distributor/node/<node-id>/drain' --header 'X-REGISTRATION-SECRET;'
91+
cURL --request POST 'http://<Router-URL>/se/grid/distributor/node/<node-id>/drain' --header 'X-REGISTRATION-SECRET;'
9292
```
9393

9494
## 节点
@@ -189,13 +189,13 @@ cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueue/queue' --he
189189
在完全分布式模式下,
190190
队列URL是新会话队列服务器的地址.
191191
```shell
192-
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET: <secret>'
192+
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET: <secret>'
193193
```
194194

195195
如果在设置Grid时未配置注册密码,
196196
则使用
197197
```shell
198-
cURL --request DELETE 'http://<URL>/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET;'
198+
cURL --request DELETE 'http://<Router-URL>/se/grid/newsessionqueue/queue' --header 'X-REGISTRATION-SECRET;'
199199
```
200200

201201
### 获取新会话队列请求
@@ -218,4 +218,4 @@ cURL --request GET 'http://localhost:4444/se/grid/newsessionqueue/queue'
218218
在完全分布式模式下,
219219
队列URL是新会话队列服务器的地址.
220220
```shell
221-
cURL --request GET 'http://localhost:5559/se/grid/newsessionqueue/queue'
221+
cURL --request GET 'http://localhost:4444/se/grid/newsessionqueue/queue'

0 commit comments

Comments
 (0)