zhang-arvin opened a new pull request, #12571: URL: https://github.com/apache/gravitino/pull/12571
## What changes were proposed in this pull request? Fix #12566: Add event dispatching for both `testConnection` methods in `CatalogEventDispatcher`. ### Changes - **New**: `TestConnectionPreEvent` — emitted before connection test - **New**: `TestConnectionEvent` — emitted on successful connection test - **New**: `TestConnectionFailureEvent` — emitted on failed connection test, includes exception - **Update**: `OperationType` — added `TEST_CONNECTION` enum value - **Update**: `CatalogEventDispatcher` — replaced TODO with full event dispatching (preEvent → execute → success/failureEvent) - **Test**: Added `testTestConnectionEvent()` and `testTestConnectionFailureEvent()` in `TestCatalogEvent` ### Security Event payloads do not expose connection properties or credentials — only user identity and catalog identifier. ### Related issues - Fix #12566 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
