[MXS-1399] Allow multiple server states to be set with one REST API call Created: 2017-09-08 Updated: 2018-10-30 Resolved: 2018-10-30 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | N/A |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | New Feature | Priority: | Minor |
| Reporter: | markus makela | Assignee: | markus makela |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The server resources in the MaxScale REST API should allow multiple server states to be set with one request. This allows the status of a whole cluster to be set at once. |
| Comments |
| Comment by markus makela [ 2018-04-03 ] | ||
|
Can be done by expanding the PATCH method to allow explicit server states to be set. For example, setting the server's state attribute to the value of "Master, Running" would be interpreted the same way as the following requests:
| ||
| Comment by markus makela [ 2018-10-30 ] | ||
|
Setting servers states isn't really relevant anymore as manually setting the states isn't desired. |