mattermost/server/channels/store
Miguel de la Cruz 809ad4f76d
Adds Remote Cluster related API endpoints (#27432)
* Adds Remote Cluster related API endpoints

New endpoints for the following routes are added:

- Get Remote Clusters at `GET /api/v4/remotecluster`
- Create Remote Cluster at `POST /api/v4/remotecluster`
- Accept Remote Cluster invite at `POST
/api/v4/remotecluster/accept_invite`
- Generate Remote Cluster invite at `POST
/api/v4/remotecluster/{remote_id}/generate_invite`
- Get Remote Cluster at `GET /api/v4/remotecluster/{remote_id}`
- Patch Remote Cluster at `PATCH /api/v4/remotecluster/{remote_id}`
- Delete Remote Cluster at `DELETE /api/v4/remotecluster/{remote_id}`

These endpoints are planned to be used from the system console, and
gated through the `manage_secure_connections` permission.

* Update server/channels/api4/remote_cluster_test.go

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>

* Fix AppError names

---------

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-04 10:35:26 +02:00
..
layer_generators Goodbye, GraphQL (#24827) 2023-10-12 09:47:35 +05:30
localcachelayer [MM-58355] Send invalidate cache message across the cluster so that websocket connections on other instances are invalidated correctly (#27204) 2024-06-07 09:38:53 -04:00
opentracinglayer Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00
retrylayer Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00
searchlayer [MM-58355] Send invalidate cache message across the cluster so that websocket connections on other instances are invalidated correctly (#27204) 2024-06-07 09:38:53 -04:00
searchtest Updated permanentDelete to receive user context as the first argument (#26884) 2024-04-29 10:44:55 +02:00
sqlstore Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00
storetest Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00
timerlayer Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00
constants.go Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
errors.go [MM-58020] Improve error message of NotFound errors in store (#26870) 2024-05-07 15:30:48 +02:00
errors_test.go [MM-58020] Improve error message of NotFound errors in store (#26870) 2024-05-07 15:30:48 +02:00
store.go Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00