mattermost/server/platform/services/remotecluster
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
..
error.go Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
invitation.go Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00
mocks_test.go Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00
ping.go Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00
ping_test.go Fix flaky ping test for remote clusters service (#26821) 2024-04-22 17:33:37 +02:00
recv.go Marks the RemoteTeamId field of RemoteClusters as deprecated (#27364) 2024-06-22 23:08:55 +02:00
response.go Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
send.go Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
send_test.go Shared channels plugin APIs for MS Teams plugin (#25805) 2023-12-22 17:00:27 -05:00
sendfile.go Metrics for shared channels (#26199) 2024-02-21 17:21:35 -05:00
sendmsg.go Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00
sendprofileImage.go Metrics for shared channels (#26199) 2024-02-21 17:21:35 -05:00
sendprofileImage_test.go Shared channels plugin APIs for MS Teams plugin (#25805) 2023-12-22 17:00:27 -05:00
service.go Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00
service_test.go Shared channels plugin APIs for MS Teams plugin (#25805) 2023-12-22 17:00:27 -05:00