You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add a DependentResource implementation that's also an EventSource (#1094)
* feat: add a DependentResource implementation that's also an EventSource
The benefit of this change is multi-fold:
- simplifies AbstractDependentResource which doesn't have to handle
cases it should not be concerned about
- allows to share more code with AbstractSimpleDependentResource
- enforces that the same name is used for the DependentResource and
EventSource even in the standalone mode when using one of the provided
implementations
* feat: make exception message more informative
* feat: improve logging
* feat: introduce ResourceOwner to be unify type and resource retrieval
* refactor: rename methods so that it's clearer they're not about caching
* refactor: rename methods less ambiguously
Copy file name to clipboardExpand all lines: operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/EventSourceInitializer.java
Copy file name to clipboardExpand all lines: operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/dependent/DependentResource.java
Copy file name to clipboardExpand all lines: operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/dependent/EventSourceProvider.java
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,4 @@ public interface EventSourceProvider<P extends HasMetadata> {
Copy file name to clipboardExpand all lines: operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/dependent/AbstractDependentResource.java
0 commit comments