mattermost/server/channels/app/platform
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
..
mocks MM-57759: Added mockery support for 1.22 (#26774) 2024-04-13 08:15:59 +05:30
busy.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
busy_test.go [MM-58086] platform/busy_test.go: increase test busy duration time (#27082) 2024-06-05 18:52:38 +02:00
cluster.go [MM-53156] Remove Multi-Product architecture (#25669) 2024-02-15 13:01:44 +01:00
cluster_discovery.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
cluster_discovery_test.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
cluster_handlers.go MM-56879: Migrate caches from store layer to cache layer (#26255) 2024-03-07 10:55:28 +05:30
config.go Improvements to logging start-up. (#26649) 2024-04-03 11:49:26 -04:00
config_test.go [MM-40638] Type all of the websocket event names as a new type WebsocketEventType (#25454) 2023-11-22 11:09:48 +01:00
enterprise.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
errors.go Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
feature_flags.go [MM-55480] Update logr to v2.0.21 (#25431) 2023-11-23 10:30:08 +01:00
goroutines.go Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
helper_test.go MM-55733 add request context to Channelstore.Save method (#26141) 2024-02-24 13:08:51 +01:00
license.go Add saml private key to gitignore, remove unused constants (#27391) 2024-06-19 10:03:28 -06:00
license_test.go [CLD-7567] Deprecate Self Serve: Second Pass (#26853) 2024-05-02 09:15:15 -04:00
link_cache.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
log.go Improvements to logging start-up. (#26649) 2024-04-03 11:49:26 -04:00
main_test.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
metrics.go [MM-56890] Expose allocs and mutex pprof profiling data (#26243) 2024-02-27 13:59:42 +01:00
metrics_test.go [MM-56890] Expose allocs and mutex pprof profiling data (#26243) 2024-02-27 13:59:42 +01:00
options.go [MM-53454] Add export file settings + slash command for public link (#23915) 2023-07-19 13:01:39 -07:00
searchengine.go [MM-55595] Use annotated logger in search layer (#25468) 2023-12-04 18:34:57 +01:00
service.go MM-57193: Standardize the cache names (#26441) 2024-03-19 09:59:00 +05:30
service_test.go [MM-53195] services/telemetry: regen client config right after assigning diagnostic ID to platform (#23773) 2023-06-19 18:48:29 +03:00
session.go [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
session_test.go MM-54774 - update session roles when promote/demote guests (#25156) 2023-11-08 07:27:42 -07:00
shared_channel_notifier.go Adds Remote Cluster related API endpoints (#27432) 2024-07-04 10:35:26 +02:00
shared_channel_notifier_test.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
shared_channel_service_iface.go Shared channels auto-share DM & group messages (#26097) 2024-02-09 10:47:12 -05:00
status.go MM-57193: Standardize the cache names (#26441) 2024-03-19 09:59:00 +05:30
status_test.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
utils.go Mono repo -> Master (#22553) 2023-03-22 17:22:27 -04:00
web_broadcast_hook.go [MM-40638] Type all of the websocket event names as a new type WebsocketEventType (#25454) 2023-11-22 11:09:48 +01:00
web_broadcast_hook_test.go MM-54238 Add WebSocket broadcast hook and don't broadcast when other users were mentioned (#24641) 2023-11-08 16:17:07 -05:00
web_conn.go Pass remote address in WebSocketMessageHasBeenPosted plugin hook (#27332) 2024-06-13 09:01:49 +02:00
web_conn_test.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
web_hub.go [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
web_hub_test.go [MM-58500] Turn off PostedAck when the connection is no longer registered (#27212) 2024-06-03 19:14:53 +05:30
websocket_router.go [MM-57070] Remove detailed_error from errors when not in dev mode (#26414) 2024-03-20 13:30:14 -04:00