GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat: record events about any object and outside reconciliations by afalhambra-hivemq · Pull Request #3690 · operator-framework/java-operator-sdk Conversation
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
No active review issues are recorded for the event-recorder changes.
No open issues 🎉
Extends Java Operator SDK’s event recorder to support arbitrary target objects and recording outside reconciliation loops, addressing #3686 while preserving context.eventRecorder() usage.
Changes:
| File | Description |
|---|---|
| operator-framework/src/test/java/io/javaoperatorsdk/operator/baseapi/eventrecorder/EventRecorderReconciler.java | Records events about a separate ConfigMap for integration coverage. |
| operator-framework/src/test/java/io/javaoperatorsdk/operator/baseapi/eventrecorder/EventRecorderIT.java | Tests other-object and outside-reconciliation recording. |
| operator-framework-core/src/test/java/io/javaoperatorsdk/operator/processing/ControllerTest.java | Verifies controller-bound delegation and default recording behavior. |
| operator-framework-core/src/test/java/io/javaoperatorsdk/operator/api/reconciler/DefaultContextTest.java | Tests primary-resource and explicit-object binding. |
| operator-framework-core/src/test/java/io/javaoperatorsdk/operator/api/event/EventRecorderTest.java | Tests default bound views and argument validation. |
| operator-framework-core/src/test/java/io/javaoperatorsdk/operator/api/event/EventRecorderRegressionTest.java | Migrates regression tests to the explicit-resource API. |
| operator-framework-core/src/test/java/io/javaoperatorsdk/operator/api/event/DefaultEventRecorderTest.java | Covers arbitrary targets, binding, and event identity. |
| operator-framework-core/src/test/java/io/javaoperatorsdk/operator/api/event/DefaultEventRecorderIntegrationTest.java | Updates API-server tests for the revised signatures. |
| operator-framework-core/src/test/java/io/javaoperatorsdk/operator/api/config/ConfigurationServiceOverriderTest.java | Adapts the custom recorder fixture to the functional interface. |
| operator-framework-core/src/main/java/io/javaoperatorsdk/operator/RegisteredController.java | Exposes a controller-bound event recorder. |
| operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/Controller.java | Binds the configured recorder to the controller. |
| operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/DefaultContext.java | Delegates recording through resource-bound views. |
| operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/Context.java | Adds an event recorder overload for arbitrary objects. |
| operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/event/ResourceEventRecorder.java | Clarifies object and controller binding in Javadoc. |
| operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/event/EventSink.java | Replaces reconciliation context with controller configuration. |
| operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/event/EventRecorder.java | Adds explicit-target recording and default binding methods. |
| operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/event/DefaultEventSink.java | Adopts the updated sink signature. |
| operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/event/DefaultEventRecorder.java | Assembles events from explicit objects and controller configuration. |
| operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/event/ControllerEventRecorder.java | Defines the controller-bound recording API. |
| operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/event/BoundResourceEventRecorder.java | Implements object-and-controller-bound delegation. |
| operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/event/BoundControllerEventRecorder.java | Implements controller-bound delegation and resource views. |
| operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationService.java | Updates Javadoc for shared recorder inputs. |
| docs/content/en/docs/migration/v5-7-migration.md | Documents experimental API changes and migration steps. |
| docs/content/en/docs/documentation/operations/configuration.md | Links event configuration to the new guide. |
| docs/content/en/docs/documentation/kubernetes-events.md | Explains recording, aggregation, customization, failures, and permissions. |
| docs/content/en/docs/documentation/_index.md | Adds the event-recording guide to the documentation index. |
Review effort: Balanced
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Signed-off-by: Antonio Fernandez Alhambra <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.