mattermost/server/einterfaces/mocks
Ben Schumacher a7ef484fee
[MM-68576] Add SAML connectivity status to support packet diagnostics (#36321)
* Add SAML connectivity status to support packet diagnostics

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

* Fix SAML diagnostics tests for config validation

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

* Add enterprise SAML diagnostics hook for support packet

Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>

* Cleanup

* Fix SAML support packet tests to use enterprise mock interface

Tests were expecting the platform layer to perform HTTP metadata URL
checks directly, but that logic belongs in the enterprise SAML
diagnostic implementation. Updated tests to install a mock enterprise
interface (matching the existing pattern in the override test) instead
of relying on bare HTTP calls that only work without the enterprise
interface registered.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Simplify SamlDiagnosticInterface to return error instead of (string, string)

The status return was always either StatusOk or StatusFail, which maps
directly to nil/non-nil error. Removing the redundant status string
makes the interface idiomatic Go and lets the call site derive status
from error presence.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* lint fix

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Ben Schumacher <hanzei@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 10:21:34 +02:00
..
AccessControlServiceInterface.go implement property field seatch within access control policies (#35494) 2026-03-10 16:13:00 +01:00
AccessControlSyncJobInterface.go Upgrade Go to 1.24.3 (#31220) 2025-06-10 15:04:57 -03:00
AccountMigrationInterface.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
AutoTranslationInterface.go [MM-67231] Etag fixes for autotranslations (#35196) 2026-02-09 18:32:26 -05:00
CloudInterface.go [MM-67030] Remove newsletter signup and replace with terms/privacy agreement (#34801) 2026-01-23 18:24:27 +00:00
CloudJobInterface.go Upgrade Go to 1.24.3 (#31220) 2025-06-10 15:04:57 -03:00
ClusterInterface.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
ClusterMessageHandler.go Upgrade Go to 1.24.3 (#31220) 2025-06-10 15:04:57 -03:00
ComplianceInterface.go Upgrade Go to 1.24.3 (#31220) 2025-06-10 15:04:57 -03:00
DataRetentionInterface.go Upgrade Go to 1.24.3 (#31220) 2025-06-10 15:04:57 -03:00
DataRetentionJobInterface.go Upgrade Go to 1.24.3 (#31220) 2025-06-10 15:04:57 -03:00
ElasticsearchAggregatorInterface.go Upgrade Go to 1.24.3 (#31220) 2025-06-10 15:04:57 -03:00
ElasticsearchFixChannelIndexInterface.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
ElasticsearchIndexerInterface.go Upgrade Go to 1.24.3 (#31220) 2025-06-10 15:04:57 -03:00
IndexerJobInterface.go Upgrade Go to 1.24.3 (#31220) 2025-06-10 15:04:57 -03:00
IntuneInterface.go feat: Add Microsoft Intune MAM authentication support (#34577) 2025-12-10 08:31:53 +02:00
IPFilteringInterface.go Upgrade Go to 1.24.3 (#31220) 2025-06-10 15:04:57 -03:00
LdapDiagnosticInterface.go [MM-63152] LDAP Wizard (#31417) 2025-06-16 16:19:33 -04:00
LdapInterface.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
LdapSyncInterface.go Upgrade Go to 1.24.3 (#31220) 2025-06-10 15:04:57 -03:00
LicenseInterface.go [CLD-9487] Support for Entry + updates to Edition & License screen (#33672) 2025-08-27 10:05:39 -04:00
MessageExportInterface.go Upgrade Go to 1.24.3 (#31220) 2025-06-10 15:04:57 -03:00
MessageExportJobInterface.go Upgrade Go to 1.24.3 (#31220) 2025-06-10 15:04:57 -03:00
MetricsInterface.go [MM-65979] Add Prometheus metrics for plugin webapp performance (#35075) 2026-02-13 18:07:54 +05:30
MfaInterface.go MM-53032: Fix module path after repo rename (#23689) 2023-06-11 10:54:35 +05:30
NotificationInterface.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
OAuthOutgoingConnectionInterface.go [WIP] [MM-55031] OAuth Outgoing Connection App integration (#25379) 2023-12-26 10:46:20 +01:00
OAuthProvider.go [MM-66838] Update throttled library to v2.15.0 with Go modules support (#34657) 2026-03-19 11:36:19 +01:00
OutgoingOAuthConnectionInterface.go Upgrade Go to 1.24.3 (#31220) 2025-06-10 15:04:57 -03:00
PolicyAdministrationPointInterface.go implement property field seatch within access control policies (#35494) 2026-03-10 16:13:00 +01:00
PolicyDecisionPointInterface.go Upgrade Go to 1.24.3 (#31220) 2025-06-10 15:04:57 -03:00
PushProxyInterface.go Autotranslations MVP (#34696) 2026-01-26 17:05:34 -05:00
SamlDiagnosticInterface.go [MM-68576] Add SAML connectivity status to support packet diagnostics (#36321) 2026-05-21 10:21:34 +02:00
SamlInterface.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00
Scheduler.go Standardize request.CTX parameter naming to rctx (#33499) 2025-09-10 15:11:32 +02:00