[MCOL-4541] Add POST/DELETE methods for certain CMAPI REST endpoints Created: 2021-02-15 Updated: 2021-06-18 Resolved: 2021-05-12 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | cmapi |
| Affects Version/s: | 5.5.1 |
| Fix Version/s: | 5.6.1 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Assen Totin (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 2021-5, 2021-6, 2021-7 |
| Description |
|
CMAPI claims REST compliance (official documentation: "...CMAPI ... is a REST API that can be used to manage a multi-node Enterprise ColumnStore cluster"), but some of the documented calls deviate from the REST specification:
|
| Comments |
| Comment by Jose Rojas (Inactive) [ 2021-04-06 ] |
|
PR not automatically linking to JIRA |
| Comment by Roman [ 2021-04-19 ] |
|
toddstoffel What about the tool to hide the API that never supposed to be used by the end users directly? Jose left the patch that needs to be rebased and pushed. The API will will now support a new endpoint /cmapi/{_version}/cluster/node' with DELETE method to remove a node from a cluster and PUT/POST to add node into the cluster. |
| Comment by Roman [ 2021-05-06 ] |
|
Plz review. |
| Comment by Daniel Lee (Inactive) [ 2021-05-12 ] |
|
Build verified: Verified new cmapi calls for adding and deleting nodes. |
| Comment by Todd Stoffel (Inactive) [ 2021-06-14 ] |
|
CMAPI versioning will soon follow the engine. We will not maintain a separate numbering system for the API URL. /0.4.0/ will be phased out of the URL but should also be backwards compatible or redirected for legacy applications. |