Skip to content

Commit

Permalink
[grid] Fix typo in Grid Endpoints (#734) [deploy site]
Browse files Browse the repository at this point in the history
* [grid] Fix typo in Grid Endpoints

* [grid] Add registration-secret header to clear the queue

* [grid] Add endpoint to clear the queue without registration secret
  • Loading branch information
pujagani authored Aug 6, 2021
1 parent fab290b commit c056d8e
Show file tree
Hide file tree
Showing 9 changed files with 72 additions and 27 deletions.
11 changes: 8 additions & 3 deletions docs_source_files/content/grid/grid_4/grid_endpoints.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ cURL --request GET 'http://localhost:5555/se/grid/node/owner/<session-id>' --hea
```
If no registration secret has been configured while setting up the Grid, then use
```shell
cURL --request GET 'http://<bode-URL>/se/grid/node/owner/<session-id>' --header 'X-REGISTRATION-SECRET;'
cURL --request GET 'http://<node-URL>/se/grid/node/owner/<session-id>' --header 'X-REGISTRATION-SECRET;'
```

It will return true if the session belongs to the Node else it will return false.
Expand Down Expand Up @@ -147,12 +147,17 @@ In the Standalone mode, the queuer URL is the Standalone server address.
In the Hub-Node mode, the queuer URL is the Hub server address.

```shell
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueuer/queue'
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueuer/queue' --header 'X-REGISTRATION-SECRET: <secret>'
```

In the fully distributed mode, the queuer URL is New Session Queuer server address.
```shell
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueuer/queue'
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueuer/queue' --header 'X-REGISTRATION-SECRET: <secret>'
```

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

### Get New Session Queue Requests
Expand Down
11 changes: 8 additions & 3 deletions docs_source_files/content/grid/grid_4/grid_endpoints.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ cURL --request GET 'http://localhost:5555/se/grid/node/owner/<session-id>' --hea
```
If no registration secret has been configured while setting up the Grid, then use
```shell
cURL --request GET 'http://<bode-URL>/se/grid/node/owner/<session-id>' --header 'X-REGISTRATION-SECRET;'
cURL --request GET 'http://<node-URL>/se/grid/node/owner/<session-id>' --header 'X-REGISTRATION-SECRET;'
```

It will return true if the session belongs to the Node else it will return false.
Expand Down Expand Up @@ -140,12 +140,17 @@ In the Standalone mode, the queuer URL is the Standalone server address.
In the Hub-Node mode, the queuer URL is the Hub server address.

```shell
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueuer/queue'
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueuer/queue' --header 'X-REGISTRATION-SECRET: <secret>'
```

In the fully distributed mode, the queuer URL is New Session Queuer server address.
```shell
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueuer/queue'
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueuer/queue' --header 'X-REGISTRATION-SECRET: <secret>'
```

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

### Get New Session Queue Requests
Expand Down
11 changes: 8 additions & 3 deletions docs_source_files/content/grid/grid_4/grid_endpoints.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ cURL --request GET 'http://localhost:5555/se/grid/node/owner/<session-id>' --hea
```
If no registration secret has been configured while setting up the Grid, then use
```shell
cURL --request GET 'http://<bode-URL>/se/grid/node/owner/<session-id>' --header 'X-REGISTRATION-SECRET;'
cURL --request GET 'http://<node-URL>/se/grid/node/owner/<session-id>' --header 'X-REGISTRATION-SECRET;'
```

It will return true if the session belongs to the Node else it will return false.
Expand Down Expand Up @@ -147,12 +147,17 @@ In the Standalone mode, the queuer URL is the Standalone server address.
In the Hub-Node mode, the queuer URL is the Hub server address.

```shell
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueuer/queue'
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueuer/queue' --header 'X-REGISTRATION-SECRET: <secret>'
```

In the fully distributed mode, the queuer URL is New Session Queuer server address.
```shell
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueuer/queue'
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueuer/queue' --header 'X-REGISTRATION-SECRET: <secret>'
```

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

### Get New Session Queue Requests
Expand Down
11 changes: 8 additions & 3 deletions docs_source_files/content/grid/grid_4/grid_endpoints.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ cURL --request GET 'http://localhost:5555/se/grid/node/owner/<session-id>' --hea
```
If no registration secret has been configured while setting up the Grid, then use
```shell
cURL --request GET 'http://<bode-URL>/se/grid/node/owner/<session-id>' --header 'X-REGISTRATION-SECRET;'
cURL --request GET 'http://<node-URL>/se/grid/node/owner/<session-id>' --header 'X-REGISTRATION-SECRET;'
```

It will return true if the session belongs to the Node else it will return false.
Expand Down Expand Up @@ -147,12 +147,17 @@ In the Standalone mode, the queuer URL is the Standalone server address.
In the Hub-Node mode, the queuer URL is the Hub server address.

```shell
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueuer/queue'
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueuer/queue' --header 'X-REGISTRATION-SECRET: <secret>'
```

In the fully distributed mode, the queuer URL is New Session Queuer server address.
```shell
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueuer/queue'
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueuer/queue' --header 'X-REGISTRATION-SECRET: <secret>'
```

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

### Get New Session Queue Requests
Expand Down
11 changes: 8 additions & 3 deletions docs_source_files/content/grid/grid_4/grid_endpoints.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ cURL --request GET 'http://localhost:5555/se/grid/node/owner/<session-id>' --hea
```
If no registration secret has been configured while setting up the Grid, then use
```shell
cURL --request GET 'http://<bode-URL>/se/grid/node/owner/<session-id>' --header 'X-REGISTRATION-SECRET;'
cURL --request GET 'http://<node-URL>/se/grid/node/owner/<session-id>' --header 'X-REGISTRATION-SECRET;'
```

It will return true if the session belongs to the Node else it will return false.
Expand Down Expand Up @@ -147,12 +147,17 @@ In the Standalone mode, the queuer URL is the Standalone server address.
In the Hub-Node mode, the queuer URL is the Hub server address.

```shell
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueuer/queue'
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueuer/queue' --header 'X-REGISTRATION-SECRET: <secret>'
```

In the fully distributed mode, the queuer URL is New Session Queuer server address.
```shell
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueuer/queue'
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueuer/queue' --header 'X-REGISTRATION-SECRET: <secret>'
```

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

### Get New Session Queue Requests
Expand Down
11 changes: 8 additions & 3 deletions docs_source_files/content/grid/grid_4/grid_endpoints.ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ cURL --request GET 'http://localhost:5555/se/grid/node/owner/<session-id>' --hea
```
If no registration secret has been configured while setting up the Grid, then use
```shell
cURL --request GET 'http://<bode-URL>/se/grid/node/owner/<session-id>' --header 'X-REGISTRATION-SECRET;'
cURL --request GET 'http://<node-URL>/se/grid/node/owner/<session-id>' --header 'X-REGISTRATION-SECRET;'
```

It will return true if the session belongs to the Node else it will return false.
Expand Down Expand Up @@ -147,12 +147,17 @@ In the Standalone mode, the queuer URL is the Standalone server address.
In the Hub-Node mode, the queuer URL is the Hub server address.

```shell
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueuer/queue'
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueuer/queue' --header 'X-REGISTRATION-SECRET: <secret>'
```

In the fully distributed mode, the queuer URL is New Session Queuer server address.
```shell
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueuer/queue'
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueuer/queue' --header 'X-REGISTRATION-SECRET: <secret>'
```

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

### Get New Session Queue Requests
Expand Down
11 changes: 8 additions & 3 deletions docs_source_files/content/grid/grid_4/grid_endpoints.nl.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ cURL --request GET 'http://localhost:5555/se/grid/node/owner/<session-id>' --hea
```
If no registration secret has been configured while setting up the Grid, then use
```shell
cURL --request GET 'http://<bode-URL>/se/grid/node/owner/<session-id>' --header 'X-REGISTRATION-SECRET;'
cURL --request GET 'http://<node-URL>/se/grid/node/owner/<session-id>' --header 'X-REGISTRATION-SECRET;'
```

It will return true if the session belongs to the Node else it will return false.
Expand Down Expand Up @@ -147,12 +147,17 @@ In the Standalone mode, the queuer URL is the Standalone server address.
In the Hub-Node mode, the queuer URL is the Hub server address.

```shell
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueuer/queue'
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueuer/queue' --header 'X-REGISTRATION-SECRET: <secret>'
```

In the fully distributed mode, the queuer URL is New Session Queuer server address.
```shell
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueuer/queue'
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueuer/queue' --header 'X-REGISTRATION-SECRET: <secret>'
```

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

### Get New Session Queue Requests
Expand Down
11 changes: 8 additions & 3 deletions docs_source_files/content/grid/grid_4/grid_endpoints.pt-br.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ cURL --request GET 'http://localhost:5555/se/grid/node/owner/<session-id>' --hea
```
Se nenhum segredo de registro foi configurado durante a configuração da Grid, use
```shell
cURL --request GET 'http://<bode-URL>/se/grid/node/owner/<session-id>' --header 'X-REGISTRATION-SECRET;'
cURL --request GET 'http://<node-URL>/se/grid/node/owner/<session-id>' --header 'X-REGISTRATION-SECRET;'
```

Ele retornará true se a sessão pertencer ao Nó, caso contrário, retornará false.
Expand Down Expand Up @@ -139,12 +139,17 @@ No modo Standalone, a URL queuer é o endereço do servidor Standalone.
No modo Hub-Node, a URL do enfileirador é o endereço do servidor Hub.

```shell
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueuer/queue'
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueuer/queue' --header 'X-REGISTRATION-SECRET: <secret>'
```

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/newsessionqueuer/queue'
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueuer/queue' --header 'X-REGISTRATION-SECRET: <secret>'
```

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

### Get New Session Queue Requests
Expand Down
11 changes: 8 additions & 3 deletions docs_source_files/content/grid/grid_4/grid_endpoints.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ cURL --request GET 'http://localhost:5555/se/grid/node/owner/<session-id>' --hea
```
If no registration secret has been configured while setting up the Grid, then use
```shell
cURL --request GET 'http://<bode-URL>/se/grid/node/owner/<session-id>' --header 'X-REGISTRATION-SECRET;'
cURL --request GET 'http://<node-URL>/se/grid/node/owner/<session-id>' --header 'X-REGISTRATION-SECRET;'
```

It will return true if the session belongs to the Node else it will return false.
Expand Down Expand Up @@ -147,12 +147,17 @@ In the Standalone mode, the queuer URL is the Standalone server address.
In the Hub-Node mode, the queuer URL is the Hub server address.

```shell
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueuer/queue'
cURL --request DELETE 'http://localhost:4444/se/grid/newsessionqueuer/queue' --header 'X-REGISTRATION-SECRET: <secret>'
```

In the fully distributed mode, the queuer URL is New Session Queuer server address.
```shell
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueuer/queue'
cURL --request DELETE 'http://localhost:5559/se/grid/newsessionqueuer/queue' --header 'X-REGISTRATION-SECRET: <secret>'
```

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

### Get New Session Queue Requests
Expand Down

0 comments on commit c056d8e

Please sign in to comment.