laserninja opened a new pull request, #10499: URL: https://github.com/apache/gravitino/pull/10499
Add event/listener hooks for function CRUD operations (register, get, alter, drop, list). This follows the same pattern as existing entity event dispatchers (Table, Model, etc.). New files: - FunctionInfo: read-only function info for event listeners - FunctionEvent/FunctionFailureEvent/FunctionPreEvent: base event classes - Register/Get/Alter/Drop/ListFunction Event/PreEvent/FailureEvent classes - FunctionEventDispatcher: decorates FunctionDispatcher with event dispatching - TestFunctionEvent: unit tests for all function events Modified files: - OperationType: added REGISTER/GET/ALTER/DROP/LIST_FUNCTION - GravitinoEnv: wired FunctionEventDispatcher into dispatcher chain Closes #9536 -- 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]
